Type: info
Title: jvmaccess::VirtualMachine no longer cares for context class
loader
Posted by: [email protected]
Affected: -
TaskId: i99290
<http://www.openoffice.org/issues/show_bug.cgi?id=99290>
Effective from: cws/dbaperf1
CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dbaperf1>
CWS status: integrated
*Summary*
--------
jvmaccess/virtualmachine.hxx:
jvmaccess::VirtualMachine
*Description*
-------------
The class jvmaccess::VirtualMachine took care to set a non-null
context class loader for every thread attached to the VM (especially
native threads that had not been spawned by the VM and would have a
null context class loader). However, this had performance
implications. And after the cleanup of the main class path in OOo any
code that uses the context class loader now needs to set it explicitly
anyway (see
<http://blogs.sun.com/GullFOSS/entry/is_your_java_extension_ready>
etc.), so removing the code that sets the context class loader
whenever a thread is attached to the VM appears to be safe.
Send feedback to [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]