help compilers to infer types

ecc cannot infer it
This commit is contained in:
yushijinhun 2018-02-18 15:46:15 +08:00
parent 65491ef18e
commit bde01af89d
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4

View File

@ -198,7 +198,7 @@ public class DefaultLauncher extends Launcher {
}
private final Map<String, Supplier<Boolean>> forbiddens = Lang.mapOf(
new Pair<>("-Xincgc", () -> options.getJava().getParsedVersion() >= JavaVersion.JAVA_9)
new Pair<String, Supplier<Boolean>>("-Xincgc", () -> options.getJava().getParsedVersion() >= JavaVersion.JAVA_9)
);
protected Map<String, Supplier<Boolean>> getForbiddens() {