[
https://issues.apache.org/jira/browse/DERBY-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445307#comment-17445307
]
Richard N. Hillegas commented on DERBY-7126:
--------------------------------------------
When I build Derby with JDK build 18-ea+23-1525, I get the following new
warnings:
{noformat}
[javac]
/Users/rhillegas/derby/mainline/trunk/generated/java/org.apache.derby.tools/org/apache/derby/impl/tools/ij/ij.java:2776:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] Process p =
Runtime.getRuntime().exec(stringValue(cmd.image));
[javac] ^
[javac] 1 warning
[javac]
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/FileCompare.java:279:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] pr = Runtime.getRuntime().exec(diffCmd);
[javac] ^
[javac]
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/RunList.java:647:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] Process prstop = Runtime.getRuntime().exec(stopCmd);
[javac] ^
[javac]
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/UnJar.java:79:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] pr = Runtime.getRuntime().exec(jarCmd);
[javac] ^
[javac]
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java:1509:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] Process proc = rt.exec(localCommand);
[javac] ^
[javac]
/Users/rhillegas/derby/mainline/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/util/JarUtil.java:59:
warning: [deprecation] exec(String) in Runtime has been deprecated
[javac] pr = Runtime.getRuntime().exec(jarCmd);
[javac] ^
[javac] 5 warnings
{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
>
>
> 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)