Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
1 package org.apidesign.reentrant;
3 import java.util.concurrent.locks.ReentrantLock;
5 final class NonReentrantLock extends ReentrantLock {
8 if (isHeldByCurrentThread()) {
9 throw new IllegalStateException("Attempt to reentrant lock");
15 public void lockInterruptibly() throws InterruptedException {
16 if (isHeldByCurrentThread()) {
17 throw new IllegalStateException("Attempt to reentrant lock");
19 super.lockInterruptibly();