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

[PIT] [TEST_BUG] compilation failed for some tests from jdk/test/java/awt/mixing/AWT_Mixing (can't find Helper)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b130

      Description

      JDK: client's nightly for JDK9-b119, jtreg: latest nigtly. OS: Ubuntu 14.04 linux (but reproducible on other platforms as well)

      Tests affected:

      JGlassPaneInternalFrameOverlapping.java
      JGlassPaneMoveOverlapping.java
      JInternalFrameMoveOverlapping.java
      JInternalFrameOverlapping.java
      JScrollPaneOverlapping.java
      JSplitPaneOverlapping.java
      OpaqueOverlapping.java
      OpaqueOverlappingChoice.java

      Error logs look like:

      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:26: warning: ComponentPeer is internal proprietary API and may be removed in a future release
      import java.awt.peer.ComponentPeer;
                          ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:33: warning: AWTAccessor is internal proprietary API and may be removed in a future release
      import sun.awt.AWTAccessor;
                    ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:34: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
      import sun.awt.EmbeddedFrame;
                    ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:247: error: cannot find symbol
                          java.awt.Helper.addExports("sun.awt.X11", OverlappingTestBase.class.getModule());
                                  ^
        symbol: class Helper
        location: package java.awt
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:251: error: cannot find symbol
                          java.awt.Helper.addExports("sun.awt.windows", OverlappingTestBase.class.getModule());
                                  ^
        symbol: class Helper
        location: package java.awt
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:255: error: cannot find symbol
                          java.awt.Helper.addExports("sun.lwawt", OverlappingTestBase.class.getModule());
                                  ^
        symbol: class Helper
        location: package java.awt
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:256: error: cannot find symbol
                          java.awt.Helper.addExports("sun.lwawt.macosx", OverlappingTestBase.class.getModule());
                                  ^
        symbol: class Helper
        location: package java.awt
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:260: warning: ComponentPeer is internal proprietary API and may be removed in a future release
                      ComponentPeer peer = AWTAccessor.getComponentAccessor()
                      ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:260: warning: AWTAccessor is internal proprietary API and may be removed in a future release
                      ComponentPeer peer = AWTAccessor.getComponentAccessor()
                                           ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:280: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
                      EmbeddedFrame eframe = (EmbeddedFrame) eframeCtor.newInstance(frameWindow);
                      ^
      /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java:280: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
                      EmbeddedFrame eframe = (EmbeddedFrame) eframeCtor.newInstance(frameWindow);
                                              ^
      Note: /export/jdk9.ws/9.client/jdk/test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      4 errors
      7 warnings
      result: Failed. Compilation failed: Compilation failed

        Attachments

          Activity

            People

            Assignee:
            yan Yuri Nesterenko
            Reporter:
            avstepan Alexander Stepanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: