Skip to content

[6.2.x] Remove "java.lang" package as a default allowed serializable package (#2026)#2027

Merged
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2026-6.2.x
May 20, 2026
Merged

[6.2.x] Remove "java.lang" package as a default allowed serializable package (#2026)#2027
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2026-6.2.x

Conversation

@cshannon
Copy link
Copy Markdown
Contributor

Many classes in the java.lang package should not ever need to be serialized so this commit removes the default package and instead includes an allow list of classes that are ok to serialize that are part of the package. Users have the option to restore the previous behavior by appending "java.lang" back to the serialized packages property if desired.

(cherry picked from commit e9ed448)

…pache#2026)

Many classes in the java.lang package should not ever need to be
serialized so this commit removes the default package and instead
includes an allow list of classes that are ok to serialize that are
part of the package. Users have the option to restore the previous
behavior by appending "java.lang" back to the serialized packages
property if desired.

(cherry picked from commit e9ed448)
@cshannon cshannon requested a review from jbonofre May 20, 2026 12:31
@cshannon cshannon merged commit 68b5d2b into apache:activemq-6.2.x May 20, 2026
3 of 4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v6.2.6 May 20, 2026
@cshannon cshannon deleted the backport-2026-6.2.x branch May 20, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant