[JBoss JIRA] Created: (JGRP-1281) ProxyAddress and UUID don't compareTo()
by Bela Ban (JIRA)
ProxyAddress and UUID don't compareTo()
---------------------------------------
Key: JGRP-1281
URL: https://issues.jboss.org/browse/JGRP-1281
Project: JGroups
Issue Type: Bug
Affects Versions: 2.12
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.12
When we present global views in RELAY, we mix local (UUID) and global (ProxyAddress) addresses. This works fine as both classes implement Address.
However, when we sort them, there's a ClassCastException, because UUID.compareTo(ProxyAddress) fails. ProxyAddress.compareTo(UUID) works.
ProxyAddressTest is the unit test for this.
SOLUTION: add code in UUID.compare() that compares to a ProxyAddress
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBRULES-1644) Make drools imply null checks before trying to read a value
by Alex McCarrier (JIRA)
Make drools imply null checks before trying to read a value
-----------------------------------------------------------
Key: JBRULES-1644
URL: http://jira.jboss.com/jira/browse/JBRULES-1644
Project: JBoss Drools
Issue Type: Feature Request
Components: Drl Parser/Builder
Affects Versions: 4.0.6
Environment: all
Reporter: Alex McCarrier
Assigned To: Mark Proctor
Priority: Minor
Fix For: FUTURE
Not sure if this is MVEL or drools itself, but it would be nice if it would do null checks on fields for you rather than having the rule author do it. Example, when doing something like:
when
Object(value1.value2 == something)
before attempting to read value2 it makes sure value1 is not null, and if value1 is null than rather than throwing an error like it does currently, just consider the rule as not matching.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBJCA-482) Add spy functionality to JDBC resource adapter
by Jesper Pedersen (JIRA)
Add spy functionality to JDBC resource adapter
----------------------------------------------
Key: JBJCA-482
URL: https://issues.jboss.org/browse/JBJCA-482
Project: IronJacamar
Issue Type: Task
Components: JDBC
Reporter: Jesper Pedersen
Assignee: Jesper Pedersen
Add functionality to the JDBC resource adapter such that statements executed are logged against a special logger instance - if enabled (boolean spy). Default value is false.
General methods - like execute(String) and close() - should be logged at INFO level.
Control methods - like rollback() and commit() - should be logged at DEBUG level.
It should be possible to identify the statements based on the deployed datasource name.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months