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 270553 - this.@JSB shall always be kept strongly; Knockout objects shall not leak
Summary: this.@JSB shall always be kept strongly; Knockout objects shall not leak
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-05-04 06:57 UTC by Jaroslav Tulach
Modified: 2017-05-04 07:02 UTC (History)
0 users

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-05-04 06:57:36 UTC
Running 

JAVA_HOME=/usr/lib/jvm/java-7-oracle/ mvn clean install

at https://github.com/jtulach/html-java-api/commit/f9b96a817bda3f364550f0d84db456c6bd85a4b7 chucks in ko4j GC tests as Knockout.wrapModel gets "this" as a strong reference and keeps it forever.
Comment 1 Jaroslav Tulach 2017-05-04 07:02:47 UTC
Shall be fixed in post 1.4 release:

https://github.com/jtulach/html-java-api/commit/a1c287ccbbcecdb13302c03461a7ef8c88231f35