db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6998) Make it possible to build Derby cleanly using JDK 10
Date Wed, 03 Oct 2018 00:06:00 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16636258#comment-16636258
] 

Rick Hillegas commented on DERBY-6998:
--------------------------------------

Attaching derby-6998-04-aa-increaseCertificateLifetime.diff. This patch increases the lifetime
of the certificate used by SSLTest. While investigating the failure of that test under JDK
11, I noticed that the certificate expired many years ago. I don't know whether the expired
certificate is a real problem, but it looked goofy to me. This patch increases the certificate
lifetime to 100 years.

Tests passed cleanly for me with this patch on JDK 9.


Touches the following file:

{noformat}
----------------------------

M       java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/derbynet/SSLTestServerKey.key

Regenerate the keystore used for the SSLTest so that the certificate
has a long lifetime.
{noformat}


> Make it possible to build Derby cleanly using JDK 10
> ----------------------------------------------------
>
>                 Key: DERBY-6998
>                 URL: https://issues.apache.org/jira/browse/DERBY-6998
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.15.0.0
>            Reporter: Rick Hillegas
>            Priority: Major
>         Attachments: derby-6998-01-ab-tightenReturnType.diff, derby-6998-02-aa-supportForJDK11.diff,
derby-6998-03-aa-reenableEncryptionTestsOnJDK11.diff, derby-6998-04-aa-increaseCertificateLifetime.diff,
sslHandshake.tar
>
>
> When I build Derby using JDK 10, I get the following warning:
> {noformat}
>     [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
> {noformat}
> I will clean this up.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message