RFR: 8274075: Fix miscellaneous typos in java.base [v2]
Pavel Rappo
prappo at openjdk.java.net
Wed Sep 22 13:01:39 UTC 2021
On Wed, 22 Sep 2021 10:24:12 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
>> Note that we don't throw the "wrapped exception" we throw the exception that wraps it. The "wrapped exception" is the original cause. The wording as presented now is correct in that regard. You could also say "Throwing a wrapper exception (i.e. one that has a cause)" - I think both are grammatically correct.
>>
>> The later text "where a wrapped exception is thrown from the same method" is again incorrect because the wrapped exception (the cause) is not what gets thrown. But I find that whole sentence rather jarring anyway - I'm not certain exactly what it means.
>
> I'm inclined to revert this change on Throwable.java:68, because of the lack of consensus. It clearly is not a simple typo.
Reverted in 57b71c5.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5610
More information about the security-dev
mailing list