This looks like a deadlock in JDK classes themselves. Did you try updating your JDK to the latest version? (11.0.18 AFAICT; 11.0.5 is more than 3 years old already)
On Thursday, February 23, 2023 at 3:14:03 PM UTC+1 [email protected] wrote: > I'm working on upgrading an app that uses GWT and embedded jetty server > from java 8 to java 11. The app was working fine with jetty 9, GWT 2.10.0 > before the upgrade. After upgrading to java 11- Jetty 11, the compilation > for GWT got stuck. > > I removed all unused dependencies, upgraded existing ones to their latest > version (compatible with Java11), tried to increase Xmx and Xss for the > compilation target, and tried to add workers, but nothing worked. > > I used `jstack` to check the processes threads, which showed a deadlock > (result attached). > > Below is the ant target I'm using to build GWT: > > ``` > <target name="compile.gwt" description="build applications" > depends="compile"> > <java jvm="${home}/apps64/java11/bin/java" failonerror="true" > classname="com.google.gwt.dev.Compiler" > fork="true" > output="build.log"> > <classpath> > <path refid="local.class.path"/> > </classpath> > <jvmarg line="-Xmx1024M"/> > <jvmarg line="-Xss16M"/> > <arg value="-style"/> > <arg value="DETAILED"/> > <arg value="-localWorkers"/> > <arg value="16"/> > <arg value="-logLevel"/> > <arg value="DEBUG"/> > <arg value="-optimize"/> > <arg value="5"/> > <arg value="com.automation.core.ds"/> > </java> > </target> > ``` > > How can I fix that? > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/bb61e93c-b4c4-4879-a322-21929c347d0cn%40googlegroups.com.
