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

JDK 1.4.2_22 nightly failed because Generated file Main.java differs from J2SE version Main.java

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86
    • OS:
      windows_nt

      Backports

        Description

        Hi,

        Could you please fix this issue? Putback of fix 6623981 (javac StackOverFlowError in 1.4.1/1.4.2) caused this failure. Build failed on Windows-i586, linux-i586, solaris-sparc, sparc, and i586 platforms. Details beblow.

        Full log file: /net/mizu.sfbay/n/prod2/jdk1.4.2_22/logs/build-*.log

        Build succeeded on windows-amd64, windows-ia64, linux-ia64 platforms.

        Thanks,
        Mong

        Partial log file on Windows-i586 platform
        =============================================
        ...
        gnumake[1]: Leaving directory `D:/BUILD_AREA/jdk142-update/ws/nb/generics/make'
        if [ -r ./../../generics/make/Makefile ]; then \
          ( cd ./../../generics/make; gnumake verify ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=D:/BUILD_AREA/jdk142-update/ws/nb/control/build/windows-i586/generics ; ); \
        fi
        gnumake[1]: Entering directory `D:/BUILD_AREA/jdk142-update/ws/nb/generics/make'
        ERROR! Generated file at D:/BUILD_AREA/jdk142-update/ws/nb/control/build/windows-i586/generics/gensrc/com/sun/tools/javac/Main.java
                differs from J2SE version at D:/BUILD_AREA/jdk142-update/ws/nb/j2se/src/share/javac/com/sun/tools/javac/Main.java

        27,34c27
        < // Start in a new Thread to avoid possible stack limit in first
        < // Thread (in 5.0 and earlier).
        < final String[] currentArgs = args;
        < new Thread() {
        < public void run() {
        < System.exit(compile(currentArgs));
        < }
        < }.start();
        ---
        > System.exit(compile(args));
        -------------------

        See file D:/BUILD_AREA/jdk142-update/ws/nb/control/build/windows-i586/sanityCheckErrors.txt for details.
         Exiting because of the above error(s).

        gnumake[1]: *** [post-sanity] Error 1
        gnumake[1]: Leaving directory `D:/BUILD_AREA/jdk142-update/ws/nb/generics/make'
        gnumake: *** [generics-verify] Error 2

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kevinw Kevin Walls
                  Reporter:
                  mtvo Hang Vo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: