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

Regression test sun/tools/native2ascii/NativeErrors.java failing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description

      Regression test sun/tools/native2ascii/NativeErrors.java Failing on JDK122h on WinNT, Win98 and Sol2.6

      Note: class decleration should be public -madhava
      #Test Results
      #Tue Oct 06 17:11:18 PDT 1998
      testsuite=/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test
      source=NativeErrors.java
      title=Test Native2ASCII error messages
      status=Error. NativeErrors
      work=/net/tapas/export3/testexec/REGRESSION/results/celery5.6-harness115-testwith12m-10-06-15.37/sun/tools/native2ascii
      execStatus=Error. NativeErrors
      description=file:/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/sun/tools/native2ascii/NativeErrors.java
      javatestVersion=JT_2.0_zf
      sections=compile compile main main
      file=/net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/sun/tools/native2ascii/NativeErrors.java
      end=Tue Oct 06 17:11:18 PDT 1998
      bug=4136352
      run=0 main NativeErrors\n
      start=Tue Oct 06 17:11:04 PDT 1998
      keywords=4136352
      environment=regtest

      test: sun/tools/native2ascii/NativeErrors.java
      script: javasoft.sqe.javatest.regtest.RegressionScript
      JDK under test: java full version "JDK-1.2fcs-M" (/net/tapas/export1/testexec/jdk12m/solaris)
      command: build NativeErrors
      reason: Named class compiled on demand
      command: compile /net/tapas/export3/testexec/REGRESSION/tests/jdk1.2/test/sun/tools/native2ascii/NativeErrors.java
      reason: .class file out of date or does not exist
      ----------ref:compile(0/0)----------
      ----------log:compile(0/0)----------
      command: compile result: Passed. Compilation successful
      command: build result: Passed. Compilation successful
      command: main NativeErrors
      reason: Assumed action based on file name: run main NativeErrors
      ----------ref:main(0/0)----------
      ----------log:main(9/367)----------
      java.lang.IllegalAccessException: NativeErrors
      at java.lang.reflect.Method.invoke(Native Method)
      at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(Compiled Code)
      at java.lang.Thread.run(Compiled Code)

      JavaTest Message: Verify that the class defining the test is
      JavaTest Message: declared public (test invoked via reflection)

      STATUS:Error.NativeErrors
      command: main result: Error. NativeErrors
      test result: Error. NativeErrors

      NEW LOG:
      ------------------------------------------------------------------------
      #Test Results
      #Wed Apr 28 15:12:36 CDT 1999
      testsuite=H:\\testexec\\REGRESSION\\tests\\jdk1.2\\test
      source=NativeErrors.java
      title=Test Native2ASCII error messages
      status=Failed. Execution failed: `main' threw exception: java.io.IOException: CreateProcess: E:\\jdk122q\\jre\\bin\\native2ascii -encoding error=2
      work=E:\\REGRESSION\\results\\LUNAR-Windows_NT-harness117-testwith122q-04-28-14.01\\sun\\tools\\native2ascii
      execStatus=Failed. Execution failed: `main' threw exception: java.io.IOException: CreateProcess: E:\\jdk122q\\jre\\bin\\native2ascii -encoding error=2
      description=file:H:/testexec/REGRESSION/tests/jdk1.2/test/sun/tools/native2ascii/NativeErrors.java
      javatestVersion=JT_2.0_zn
      sections=compile compile main main
      file=H:\\testexec\\REGRESSION\\tests\\jdk1.2\\test\\sun\\tools\\native2ascii\\NativeErrors.java
      end=Wed Apr 28 15:12:36 CDT 1999
      bug=4136352
      run=0 main NativeErrors\r\n
      start=Wed Apr 28 15:12:34 CDT 1999
      keywords=4136352
      environment=regtest

      test: sun\tools\native2ascii\NativeErrors.java
      script: javasoft.sqe.javatest.regtest.RegressionScript
      JDK under test: java full version "JDK-1.2.2-Q" (E:/jdk122q)
      command: build NativeErrors
      reason: Named class compiled on demand
      command: compile H:\testexec\REGRESSION\tests\jdk1.2\test\sun\tools\native2ascii\NativeErrors.java
      reason: .class file out of date or does not exist
      ----------ref:compile(0/0)----------
      ----------log:compile(0/0)----------
      command: compile result: Passed. Compilation successful
      command: build result: Passed. Compilation successful
      command: main NativeErrors
      reason: Assumed action based on file name: run main NativeErrors
      ----------ref:main(0/0)----------
      ----------log:main(15/814)----------
      java.io.IOException: CreateProcess: E:\jdk122q\jre\bin\native2ascii -encoding error=2
              at java.lang.Win32Process.create(Native Method)
              at java.lang.Win32Process.<init>(Win32Process.java:64)
              at java.lang.Runtime.execInternal(Native Method)
              at java.lang.Runtime.exec(Runtime.java:272)
              at java.lang.Runtime.exec(Runtime.java:219)
              at NativeErrors.main(NativeErrors.java:35)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:479)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.IOException: CreateProcess: E:\jdk122q\jre\bin\native2ascii -encoding error=2
      command: main result: Failed. Execution failed: `main' threw exception: java.io.IOException: CreateProcess: E:\jdk122q\jre\bin\native2ascii -encoding error=2
      test result: Failed. Execution failed: `main' threw exception: java.io.IOException: CreateProcess: E:\jdk122q\jre\bin\native2ascii -encoding error=2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mmcclosksunw Michael Mccloskey (Inactive)
                Reporter:
                mavvarisunw Madhava Avvari (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: