[seam-issues] [JBoss JIRA] Commented: (SEAMCONFIG-47) Cannot hear drunken singing on AS7 final

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Tue Aug 9 11:26:28 EDT 2011

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

Marek Schmidt commented on SEAMCONFIG-47:

The problem seems to be

 private Set<GameRoom> getAdjacentRooms() {
        HashSet<GameRoom> ret = new HashSet<GameRoom>();
        if (currentRoom.getNorth() != null) {
        if (currentRoom.getSouth() != null) {
        if (currentRoom.getEast() != null) {
        if (currentRoom.getWest() != null) {
        return ret;

on AS7 (new Weld?) all the instances have the same hash and are equal(), even though they are not identical objects, so the HashSet always contains only one room.

> Cannot hear drunken singing on AS7 final
> ----------------------------------------
>                 Key: SEAMCONFIG-47
>                 URL: https://issues.jboss.org/browse/SEAMCONFIG-47
>             Project: Seam Config
>          Issue Type: Bug
>         Environment: seam config commit ce5fbb7, jboss-as-web-7.0.0.Final
>            Reporter: Marek Schmidt
>            Assignee: Stuart Douglas
> In the Princess rescue example on jboss AS 7, there should be the following message displayed in the second room:
> {quote}
> You feel a breeze. You hear drunken singing. 
> {quote}
> but nothing is displayed, the same .war works fine on jboss AS 7.0.0.CR1

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list