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

Richard N. Hillegas commented on DERBY-7088:
--------------------------------------------

When  I build Derby with JDK16 build 16-ea+26-1764, I see the following 
warnings:

{noformat}
    [javac] Note: 
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/FileMonitor.java
 uses or overrides a deprecated API that is marked for removal.
    [javac] Note: Recompile with -Xlint:removal for details.
    [javac] 
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/MultiTest.java:293:
 warning: [removal] isDestroyed() in ThreadGroup has been deprecated and marked 
for removal
    [javac]             for (i = 0; i < MAX_WAIT_FOR_COMPLETION && 
(tg.isDestroyed() == false ); i++) 
    [javac]                                                           ^
    [javac] 
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/MultiTest.java:302:
 warning: [removal] destroy() in ThreadGroup has been deprecated and marked for 
removal
    [javac]                             tg.destroy(); 
    [javac]                               ^
    [javac] 2 warnings
{noformat}

I will ask the Open JDK team for advice about how to handle this.


> 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
>
>
> 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)

Reply via email to