coheigea commented on a change in pull request #446: [AMQ-7399] org.apache.activemq.SERIALIZABLE_PACKAGES doesn't contain java* by default URL: https://github.com/apache/activemq/pull/446#discussion_r376963164
########## File path: assembly/src/release/bin/env ########## @@ -113,3 +113,10 @@ ACTIVEMQ_USER="" # (set JAVACMD to "auto" for automatic detection) #JAVA_HOME="" JAVACMD="auto" + +# Packages allowed for serialization (when used with ObjectMessage). +# Packages set is limited to org.apache.activemmq, org.fusesource.hawtbuf and com.thoughtworks.xstream.mapper by default. +# java* packages are excluded by default for security reason. +#ACTIVEMQ_OPTS="-Dorg.apache.activemq.SERIALIZABLE_PACKAGES=org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper" +# You have explicitely add java* packages and your packages (and probably java* packages): Review comment: I think this could be re-worded - you have to explicitly add java.util + java.lang packages ? ---------------------------------------------------------------- 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] With regards, Apache Git Services
