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

java/lang/System/MacEncoding/TestFileEncoding.java fail on Mac OS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Test log:
      #Test Results (version 2)
      #Fri Jun 24 09:28:54 CST 2016
      #checksum:291c72ff030cac92
      #-----testdescription-----
      $file=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/TestFileEncoding.java
      $root=/Users/autotest/puppet/sandbox/bundle/test
      author=Brent Christian
      keywords=bug8011194 othervm
      library=../../../../tools/launcher/ ../
      modules=jdk.compiler
      run=USER_SPECIFIED build TestHelper TestFileEncoding ExpectedEncoding\nUSER_SPECIFIED main TestFileEncoding UTF-8\nUSER_SPECIFIED main/othervm -Dfile.encoding\=MyEncoding -DuserEncoding\=MyEncoding TestFileEncoding MyEncoding\nUSER_SPECIFIED main TestFileEncoding UTF-8 en_US.UTF-8\nUSER_SPECIFIED main/othervm -Dfile.encoding\=MyEncoding -DuserEncoding\=MyEncoding TestFileEncoding MyEncoding en_US.UTF-8\nUSER_SPECIFIED main TestFileEncoding US-ASCII C\nUSER_SPECIFIED main/othervm -Dfile.encoding\=MyEncoding -DuserEncoding\=MyEncoding TestFileEncoding MyEncoding C\n
      source=TestFileEncoding.java
      title=Test value of file.encoding for corresponding value of LANG, etc

      #-----environment-----

      #-----testresult-----
      description=file\:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/TestFileEncoding.java
      elapsed=5848 0\:00\:05.848
      end=Fri Jun 24 09\:28\:54 CST 2016
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: TEST FAILED\: \!tr.isOK()
      hostname=dhcp-cn-10-182-70-205.cn.oracle.com
      javatestOS=Mac OS X 10.10.5 (x86_64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.2 fcs b02
      modules=jdk.compiler
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile compile build main build main build main build main build main
      start=Fri Jun 24 09\:28\:49 CST 2016
      test=java/lang/System/MacEncoding/TestFileEncoding.java
      testJDK=/Users/autotest/puppet/sandbox/jdk
      user.name=autotest
      work=/Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding

      #section:script_messages
      ----------messages:(11/604)----------
      JDK under test: /Users/autotest/puppet/sandbox/jdk
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+124)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+124, mixed mode)

      Library ../../../../tools/launcher/; kind: packages
         source directory: /Users/autotest/puppet/sandbox/bundle/test/tools/launcher
         class directory: /Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher
      Library ../; kind: packages
         source directory: /Users/autotest/puppet/sandbox/bundle/test/java/lang/System
         class directory: /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System

      #section:build
      ----------messages:(7/298)----------
      command: build TestHelper TestFileEncoding ExpectedEncoding
      reason: User specified action: run build TestHelper TestFileEncoding ExpectedEncoding
      Library ../../../../tools/launcher/:
        compile: TestHelper
      Test directory:
        compile: TestFileEncoding, ExpectedEncoding
      elapsed time (seconds): 2.096
      result: Passed. Build successful

      #section:compile
      ----------messages:(4/185)----------
      command: compile /Users/autotest/puppet/sandbox/bundle/test/tools/launcher/TestHelper.java
      reason: .class file out of date or does not exist
      Mode: othervm
      elapsed time (seconds): 1.188
      ----------configuration:(4/201)----------
      javac compilation environment
        class path: /Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher
                    /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System

      ----------rerun:(23/1769)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
          /Users/autotest/puppet/sandbox/jdk/bin/javac \\
              -J-Dfile.encoding=UTF-8 \\
              -J-Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -J-Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -J-Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -J-Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -J-Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -J-Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -J-Dtest.compiler.opts= \\
              -J-Dtest.java.opts= \\
              -J-Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -J-Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -J-Dtest.timeout.factor=1.0 \\
              -J-Dtest.modules=jdk.compiler \\
              -d /Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher \\
              -sourcepath /Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -classpath /Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System /Users/autotest/puppet/sandbox/bundle/test/tools/launcher/TestHelper.java
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(4/299)----------
      command: compile /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/TestFileEncoding.java /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/ExpectedEncoding.java
      reason: .class file out of date or does not exist
      Mode: othervm
      elapsed time (seconds): 0.907
      ----------configuration:(6/386)----------
      javac compilation environment
        class path: /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding
                    /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding
                    /Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher
                    /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System

      ----------rerun:(23/2124)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
          /Users/autotest/puppet/sandbox/jdk/bin/javac \\
              -J-Dfile.encoding=UTF-8 \\
              -J-Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -J-Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -J-Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -J-Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -J-Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -J-Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -J-Dtest.compiler.opts= \\
              -J-Dtest.java.opts= \\
              -J-Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -J-Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -J-Dtest.timeout.factor=1.0 \\
              -J-Dtest.modules=jdk.compiler \\
              -d /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -sourcepath /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -classpath /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/TestFileEncoding.java /Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding/ExpectedEncoding.java
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/99)----------
      command: build TestFileEncoding
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/145)----------
      command: main TestFileEncoding UTF-8
      reason: User specified action: run main TestFileEncoding UTF-8
      Mode: othervm
      elapsed time (seconds): 0.594
      ----------configuration:(0/0)----------
      ----------System.out:(32/2038)----------
      test.vm.opts: -Dfile.encoding=UTF-8
      found vm options:
        <-Dfile.encoding=UTF-8>
      TestFileEncoding: Running with no envvars set
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding UTF-8 skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        JAVA_MAIN_CLASS_76772=com.sun.javatest.regtest.agent.MainWrapper
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: UTF-8
        Actual file.encoding: UTF-8
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.run(TestFileEncoding.java:121)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(22/2000)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
      CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar \\
          /Users/autotest/puppet/sandbox/jdk/bin/java \\
              -Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.modules=jdk.compiler \\
              -Dfile.encoding=UTF-8 \\
              com.sun.javatest.regtest.agent.MainWrapper /Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding/TestFileEncoding.d/main.0.jta UTF-8
      result: Passed. Execution successful

      #section:build
      ----------messages:(3/99)----------
      command: build TestFileEncoding
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/290)----------
      command: main -Dfile.encoding=MyEncoding -DuserEncoding=MyEncoding TestFileEncoding MyEncoding
      reason: User specified action: run main/othervm -Dfile.encoding=MyEncoding -DuserEncoding=MyEncoding TestFileEncoding MyEncoding
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.553
      ----------configuration:(0/0)----------
      ----------System.out:(32/2080)----------
      test.vm.opts: -Dfile.encoding=UTF-8
      found vm options:
        <-Dfile.encoding=UTF-8>
      TestFileEncoding: Running with no envvars set
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -Dfile.encoding=MyEncoding -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding MyEncoding skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        JAVA_MAIN_CLASS_76774=com.sun.javatest.regtest.agent.MainWrapper
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: MyEncoding
        Actual file.encoding: MyEncoding
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.run(TestFileEncoding.java:121)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(24/2080)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
      CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar \\
          /Users/autotest/puppet/sandbox/jdk/bin/java \\
              -Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.modules=jdk.compiler \\
              -Dfile.encoding=UTF-8 \\
              -Dfile.encoding=MyEncoding \\
              -DuserEncoding=MyEncoding \\
              com.sun.javatest.regtest.agent.MainWrapper /Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding/TestFileEncoding.d/main.1.jta MyEncoding
      result: Passed. Execution successful

      #section:build
      ----------messages:(3/99)----------
      command: build TestFileEncoding
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/169)----------
      command: main TestFileEncoding UTF-8 en_US.UTF-8
      reason: User specified action: run main TestFileEncoding UTF-8 en_US.UTF-8
      Mode: othervm
      elapsed time (seconds): 1.016
      ----------configuration:(0/0)----------
      ----------System.out:(96/6209)----------
      test.vm.opts: -Dfile.encoding=UTF-8
      found vm options:
        <-Dfile.encoding=UTF-8>
      TestFileEncoding: Running with LANG=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding UTF-8 skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        JAVA_MAIN_CLASS_76776=com.sun.javatest.regtest.agent.MainWrapper
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        LANG=en_US.UTF-8
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: UTF-8
        Actual file.encoding: UTF-8
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:125)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      TestFileEncoding: Running with LC_ALL=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding UTF-8 skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        JAVA_MAIN_CLASS_76776=com.sun.javatest.regtest.agent.MainWrapper
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        LC_ALL=en_US.UTF-8
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: UTF-8
        Actual file.encoding: UTF-8
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:126)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      TestFileEncoding: Running with LC_CTYPE=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding UTF-8 skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        JAVA_MAIN_CLASS_76776=com.sun.javatest.regtest.agent.MainWrapper
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        LC_CTYPE=en_US.UTF-8
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: UTF-8
        Actual file.encoding: UTF-8
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:127)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(22/2012)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
      CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar \\
          /Users/autotest/puppet/sandbox/jdk/bin/java \\
              -Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.modules=jdk.compiler \\
              -Dfile.encoding=UTF-8 \\
              com.sun.javatest.regtest.agent.MainWrapper /Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding/TestFileEncoding.d/main.2.jta UTF-8 en_US.UTF-8
      result: Passed. Execution successful

      #section:build
      ----------messages:(3/99)----------
      command: build TestFileEncoding
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/314)----------
      command: main -Dfile.encoding=MyEncoding -DuserEncoding=MyEncoding TestFileEncoding MyEncoding en_US.UTF-8
      reason: User specified action: run main/othervm -Dfile.encoding=MyEncoding -DuserEncoding=MyEncoding TestFileEncoding MyEncoding en_US.UTF-8
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.981
      ----------configuration:(0/0)----------
      ----------System.out:(96/6335)----------
      test.vm.opts: -Dfile.encoding=UTF-8
      found vm options:
        <-Dfile.encoding=UTF-8>
      TestFileEncoding: Running with LANG=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -Dfile.encoding=MyEncoding -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding MyEncoding skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        JAVA_MAIN_CLASS_76780=com.sun.javatest.regtest.agent.MainWrapper
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        LANG=en_US.UTF-8
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: MyEncoding
        Actual file.encoding: MyEncoding
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:125)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      TestFileEncoding: Running with LC_ALL=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -Dfile.encoding=MyEncoding -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding MyEncoding skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        LC_ALL=en_US.UTF-8
        JAVA_MAIN_CLASS_76780=com.sun.javatest.regtest.agent.MainWrapper
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: MyEncoding
        Actual file.encoding: MyEncoding
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:126)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      TestFileEncoding: Running with LC_CTYPE=en_US.UTF-8
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -Dfile.encoding=MyEncoding -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding MyEncoding skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        JAVA_MAIN_CLASS_76780=com.sun.javatest.regtest.agent.MainWrapper
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        LC_CTYPE=en_US.UTF-8
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: MyEncoding
        Actual file.encoding: MyEncoding
        Expected sun.jnu.encoding is "skip", ignoring
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:127)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(24/2092)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
      CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar \\
          /Users/autotest/puppet/sandbox/jdk/bin/java \\
              -Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.modules=jdk.compiler \\
              -Dfile.encoding=UTF-8 \\
              -Dfile.encoding=MyEncoding \\
              -DuserEncoding=MyEncoding \\
              com.sun.javatest.regtest.agent.MainWrapper /Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding/TestFileEncoding.d/main.3.jta MyEncoding en_US.UTF-8
      result: Passed. Execution successful

      #section:build
      ----------messages:(3/99)----------
      command: build TestFileEncoding
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/155)----------
      command: main TestFileEncoding US-ASCII C
      reason: User specified action: run main TestFileEncoding US-ASCII C
      Mode: othervm
      elapsed time (seconds): 0.579
      ----------configuration:(0/0)----------
      ----------System.out:(36/2228)----------
      test.vm.opts: -Dfile.encoding=UTF-8
      found vm options:
        <-Dfile.encoding=UTF-8>
      TestFileEncoding: Running with LANG=C
      Executed command: /Users/autotest/puppet/sandbox/jdk/bin/java -Dfile.encoding=UTF-8 -cp /Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding ExpectedEncoding US-ASCII skip

      ++++Begin Test Info++++
      Test Status: PASS
      ++++Test Environment++++
        PATH=/bin:/usr/bin
        DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0
        JAVA_MAIN_CLASS_76784=com.sun.javatest.regtest.agent.MainWrapper
        __CF_USER_TEXT_ENCODING=0x1F8:0x19:0x34
        CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar
        LANG=C
        HOME=/Users/autotest
      ++++Test Output++++
        Expected file.encoding: US-ASCII
        Actual file.encoding: UTF-8
        Expected sun.jnu.encoding is "skip", ignoring
        Exception in thread "main" java.lang.RuntimeException: Test Failed
         at ExpectedEncoding.main(ExpectedEncoding.java:63)
      ++++Test Stack Trace++++
      java.lang.Throwable: current stack of the test
        TestHelper.doExec(TestHelper.java:470)
        TestFileEncoding.runWithEnvVar(TestFileEncoding.java:141)
        TestFileEncoding.run(TestFileEncoding.java:125)
        TestFileEncoding.main(TestFileEncoding.java:167)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
        com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      ++++End of Test Info++++

      ----------System.err:(16/1017)----------
      java.lang.RuntimeException: TEST FAILED: !tr.isOK()
      at TestFileEncoding.checkResult(TestFileEncoding.java:148)
      at TestFileEncoding.runWithEnvVar(TestFileEncoding.java:142)
      at TestFileEncoding.run(TestFileEncoding.java:125)
      at TestFileEncoding.main(TestFileEncoding.java:167)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED: !tr.isOK()
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED: !tr.isOK()
      ----------rerun:(22/2005)*----------
      DISPLAY=dhcp-cn-10-182-70-205.cn.oracle.com.us.oracle.com:5.0 \\
      HOME=/Users/autotest \\
      LANG=zh_TW.UTF-8 \\
      LC_ALL=zh_TW.UTF-8 \\
      LC_CTYPE=UTF-8 \\
      PATH=/bin:/usr/bin \\
      CLASSPATH=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/javatest.jar:/Users/autotest/puppet/sandbox/bundle/jct-tools/lib/jtreg.jar \\
          /Users/autotest/puppet/sandbox/jdk/bin/java \\
              -Dtest.src=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding \\
              -Dtest.src.path=/Users/autotest/puppet/sandbox/bundle/test/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/test/tools/launcher:/Users/autotest/puppet/sandbox/bundle/test/java/lang/System \\
              -Dtest.classes=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding \\
              -Dtest.class.path=/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System/MacEncoding:/Users/autotest/puppet/sandbox/bundle/workDir/classes/tools/launcher:/Users/autotest/puppet/sandbox/bundle/workDir/classes/java/lang/System \\
              -Dtest.vm.opts=-Dfile.encoding=UTF-8 \\
              -Dtest.tool.vm.opts=-J-Dfile.encoding=UTF-8 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dcompile.jdk=/Users/autotest/puppet/sandbox/jdk \\
              -Dtest.timeout.factor=1.0 \\
              -Dtest.modules=jdk.compiler \\
              -Dfile.encoding=UTF-8 \\
              com.sun.javatest.regtest.agent.MainWrapper /Users/autotest/puppet/sandbox/bundle/workDir/java/lang/System/MacEncoding/TestFileEncoding.d/main.4.jta US-ASCII C
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED: !tr.isOK()


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED: !tr.isOK()

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              yzhou Daisy Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: