[
https://issues.apache.org/jira/browse/DERBY-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445339#comment-17445339
]
Richard N. Hillegas commented on DERBY-7126:
--------------------------------------------
Attaching derby-7126-02-aa-suppressDeprecationWarnings.diff. This patch
suppresses the new deprecation warnings. With this patch, Derby builds cleanly
(including javadoc) against both JDK 18 and JDK 11. I will run tests against
JDK 11 with the classpath. I don't expect different behavior with the
modulepath. I expect that JDK 18 will cause the tests to fail spectacularly
because of the additional work on JEP 411. I plan to address those failures
with a separate patch.
Touches the following files:
{noformat}
M
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/FileCompare.java
M
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/RunList.java
M
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/UnJar.java
M
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
M
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/util/JarUtil.java
M java/org.apache.derby.tools/org/apache/derby/impl/tools/ij/ij.jj
{noformat}
> Make it possible to build and test Derby cleanly with OpenJDK 18
> ----------------------------------------------------------------
>
> Key: DERBY-7126
> URL: https://issues.apache.org/jira/browse/DERBY-7126
> Project: Derby
> Issue Type: Task
> Components: Build tools
> Affects Versions: 10.16.0.0
> Reporter: Richard N. Hillegas
> Assignee: Richard N. Hillegas
> Priority: Major
> Attachments: DERBY_7126_A.java, dcl_emc2sm.jar,
> derby-7126-01-aa-regenerateSignedJars.diff,
> derby-7126-02-aa-suppressDeprecationWarnings.diff
>
>
> Releases of Open JDK 18 can be found at https://jdk.java.net/178. We should
> adjust Derby as necessary so that it builds cleanly (including javadoc) and
> tests cleanly with this version of the platform.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)