RFR: 8302017: Allocate BadPaddingException only if it will be thrown

Xue-Lei Andrew Fan xuelei at openjdk.org
Mon Mar 27 16:05:53 UTC 2023


On Mon, 27 Mar 2023 08:44:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> If the exception creation is the problem, maybe we should turn it stackless

This is one direction of the update, I think.  Alternatively, it may be doable by not using exception in the unpad() implementation any longer.

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

PR Comment: https://git.openjdk.org/jdk/pull/12732#issuecomment-1485407309



More information about the security-dev mailing list