--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java Fri Dec 16 15:27:34 2016 +0000
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java Fri Dec 16 15:27:47 2016 +0000
@@ -309,14 +309,14 @@
MethodSymbol boxMethod =
new MethodSymbol(PUBLIC | STATIC, names.valueOf,
new MethodType(List.of(type), sym.type,
- List.<Type>nil(), methodClass),
+ List.nil(), methodClass),
sym);
sym.members().enter(boxMethod);
MethodSymbol unboxMethod =
new MethodSymbol(PUBLIC,
type.tsym.name.append(names.Value), // x.intValue()
- new MethodType(List.<Type>nil(), type,
- List.<Type>nil(), methodClass),
+ new MethodType(List.nil(), type,
+ List.nil(), methodClass),
sym);
sym.members().enter(unboxMethod);
}
@@ -514,8 +514,8 @@
enumFinalFinalize =
new MethodSymbol(PROTECTED|FINAL|HYPOTHETICAL,
names.finalize,
- new MethodType(List.<Type>nil(), voidType,
- List.<Type>nil(), methodClass),
+ new MethodType(List.nil(), voidType,
+ List.nil(), methodClass),
enumSym);
listType = enterClass("java.util.List");
collectionsType = enterClass("java.util.Collections");
@@ -538,7 +538,7 @@
autoCloseableType = enterClass("java.lang.AutoCloseable");
autoCloseableClose = new MethodSymbol(PUBLIC,
names.close,
- new MethodType(List.<Type>nil(), voidType,
+ new MethodType(List.nil(), voidType,
List.of(exceptionType), methodClass),
autoCloseableType.tsym);
trustMeType = enterClass("java.lang.SafeVarargs");
@@ -584,8 +584,8 @@
arrayCloneMethod = new MethodSymbol(
PUBLIC,
names.clone,
- new MethodType(List.<Type>nil(), objectType,
- List.<Type>nil(), methodClass),
+ new MethodType(List.nil(), objectType,
+ List.nil(), methodClass),
arrayClass);
arrayClass.members().enter(arrayCloneMethod);