Class.getInterfaces() returns wrong value.
The comparison to the same interface fails.
public interface Inter { } public class SomeClass implements Inter { } ... Class.forName("Inter") == SomeClass.class.getInterfaces()[0]; // <- failed.
It seems that Class.getInterfaces() returns wrong values.
The comparison to the same interface fails.
It seems that Class.getInterfaces() returns wrong values.