[jboss-jira] [JBoss JIRA] (WFLY-11095) Wildfly 14.0.0 regression: EL returns empty string on constant

Arthur Borsboom (JIRA) issues at jboss.org
Tue Oct 2 02:54:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641234#comment-13641234 ] 

Arthur Borsboom commented on WFLY-11095:
----------------------------------------

Hi Jan,

The two issues are close related and I think it is smart to fix them together. 
However, I do recall that the other issue was not an issue on my system when I tested Wildfly 14.
The two statements below did get resolved correctly, however the reference to a static field in a non default JRE/JDK class didn't.

Works:

foo: --- ${Boolean.TRUE} ---<br>
bar: --- ${Integer.MAX_VALUE} ---<br>

Doesn't work:

{YourConstants.FOO}

As a side note, the two Java constant statements above are a copy of my bug report for Wildfly 10 ;-)
https://developer.jboss.org/thread/271825

> Wildfly 14.0.0 regression: EL returns empty string on constant
> --------------------------------------------------------------
>
>                 Key: WFLY-11095
>                 URL: https://issues.jboss.org/browse/WFLY-11095
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 14.0.0.Final
>         Environment: Linux
>            Reporter: Arthur Borsboom
>            Assignee: Stuart Douglas
>
> This does work in Wildfly 13, but not in Wildfly 14:
> <%@ page import="com.example.YourConstants" %>
> ${YourConstants.FOO}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list