RFR: 8334872: BigEndian: java/lang/invoke/condy Tests failing since JDK-8294960

Adam Sotona asotona at openjdk.org
Tue Jun 25 08:39:09 UTC 2024


On Mon, 24 Jun 2024 16:01:41 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> After JDK-8294960 is java.lang.invoke.ClassSpecializer using lamdas for code generation and unfortunately it causes StackOverflow on BigEndian platforms.
> 
> This patch converts all lambdas in ClassSpecializer into anonymous inner classes.
> 
> Please review and test on a BigEndian platform.
> 
> Thanks,
> Adam

Yes, I'm working on it. Class-File API avoids lambdas on critical JDK paths only. Unfortunately we did not have the full map of the critical paths on all platforms.

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

PR Comment: https://git.openjdk.org/jdk/pull/19863#issuecomment-2188311520


More information about the core-libs-dev mailing list