-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSTL TCK Failures for EE10 (JDK 11 / GlassFish 7) #882
Comments
@markt-asf I think you looked at EL/JSP results already. Could you comment at all on the EL / JSP errors above? Thank you. |
The 39 EL The 5 JSP errors look like consequences of the EL API using generics. The test JSPs now need to use |
Thanks @markt-asf! You were right about the (Object) cast. I've made a PR to address that. As for the EL errors, I should create an issue with Glassfish (or Expressly) ? I tested the same code on Tomcat 10.1.0-M11 and on Glassfish 7. Glashfish threw the PropertyNotFoundException exception. This seems to be related to jakartaee/pages#40?
|
Should ^ be described as a JSTL compatibility issue under https://jakarta.ee/specifications/tags/3.0? |
It wouldn't hurt. I'll update the specification in jakartaee/specifications#457 |
The Expression Language implementation is in Expressly indeed. If you want, please create the issue for the |
Mark was right about the resolvers. I've created a PR here in glassfish: eclipse-ee4j/wasp#44 This should get more TCK test passing. |
@scottmarlow I'm rethinking about listing that compatibility issue (your March 10th comment). I think it would be better listed under JSP or EL. It's not caused by any change to the JSTL api or implementation. |
closing issue based on latest - https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Jakarta-EE-10.0-TCK-results |
Now that the JSTL 3.0.0 jars are staged, the latest TCK results show numbers failures (74 under JDK 11). Totals below don't really add up, but this is the majority of the errors.
~39 Relate to EL:
jakarta.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier ‘reTest’
jakarta.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier ‘ex2’
~12 Relate to Date Parsing:
java.text.ParseException: Unparseable date: “Nov 21, 2000, 3:45:02 AM”
.-Djava.locale.providers=COMPAT
and add a comma. I wouldn't expect this ParseException to reoccur then?GlassFishConfigBean.com.sun.enterprise.config.serverbeans.JavaConfig}, reason = Addition of: ‘-Djava.locale.providers=COMPAT’ cannot take effect without server restart, when = 1646682092825]]
Was the property not used when the tests ran?~5 Relate to the Javac Compilation of JSPs
PWC6197: An error occurred at line: 39 in the jsp file: /positiveForTokensDeferredValueTest.jsp PWC6199: Generated servlet error: reference to print is ambiguous both method print(char[]) in jakarta.servlet.jsp.JspWriter and method print(java.lang.String) in jakarta.servlet.jsp.JspWriter match
<%= ve.getValue(pageContext.getELContext()) %>
. The generated java file uses this line:out.print( ve.getValue(pageContext.getELContext()) );
.1 Relates to XML
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class org.w3c.dom.Node (java.lang.Boolean is in module java.base of loader ‘bootstrap’; org.w3c.dom.Node is in module java.xml of loader ‘bootstrap’)
I've attached the mentions apps here :
Apps.zip
Glasshfish server log (contains stack traces):
server.log.zip
The text was updated successfully, but these errors were encountered: