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

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

Attaching derby-7133-01-aa-fixDeprecationWarnings.diff. This patch makes the 
following changes:

1) Fixes deprecation warnings introduced by JDK 19 build 19-ea+27-2074.

2) Compiles Derby into JDK 19 byte code, requiring JDK 19 or later in order to 
build Derby.

Tests passed cleanly for using both the classpath and the modulepath.

Touches the following files:

{noformat}
M       BUILDING.html
M       tools/ant/properties/defaultcompiler.properties

(2)


M       
java/org.apache.derby.commons/org/apache/derby/shared/common/error/MessageUtils.java
M       
java/org.apache.derby.commons/org/apache/derby/shared/common/i18n/MessageService.java
M       
java/org.apache.derby.commons/org/apache/derby/shared/common/i18n/MessageUtil.java
M       
java/org.apache.derby.commons/org/apache/derby/shared/common/sanity/ThreadDump.java
M       
java/org.apache.derby.engine/org/apache/derby/impl/jdbc/XATransactionState.java
M       
java/org.apache.derby.engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/derbynet/RuntimeInfoTest.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/i18n/DefaultLocale.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/i18n/UrlLocaleTest.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportTest.java
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/util/ThreadDump.java
M       
java/org.apache.derby.tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java

(1)
{noformat}


> Make it possible to build and test Derby cleanly with OpenJDK 19
> ----------------------------------------------------------------
>
>                 Key: DERBY-7133
>                 URL: https://issues.apache.org/jira/browse/DERBY-7133
>             Project: Derby
>          Issue Type: Task
>    Affects Versions: 10.16.1.1
>            Reporter: Richard N. Hillegas
>            Priority: Major
>         Attachments: derby-7133-01-aa-fixDeprecationWarnings.diff
>
>
> Builds of JDK 19 can be found at https://jdk.java.net/19/ 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.7#820007)

Reply via email to