openmq
openmq copied to clipboard
If correlationID is null getCorrellationIDasBytes throws an Exception
Hello,
i am referencing to this line of code (and above):
https://github.com/eclipse-ee4j/openmq/blob/14bf26b017e74693573fb515d19328220bdbd20c/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java#L640
Wouldn't it make sense to check the correlationID result for null before applying getBytes? As a user of the API, I expect to get a null in this case.
- Issue Imported From: https://github.com/javaee/jaxb-v2/issues/663
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: @glassfishrobot
@glassfishrobot Commented Reported by [email protected]
@glassfishrobot Commented snajper said: Thanks for submission. Assigning and adjusting priority.
@glassfishrobot Commented Was assigned to snajper
@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-663