Derby
  1. Derby
  2. DERBY-553

With JDK 1.5 signatures from signed jar in a database are not returned by Class.getSigners() when database in stored in a jar file.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: None
    • Component/s: Services
    • Environment:
      JDK 1.5
    • Urgency:
      Normal
    • Bug behavior facts:
      Security

      Description

      See differences between the generic master file for lang/dcl.sql and the jdk1.5 version for the return from the function EMC.GETSIGNERS.
      NULL is incorrectly returned in JDK 1.5, while a valid signature description is returned in JDK 1.3,1.4.

      Will see if changes made for DERBY-538 resolve this.

      1. enable-test.diff
        1 kB
        Knut Anders Hatlen
      2. cert15_repro.jar
        12 kB
        Daniel John Debrunner

        Issue Links

          Activity

          Hide
          Daniel John Debrunner added a comment -

          Attached is a repro for the problem that shows it is a JDK 1.5 bug outside of Derby.
          The README.txt has the details on how to run.

          Show
          Daniel John Debrunner added a comment - Attached is a repro for the problem that shows it is a JDK 1.5 bug outside of Derby. The README.txt has the details on how to run.
          Hide
          Daniel John Debrunner added a comment -

          I reported this issue to Sun and recevied this:

          We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 6348368.

          You can monitor this bug on the Java Bug Database at
          http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348368

          Show
          Daniel John Debrunner added a comment - I reported this issue to Sun and recevied this: We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 6348368. You can monitor this bug on the Java Bug Database at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348368
          Hide
          Daniel John Debrunner added a comment -

          The Sun Java bug 6348368 has been closed as: Closed, duplicate of 6284489

          However 6284489 is not visible.

          Show
          Daniel John Debrunner added a comment - The Sun Java bug 6348368 has been closed as: Closed, duplicate of 6284489 However 6284489 is not visible.
          Hide
          Daniel John Debrunner added a comment -

          6284489 is now visible and marked as fixed in mustang.

          http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6284489

          Show
          Daniel John Debrunner added a comment - 6284489 is now visible and marked as fixed in mustang. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6284489
          Hide
          Mike Matrigali added a comment -

          Triaged July 10, 2009: assigned normal urgency.

          Show
          Mike Matrigali added a comment - Triaged July 10, 2009: assigned normal urgency.
          Hide
          Knut Anders Hatlen added a comment -

          The lang/dcl.sql test where this problem was seen, was converted to the JUnit test DatabaseClassLoadingTest in DERBY-2033. The code that fails because of this issue on JDK 1.5, is commented out:

          // Disabled due to DERBY-553
          // signersTests(conn);

          The attached patch enables this code on other platforms than Java 5 (it is fixed in Java 6 and newer).

          Committed revision 1437359.

          Show
          Knut Anders Hatlen added a comment - The lang/dcl.sql test where this problem was seen, was converted to the JUnit test DatabaseClassLoadingTest in DERBY-2033 . The code that fails because of this issue on JDK 1.5, is commented out: // Disabled due to DERBY-553 // signersTests(conn); The attached patch enables this code on other platforms than Java 5 (it is fixed in Java 6 and newer). Committed revision 1437359.
          Hide
          Knut Anders Hatlen added a comment -

          Closing as invalid since the problem turned out to be a JVM bug which is fixed in the most recent versions.

          Show
          Knut Anders Hatlen added a comment - Closing as invalid since the problem turned out to be a JVM bug which is fixed in the most recent versions.

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development