src/share/classes/com/sun/tools/javac/tree/JCTree.java

changeset 2134
b0c086cd4520
parent 2019
77d395862700
child 2395
9c577131ffa6
     1.1 --- a/src/share/classes/com/sun/tools/javac/tree/JCTree.java	Tue Oct 15 22:15:35 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/JCTree.java	Tue Oct 15 15:57:13 2013 -0700
     1.3 @@ -2359,6 +2359,7 @@
     1.4          public JCExpression underlyingType;
     1.5  
     1.6          protected JCAnnotatedType(List<JCAnnotation> annotations, JCExpression underlyingType) {
     1.7 +            Assert.check(annotations != null && annotations.nonEmpty());
     1.8              this.annotations = annotations;
     1.9              this.underlyingType = underlyingType;
    1.10          }

mercurial