[
https://issues.apache.org/jira/browse/AMQ-5334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marie-Denise Jolie updated AMQ-5334:
------------------------------------
Description:
if a message is sent with string properties or map entries that contain a
UTF-8 surrogate pair, when received by message consumer the surrogate chars are
corrupted. The attached class reproduces this issue with JDK 8 and passes
against JDK 7.
was:
I wrote a class that reproduces the error with JDK 8 and passes against JDK 7.
Surrogates are failing with MapMessages and messages using
setStringproperty or setstring
Priority: Major (was: Minor)
Environment: This only happens using the activemq client with JDK 8,it
did work properly with JDK 7. (was: This only happens using the activemq
client with JDK 8 ,, this did work properly with JDK 7 .)
Fix Version/s: 5.10.0
Summary: String message properties and map string entries containing
surrogates are being corrupted when running with JRE 8. (was: map massage
properties with surrogates failing against JDK 8 )
> String message properties and map string entries containing surrogates are
> being corrupted when running with JRE 8.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-5334
> URL: https://issues.apache.org/jira/browse/AMQ-5334
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.10.0
> Environment: This only happens using the activemq client with JDK
> 8,it did work properly with JDK 7.
> Reporter: Marie-Denise Jolie
> Fix For: 5.10.0
>
> Attachments: MapMessageTest.java
>
>
> if a message is sent with string properties or map entries that contain a
> UTF-8 surrogate pair, when received by message consumer the surrogate chars
> are corrupted. The attached class reproduces this issue with JDK 8 and passes
> against JDK 7.
--
This message was sent by Atlassian JIRA
(v6.2#6252)