JDK7 language specification issue with MethodHandle
neal at gafter.com
Tue Apr 5 06:41:04 PDT 2011
On Tue, Apr 5, 2011 at 1:24 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> On 04/05/2011 06:57 AM, Neal Gafter wrote:
> > The documentation for MethodHandle (see "Method Handle Compilation" in<
> > appears to contradict the requirements of the Java Language Specification
> > describing compiler behavior that does not conform to the requirements of
> > the JLS. I have not checked, but I would not be surprised if jdk7's
> > also fails to satisfy the specification in this area. This is the kind
> > backdoor language change that Java's corporate owner has consistently
> > considered a clear violation of Java trademark licensing requirements.
> I don't understand exactly what you mean.
> Coud you be a little more specific ?
I'm referring to requirements such as not boxing primitives, not building a
varargs array, and producing the "wrong" method signature in the invoke
instruction. The binary compatibility section of the JLS specifies what
method signature to be generated in the invocation, and this documentation
More information about the coin-dev