RFR 8147070: Dynalink GuardedInvocation must check the Class object passed
Attila Szegedi
szegedia at gmail.com
Thu Jan 14 10:06:16 UTC 2016
+1
> On Jan 14, 2016, at 11:05 AM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
>
> Thanks. I went with this change -> http://cr.openjdk.java.net/~sundar/8147070/webrev.01/
>
> -Sundar
>
> On 1/14/2016 3:03 PM, Attila Szegedi wrote:
>> I’d prefer IllegalArgumentException to ClassCastException to be thrown in such a situation, with message such as exception.getName() + “ is not assignable from Throwable”.
>>
>>> On Jan 14, 2016, at 10:21 AM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
>>>
>>> Please review http://cr.openjdk.java.net/~sundar/8147070/ for https://bugs.openjdk.java.net/browse/JDK-8147070
>>>
>>> Thanks,
>>> -Sundar
>
More information about the nashorn-dev
mailing list