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

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

Attaching derby-7126-03-aa-mention-java.security.manager.diff. This patch adds 
a new server diagnostic message which is raised when the SecurityManager cannot 
be installed. The message appears when the user tries to boot a server (on JDK 
18) according to our current documentation:

{noformat}
Mon Nov 22 12:01:21 PST 2021 : Could not install a SecurityManager. You may 
need to set -Djava.security.manager=allow on your java command line:
 The Security Manager is deprecated and will be removed in a future release
{noformat}

I will run tests on JDK 11 to make sure that there are no surprises. 

Touches the following files:

{noformat}
M       
java/org.apache.derby.server/org/apache/derby/drda/NetworkServerControl.java
M       
java/org.apache.derby.server/org/apache/derby/loc/drda/messages.properties
{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, DERBY_7126_B.java, dcl_emc2sm.jar, 
> derby-7126-01-aa-regenerateSignedJars.diff, 
> derby-7126-02-aa-suppressDeprecationWarnings.diff, 
> derby-7126-03-aa-mention-java.security.manager.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)

Reply via email to