RFR: 8305201: Improve error message for GroupLayouts that are too large on SysV [v4]

Jorn Vernee jvernee at openjdk.org
Mon May 1 14:12:57 UTC 2023


> 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 45 commits:

 - Merge branch 'master' into GroupLayoutTooLarge
 - 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
 - ... and 35 more: https://git.openjdk.org/jdk/compare/67dd8414...848f7dbe

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

Changes: https://git.openjdk.org/jdk/pull/13581/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13581&range=03
  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


More information about the core-libs-dev mailing list