Currently, the java.lang.invoke.CallSite has a package-private
constructor, and in its Javadoc it already mentions all the three
subclasses: ConstantCallSite, MutableCallSite and VolatileCallSite.
I guess that now that Java has support for sealed classes, the CallSite
could be a candidate for it
Now that Sealed classes are integrated, should be the moment to seal the
ConstantDesc class and its subclasses, or would be better to wait a little
bit more?
Best regards
Thiago
Hi all.
I've been testing the JDK Dynalink recently and
I think I've found a bug.
The class jdk.dynalink.beans.CheckRestrictedPackage checks
if a package is restricted.
So, I have a class that has some static methods. But to Dynalink find the
class,
the class needs to be public. OK,
I've