-
Bug
-
Resolution: Fixed
-
P2
-
1.3.1
-
beta
-
x86
-
windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2039812 | 1.4.0 | Mark Reinhold | P2 | Resolved | Fixed | beta |
Name: ssT124754 Date: 01/16/2001
Execute the following command:
javap java.lang.String
Notice that it says:
Compiled from ../../../src/share/classes/java/lang/String.java
According to The Java Virtual Machine Specification, section 4.7.2,
"Only the name of the source file is given by the SourceFile
attribute. It never represents the name of a directory containing
the file or an absolute path name for the file. For instance, the
SourceFile attribute might contain the file name foo.java but
not the UNIX pathname /home/lindholm/foo.java."
Debuggers use the SourceFile attribute in class files, and may
behave incorrectly if the SourceFile attribute is wrong.
(Review ID: 111759)
======================================================================
2002-01-24
This bug also causes a problem within Rational Rose. The Java->Reverse Engineering function fails on classes compiled w/ J2SDK 1.3.x due to
"wrong file format error". (This was confirmed by Rational Tech Support.)
Execute the following command:
javap java.lang.String
Notice that it says:
Compiled from ../../../src/share/classes/java/lang/String.java
According to The Java Virtual Machine Specification, section 4.7.2,
"Only the name of the source file is given by the SourceFile
attribute. It never represents the name of a directory containing
the file or an absolute path name for the file. For instance, the
SourceFile attribute might contain the file name foo.java but
not the UNIX pathname /home/lindholm/foo.java."
Debuggers use the SourceFile attribute in class files, and may
behave incorrectly if the SourceFile attribute is wrong.
(Review ID: 111759)
======================================================================
2002-01-24
This bug also causes a problem within Rational Rose. The Java->Reverse Engineering function fails on classes compiled w/ J2SDK 1.3.x due to
"wrong file format error". (This was confirmed by Rational Tech Support.)
- backported by
-
JDK-2039812 Incorrect SourceFile attributes in java.lang classes
-
- Resolved
-
- relates to
-
JDK-4256467 Previous fix for 4241573 incomplete
-
- Resolved
-
-
JDK-4334342 Incorrect SourceFile value being set in .class file
-
- Closed
-
-
JDK-4241573 SourceFile attribute includes full path
-
- Closed
-