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

regression java/nio/charset/Charset/NIOCharsetAvailabilityTest.java fails on 6u14b04

    Details

    • Subcomponent:
    • Introduced In Build:
      b03
    • Introduced In Version:
    • Resolved In Build:
      b06
    • CPU:
      generic, x86
    • OS:
      generic, solaris_10

      Backports

        Description

        regression test suite
        test: java/nio/charset/Charset/NIOCharsetAvailabilityTest.java
        platform: x86
        os: solaris10
        test fails on 6u14b04 and passed on 6u14b03, so it's build to build regression
        test fails with:

        Unused Charset subclass: sun.nio.cs.ext.IBM1364
        Exception in thread "main" java.lang.RuntimeException
                at NIOCharsetAvailabilityTest.main(NIOCharsetAvailabilityTest.java:58)

        test has header:

        /*
         * @test 1.4 02/17/05
         * @bug 4777124
         * @summary Verify that all Charset subclasses are available through the API
         */


        for reproduce login at stt-12.russia as stt-robot

        [stt-robot@stt-12]$ pwd
        /export/JQA/regression/6u14b04
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/java -version
        java version "1.6.0_14-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b04)
        Java HotSpot(TM) Server VM (build 14.0-b13, mixed mode)
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/javac NIOCharsetAvailabilityTest.java
        NIOCharsetAvailabilityTest.java:23: warning: sun.misc.Launcher is Sun proprietary API and may be removed in a future release
        import sun.misc.Launcher;
                       ^
        NIOCharsetAvailabilityTest.java:69: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release
                     new sun.security.action.GetPropertyAction("sun.boot.class.path"));
                                            ^
        NIOCharsetAvailabilityTest.java:72: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release
                     new sun.security.action.GetPropertyAction("java.class.path"));
                                            ^
        NIOCharsetAvailabilityTest.java:90: warning: sun.misc.Launcher is Sun proprietary API and may be removed in a future release
                ClassLoader appLoader = Launcher.getLauncher().getClassLoader();
                                        ^
        Note: NIOCharsetAvailabilityTest.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        4 warnings
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/java NIOCharsetAvailabilityTest
        Unused Charset subclass: sun.nio.cs.ext.IBM1364
        Exception in thread "main" java.lang.RuntimeException
                at NIOCharsetAvailabilityTest.main(NIOCharsetAvailabilityTest.java:58)
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/javac NIOCharsetAvailabilityTest.java
        NIOCharsetAvailabilityTest.java:23: warning: sun.misc.Launcher is Sun proprietary API and may be removed in a future release
        import sun.misc.Launcher;
                       ^
        NIOCharsetAvailabilityTest.java:69: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release
                     new sun.security.action.GetPropertyAction("sun.boot.class.path"));
                                            ^
        NIOCharsetAvailabilityTest.java:72: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release
                     new sun.security.action.GetPropertyAction("java.class.path"));
                                            ^
        NIOCharsetAvailabilityTest.java:90: warning: sun.misc.Launcher is Sun proprietary API and may be removed in a future release
                ClassLoader appLoader = Launcher.getLauncher().getClassLoader();
                                        ^
        Note: NIOCharsetAvailabilityTest.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        4 warnings
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/java NIOCharsetAvailabilityTest
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/java -version
        java version "1.6.0_14-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
        Java HotSpot(TM) Server VM (build 14.0-b12, mixed mode)
        [stt-robot@stt-12]$

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asaha Abhijit Saha
                  Reporter:
                  ikobzaresunw Ivan Kobzarev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: