Re: [External] : Re: JDK 17 is now in Rampdown Phase One

2021-06-15 Thread Jaikiran Pai
Additionally, more as a FYI - we have started to receive user reports 
that the new security manager deprecation WARNING messages on System.err 
are impacting some of their existing build scripts 
https://bz.apache.org/bugzilla/show_bug.cgi?id=65381



-Jaikiran

On 15/06/21 9:51 pm, Jaikiran Pai wrote:


Hello Rory,

On 14/06/21 11:42 pm, Rory O'Donnell wrote:
Many thanks Jaikiran for the analysis and the feedback to the 
security-dev mailing list !

Do let us know about the final test failure ?


I had a look at this one in more detail. The failure is in one of our 
javadoc related tests[1]. After looking into the details, this 
appeared to be a genuine regression. So I raised this in the 
javadoc-dev mailing list[2]. In that discussion it has been 
acknowledged as an intentional change in this version of the JDK and 
not a bug. It did however expose another bug for which a new JBS issue 
has been created[3]


The Ant project needs to do certain changes to take into account both 
the security manager warnings and this change in behaviour of javadoc 
tool. I'll create a separate Ant dev mailing list thread for that 
tomorrow.


[1] 
https://ci-builds.apache.org/job/Ant/job/Ant%20Master%20(latest%20EA%20JDK)/jdk_axis=jdk17_ea,label_exp=ubuntu/74/testReport/junit/src.tests.antunit.taskdefs/javadoc-test_xml/testFailOnWarning/


[2] 
https://mail.openjdk.java.net/pipermail/javadoc-dev/2021-June/003075.html


[3] https://bugs.openjdk.java.net/browse/JDK-8268774

-Jaikiran


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



Re: [External] : Re: JDK 17 is now in Rampdown Phase One

2021-06-15 Thread Rory O'Donnell

Many thanks for the update Jaikiran!

On 15/06/2021 17:21, Jaikiran Pai wrote:


Hello Rory,

On 14/06/21 11:42 pm, Rory O'Donnell wrote:
Many thanks Jaikiran for the analysis and the feedback to the 
security-dev mailing list !

Do let us know about the final test failure ?


I had a look at this one in more detail. The failure is in one of our 
javadoc related tests[1]. After looking into the details, this 
appeared to be a genuine regression. So I raised this in the 
javadoc-dev mailing list[2]. In that discussion it has been 
acknowledged as an intentional change in this version of the JDK and 
not a bug. It did however expose another bug for which a new JBS issue 
has been created[3]


The Ant project needs to do certain changes to take into account both 
the security manager warnings and this change in behaviour of javadoc 
tool. I'll create a separate Ant dev mailing list thread for that 
tomorrow.


[1] 
https://urldefense.com/v3/__https://ci-builds.apache.org/job/Ant/job/Ant*20Master*20(latest*20EA*20JDK)/jdk_axis=jdk17_ea,label_exp=ubuntu/74/testReport/junit/src.tests.antunit.taskdefs/javadoc-test_xml/testFailOnWarning/__;JSUlJQ!!GqivPVa7Brio!Pmzs7-0sBvP_Zy54b3gYtO-WrFKGAIKpIpGN_3RguKWvPdQR7PrBwkK_D75B5Gvx974$ 

[2] 
https://mail.openjdk.java.net/pipermail/javadoc-dev/2021-June/003075.html


[3] https://bugs.openjdk.java.net/browse/JDK-8268774

-Jaikiran

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



--
Rgds, Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin, Ireland


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



Re: [External] : Re: JDK 17 is now in Rampdown Phase One

2021-06-15 Thread Jaikiran Pai



Hello Rory,

On 14/06/21 11:42 pm, Rory O'Donnell wrote:
Many thanks Jaikiran for the analysis and the feedback to the 
security-dev mailing list !

Do let us know about the final test failure ?


I had a look at this one in more detail. The failure is in one of our 
javadoc related tests[1]. After looking into the details, this appeared 
to be a genuine regression. So I raised this in the javadoc-dev mailing 
list[2]. In that discussion it has been acknowledged as an intentional 
change in this version of the JDK and not a bug. It did however expose 
another bug for which a new JBS issue has been created[3]


The Ant project needs to do certain changes to take into account both 
the security manager warnings and this change in behaviour of javadoc 
tool. I'll create a separate Ant dev mailing list thread for that tomorrow.


[1] 
https://ci-builds.apache.org/job/Ant/job/Ant%20Master%20(latest%20EA%20JDK)/jdk_axis=jdk17_ea,label_exp=ubuntu/74/testReport/junit/src.tests.antunit.taskdefs/javadoc-test_xml/testFailOnWarning/


[2] 
https://mail.openjdk.java.net/pipermail/javadoc-dev/2021-June/003075.html


[3] https://bugs.openjdk.java.net/browse/JDK-8268774

-Jaikiran

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



Re: [External] : Re: JDK 17 is now in Rampdown Phase One

2021-06-14 Thread Rory O'Donnell
Many thanks Jaikiran for the analysis and the feedback to the 
security-dev mailing list !

Do let us know about the final test failure ?

Rgds,Rory

On 14/06/2021 18:06, Jaikiran Pai wrote:

Hello Rory,

This JDK 17 EA build 26, has caused at least one regression in our 
testsuite. It relates to the new WARNING message that gets printed out 
to System.err, when something at runtime sets the security manager. 
Given the nature of the test that's failing, fixing it is trivial for 
us, so I'll probably do that tomorrow. However, I would have liked a 
bit more easy debuggability around what piece of code is setting the 
security manager. So I've raised this as a question in security-dev 
mailing list of JDK[1].


Additionally, there's one other test that failed with this build. I 
haven't yet found the time to look into that one in a bit more detail. 
I plan to do that tomorrow and send an update if it turns out to be an 
issue in JDK.


[1] 
https://mail.openjdk.java.net/pipermail/security-dev/2021-June/026456.html



-Jaikiran

On 14/06/21 3:19 pm, Rory O'Donnell wrote:


Hi Stefan/Jaikiran,

*Per the JDK 17 schedule , we are in Rampdown Phase One [1].*

**Please advise if you find any issues while testing the latest Early 
Access builds**.**


 * Schedule:
 o *2021/06/10   Rampdown Phase One*
 o 2021/07/15    Rampdown Phase Two
 o 2021/08/05    Initial Release Candidate
 o 2021/08/19    Final Release Candidate
 o 2021/09/14    General Availability

The overall feature set is frozen. No further JEPs will be targeted 
to this release.


**

 * Important JEPs have been integrated – Attention Required!
 * *JEP 411: **Deprecate the Security Manager for
   Removal*
 o Deprecate, for removal, most Security Manager related classes
   and methods.
 o Warning message at startup if the Security Manager is enabled on
   the command line.
 o Warning message at run time if a Java application or library
   installs a Security Manager dynamically.
 o Deprecation is in concert with the legacy Applet API (JEP 398).
 * *JEP 407: **Remove RMI Activation*
 o Removal the Remote Method Invocation (RMI) Activation mechanism,
   while preserving the rest of RMI.
 o It was deprecated for removal by JEP
   385in Java SE 15.
 * *JEP 403: **Strongly Encapsulate JDK
   Internals*
 o Strongly encapsulate all internal elements of the JDK, except
   for critical internal APIs such as /sun.misc.Unsafe/.
 o It will no longer be possible to relax the strong encapsulation
   of internal elements via a single command-line option.

 * Other features integrated in JDK 17:
 o *JEP 306: **Restore Always-Strict Floating-Point
   Semantics*
 o JEP 356: Enhanced Pseudo-Random Number
   Generators
 o JEP 382: New macOS Rendering
   Pipeline
 o JEP 391: macOS/AArch64 Port
 o JEP 398: Deprecate the Applet API for
   Removal
 o *JEP 406: **Pattern Matching for switch
   (Preview)*
 o JEP 409: Sealed Classes
 o JEP 410: Remove the Experimental AOT and JIT
   Compiler
 o JEP 412: Foreign Function & Memory API
   (Incubator)
 o *JEP 414: **Vector API (Second
   Incubator)*
 o *JEP 415: **Context-Specific Deserialization
   Filters*

*OpenJDK 17 Early Access build 26 is available at 
**https://urldefense.com/v3/__https://jdk.java.net/17*__;Kg!!GqivPVa7Brio!O9ZQoSevqcgjbIB9-J6_sXTMNGGcGRCiDr-G8NYIH_9ulPJSrghIP6yTbZpWDishoPE$ 



 * These early-access , open-source builds are provided under the
 o GNU General Public License, version 2, with the Classpath
Exception

 * Release Notes are available at
https://urldefense.com/v3/__https://jdk.java.net/17/release-notes__;!!GqivPVa7Brio!O9ZQoSevqcgjbIB9-J6_sXTMNGGcGRCiDr-G8NYIH_9ulPJSrghIP6yTbZpW1Jf_Pkk$ 



 * Changes in recent builds that maybe of interest:
 * *Build 26:*
 o JDK-8268241: deprecate JVM TI Heap functions 1.0
 o JDK-8266846: Add java.time.InstantSource
 o JDK-8248268: Support KWP in addition to KW
 o JDK-8204686: Dynamic parallel reference processing