RFR: 8274075: Fix miscellaneous typos in java.base [v2]

Lance Andersen lancea at openjdk.java.net
Tue Sep 21 17:00:32 UTC 2021


On Tue, 21 Sep 2021 16:48:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Tweak wording for Throwable constructor parameters
>
> src/java.base/share/classes/java/lang/Throwable.java line 68:
> 
>> 66:  * Further, doing so would tie the API of the upper layer to the details of
>> 67:  * its implementation, assuming the lower layer's exception was a checked
>> 68:  * exception.  Throwing a "wrapping exception" (i.e., an exception containing a
> 
> Are we sure that this should be "wrapping" and not "wrapped?" See also for example `java.security.cert.CertPathValidatorException.`

It does seem a bit strange to say "Throwing a wrapping...."

-------------

PR: https://git.openjdk.java.net/jdk/pull/5610



More information about the security-dev mailing list