Bug RT-24142 crashes the VM when you touch a JSObject
dmdeklerk at gmail.com
Wed Oct 24 05:33:05 PDT 2012
Dont you wish everything in life could be that simple!
The crashes I described earlier disappeared when I moved from jdk7 to jdk8,
as Tom says all you need to do is point eclipse to use jre8 as runtime for
your application and everything works like a charm, thank you Kevin and
Jonh for your swift replies.
2012/10/24 DM Klerk <dmdeklerk at gmail.com>
> My application is an eclipse RCP app (swt, jface, jdt, jsdt and more),
> which uses Tom's efxclipse for osgi integration.
> According to eclipse's bug tracker jdk8 is not fully supported yet.
> Is it at this time even possible to use jdk8 for this or must i wait for
> either: a. eclipse supporting jdk8 or b. oracle releasing a jdk7 update
> with my bug fixed? And if b is the case, does anyone know when to expect
> such a release?
> 2012/10/24 Kevin Rushforth <kevin.rushforth at oracle.com>
>> Can anyone tell me where or when i can get a jdk with the fix for bug
>> http://jdk8.java.net/download.**html <http://jdk8.java.net/download.html>
>> -- Kevin
>> DM Klerk wrote:
>>> Recently I filed bug http://javafx-jira.kenai.com/**browse/RT-24142<http://javafx-jira.kenai.com/browse/RT-24142>,
>>> at first
>>> I couldn't pinpoint the reason but after I've created a test case the
>>> Oracle devs picked it up and soon set the bug to critical, now luckily
>>> bug is set to resolved for Lombard. The bug causes the VM to crash every
>>> minute or so when working with DOM objects/JS objects that come from a
>>> WebEngine/WebView. It turned out there was a problem with the new webkit
>>> garbage collector which caused javafx code to try and reuse cached
>>> Since my application is constantly working with DOM objects (WebView was
>>> the reason to choose javafx) having it crash every minute is very
>>> Can anyone tell me where or when i can get a jdk with the fix for bug
>>> Does anyone know of a workaround how you can still get a DOM Node from
>>> WebEngine and hold on to it for longer than a minute or so? Right now
>>> I do a ((JSObject)node).call("**getBoundingClientRect") (or any
>>> JSObject.call/JSObject,**toString) it randomly crashes after I've
>>> a certain amount of work.
>>> I dont seem to understand why this is happening, will it help if i keep
>>> strong references to every JSObject/Node i ever touch, just looking for a
>>> way i can continue (while waiting for the next jdk) without constantly
>>> loosing unsaved work...
>>> Am I asking this question in the right place?
More information about the openjfx-dev