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

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

I reported the JEP-411 issue with the <java> to the ant developer's list. 
Jaikiran Pai replied as follows:

"
Thank you for this report. We have been watching this area and have been aware 
of this issue, including one other user report[1]. I'm just waiting for things 
to become a bit more clear on this front before coming up with any proposal in 
the Ant project on how to deal with this. Clearly our permissions[2] type and 
the whole security manager based implementation will be impacted and needs a 
rethink.

For the java task, we by default apply certain permissions when run without 
"fork". That's what is triggering this warning. It has been there in the build 
26 EA of JDK 17 as well - of course, that version didn't include the exact 
class which was calling the System.setSecurityManager. That additional detail 
got included recently[3].


[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=65381

[2] http://ant.apache.org/manual/Types/permissions.html

[3] https://github.com/openjdk/jdk17/pull/13
"


> Make it possible to build and test Derby cleanly with OpenJDK 17
> ----------------------------------------------------------------
>
>                 Key: DERBY-7110
>                 URL: https://issues.apache.org/jira/browse/DERBY-7110
>             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-7110-01-aa-removeAngleBrackets.diff, 
> derby-7110-02-aa-suppressWarnings.diff, 
> derby-7110-03-aa-forkAntJavaTask.diff, derby-7110-03-ab-forkAntJavaTask.diff
>
>
> Releases of Open JDK 17 can be found at https://jdk.java.net/17/. 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.3.4#803005)

Reply via email to