RFR(S): 8233014: Enable ShowCodeDetailsInExceptionMessages per default.
Remi Forax
forax at univ-mlv.fr
Mon Apr 27 00:36:38 UTC 2020
----- Mail original -----
> De: "Thomas Stüfe" <thomas.stuefe at gmail.com>
> À: "Goetz Lindenmaier" <goetz.lindenmaier at sap.com>
> Cc: "hotspot-dev" <hotspot-dev at openjdk.java.net>
> Envoyé: Samedi 25 Avril 2020 19:12:11
> Objet: Re: RFR(S): 8233014: Enable ShowCodeDetailsInExceptionMessages per default.
> Looks good.
>
> Wonder what would be the point of switching it off though. At some time we
> may just remove that switch.
>
> Cheers, Thomas
If some applications relies on
- specific error message in NPE, the application may cease to work, or log parsing will not work anymore, etc
- catching NPE, having detailed error message may slow the application.
so the point to keep the switch is to provide an escape hatch until people either fix their code or use another dependency,
nobody write this kind of code so it has to be in a dependency :)
regards
Rémi
>
> On Fri, Apr 24, 2020 at 4:41 PM Lindenmaier, Goetz <
> goetz.lindenmaier at sap.com> wrote:
>
>> Hi,
>>
>> I would like to enable JEP 358 Helpful NullPointerExceptions by default:
>>
>> http://cr.openjdk.java.net/~goetz/wr19/8233014-enable_NPE_per_default/02/
>>
>> Please review.
>>
>> The change passed our testing and jdk-submit.
>>
>> Best regards,
>> Goetz.
More information about the hotspot-dev
mailing list