Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Markus Fömpe
On 28.04.20, 17:49, "Mark Thomas" wrote: > This has been fixed in: > - master for 10.0.0-M5 onwards > - 9.0.x for 9.0.35 onwards > - 8.5.x for 8.5.55 onwards > - 7.0.x for 7.0.104 onwards > > The private isPackage(String) method needed to be updated to correctly > identify that

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Mark Thomas
On 28/04/2020 10:57, Mark Thomas wrote: > I've made some progress with the debugging. JDT 4.15 makes an additional > call to INameEnvironment.findType() and passes > "org.apache.jsp.test_jsp$1InnerClass". JDT 4.13 does not make that call. > > I want to research a little more into why this has

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Mark Thomas
On 28/04/2020 10:25, Markus Fömpe wrote: > On 28.04.20, 10:06, "Mark Thomas" wrote: > > [...] >> >>> This is root cause: >>> >>> java.lang.ClassCastException: class >>> org.eclipse.jdt.internal.compiler.lookup.PlainPackageBinding cannot be cast >>> to class

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Markus Fömpe
On 28.04.20, 10:06, "Mark Thomas" wrote: [...] > >> This is root cause: >> >> java.lang.ClassCastException: class >> org.eclipse.jdt.internal.compiler.lookup.PlainPackageBinding cannot be cast >> to class org.eclipse.jdt.internal.compiler.lookup.TypeBinding >>

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Mark Thomas
On 28/04/2020 07:02, Markus Fömpe wrote: > Hi, > > With Tomcat 9.0.34 the JDT compiler was updated to 4.15. > Since then, there is an error when Tomcat compiles the JSP at runtime when > this construct is used in a JSP: Not good news but thanks for bring this up. We skipped 4.14 because there

Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Markus Fömpe
Hi, With Tomcat 9.0.34 the JDT compiler was updated to 4.15. Since then, there is an error when Tomcat compiles the JSP at runtime when this construct is used in a JSP: <%@ page import="java.util.List"%> <%@ page import="java.util.ArrayList"%> <% class InnerClass { // some class members }