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

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

Attaching derby-7137-01-aa-compileToJava17byteCode.diff. This change makes 
Derby compile into Java 17 byte code. With this change, Derby builds cleanly 
(including javadoc) and the tests run cleanly on Java 17 (both with classpath 
and modulepath) when you set -Djava.security.manager=allow.

Touches the following file:

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

Change min.version to 17.
{noformat}


> Compile 10.16 into Java 17 byte code so that it won't run on earlier platforms
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-7137
>                 URL: https://issues.apache.org/jira/browse/DERBY-7137
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.16.0.0
>            Reporter: Richard N. Hillegas
>            Assignee: Richard N. Hillegas
>            Priority: Major
>
> The 10.16 network server must be run with -Djava.security.manager=allow in 
> order to enable the Java Security Manager over the objections of 
> https://openjdk.java.net/jeps/411. The meaning of that flag has changed since 
> Java 11. To minimize confusion, we want to prevent people from accidentally 
> running 10.16 on Java platforms older than Java 17.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to