test/tools/javac/processing/model/testgetallmembers/Main.java

Print this page

        

*** 21,31 **** * have any questions. */ /** * @test ! * @bug 6374357 6308351 * @summary PackageElement.getEnclosedElements() throws ClassReader$BadClassFileException * @author Peter von der Ah\u00e9 * @run main/othervm -Xmx256m Main */ --- 21,31 ---- * have any questions. */ /** * @test ! * @bug 6374357 6308351 6707027 * @summary PackageElement.getEnclosedElements() throws ClassReader$BadClassFileException * @author Peter von der Ah\u00e9 * @run main/othervm -Xmx256m Main */
*** 116,126 **** */ System.out.format("packages: %s, classes: %s + %s%n", packages.size(), classes, nestedClasses); if (classes < 9000) throw new AssertionError("Too few classes in PLATFORM_CLASS_PATH ;-)"); ! if (packages.size() < 545) throw new AssertionError("Too few packages in PLATFORM_CLASS_PATH ;-)"); if (nestedClasses < 3000) throw new AssertionError("Too few nested classes in PLATFORM_CLASS_PATH ;-)"); } } --- 116,126 ---- */ System.out.format("packages: %s, classes: %s + %s%n", packages.size(), classes, nestedClasses); if (classes < 9000) throw new AssertionError("Too few classes in PLATFORM_CLASS_PATH ;-)"); ! if (packages.size() < 530) throw new AssertionError("Too few packages in PLATFORM_CLASS_PATH ;-)"); if (nestedClasses < 3000) throw new AssertionError("Too few nested classes in PLATFORM_CLASS_PATH ;-)"); } }