Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMQP-766: Deserialization in Message.toString() #658

Merged
merged 2 commits into from
Sep 6, 2017

Conversation

garyrussell
Copy link
Contributor

JIRA: https://jira.spring.io/browse/AMQP-766

Add white list for classes/packages that can be deserialized in Message.toString().

cherry-pick to 1.7.x, 1.6.x, 1.5.x

JIRA: https://jira.spring.io/browse/AMQP-766

Add white list for classes/packages that can be deserialized in Message.toString().

__cherry-pick to 1.7.x, 1.6.x, 1.5.x__
* @since 1.5.7
*/
public void addWhiteListPatterns(String... patterns) {
this.whiteListPatterns.addAll(Arrays.asList(patterns));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Collections.addAll(whiteListPatterns, patterns) can be used here.

@artembilan artembilan merged commit 36e5599 into spring-projects:master Sep 6, 2017
@artembilan
Copy link
Member

... and cherry-picked to all mentioned branches.

@garyrussell garyrussell deleted the AMQP-766 branch March 30, 2018 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants