diff options
author | Lillian Angel <langel@redhat.com> | 2006-06-01 16:40:11 +0000 |
---|---|---|
committer | Lillian Angel <langel@redhat.com> | 2006-06-01 16:40:11 +0000 |
commit | 2ac3a7fc87822c2a09eeeb0f9503b3634ef0dd15 (patch) | |
tree | 6b9a8171a8595a2bfcdc821b44191b8aaffc20ae /tools/gnu | |
parent | 20cabe24004c2d26d859b35a98f3324c8215921a (diff) | |
download | classpath-2ac3a7fc87822c2a09eeeb0f9503b3634ef0dd15.tar.gz |
2006-06-01 Lillian Angel <langel@redhat.com>
* tools/gnu/classpath/tools/appletviewer/AppletTag.java
(prependCodebase): Fixed check. No dirname was ever considered to
be a file, so every applet fell into the if-statement causing a lot
of classloading problems with the applets.
Diffstat (limited to 'tools/gnu')
-rw-r--r-- | tools/gnu/classpath/tools/appletviewer/AppletTag.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gnu/classpath/tools/appletviewer/AppletTag.java b/tools/gnu/classpath/tools/appletviewer/AppletTag.java index 4c3d01edb..80d572857 100644 --- a/tools/gnu/classpath/tools/appletviewer/AppletTag.java +++ b/tools/gnu/classpath/tools/appletviewer/AppletTag.java @@ -451,7 +451,7 @@ class AppletTag else { String dirname = documentbase.getFile(); - if (!new File(dirname).isFile()) + if (dirname.indexOf(".") < 0) fullcodebase = new URL(documentbase + File.separator); else { |