review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one (original) (raw)
John Rose john.r.rose at oracle.com
Tue May 17 15:53:47 PDT 2011
- Previous message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Next message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On May 17, 2011, at 1:06 PM, Tom Rodriguez wrote:
MethodTypeForm.java:
- if (c != null) { + if (c == void.class) + c = null; // a Void parameter was unwrapped to void; ignore + if (c != null && c != void.class) { You don't need to both tests against void.class do you?
No, thanks. The first test is the one I want. The second (more obscure) was my first draft. :-)
-- John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20110517/7eed8790/attachment.html
- Previous message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Next message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list