JDK6 backwards compatible AutoCloseable from a libraries perspective
mbien at fh-landshut.de
Mon Feb 7 05:10:22 PST 2011
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?
More information about the coin-dev