> Using for instance a struct layout that contains an unbounded array will > produce the exception from the JBS issue. > > This patch checks for the case where a GroupLayout is too large more > explicitly, and reports the issue using a more informative exception.
Jorn Vernee has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 44 commits: - Undo changes to MemberDeleted.java - Merge branch 'master' into GroupLayoutTooLarge - Add test. Use toIntExact - improve error message for too large structs - Merge pull request #3 from JornVernee/IsForeignLinkerSupported rename has_port - rename has_port - Merge pull request #2 from JornVernee/WSL_BB account for missing functional in WSL in TestByteBuffer - account for missing mincore on WSL in TestByteBuffer - Merge branch 'master' into PR_21_V2 - 8305369: Issues in zero-length memory segment javadoc section - ... and 34 more: https://git.openjdk.org/jdk/compare/b827ce83...8fe34306 ------------- Changes: https://git.openjdk.org/jdk/pull/13581/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13581&range=02 Stats: 27 lines in 2 files changed: 24 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/13581.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13581/head:pull/13581 PR: https://git.openjdk.org/jdk/pull/13581