-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b92
-
generic
-
generic
-
Verified
Filed By : JCK team
JDK : java full version "1.6.0-beta2-b86"
JCK : 6.0
Platform[s] : ALL
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
Problem description
===================
The following new JCK JPLIS Live Phase tests:
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation029]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation030]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation043]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation044]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation045]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation046]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation047]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation049]
failed on all platforms under Mustang b86.
JCK test source location:
==========================
/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60/tests/api/java_lang/instrument/Instrumentation/
How to reproduce:
=================
Please use the script below:
--- runJLILive.sh ---
JCK="/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60"
TESTEDJDK="/java/re/jdk/6.0/promoted/beta2/b86/binaries/solaris-sparc"
TESTCLASS="javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationAttachTests"
TESTURL="file://${JCK}/tests/api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach"
JDKOPTS="-Xfuture"
TESTARGS="-attachClassName javasoft.sqe.jck.lib.attach.JPLISAttachConnector -agent1 ${JCK}/lib/agent1.jar -agent1opts file://${JCK}/tests/,opt1 -agent2 ${JCK}/lib/agent2.jar -agent2opts file://${JCK}/tests/,opt2 "
${TESTEDJDK}/bin/java ${JDKOPTS} \
-classpath ${JCK}/classes:${TESTEDJDK}/lib/tools.jar \
${TESTCLASS} -TestURL ${TESTURL} -TestCaseID ALL \
${TESTARGS}
--- runJLILive.sh ---
Test output (without passed tests):
============
...
Instrumentation029: Passed. Testing result passed to test
Instrumentation030: Passed. Testing result passed to test
...
Instrumentation043: Passed. Testing result passed to test
Instrumentation044: Passed. Testing result passed to test
Instrumentation045: Passed. Testing result passed to test
Instrumentation046: Passed. Testing result passed to test
Instrumentation047: Passed. Testing result passed to test
...
Instrumentation049: Passed. Tranformer is registered
...
...
Instrumentation029: Failed. Transformer was not invoked for redefinition
Instrumentation030: Failed. Transformer was not invoked for redefinition
...
Instrumentation043: Failed. two transformers were invoked 0 time(s) instead of each once:
Instrumentation044: Failed. First registered transformer was not invoked for transformation
Instrumentation045: Failed. First registered transformer was not invoked for transformation
Instrumentation046: Failed. First registered transformer was not invoked for transformation
Instrumentation047: Failed. First registered transformer was not invoked for transformation of ClassN2
...
Instrumentation049: Failed. The check of the class ClassQ1 failed (the class was not transformed(?)): T r a n s f o r m e d string , ClassQ1
...
STATUS:Failed.test cases: 40; passed: 32; failed: 8; first test case failure: Instrumentation029
============
Please note that their counterparts which exist in JCK since 1.5 (-javagent:...) passed on all platforms.
Use the script below to run:
--- runJLIcommandline.sh ---
JCK="/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60"
TESTEDJDK="/java/re/jdk/6.0/promoted/beta2/b86/binaries/solaris-sparc"
TESTCLASS="javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationTests"
TESTURL="file://${JCK}/tests/api/java_lang/instrument/Instrumentation/attach.html#Instrumentation"
JAVAAGENTOPTS="-javaagent:${JCK}/lib/agent1.jar=file://${JCK}/tests/,opt1 -javaagent:${JCK}/lib/agent2.jar=file://${JCK}/tests/,opt2"
JDKOPTS="-Xfuture ${JAVAAGENTOPTS}"
${TESTEDJDK}/bin/java ${JDKOPTS} \
-classpath ${JCK}/classes \
${TESTCLASS} -TestURL ${TESTURL} -TestCaseID ALL
--- runJLIcommandline.sh ---
JDK : java full version "1.6.0-beta2-b86"
JCK : 6.0
Platform[s] : ALL
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
Problem description
===================
The following new JCK JPLIS Live Phase tests:
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation029]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation030]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation043]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation044]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation045]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation046]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation047]
api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach[Instrumentation049]
failed on all platforms under Mustang b86.
JCK test source location:
==========================
/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60/tests/api/java_lang/instrument/Instrumentation/
How to reproduce:
=================
Please use the script below:
--- runJLILive.sh ---
JCK="/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60"
TESTEDJDK="/java/re/jdk/6.0/promoted/beta2/b86/binaries/solaris-sparc"
TESTCLASS="javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationAttachTests"
TESTURL="file://${JCK}/tests/api/java_lang/instrument/Instrumentation/attach.html#InstrumentationAttach"
JDKOPTS="-Xfuture"
TESTARGS="-attachClassName javasoft.sqe.jck.lib.attach.JPLISAttachConnector -agent1 ${JCK}/lib/agent1.jar -agent1opts file://${JCK}/tests/,opt1 -agent2 ${JCK}/lib/agent2.jar -agent2opts file://${JCK}/tests/,opt2 "
${TESTEDJDK}/bin/java ${JDKOPTS} \
-classpath ${JCK}/classes:${TESTEDJDK}/lib/tools.jar \
${TESTCLASS} -TestURL ${TESTURL} -TestCaseID ALL \
${TESTARGS}
--- runJLILive.sh ---
Test output (without passed tests):
============
...
Instrumentation029: Passed. Testing result passed to test
Instrumentation030: Passed. Testing result passed to test
...
Instrumentation043: Passed. Testing result passed to test
Instrumentation044: Passed. Testing result passed to test
Instrumentation045: Passed. Testing result passed to test
Instrumentation046: Passed. Testing result passed to test
Instrumentation047: Passed. Testing result passed to test
...
Instrumentation049: Passed. Tranformer is registered
...
...
Instrumentation029: Failed. Transformer was not invoked for redefinition
Instrumentation030: Failed. Transformer was not invoked for redefinition
...
Instrumentation043: Failed. two transformers were invoked 0 time(s) instead of each once:
Instrumentation044: Failed. First registered transformer was not invoked for transformation
Instrumentation045: Failed. First registered transformer was not invoked for transformation
Instrumentation046: Failed. First registered transformer was not invoked for transformation
Instrumentation047: Failed. First registered transformer was not invoked for transformation of ClassN2
...
Instrumentation049: Failed. The check of the class ClassQ1 failed (the class was not transformed(?)): T r a n s f o r m e d string , ClassQ1
...
STATUS:Failed.test cases: 40; passed: 32; failed: 8; first test case failure: Instrumentation029
============
Please note that their counterparts which exist in JCK since 1.5 (-javagent:...) passed on all platforms.
Use the script below to run:
--- runJLIcommandline.sh ---
JCK="/java/re/jck/6.0/nightly/binaries/b27-2006-06-13/JCK-runtime-60"
TESTEDJDK="/java/re/jdk/6.0/promoted/beta2/b86/binaries/solaris-sparc"
TESTCLASS="javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationTests"
TESTURL="file://${JCK}/tests/api/java_lang/instrument/Instrumentation/attach.html#Instrumentation"
JAVAAGENTOPTS="-javaagent:${JCK}/lib/agent1.jar=file://${JCK}/tests/,opt1 -javaagent:${JCK}/lib/agent2.jar=file://${JCK}/tests/,opt2"
JDKOPTS="-Xfuture ${JAVAAGENTOPTS}"
${TESTEDJDK}/bin/java ${JDKOPTS} \
-classpath ${JCK}/classes \
${TESTCLASS} -TestURL ${TESTURL} -TestCaseID ALL
--- runJLIcommandline.sh ---