44be5edf5a
Reviewed-by: vromero
13 lines
334 B
Java
13 lines
334 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8219810
|
|
* @summary Verify ClassReader detects invalid method access flags combinations
|
|
* @build BadMethodFlags
|
|
* @compile/fail/ref=BadMethodFlagsTest.out -XDrawDiagnostics BadMethodFlagsTest.java
|
|
*/
|
|
public class BadMethodFlagsTest {
|
|
{
|
|
new BadMethodFlags().my_method();
|
|
}
|
|
}
|