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.
It is essential to allow Java object passed to JavaScript world via @JavaScriptBody[1] annotation to be garbaged collected once. The goal of this issue is to track creation of TCK checks to verify the proper behavior and also enhance API when necessary to give API developers tighter control over the GC behavior. [1] http://bits.netbeans.org/html+java/dev/net/java/html/js/JavaScriptBody.html
The proposed API extension "keepAlive" attribute can be seen here: http://hg.netbeans.org/html4j/rev/2ee22312e414
Will be part of HTML/Java API revision 1.1.