-
Bug
-
Resolution: Fixed
-
P3
-
8u60, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084966 | emb-9 | Jaroslav BachorĂk | P3 | Resolved | Fixed | team |
TESTFAIL:java/lang/instrument/NativeMethodPrefixAgent.java
java/lang/instrument/NativeMethodPrefixAgent.java start failing since 2014-03-09 in nightly testing. Failure is reproducible.
STDERR:
wrapped: gc
wrapped: freeMemory
wrapped: maxMemory
wrapped: availableProcessors
wrapped: runFinalization0
wrapped: totalMemory
wrapped: traceInstructions
wrapped: traceMethodCalls
wrapped: gc
wrapped: freeMemory
wrapped: maxMemory
wrapped: availableProcessors
wrapped: runFinalization0
wrapped: totalMemory
wrapped: traceInstructions
wrapped: traceMethodCalls
start
ERROR: Injection failure: java.lang.Error: 294 unexpected CP tag: 15
java.lang.Error: 294 unexpected CP tag: 15
at ilib.ClassReaderWriter.copyConstantPool(ClassReaderWriter.java:258)
at ilib.Inject.doit(Inject.java:168)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
ERROR: Injection failure: java.lang.Error: 294 unexpected CP tag: 15
java.lang.Error: 294 unexpected CP tag: 15
at ilib.ClassReaderWriter.copyConstantPool(ClassReaderWriter.java:258)
at ilib.Inject.doit(Inject.java:168)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
ERROR: Injection failure: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at ilib.ClassReaderWriter.copy(ClassReaderWriter.java:145)
at ilib.Inject.doit(Inject.java:164)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
Oracle Corporation
java.lang.Exception: ERROR: Missing callback for transform 0
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:53)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.Exception: ERROR: Missing callback for transform 0
JavaTest Message: shutting down test
java/lang/instrument/NativeMethodPrefixAgent.java start failing since 2014-03-09 in nightly testing. Failure is reproducible.
STDERR:
wrapped: gc
wrapped: freeMemory
wrapped: maxMemory
wrapped: availableProcessors
wrapped: runFinalization0
wrapped: totalMemory
wrapped: traceInstructions
wrapped: traceMethodCalls
wrapped: gc
wrapped: freeMemory
wrapped: maxMemory
wrapped: availableProcessors
wrapped: runFinalization0
wrapped: totalMemory
wrapped: traceInstructions
wrapped: traceMethodCalls
start
ERROR: Injection failure: java.lang.Error: 294 unexpected CP tag: 15
java.lang.Error: 294 unexpected CP tag: 15
at ilib.ClassReaderWriter.copyConstantPool(ClassReaderWriter.java:258)
at ilib.Inject.doit(Inject.java:168)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
ERROR: Injection failure: java.lang.Error: 294 unexpected CP tag: 15
java.lang.Error: 294 unexpected CP tag: 15
at ilib.ClassReaderWriter.copyConstantPool(ClassReaderWriter.java:258)
at ilib.Inject.doit(Inject.java:168)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
ERROR: Injection failure: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at ilib.ClassReaderWriter.copy(ClassReaderWriter.java:145)
at ilib.Inject.doit(Inject.java:164)
at ilib.Inject.instrumentation(Inject.java:41)
at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:72)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:455)
at java.lang.management.ManagementFactory.getRuntimeMXBean(ManagementFactory.java:349)
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:48)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Returning bad class file, to cause test failure
Oracle Corporation
java.lang.Exception: ERROR: Missing callback for transform 0
at NativeMethodPrefixApp.run(NativeMethodPrefixApp.java:53)
at NativeMethodPrefixApp.main(NativeMethodPrefixApp.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.Exception: ERROR: Missing callback for transform 0
JavaTest Message: shutting down test
- backported by
-
JDK-8084966 java/lang/instrument/NativeMethodPrefixAgent.java failing
- Resolved
- relates to
-
JDK-8037864 Add java/lang/instrument/NativeMethodPrefixAgent.java to ProblemList.txt
- Resolved