coheigea commented on a change in pull request #608:
URL: https://github.com/apache/activemq/pull/608#discussion_r556573125
##########
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:
Is there a way to check if xstream is enabled, and if so to include this
check, otherwise leave it out?
----------------------------------------------------------------
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]