[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Class patch
From: |
Jeroen Frijters |
Subject: |
Class patch |
Date: |
Sun, 14 Mar 2004 15:20:42 +0100 |
Hi,
Small fix to resource name handling. Inspired by JDK 1.5 documentation
fixes. See
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#getResource
(java.lang.String)
Note that the new documentation is still incorrect (IMO), because it
fails to mention that relative resources in the default package don't
get the / prepended.
ChangeLog:
2004-03-13 Jeroen Frijters <address@hidden>
* java/lang/Class.java (resourcePath): If the resource path is
absolute chop off the leading / and if it is relative, but the
class doesn't have a package, don't prepend the /.
BTW, what's with the "Cannot open file
>>/var/run/log_accum/#classpath.files.changed.0.29834." messages during
commits?
Regards,
Jeroen
class.patch
Description: class.patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Class patch,
Jeroen Frijters <=