Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1906

SolverFactoryTest.testdataSolverConfigWithClassLoader() test fails on IBM JDK 7

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 6.2.0
    • 6.2.0
    • OptaPlanner
    • None

    Description

      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.

      Attachments

        Activity

          People

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            tzimanyi@redhat.com Tibor Zimányi
            Archiver:
            rhn-support-ceverson Clark Everson
            Tibor Zimányi Tibor Zimányi
            Tibor Zimányi Tibor Zimányi
            Kris Verlaenen, Lukáš Petrovický (Inactive)

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty