On Tue, 27 Apr 2021 23:07:33 GMT, Joe Wang <jo...@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