Fix incorrect Java 7 detection

This commit is contained in:
Trustin Lee 2012-09-03 16:15:33 +09:00
parent 32c58354fa
commit 1ac9930e39

View File

@ -111,8 +111,9 @@ public final class DetectionUtil {
Class.forName(
"java.util.concurrent.LinkedTransferQueue", false,
BlockingQueue.class.getClassLoader());
} catch (Exception e) {
return 7;
} catch (Exception e) {
// Ignore
}
try {