Re: required/SRC680 CWS sb33 : jvmaccess/unovirtualmachine.hxx changed

Stephan Bergmann <[email protected]> Wed, 29 Jun 2005 18:07:59 +0200
Newsgroups gmane.comp.openoffice.announce.interface
Organization Sun Microsystems
Message-ID <[email protected]>
[email protected] wrote:
>    *Type*  	required
> *Title* 	jvmaccess/unovirtualmachine.hxx changed
> *Posted by* 	[email protected]
> *Affected* 	,.
> *Effective from* 	SRC680 CWS sb33
> 
> 
> 
> /*Summary*/
> 
> 
> jvmaccess/unovirtualmachine.hxx:
> - UnoVirtualMachine::UnoVirtualMachine(rtl::Reference< jvmaccess::VirtualMachine > const & virtualMachine, jobject classLoader)
> + UnoVirtualMachine::UnoVirtualMachine(rtl::Reference< jvmaccess::VirtualMachine > const & virtualMachine, jobject classLoader)

The above line should instead read

+ UnoVirtualMachine::UnoVirtualMachine(
     rtl::Reference< jvmaccess::VirtualMachine > const & virtualMachine,
     void * classLoader)

of course.

> - jobject UnoVirtualMachine::getClassLoader() const
> + void * UnoVirtualMachine::getClassLoader() const
> 
> 
> 
> /*Description*/
> 
> Since different Java versions expand "jobject" to different types, the
> mangled C++ names of the above functions would depend on the Java
> version used at compile time.  To avoid any problems, "jobject" has
> been replaced with "void *" (even though that means reduced type
> safety).  All affected code has been adapted.