(Note to core-libs-dev: further review and discussion of this bugfix is occurring on security-dev.)

On 7/5/12 1:18 AM, Eric Wang wrote:
Hi David & Stuart,

Can you please help to review the fix for the bug 7147060
<http://monaco.us.oracle.com/detail.jsf?cr=7147060>, Thanks you!

The test reports ClassNotFoundException which is caused by below reasons:
1. Class can be found in "test.classes" instead of "test.src".
2. In agentvm mode, the MyTransform.class is loaded by the child of the context
ClassLoader of current thread, however, The method Transform.register(String,
String) tries to use context ClassLoader to load class MyTransform.class which
is not found.

The proposed fix is:
1. Replace "test.src" to "test.classes".
2. Replace the current thread ClassLoader to its child.

Regards,
Eric

Reply via email to