Andy McCright created GERONIMO-6505:
---------------------------------------
Summary: 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
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)