[JBoss JIRA] (JBEE-159) PropertyNotFoundException when the property is a JDK8 defender method
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/JBEE-159?page=com.atlassian.jira.plugin.s... ]
Scott Marlow commented on JBEE-159:
-----------------------------------
A patch would be helpful as well as reporting this issue upstream. I'm not yet sure of where the upstream repo is yet, otherwise I would mention it here. I assume its near [https://java.net/projects/glassfish/sources]. Thanks for reporting this Rich! :-)
> PropertyNotFoundException when the property is a JDK8 defender method
> ---------------------------------------------------------------------
>
> Key: JBEE-159
> URL: https://issues.jboss.org/browse/JBEE-159
> Project: JBoss JavaEE Spec APIs
> Issue Type: Enhancement
> Components: jboss-el-api
> Affects Versions: jboss-el-api_3.0_spec-1.0.2.Final
> Reporter: Rich DiCroce
> Assignee: Scott Marlow
> Priority: Minor
> Labels: java8
>
> I have a class that implements an interface that uses Java 8's new defender methods feature. Some getters on the interface have default implementations, and the concrete classes don't override them.
> If I try to refer to one of these getters as a property like so:
> {code:xml}
> value="#{cc.filter.filter.valueChoices}"
> {code}
> Then I get this exception:
> {noformat}
> Caused by: javax.el.PropertyNotFoundException: The class 'com.lapis.jsf.framework.dao.search.DefaultEntityFilter' does not have the property 'valueChoices'.
> at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:731) [jboss-el-api_3.0_spec-1.0.3.Final.jar:1.0.3.Final]
> at javax.el.BeanELResolver.getValue(BeanELResolver.java:351) [jboss-el-api_3.0_spec-1.0.3.Final.jar:1.0.3.Final]
> at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.2.6-jbossorg-4.jar:]
> at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.2.6-jbossorg-4.jar:]
> at com.sun.el.parser.AstValue.getValue(AstValue.java:140) [javax.el-3.0.0.jar:]
> at com.sun.el.parser.AstValue.getValue(AstValue.java:204) [javax.el-3.0.0.jar:]
> at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:66) [javax.el-3.0.0.jar:]
> at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226) [javax.el-3.0.0.jar:]
> at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
> at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
> at com.sun.faces.facelets.el.ContextualCompositeValueExpression.getValue(ContextualCompositeValueExpression.java:158) [jsf-impl-2.2.6-jbossorg-4.jar:]
> at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.2.6-jbossorg-4.jar:]
> ... 68 more
> {noformat}
> Two workarounds exist. One: you can override the default method in a concrete class and have it just call the default super method. Two: you can call the getter using a method expression instead of a value expression.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ELY-442) Fix copyright
by David Lloyd (JIRA)
David Lloyd created ELY-442:
-------------------------------
Summary: Fix copyright
Key: ELY-442
URL: https://issues.jboss.org/browse/ELY-442
Project: WildFly Elytron
Issue Type: Bug
Reporter: David Lloyd
Assignee: David Lloyd
Priority: Critical
We have a mix of LGPL and ASL. Fix it all to ASL.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (WFLY-6350) Configuration differences between default configuration and read/persisted in messaging and IIOP
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-6350?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar updated WFLY-6350:
------------------------------
Priority: Minor (was: Blocker)
> Configuration differences between default configuration and read/persisted in messaging and IIOP
> ------------------------------------------------------------------------------------------------
>
> Key: WFLY-6350
> URL: https://issues.jboss.org/browse/WFLY-6350
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
>
> Following up on JBEAP-3093, there are still differences in these 2 subsystems:
> {noformat}
> 258a255
> > <orb socket-binding="iiop" ssl-socket-binding="iiop-ssl"/>
> 337c334
> < <role name="guest" delete-non-durable-queue="true" create-non-durable-queue="true" consume="true" send="true"/>
> ---
> > <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/>
> 339,341c336,338
> < <address-setting name="#" redistribution-delay="1000" message-counter-history-day-limit="10" page-size-bytes="2097152" max-size-bytes="10485760" expiry-address="jms.queue.ExpiryQueue" dead-letter-address="jms.queue.DLQ"/>
> < <http-connector name="http-connector" endpoint="http-acceptor" socket-binding="http"/>
> < <http-connector name="http-connector-throughput" endpoint="http-acceptor-throughput" socket-binding="http">
> ---
> > <address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760" page-size-bytes="2097152" message-counter-history-day-limit="10" redistribution-delay="1000"/>
> > <http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/>
> > <http-connector name="http-connector-throughput" socket-binding="http" endpoint="http-acceptor-throughput">
> 353c350
> < <cluster-connection name="my-cluster" discovery-group="dg-group1" connector-name="http-connector" address="jms"/>
> ---
> > <cluster-connection name="my-cluster" address="jms" connector-name="http-connector" discovery-group="dg-group1"/>
> 356,358c353,355
> < <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/>
> < <connection-factory name="RemoteConnectionFactory" reconnect-attempts="-1" block-on-acknowledge="true" ha="true" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="http-connector"/>
> < <pooled-connection-factory name="activemq-ra" transaction="xa" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm"/>
> ---
> > <connection-factory name="InVmConnectionFactory" connectors="in-vm" entries="java:/ConnectionFactory"/>
> > <connection-factory name="RemoteConnectionFactory" ha="true" block-on-acknowledge="true" reconnect-attempts="-1" connectors="http-connector" entries="java:jboss/exported/jms/RemoteConnectionFactory"/>
> > <pooled-connection-factory name="activemq-ra" transaction="xa" connectors="in-vm" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month