Derby
  1. Derby
  2. DERBY-6164 Improve Derby's Code Coverage - GSoC 2013 Project
  3. DERBY-2343

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

    Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4
    • Fix Version/s: None
    • Component/s: Tools
    • Urgency:
      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.

        Issue Links

          Activity

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

            People

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

              Dates

              • Created:
                Updated:

                Development