简体   繁体   中英

Java+Gradle build stucks on compileTestJava stage on JDK 11+, but works fine on JDK 1.8, no errors in console

Having a problem with updating my test project to the JDK 11+ (for now it's using Java 1.8 which is out of support).

I use Gradle 7.3 for compiling the project. Everything works fine with JDK 1.8, but when I change the JDK version for 11 or 14 build hangs on:compileTestJava stage. There are no errors in the console, it doesn't fail. Just hanging forever.

Attaching Thread Dump of JVM if that helps:

https://gist.github.com/artemryazantsev/3ef7c35ac150bda4281aeaae7697ee7b

There was an issue in my code related to specific usage of Lombok library, closing as not an issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM