RE: Liferay 7.2.x and OpenJDK 11.0.6

thumbnail
Mikael Andersson, modified 5 Years ago. New Member Posts: 12 Join Date: 2/1/20 Recent Posts
OpenJDK 11.0.6 was released a couple of weeks ago and it seems to cause problems with Liferay CE 7.2.0 and 7.2.1 (and possibly also with older releases).
javax.portlet.PortletException: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
Looking into ${liferay_home}/work shows that subdirectories are created properly but there are no .java nor .class files.
An example with OpenJDK 11.0.6:
$ find work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8/org
work/com.liferay.login.web-4.0.8/org/apache
work/com.liferay.login.web-4.0.8/org/apache/jsp
same with OpenJDK 11.0.4:
$ find work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8
work/com.liferay.login.web-4.0.8/org
work/com.liferay.login.web-4.0.8/org/apache
work/com.liferay.login.web-4.0.8/org/apache/jsp
work/com.liferay.login.web-4.0.8/org/apache/jsp/login_jsp.class
work/com.liferay.login.web-4.0.8/org/apache/jsp/navigation_jsp.class
work/com.liferay.login.web-4.0.8/org/apache/jsp/navigation_jsp.java
work/com.liferay.login.web-4.0.8/org/apache/jsp/login_jsp.java
This seems to happen with all customized and Liferay's own .jsp files. Possibly an issue with the jsp -> java compiler.
Has anyone faced the same problem? Any suggestions?
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Stick with 11.0.4 until the issue gets resolved?

Have you opened a ticket on issues.liferay.com?
thumbnail
Mikael Andersson, modified 5 Years ago. New Member Posts: 12 Join Date: 2/1/20 Recent Posts
Just opened a ticket, LPS-107983
Victor Soares, modified 5 Years ago. New Member Posts: 8 Join Date: 8/6/15 Recent Posts
An annoying "bug", I had to use the version of the JDK without downgrades and a GA distribution of Liferay.
Here are the files for easy access if anyone needs it - I spent sometime trying to fulfill this requirements from a deployment team request (I am also leaving this here for future reference):Details at: https://www.e-systems.tech/blog/-/blogs/lps-107983