geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy McCright (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-6505) CloseReason.CloseCodes enum's getCode method always returns 1111
Date Fri, 11 Oct 2013 20:46:43 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andy McCright updated GERONIMO-6505:
------------------------------------

    Attachment: patch-websockets-CloseReason.txt

This patch should return the correct integer code for the specified enum instance.

> CloseReason.CloseCodes enum's getCode method always returns 1111
> ----------------------------------------------------------------
>
>                 Key: GERONIMO-6505
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6505
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>            Reporter: Andy McCright
>            Assignee: Andy McCright
>            Priority: Minor
>         Attachments: patch-websockets-CloseReason.txt
>
>
> The initial implementation of the websockets API has a mistake in the implementation
of the CloseCodes enum (in javax.websocket.CloseReason).  When calling the getCode() method,
instead of returning the proper code for the specified CloseReason (i.e. NORMAL_CLOSURE should
return 1000, GOING_AWAY should return 1001, etc.), it always returns 1111.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message