test/langtools/tools/javac/diags/examples/TypeAnnotationsNotSupported.java
changeset 51047 860a3648c494
parent 48054 702043a4cdeb
equal deleted inserted replaced
51046:69634e97740c 51047:860a3648c494
     1 /*
     1 /*
     2  * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 // key: compiler.err.feature.not.supported.in.source.plural
    24 // key: compiler.err.feature.not.supported.in.source.plural
    25 // key: compiler.misc.feature.type.annotations
    25 // key: compiler.misc.feature.type.annotations
    26 // key: compiler.warn.source.no.bootclasspath
    26 // options: -source 7 -Xlint:-options
    27 // options: -source 7
       
    28 
    27 
    29 @interface Anno { }
    28 @interface Anno { }
    30 
    29 
    31 class TypeAnnotationsNotSupported {
    30 class TypeAnnotationsNotSupported {
    32     void m() {
    31     void m() {