JDK6 backwards compatible AutoCloseable from a libraries perspective
Michael Bien
mbien at fh-landshut.de
Mon Feb 7 05:10:22 PST 2011
Hello everyone,
I would like to support the new try-with-resource feature in jocl while
staying backwards compatible with JDK5/6. The problem is that
AutoCloseable resides in java.lang which means i have no chance to load
the class if i would ship it for jdk5 backwards compatibility.
Providing two builds for JOCL is not what i would like to do just to be
able to be upwards compatible.
any ideas what i could do in this situation?
best regards,
michael
--
http://jocl.jogamp.org
http://michael-bien.com/
More information about the coin-dev
mailing list