6707027: langtools/test/tools/javac/processing/model/testgetallmember/Main.java fails

Reviewed-by: jjg
This commit is contained in:
Joe Darcy 2009-01-27 17:50:53 -08:00
parent 1b49bea0ad
commit f82d6e454b

View File

@ -23,7 +23,7 @@
/**
* @test
* @bug 6374357 6308351
* @bug 6374357 6308351 6707027
* @summary PackageElement.getEnclosedElements() throws ClassReader$BadClassFileException
* @author Peter von der Ah\u00e9
* @run main/othervm -Xmx256m Main
@ -118,7 +118,7 @@ public class Main {
packages.size(), classes, nestedClasses);
if (classes < 9000)
throw new AssertionError("Too few classes in PLATFORM_CLASS_PATH ;-)");
if (packages.size() < 545)
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 ;-)");