44be5edf5a
Reviewed-by: vromero
13 lines
345 B
Java
13 lines
345 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8219810
|
|
* @summary Verify ClassReader detects invalid field access flags combinations
|
|
* @build BadFieldFlags
|
|
* @compile/fail/ref=BadFieldFlagsTest.out -XDrawDiagnostics BadFieldFlagsTest.java
|
|
*/
|
|
public class BadFieldFlagsTest {
|
|
{
|
|
System.out.println(new BadFieldFlags().my_field);
|
|
}
|
|
}
|