gavgaurav / nativelibs4java

Automatically exported from code.google.com/p/nativelibs4java
0 stars 0 forks source link

JavaCL : make some use of Java 7's Automatic Resource Management features #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As suggested by Jeff (aka jcpalmer : 
http://groups.google.com/group/nativelibs4java/browse_thread/thread/88901ffdc83b
3d7b), we could add some automatic memory management support to JavaCL (and 
even to BridJ).

See these posts about ARM :
http://metoojava.wordpress.com/2010/12/19/java-7-awesome-aspect-automatic-resour
ce-management/
http://www.dzone.com/links/r/garbage_collection_with_automatic_resource_manage.h
tml

And the AutoCloseable API :
http://download.java.net/jdk7/docs/api/java/lang/AutoCloseable.html

Such support might involve having a different package for the JDK 7 features, 
as it will probably require implementing the AutoCloseable interface that's 
hard to backport...

Original issue reported on code.google.com by olivier.chafik@gmail.com on 23 Jun 2011 at 6:57

GoogleCodeExporter commented 9 years ago
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/74

Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 1 Sep 2011 at 7:30