RFR(S): 8227255: Switchable helpful NullPointerExceptions
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Tue Jul 9 09:06:51 UTC 2019
Hi
any comments on the name of the flag
or the corresponding documentation?
(This change will be merged into 8218628...)
Best regards,
Goetz.
> -----Original Message-----
> From: Lindenmaier, Goetz
> Sent: Donnerstag, 4. Juli 2019 12:36
> To: hotspot-runtime-dev at openjdk.java.net
> Cc: Coleen Phillimore (coleen.phillimore at oracle.com)
> <coleen.phillimore at oracle.com>; David Holmes <david.holmes at oracle.com>
> Subject: RFR(S): 8227255: Switchable helpful NullPointerExceptions
>
> Hi,
>
> please review this small change.
> http://cr.openjdk.java.net/~goetz/wr19/8227255-NPE-switchable/01/
>
> It will be part of JEP 8220715
> https://bugs.openjdk.java.net/browse/JDK-8220715
>
> The exception messages proposed there will first be
> off per default. After gathering experience, they
> will be turned on per default.
> I was asked to use a manageable flag so it can be switched
> by jcmd.
>
> The flag: SuppressCodeDetailsInExceptionMessages
> "Suppress" because the feature is meant to be on per
> default in the long run. Then you'll have to
> use -XX:_+_ if using the switch.
> "CodeDetails" tries to summarize the concerns with
> the message.
>
> The flag does not mention NPE so it can be used in
> other, similar cases.
>
> If there are not objections to the flag name, I'll file a
> CSR. Or should I wait with the CSR until the JEP is
> targeted?
>
> Best regards,
> Goetz.
More information about the hotspot-runtime-dev
mailing list