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

[TEST_BUG] Few test cases are failing due to use of getPeer()

XMLWordPrintable

    • b65
    • b83
    • generic
    • generic

        Test name(s):
        java/awt/Focus/RequestOnCompWithNullParent/RequestOnCompWithNullParent1.java
        java/awt/xembed/server/RunTestXEmbed.java
        closed/java/awt/Component/ObscuredTest/ObscuredTest
        java/awt/xembed/server/TestXEmbedServerJava.java

        JDK tested: 9b65,9b64
        OS tested: Mac, Linux
        Is it a regression? Yes(Test paases in 9b64 and started failing from 9b65)
        Regression introduced in release/build:9b65
        Is it platform specific? No
        The is failure reproduced: always
                       
        General description:
        ----------System.err:(6/340)----------
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/Focus/RequestOnCompWithNullParent/RequestOnCompWithNullParent1.java:229: error: cannot find symbol
                origPeer = (ButtonPeer) getPeer();
                                        ^
          symbol: method getPeer()
          location: class TestButton
        1 error
        result: Failed. Compilation failed: Compilation failed


        test result: Failed. Compilation failed: Compilation failed



        ----------System.err:(29/2622)----------
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/TestXEmbedServer.java:29: warning: WindowIDProvider is internal proprietary API and may be removed in a future release
        import sun.awt.WindowIDProvider;
                      ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/JavaClient.java:42: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
                final EmbeddedFrame ef = createEmbeddedFrame(xtoolkit, Long.parseLong(args[0]));
                      ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/JavaClient.java:50: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
            private static EmbeddedFrame createEmbeddedFrame(boolean xtoolkit, long window) {
                           ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/JavaClient.java:54: warning: EmbeddedFrame is internal proprietary API and may be removed in a future release
                    return (EmbeddedFrame)cons.newInstance(new Object[] {window, true});
                            ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/TestXEmbedServer.java:185: warning: WindowIDProvider is internal proprietary API and may be removed in a future release
                WindowIDProvider pid = (WindowIDProvider)client.getPeer();
                ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/TestXEmbedServer.java:185: warning: WindowIDProvider is internal proprietary API and may be removed in a future release
                WindowIDProvider pid = (WindowIDProvider)client.getPeer();
                                        ^
        /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/TestXEmbedServer.java:185: error: cannot find symbol
                WindowIDProvider pid = (WindowIDProvider)client.getPeer();
                                                               ^
          symbol: method getPeer()
          location: variable client of type Canvas
        Note: /net/stt-13.ru.oracle.com/export2/stt/newroot/regression/workspaces/9/9_fcsb65/j2se/test/java/awt/xembed/server/TestXEmbedServer.java uses or overrides 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.
        1 error
        6 warnings
        result: Failed. Compilation failed: Compilation failed


        test result: Failed. Compilation failed: Compilation failed

              serb Sergey Bylokhov
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: