Community
Participate
Working Groups
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test024 references a class - sun.net.spi.nameservice.dns.DNSNameService - which the test believes* is not supposed to be in the bases clases of the JRE. However, on IBM Java2 5.0, said class *is* in JRE_HOME/lib/core.jar, so no error message results, and the test passes unexpectedly. I'm not sure if this is an error in the test or an error in the JRE, but I'm going to guess at this point that the test is erroneous and should be withdrawn from the suite. * - please forgive the anthropomorphism
The best is to rewrite the test so that it would work on all VMs.
Released for 3.3M3.
Maxime - does this problem exist also in 3.2 maintenance ? If so, pls backport.
I'll backport in 3.2.2
Released for 3.2.2.
Verified for 3.3 M3 using build I20061030-0010
The test is fixed in that in now passes on IBM Java 5.0. BUT the test is no more testing what it is supposed to test (comment out the -extdir line and the test still passes). Hence I open fup bug 170595 to fix the test case again. Verified for 3.2.2 using build M20070112-1200.