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

7u12 compilation error on all platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • None
    • client-libs
    • None

      # Running javac:
      /localtools/linux-amd64/jdk1.6.0_18/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar -source 7 -target 7 -encoding ascii -Xbootclasspath:/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/classes -sourcepath ../../../src/closed/solaris/classes:../../../src/closed/share/classes:/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/gensrc:../../../src/solaris/classes:../../../src/share/classes -d /HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/classes @/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/build/linux-amd64/tmp/java/java.lang/java/.classes.list.filtered
      ../../../src/share/classes/java/net/DatagramSocket.java:184: warning: unreachable catch clause
              } catch(IOException e) {
                ^
        thrown type SocketException has already been caught
      ../../../src/share/classes/java/awt/EventDispatchThread.java:122: warning: non-varargs call of varargs method with inexact argument type for last parameter;
                      final Method evaluateMethod = Class.forName("sun.lwawt.macosx.EventDispatchAccess").getMethod("evaluate", null);
                                                                                                                                ^
        cast to Class<?> for a varargs call
        cast to Class<?>[] for a non-varargs call and to suppress this warning
      ../../../src/share/classes/java/awt/EventDispatchThread.java:125: warning: non-varargs call of varargs method with inexact argument type for last parameter;
                              return ((Boolean)evaluateMethod.invoke(cond, null)).booleanValue();
                                                                           ^
        cast to Object for a varargs call
        cast to Object[] for a non-varargs call and to suppress this warning
      ../../../src/share/classes/sun/awt/SunToolkit.java:470: error: cannot find symbol
                      nested instanceof TimedWindowEvent)
                                        ^
        symbol: class TimedWindowEvent
        location: class SunToolkit
      ../../../src/share/classes/sun/awt/SunToolkit.java:472: error: cannot find symbol
                      TimedWindowEvent twe = (TimedWindowEvent)nested;
                      ^
        symbol: class TimedWindowEvent
        location: class SunToolkit
      ../../../src/share/classes/sun/awt/SunToolkit.java:472: error: cannot find symbol
                      TimedWindowEvent twe = (TimedWindowEvent)nested;
                                              ^
        symbol: class TimedWindowEvent
        location: class SunToolkit
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      3 errors
      3 warnings
      gnumake[4]: *** [.compile.classlist] Error 1
      gnumake[4]: Leaving directory `/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/jdk/make/java/java'
      gnumake[3]: *** [all] Error 1
      gnumake[3]: Leaving directory `/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/jdk/make/java'
      gnumake[2]: *** [all] Error 1
      gnumake[2]: Leaving directory `/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev/jdk/make'
      gnumake[1]: *** [jdk-build] Error 2
      gnumake[1]: Leaving directory `/HUDSON/workspace/jdk7u_dev-2-build-linux-amd64-product/jdk7u_dev'
      gnumake: *** [build_product_image] Error 2
      + gmkexitcode=2

            leonidr Leonid Romanov (Inactive)
            aywang Amy Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: