Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4180721

(porting) source mods to ClassPath.java, SourceClass.java on OpenVMS platform

XMLWordPrintable

    • generic
    • generic

      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).
       

            wmaddoxsunw William Maddox (Inactive)
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: