[ https://issues.apache.org/jira/browse/DERBY-7088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240836#comment-17240836 ]
Richard N. Hillegas commented on DERBY-7088: -------------------------------------------- Attaching derby-7088-02-aa-deprecatedThreadGroupMethods.diff. This patch makes some small changes so that Derby code and javadoc will build cleanly with JDK16 build 16-ea+26-1764. I get clean builds and test results with this patch under the following experiments: * Build with JDK9, test with JDK9 using the classpath and the modulepath. * Build with JDK16, test with JDK16 using the classpath and the modulepath. This patch makes the following changes: {noformat} M build.xml Remove the footer from javadoc pages. The javadoc footer switch has been deprecated and if you use it, you now get a warning message saying that it will be removed in the future. The Derby javadoc footer contained information about the JDK version used to build the javadoc. If someone thinks that information is useful, we can move it into some other section of the javadoc output. M java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/FileMonitor.java M java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/MultiTest.java Suppress "removal" warnings related to the deprecation and threatened removal of the following ThreadGroup methods: destroy(), isDestroyed(), setDaemon(). M java/org.apache.derby.engine/org/apache/derby/impl/services/daemon/BasicDaemon.java M java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/jdbcapi/SetQueryTimeoutTest.java M java/org.apache.derby.tests/org/apache/derbyTesting/system/sttest/Sttest.java Rephrase how we call Thread.yield(). Javadoc now complains that "yield" is a reserved keyword. These tweaks suppress those complaints. {noformat} > Make it possible to build and test Derby using JDK 16 > ----------------------------------------------------- > > Key: DERBY-7088 > URL: https://issues.apache.org/jira/browse/DERBY-7088 > 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-7088-01-aa-runTestsOnJDK16EA.diff, > derby-7088-02-aa-deprecatedThreadGroupMethods.diff > > > Make sure that Derby builds and tests cleanly with JDK 16, starting with the > early access versions. This issue should be kept open until JDK 16 goes GA. -- This message was sent by Atlassian Jira (v8.3.4#803005)