Loading classes with many methods is very expensive

Stanimir Simeonoff stanimir at riflexo.com
Sun Oct 26 23:19:47 UTC 2014


>
> 55 java/lang/reflect jtreg tests still pass. As they did before, which
> means that we don't have a coverage for such cases. I'll see where I can
> add such a case (EnumSet for example, which inherits from Set interface and
> AbstractColection class via two different paths, so Set.size()/iterator()
> and AbstractCollection.size()/iterator() are both returned from
> getMethods())...
>

Reminds me the case when a package private class implementing a public
interface cannot have its methods invoked via
object.getClass().getMethod(name, classes).invoke(object, args) outside the
package.
Also I can't find any spec. on how multiple equivalent methods should be
returned.



>
> Regards, Peter
>
>



More information about the core-libs-dev mailing list