invokedynamic and error messages
john.r.rose at oracle.com
Fri Jan 6 08:22:49 PST 2012
On Jan 6, 2012, at 4:57 AM, Jochen Theodorou wrote:
> I see where it comes from, but "reusing" that instead of making a new if
> is not really needed, is it?
> Do people here agree this should be improved?
The javadoc for this throw is:
* @throws IllegalArgumentException if the target does not have a
* leading parameter type that is a reference type
Therefore, I suppose the message could be, "The target does not have a leading parameter type that is a reference type".
The current message is supposed to be an abbreviation of that sentence. Perhaps it is excessively optimized for space.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlvm-dev