Community
Participate
Working Groups
v_684_R32x Fup on bug 161476. BatchCompilerTest#test024 now passes even if the option it is expected to test is removed from the test case. The intent of test024 is to show that using an empty string as -extdirs value suppresses the defaut extention directories from the classpath. As it has been rewritten for bug 161476, the test will merely succeeded (that is, the compilation will fail), even if no -extdirs option was given at all.
Then we should make the test specific to Sun VM since it is based on the fact that a certain type is in a jar located in the ext dirs folder. I'll propose a patch for it.
Created attachment 60392 [details] Proposed fix The test is "disabled" on VMs not from Sun. At least on a Sun VM, it is checking that -extdirs "" is disabling the default ext dir contents.
I'll release the patch.
Released for 3.3M6.
Verified for 3.3 M6 using v_744. (The test is enabled and visits the check for SUN VMs. Other VMs do not visit the significant part of the test, but the compiler behavior is not expected to depend on the running VM for the tested feature.)