langtools/test/tools/javac/T6435291/T6435291.java
changeset 30730 d3ce7619db2c
parent 24604 7f68545b5128
child 34754 025d0b180221
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2015, 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.
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug     6435291
    26  * @bug     6435291
    27  * @summary javac shouldn't throw NPE while compiling invalid RuntimeInvisibleParameterAnnotations
    27  * @summary javac shouldn't throw NPE while compiling invalid RuntimeInvisibleParameterAnnotations
    28  * @author  Wei Tao
    28  * @author  Wei Tao
       
    29  * @modules jdk.compiler/com.sun.tools.javac.api
       
    30  *          jdk.compiler/com.sun.tools.javac.code
       
    31  *          jdk.compiler/com.sun.tools.javac.main
       
    32  *          jdk.compiler/com.sun.tools.javac.util
    29  * @run main/othervm T6435291
    33  * @run main/othervm T6435291
    30  */
    34  */
    31 
    35 
    32 import com.sun.tools.javac.api.JavacTaskImpl;
    36 import com.sun.tools.javac.api.JavacTaskImpl;
    33 import com.sun.tools.javac.code.ClassFinder.BadClassFile;
    37 import com.sun.tools.javac.code.ClassFinder.BadClassFile;