-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support building and running on JDK 22 (#1419)
We don't immediately crash on JDK 22 bytecodes, but new bytecode features have not been tested. We modify the `TestList` test input to avoid a blowup when running `SlicerTest.testList`. openjdk/jdk@b62e774 introduced calls to `String.format` from `Integer.parseInt`, which dramatically increased the number of reachable methods for the previous version of this test, which in turn led to very slow performance with the slicer. Changing the test to use a `List<String>` and string constants removes this blowup. (Whole-program analysis is fun!) Fixes #1414
- Loading branch information
Showing
4 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters