summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/AutoCloseable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/AutoCloseable.java')
-rw-r--r--src/com/jogamp/opencl/AutoCloseable.java6
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;
+}