--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java Mon Jan 14 17:20:20 2019 +0100
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java Mon Jan 14 12:24:25 2019 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -103,7 +103,7 @@
// Enter and attribute type parameters.
List<Type> tvars = enter.classEnter(typarams, env);
- attr.attribTypeVariables(typarams, env);
+ attr.attribTypeVariables(typarams, env, true);
// Enter and attribute value parameters.
ListBuffer<Type> argbuf = new ListBuffer<>();