[wildfly-dev] WFLY-261 & inconsistency in JDK code