Hi,

I have the following rule:

dh : DealtHand(seat == Seat.NORTH)

Seat is a Java 5 enum.  When I trace through the code it appears that 
Seat.NORTH gets changed to 'NORTH' for the comparison which fails the test.

I have Java Language Level set to 1.5.

Is this type of construct supported in DROOLS.

Thanks,

John

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to