Fix incorrect Java 7 detection

This commit is contained in:
Trustin Lee 2012-09-03 16:15:58 +09:00
parent 21c9c26ff8
commit 37a80ddd08

View File

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