hg: jdk8/tl/jdk: 8009411: (reflect) Class.getMethods should not include static methods from interfaces
joel.franck at oracle.com
joel.franck at oracle.com
Tue Oct 22 08:50:53 UTC 2013
Changeset: 04ba97b7c2f9
Author: jfranck
Date: 2013-10-22 10:34 +0200
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/04ba97b7c2f9
8009411: (reflect) Class.getMethods should not include static methods from interfaces
Summary: Update getMethods() and getMethod() to filter out interface statics
Reviewed-by: darcy
Contributed-by: joel.franck at oracle.com, andreas.lundblad at oracle.com, amy.lu at oracle.com, peter.levart at gmail.com
! src/share/classes/java/lang/Class.java
! test/java/lang/reflect/DefaultStaticTest/DefaultStaticInvokeTest.java
! test/java/lang/reflect/DefaultStaticTest/DefaultStaticTestData.java
+ test/java/lang/reflect/Method/InterfaceStatic/StaticInterfaceMethodInWayOfDefault.java
More information about the security-dev
mailing list