src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
changeset 53275 f5e601ad26a8
parent 52796 2c8e6decb1c3
child 55306 ea43db53de91
child 58678 9cf78a70fa4f
--- 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<>();