On Wed, 7 Dec 2022 04:07:45 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
> ImageLayoutException is used to report any issues with image layout > calculation. But since we cannot throw the unspecified exception to the > application, all usages of ImageLayoutException are wrapped by the > CMMException. And now if such CMMException occurs we have lost at what point > the initial exception was raised. > > We can pass some additional data around, but it looks like we can just delete > the ImageLayoutException and use CMMException instead. > > Additionally: > * The `public` keyword is removed in a few places if not needed. > * The PT_XX flags are updated to make it clearly visible how they are > related. This pull request has now been integrated. Changeset: b5b7948d Author: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b5b7948d9b4870d9e84ec8d8b544b252f9053785 Stats: 175 lines in 2 files changed: 13 ins; 79 del; 83 mod 8298240: Replace the usage of ImageLayoutException by the CMMException Reviewed-by: prr ------------- PR: https://git.openjdk.org/jdk/pull/11552