Changes to MGC class library and fix a bug regarding nested inline class declaration
[IRC.git] / Robust / src / ClassLibrary / MGC / gnu / ReentrantLock.java
index 58448822651ab8f77932c683ab8eb25b7afd3d21..b68882fa227191f6425bc4014507880fe9151cd7 100644 (file)
@@ -308,9 +308,10 @@ public class ReentrantLock implements /*Lock, java.io.*/Serializable {
      *
      * @throws InterruptedException if the current thread is interrupted
      */
-    /*public void lockInterruptibly() throws InterruptedException {
-        sync.acquireInterruptibly(1);
-    }*/
+    public void lockInterruptibly() throws InterruptedException {
+       System.out.println("ReentrantLock.lockInterruptibly() is not supported!");
+        //sync.acquireInterruptibly(1);
+    }
 
     /**
      * Acquires the lock only if it is not held by another thread at the time