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

Summary: this.@JSB shall always be kept strongly; Knockout objects shall not leak
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Html4jAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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