[JBoss JIRA] (DROOLS-61) Classes with package protected visibility cannot be used in rules defined in the same package
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-61:
---------------------------------
Summary: Classes with package protected visibility cannot be used in rules defined in the same package
Key: DROOLS-61
URL: https://issues.jboss.org/browse/DROOLS-61
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
The following two files (foo/Foo.java, foo/foo.drl) are sufficient to
reproduce the bug, i.e., a diagnostic
Exception in thread "main" [Error: could not access field: foo.Foo.x]
[Near : {... x == 1 ....}]
{code}
package foo;
/*** not public ***/ class Foo {
private int x = 1;
public int getX(){ return x; }
}
package foo;
rule "foo getX"
when
Foo( x == 1 )
then
System.out.println( "some Foo.x == 1" );
end
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (AS7-6645) message-expiry-thread-priority value is not bounded
by Jeff Mesnil (JIRA)
Jeff Mesnil created AS7-6645:
--------------------------------
Summary: message-expiry-thread-priority value is not bounded
Key: AS7-6645
URL: https://issues.jboss.org/browse/AS7-6645
Project: Application Server 7
Issue Type: Feature Request
Components: JMS
Affects Versions: 7.1.3.Final (EAP)
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 8.0.0.Alpha1
This attribute corresponds to an thread priority (between 1 and 9).
AS7 does not validate that the attribute value is in this range. The :write-attribute operation succeeds (it's a configuration attribute) but upon server reload, an exception is thrown when using the value in Thread.setPriority(int)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months