> To avoid the CDS dump error message, a fix is during dumping a classlist, > check if an invoker can be archived. > If not, don't write the invoker info into the classlist, i.e. don't call > `logLambdaFormInvoker()`. While generating holder classes (in > `generateHolderClasses()`), don't add the `MethodType` to the `invokerTypes` > if will fail the check in the `build()` method which would result in a > `RuntimeException`. > > Also updated the `MethodHandlesInvokersTest.java` under > `appcds/methodHandles` and `appcds/dynamicArchive/methodHandles` to check > that the "Failed to generate LambdaForm holder classes" error is not in the > output; > > Passed tiers 1 - 3 testing.
Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision: remove unused import ------------- Changes: - all: https://git.openjdk.org/jdk/pull/17953/files - new: https://git.openjdk.org/jdk/pull/17953/files/38d64c10..544fa10e Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=17953&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17953&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/17953.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17953/head:pull/17953 PR: https://git.openjdk.org/jdk/pull/17953