RFR: 8265248: Implementation Specific Properties: change prefix, plus add existing properties [v2]
Roger Riggs
rriggs at openjdk.java.net
Wed Apr 28 16:40:53 UTC 2021
On Tue, 27 Apr 2021 23:07:33 GMT, Joe Wang <joehw at openjdk.org> wrote:
>> Update module summary, add a few existing properties and features into the tables.
>
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> Update the CSR. See Update 03 in the CSR
src/java.xml/share/classes/com/sun/org/apache/xalan/internal/utils/XMLSecurityManager.java line 264:
> 262: int temp;
> 263: if (Integer.class.isAssignableFrom(value.getClass())) {
> 264: temp = (Integer)value;
Why not use pattern matching?
`if (value instanceof Integer intValue) {
temp = intValue;
}
-------------
PR: https://git.openjdk.java.net/jdk/pull/3644
More information about the core-libs-dev
mailing list