This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271155 - FXConsole can be GCed in new versions of Java
Summary: FXConsole can be GCed in new versions of Java
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: Dev
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-24 15:18 UTC by Jaroslav Tulach
Modified: 2018-01-08 18:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2017-07-24 15:18:15 UTC
New versions of JavaFX WebView no longer keep references to Java objects passed into the view. As such FXConsole object (used for callback from console.log & co.) is no longer working.
Comment 1 Jaroslav Tulach 2017-07-28 03:12:04 UTC
Fixed in https://github.com/jtulach/html-java-api/commit/ed4d605378dcc4bc0c111069b80913d8756ace9e

This would probably deserve an update of HTML/Java API in NetBeans as well.
Comment 2 Jaroslav Tulach 2018-01-08 18:38:38 UTC
Part of version 1.5 and used in Apache NetBeans.