summaryrefslogtreecommitdiff
path: root/tools/gnu
diff options
context:
space:
mode:
authorLillian Angel <langel@redhat.com>2006-06-01 16:40:11 +0000
committerLillian Angel <langel@redhat.com>2006-06-01 16:40:11 +0000
commit2ac3a7fc87822c2a09eeeb0f9503b3634ef0dd15 (patch)
tree6b9a8171a8595a2bfcdc821b44191b8aaffc20ae /tools/gnu
parent20cabe24004c2d26d859b35a98f3324c8215921a (diff)
downloadclasspath-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.java2
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
{