0N/A/**
2362N/A * @test
0N/A * @bug 6520152
0N/A * @summary ACC_FINAL flag for anonymous classes shouldn't be set
0N/A * @compile T.java
0N/A * @run main/othervm T6520152
0N/A */
0N/A
0N/Aimport java.lang.reflect.Method;
0N/Aimport static java.lang.reflect.Modifier.*;
0N/A
0N/Apublic class T6520152 {
0N/A public static void main(String [] args) throws Exception {
0N/A Class clazz = Class.forName("T$1");
0N/A if ((clazz.getModifiers() & FINAL) != 0) {
0N/A throw new RuntimeException("Failed: " + clazz.getName() + " shouldn't be marked final.");
0N/A }
0N/A }
2362N/A}
2362N/A