summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/Disposable.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-03 16:58:29 +0200
committerMichael Bien <[email protected]>2010-07-03 16:58:29 +0200
commit974e23998611bef3b9170504ed835759a4de1666 (patch)
treedc75b9341e6e1ea3a738f32eec587b5d3eb8f3b4 /src/com/jogamp/opencl/Disposable.java
parentc5dae5bba63a082fb8eac420b3b70786cdec54e1 (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/Disposable.java')
-rw-r--r--src/com/jogamp/opencl/Disposable.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/com/jogamp/opencl/Disposable.java b/src/com/jogamp/opencl/Disposable.java
deleted file mode 100644
index 2cd1784b..00000000
--- a/src/com/jogamp/opencl/Disposable.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.jogamp.opencl;
-
-/*
- * JDK7 ARM proposal, cypied to be forward compatible with java 7 automatic resource managment blocks.
- * @author Michael Bien
- */
-
-//package java.lang;
-
-/**
- * A resource that must be closed when it is no longer needed.
- *
- * @param X the type of exception thrown by the close method (or
- * {@link RuntimeException} if the close method is not permitted
- * to throw any checked exceptions).
- */
-/*public*/ interface Disposable<X extends Throwable> {
-
- void close() throws X;
-
-}