[
https://issues.apache.org/jira/browse/GERONIMO-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved GERONIMO-6505.
-----------------------------------
Resolution: Fixed
Thanks for the patch. Committed it in revision 1531446.
> 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)