I've a Java 8 code that heavily uses Reflections API. While going through the known issues in JDK 8, I came across this bug. The synopsis of the bug is as follows:
Area: Core Libs / java.lang.reflect
Synopsis
The array returned from the Class.getMethods() method may include methods that are not members of the class. The array may include methods from superinterfaces that have a more specific match in a different superinterface.
Could somebody demonstrate this bug with a simple code, just for me to check if my code is a victim of this bug?
Aucun commentaire:
Enregistrer un commentaire