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

 - 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
 - 8305087: MemoryLayout API checks should be more eager
 - Merge master
 - ... and 32 more: https://git.openjdk.org/jdk/compare/d8af7a60...8b1dbd31

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

Changes: https://git.openjdk.org/jdk/pull/13581/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13581&range=01
  Stats: 13448 lines in 271 files changed: 5126 ins; 6182 del; 2140 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

Reply via email to