For the JDK 116 release on the OpenVMS platform running on DIGITAL's
hardware, DIGITAL has changed, the following JDK 116 source files
in the shared part of the JDK.
diff -c -r JDK116/src/share/sun/sun/tools/javac/SourceClass.java
sun_JDK116/src/share/sun/sun/tools/javac/SourceClass.java
*** JDK116/src/share/sun/sun/tools/javac/SourceClass.java Fri Aug 7
02:09:25 1998
--- sun_JDK116/src/share/sun/sun/tools/javac/SourceClass.java Thu Apr 16
16:48:30 1998
***************
*** 631,639 ****
String fname = getName().getName() + ".java";
String src = ((ClassFile)getSource()).getName();
! // do a blind case compare on filename for OpenVMS RKR
! // if (env.warnings() && !src.equals(fname)) {
! if (env.warnings() && !src.equalsIgnoreCase(fname)) {
if (isPublic()) {
env.error(where, "public.class.file", this, fname);
} else {
--- 631,637 ----
String fname = getName().getName() + ".java";
String src = ((ClassFile)getSource()).getName();
! if (env.warnings() && !src.equals(fname)) {
if (isPublic()) {
env.error(where, "public.class.file", this, fname);
} else {
For the JDK 116 release on the OpenVMS platform running on DIGITAL's
hardware, DIGITAL has changed, the following JDK 116 source files
in the shared part of the JDK.
diff -c -r JDK116/src/share/sun/sun/tools/java/ClassPath.java
sun_JDK116/src/share/sun/sun/tools/java/ClassPath.java
*** JDK116/src/share/sun/sun/tools/java/ClassPath.java Tue Feb 10 09:39:48 1998--- sun_JDK116/src/share/sun/sun/tools/java/ClassPath.java Thu Apr 16
16:48:26 1998
***************
*** 136,144 ****
}
} else {
for (int j = 0; j < list.length; j++) {
! // if (basename.equals(list[j])) {
! // do a blind case compare on filename for OpenVMS Powell
! if (basename.equalsIgnoreCase(list[j])) {
// Don't bother checking !file.isDir,
// since we only look for names which
// cannot already be packages (foo.java, etc).
--- 136,142 ----
}
} else {
for (int j = 0; j < list.length; j++) {
! if (basename.equals(list[j])) {
// Don't bother checking !file.isDir,
// since we only look for names which
// cannot already be packages (foo.java, etc).
hardware, DIGITAL has changed, the following JDK 116 source files
in the shared part of the JDK.
diff -c -r JDK116/src/share/sun/sun/tools/javac/SourceClass.java
sun_JDK116/src/share/sun/sun/tools/javac/SourceClass.java
*** JDK116/src/share/sun/sun/tools/javac/SourceClass.java Fri Aug 7
02:09:25 1998
--- sun_JDK116/src/share/sun/sun/tools/javac/SourceClass.java Thu Apr 16
16:48:30 1998
***************
*** 631,639 ****
String fname = getName().getName() + ".java";
String src = ((ClassFile)getSource()).getName();
! // do a blind case compare on filename for OpenVMS RKR
! // if (env.warnings() && !src.equals(fname)) {
! if (env.warnings() && !src.equalsIgnoreCase(fname)) {
if (isPublic()) {
env.error(where, "public.class.file", this, fname);
} else {
--- 631,637 ----
String fname = getName().getName() + ".java";
String src = ((ClassFile)getSource()).getName();
! if (env.warnings() && !src.equals(fname)) {
if (isPublic()) {
env.error(where, "public.class.file", this, fname);
} else {
For the JDK 116 release on the OpenVMS platform running on DIGITAL's
hardware, DIGITAL has changed, the following JDK 116 source files
in the shared part of the JDK.
diff -c -r JDK116/src/share/sun/sun/tools/java/ClassPath.java
sun_JDK116/src/share/sun/sun/tools/java/ClassPath.java
*** JDK116/src/share/sun/sun/tools/java/ClassPath.java Tue Feb 10 09:39:48 1998--- sun_JDK116/src/share/sun/sun/tools/java/ClassPath.java Thu Apr 16
16:48:26 1998
***************
*** 136,144 ****
}
} else {
for (int j = 0; j < list.length; j++) {
! // if (basename.equals(list[j])) {
! // do a blind case compare on filename for OpenVMS Powell
! if (basename.equalsIgnoreCase(list[j])) {
// Don't bother checking !file.isDir,
// since we only look for names which
// cannot already be packages (foo.java, etc).
--- 136,142 ----
}
} else {
for (int j = 0; j < list.length; j++) {
! if (basename.equals(list[j])) {
// Don't bother checking !file.isDir,
// since we only look for names which
// cannot already be packages (foo.java, etc).
- duplicates
-
JDK-4180723 (porting) shared code mods to SourceClass.java for OpenVMS platform
- Closed
- relates to
-
JDK-4118500 Spurious ambiguous import errors on win32. Case sensitive.
- Closed