Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2343

sysinfo API only returns correct information for the first jar file on the classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4
    • None
    • Tools
    • Low

    Description

      While updating the sysinfo_api test to our current JUnit usage, I rediscovered the problem which has kept this test from running on a regular basis: when running the test from jar files, only the first jar file on the classpath properly reports its information through the sysinfo API.

      It is not a security manager issue, as disabling the security manager did not solve the problem. There may be jar-sealing issues involved, but I haven't looked into the issue very deeply. Just noting the issue here for later investigation.

      I will commit a patch which updates the current sysinfo_api test to be called SysinfoAPITest, and also add a note to tools._Suite about the problem.

      Attachments

        Issue Links

          Activity

            People

              ahsancse ahsan shamsudeen
              fuzzylogic Samuel Andrew McIntyre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: