Skip to content

Conversation

@mattisonchao
Copy link
Member

Motivation

PR #15633 uses the API Map.of() introduced in JDK 9, but branch-2.9 needs to be compiled in JDK 8.

Modification

  • Use Collections.unmodifiableMap(map) to instead of Map.of()

@mattisonchao mattisonchao self-assigned this May 25, 2022
@nicoloboschi
Copy link
Contributor

nicoloboschi commented May 25, 2022

@mattisonchao also Pulsar 2.10 has jdk8 source compatibilty. I will add the 2.10 label

@merlimat merlimat merged commit 25f5cec into apache:branch-2.9 May 25, 2022
@mattisonchao mattisonchao added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.9 Archived: 2.9 is end of life release/2.9.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants