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

jtreg test java/lang/instrument/NativeMethodPrefixAgent.java failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • b78
    • generic
    • generic

      #Test Results (version 2)
      #Tue Aug 02 18:39:21 PDT 2005
      #checksum:3d2afaf5127599c3
      #-----testdescription-----
      $file=/export/martin/ws/int/j2se/test/java/lang/instrument/NativeMethodPrefixAge
      nt.java
      $root=/export/martin/ws/int/j2se/test
      author=Robert Field, Sun Microsystems
      keywords=bug6263319 othervm shell
      run=USER_SPECIFIED shell MakeJAR2.sh NativeMethodPrefixAgent NativeMethodPrefixA
      pp "Can-Retransform-Classes: true" "Can-Set-Native-Method-Prefix: true"\nUSER_SP
      ECIFIED main/othervm -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixAp
      p\n
      source=NativeMethodPrefixAgent.java
      title=test setNativeMethodPrefix

       [...]

      Tracked #2: getVersion0
      Tracked #1: wrapped_tr2_getVersion0
      Tracked #0: wrapped_tr1_wrapped_tr2_getVersion0
      Tracked #2: initOptionalSupportFields
      Tracked #1: wrapped_tr2_initOptionalSupportFields
      Tracked #0: wrapped_tr1_wrapped_tr2_initOptionalSupportFields
      Tracked #2: getStartupTime
      Tracked #1: wrapped_tr2_getStartupTime
      Tracked #0: wrapped_tr1_wrapped_tr2_getStartupTime
      Sun Microsystems Inc.
      java.lang.Exception: ERROR: Missing callback for transform 0
              at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:25)
              at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:12)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      83)
              at java.lang.Thread.run(Thread.java:608)

      JavaTest Message: Test threw exception: java.lang.Exception: ERROR: Missing call
      back for transform 0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: ERROR: Missing callba
      ck for transform 0
         wrapped: halt0
         wrapped: runAllFinalizers
         wrapped: wrapped_tr2_halt0
         wrapped: wrapped_tr2_runAllFinalizers
         wrapped: wrapped_tr1_wrapped_tr2_halt0
         wrapped: wrapped_tr1_wrapped_tr2_runAllFinalizers
      Tracked #2: halt0
      Tracked #1: wrapped_tr2_halt0
      Tracked #0: wrapped_tr1_wrapped_tr2_halt0
      result: Failed. Execution failed: Execution failed


      test result: Failed. Execution failed: Execution failed
      This bug affects the following JTREG test:

          java/lang/instrument/NativeMethodPrefixAgent.java

            rfield Robert Field (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: