Bug 270553 - this.@JSB shall always be kept strongly; Knockout objects shall not leak
this.@JSB shall always be kept strongly; Knockout objects shall not leak
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Html4j
Dev
PC Linux
: P2 (vote)
: Next
Assigned To: Jaroslav Tulach
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo