Description of problem: When running test method SolverFactoryTest.testdataSolverConfigWithClassLoader() on IBM JDK 7, the test fails on "java.lang.SecurityException: Uninitialized class loader". See stacktrace [1]. On other JDKs the test passes. If you debug the test, you can see that mocked IBM classloader from the test have attribute initDone = false, which is not present in mocked classloader from Oracle JDKs. Maybe there is needed to call some initialization method on IBM JDKs. [1] http://pastebin.com/s1Xmufs7 Version-Release number of selected component (if applicable): 6.2.0.ER3 How reproducible: Run SolverFactoryTest.testdataSolverConfigWithClassLoader() on IBM JDK 7.
Reproduced with IBM JDK 8 (JDK 7 is too much of a pita to download). Fixed on master: http://github.com/droolsjbpm/optaplanner/commit/9044f8595 Fixed on 6.3.x: http://github.com/droolsjbpm/optaplanner/commit/44e2385ba
Verified in 6.2.0.ER5. The test now pass.