jbonofre commented on a change in pull request #608:
URL: https://github.com/apache/activemq/pull/608#discussion_r556599648
##########
File path:
activemq-broker/src/main/java/org/apache/activemq/plugin/SubQueueSelectorCacheBroker.java
##########
@@ -369,7 +369,10 @@ public SubSelectorClassObjectInputStream(InputStream is)
throws IOException {
@Override
protected Class<?> resolveClass(ObjectStreamClass desc) throws
IOException, ClassNotFoundException {
- if (!(desc.getName().equals("java.lang.String") ||
desc.getName().startsWith("java.util."))) {
+ if (!(desc.getName().startsWith("java.lang.")
+ || desc.getName().startsWith("com.thoughtworks.xstream")
Review comment:
I think it's worth to keep it (just in case for http transport
connector). Thoughts ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]