Re: SecurityManager in Java is being deprecated - Please try your Ant builds against JDK 17 EA builds

2021-06-17 Thread Rick Hillegas
Derby gets advance notice of new Open JDK distributions, so we have been 
struggling with this change since the beginning of the week. Our 
experience is being tracked by the Derby developer email thread 
https://apache-database.10148.n7.nabble.com/JDK-17-is-now-in-Rampdown-Phase-One-td151971.html, 
by the email thread titled "blizzard of deprecation warnings related to 
JEP 411" on the security-...@openjdk.java.net mailing list, and by the 
last several comments on https://issues.apache.org/jira/browse/DERBY-7110.


For us, this is a significant disruption, which we haven't sorted out 
satisfactorily yet.



On 6/17/21 9:35 AM, Jaikiran Pai wrote:
Those of you who haven't yet heard, the upcoming JDK 17 release will 
be deprecating (for future removal) the SecurityManager classes and 
some of the related infrastructure. The complete details of this 
proposed change are explained here https://openjdk.java.net/jeps/411.


The initial changes around this are already available in an early 
access release of JDK 17 which is available at https://jdk.java.net/17/


Ant is one of the projects that will be impacted since we internally 
deal with Java's SecurityManager APIs especially when the 
"permissions" type 
https://ant.apache.org/manual/Types/permissions.html is used in Ant 
builds.


I think it would be good to hear from the users of Ant if/how they 
will be impacted by these changes in the JDK and how severe that 
impact will be. Please take a look at the JEP and even try out your 
project builds using the latest early access of JDK and report any 
issues that you might notice.


Please do remember that the proposed change for JDK 17 is making 
SecurityManager deprecated for future removal and it is _not_ being 
removed or its behaviour changed in JDK 17 (although you will start 
seeing some diagnostic warning messages, from the JDK itself, bringing 
to your attention this deprecation).



-Jaikiran



-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



SecurityManager in Java is being deprecated - Please try your Ant builds against JDK 17 EA builds

2021-06-17 Thread Jaikiran Pai
Those of you who haven't yet heard, the upcoming JDK 17 release will be 
deprecating (for future removal) the SecurityManager classes and some of 
the related infrastructure. The complete details of this proposed change 
are explained here https://openjdk.java.net/jeps/411.


The initial changes around this are already available in an early access 
release of JDK 17 which is available at https://jdk.java.net/17/


Ant is one of the projects that will be impacted since we internally 
deal with Java's SecurityManager APIs especially when the "permissions" 
type https://ant.apache.org/manual/Types/permissions.html is used in Ant 
builds.


I think it would be good to hear from the users of Ant if/how they will 
be impacted by these changes in the JDK and how severe that impact will 
be. Please take a look at the JEP and even try out your project builds 
using the latest early access of JDK and report any issues that you 
might notice.


Please do remember that the proposed change for JDK 17 is making 
SecurityManager deprecated for future removal and it is _not_ being 
removed or its behaviour changed in JDK 17 (although you will start 
seeing some diagnostic warning messages, from the JDK itself, bringing 
to your attention this deprecation).



-Jaikiran



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org