1. Derby
  2. DERBY-2343

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


    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s:,,,
    • Fix Version/s: None
    • Component/s: Tools
    • Urgency:


      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.

        Issue Links


          Myrna van Lunteren made changes -
          Parent DERBY-6164 [ 12641844 ]
          Issue Type Sub-task [ 7 ] Improvement [ 4 ]
          ahsan shamsudeen made changes -
          Labels derby_triage10_5_2 derby_triage10_5_2 gsoc2013
          Assignee ahsan shamsudeen [ ahsancse ]
          ahsan shamsudeen made changes -
          Parent DERBY-6164 [ 12641844 ]
          Issue Type Bug [ 1 ] Sub-task [ 7 ]
          ahsan shamsudeen made changes -
          Link This issue is blocked by DERBY-6312 [ DERBY-6312 ]
          Gavin made changes -
          Workflow jira [ 12397615 ] Default workflow, editable Closed status [ 12798790 ]
          Kathey Marsden made changes -
          Field Original Value New Value
          Labels derby_triage10_5_2
          Andrew McIntyre created issue -


            • Assignee:
              ahsan shamsudeen
              Andrew McIntyre
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: