Bug RT-24142 crashes the VM when you touch a JSObject

Tom Schindl tom.schindl at bestsolution.at
Wed Oct 24 05:03:26 PDT 2012


There should not be a problem to use JDK8 with Eclipse (and e(fx)clipse)
just change your JDK inside eclipse.

What is not supported by Eclipse JDT is using Java8 syntax features like
lambdas but if you stay with Java7 features in your code you should be
able to launch applications ontop of JDK8.

Tom

Am 24.10.12 13:01, schrieb DM Klerk:
> 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?
> 
> Dennis
> 
> 
> 
> 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://javafx-jira.kenai.com/**browse/RT-24142<http://javafx-jira.kenai.com/browse/RT-24142>
>>> ?
>>>
>>
>>
>> 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 the
>>> 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
>>> javascript objects that where GC'd.
>>>
>>> Since my application is constantly working with DOM objects (WebView was
>>> the reason to choose javafx) having it crash every minute is very
>>> frustrating.
>>>
>>> Can anyone tell me where or when i can get a jdk with the fix for bug
>>> http://javafx-jira.kenai.com/**browse/RT-24142<http://javafx-jira.kenai.com/browse/RT-24142>
>>> ?
>>>
>>> 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 when
>>> I do a ((JSObject)node).call("**getBoundingClientRect") (or any
>>> JSObject.call/JSObject,**toString) it randomly crashes after I've
>>> performed
>>>  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?
>>>
>>> Dennis
>>>
>>>
>>


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834


More information about the openjfx-dev mailing list