diff options
author | Michael Bien <[email protected]> | 2010-07-03 16:58:29 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-07-03 16:58:29 +0200 |
commit | 974e23998611bef3b9170504ed835759a4de1666 (patch) | |
tree | dc75b9341e6e1ea3a738f32eec587b5d3eb8f3b4 /src/com/jogamp/opencl/AutoCloseable.java | |
parent | c5dae5bba63a082fb8eac420b3b70786cdec54e1 (diff) |
update due to changes in JDK7's ARM spec.
added AutoCloseable dummy for backwards compatibility (won't be loaded when used with JDK7)
can be further improved as soon we have extension methods.
Diffstat (limited to 'src/com/jogamp/opencl/AutoCloseable.java')
-rw-r--r-- | src/com/jogamp/opencl/AutoCloseable.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/AutoCloseable.java b/src/com/jogamp/opencl/AutoCloseable.java new file mode 100644 index 00000000..6c84ae48 --- /dev/null +++ b/src/com/jogamp/opencl/AutoCloseable.java @@ -0,0 +1,6 @@ +package com.jogamp.opencl; + +// early import of JDK7's ARM interface for JDK6 backwards compatibility. +public interface AutoCloseable { + void close() throws Exception; +} |