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

Make it possible to build Derby cleanly using JDK 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.15.1.3
    • None
    • Build tools
    • None
    • Normal

    Description

      When I build Derby using JDK 10, I get the following warning:

          [javac] /Users/rhillegas/derby/mainline/trunk/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:728: warning: [unchecked] getPrefixes(String) in NullNamespaceContext implements getPrefixes(String) in NamespaceContext
          [javac]         public Iterator getPrefixes(String namespaceURI) {
          [javac]                         ^
          [javac]   return type requires unchecked conversion from Iterator to Iterator<String>
          [javac] 1 warning
      

      I will clean this up.

      Attachments

        1. derby-6998-01-ab-tightenReturnType.diff
          8 kB
          Richard N. Hillegas
        2. derby-6998-02-aa-supportForJDK11.diff
          7 kB
          Richard N. Hillegas
        3. derby-6998-03-aa-reenableEncryptionTestsOnJDK11.diff
          10 kB
          Richard N. Hillegas
        4. derby-6998-04-aa-increaseCertificateLifetime.diff
          0.3 kB
          Richard N. Hillegas
        5. derby-6998-05-aa-use-java.specification.version.diff
          0.7 kB
          Richard N. Hillegas
        6. derby-6998-05-ab-use-java.specification.version.diff
          4 kB
          Richard N. Hillegas
        7. sslHandshake.tar
          27 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: