10 RFR: WhiteBox methods should throw an exception if used with inappropriate collector.
Aleksey Shipilev
shade at redhat.com
Fri Mar 3 13:00:22 UTC 2017
On 03/03/2017 01:57 PM, Michail Chernov wrote:
> http://cr.openjdk.java.net/~mchernov/8167196/webrev.00/
Looks okay.
I guess throwing UnsupportedOperationException conveys the intent better than
raw RuntimeException.
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20170303/349eb1e5/signature.asc>
More information about the hotspot-gc-dev
mailing list