Apache OpenOffice (AOO) Bugzilla – Issue 18670
VirtualMachine::attachThread calls wrongly typed JNI function
Last modified: 2004-01-15 13:14:59 UTC
As Kevin Hendricks pointed out at dev@openoffice, the JNI call to setContextClassLoader in jvmaccess/source/virtualmachine.cxx 1.2 should be made with CallVoidMethod, not CallObjectMethod.
.
[Fixed typos in Summary.]
Hi Stephan, For the record, since this fix is safe and impacts at least PPC Linux 's Blackdown JDK, PPC Linux will ship with this fix in place in OOo 1.1.0. The fix is so simple/safe perhaps we should simply target this for 1.1.1. I would be happy to commit this fix once OOo 1.1.0 goes out the door if it would help. Thanks, Kevin
SB->Kevin: Sounds reasonable to me too to include the fix ASAP. Did I understand you right that you want to take ownership of this issue?
Hi Stephan, Is msx645 tree still open for non-crashing bug fixes. If so, then let's please get this into the tree so that it appears in OOo 1.1.0. If not, and iif therefore it must me held for some later release, I would be happy to remember to commit it to the tree the next time it is open (if that means take ownership, then that is fine with me!). I agree a better solution would be to get this into OOo 1.1 final and forget (i.e. close this but I was unsure if fixes like this were still being accepted. Kevin
SB->Kevin: According to Martin Hollmichel, there's no chance to get this into OOo 1.1.0. So, lets keep it targeted for OOo 1.1.1. And, thanks that you will commit it then.
mh: please attach the patch. if we make another resping for 1.1.0 I will take this one also into release.
Created attachment 8845 [details] small fix to use CallVoidMethod
SB->Kevin: I just got asked in-house to "fast-track" add this fix to SRX645 (i.e., OOo 1.1.0), which I did. So I'm tacking over again. (PS: I was so "fast-track" I failed to mention in the cvs log that the fix actually comes from you; sorry for that omisson.)
Set target to "OOo 1.1" to reflect reality.
SB->MSC: Please test that Java within Office still works on all platforms (e.g., File-AutoPilot-Report...; or loading a document containing a Java applet).
set to fixed
verified in m17-6. Report wizard still works and HTML document with applet works too.
close.