RFR: JDK-8223725: j.l.c.MethodHandleDesc::of throws undocumented exception IllegalArgumentException

Roger Riggs Roger.Riggs at oracle.com
Fri May 17 18:05:37 UTC 2019


Hi Vicente,

What's the difference in the IAE exceptions describing IAE's as
being "incorrect formats' vs 'is invalid' or 'not valid'?

Each requires a spec for valid and invalid strings or is undefined.

Can the new IAE use the same language as is used for the ofDescriptor 
method?
Avoiding any question about differences.

69:  Also, is the word 'lookup' overloaded?  Is 'lookup' is significant 
in this context?

Roger


On 05/14/2019 06:37 PM, Vicente Romero wrote:
> Please review fix [1] for [2] and the corresponding CSR at [3]. The 
> fix is just adding a missing @throws at method 
> j.l.c.MethodHandleDesc::of. It is a one liner fix,
>
> Thanks,
> Vicente
>
> [1] http://cr.openjdk.java.net/~vromero/8223725/webrev.00/
> [2] https://bugs.openjdk.java.net/browse/JDK-8223725
> [3] https://bugs.openjdk.java.net/browse/JDK-8223920



More information about the core-libs-dev mailing list