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

Java 16 Support #487

Closed
Cryptite opened this issue May 25, 2021 · 3 comments
Closed

Java 16 Support #487

Cryptite opened this issue May 25, 2021 · 3 comments
Assignees
Labels
Projects

Comments

@Cryptite
Copy link

Title explains it!

Minecraft 1.17 will raise the minimum Java level for Minecraft to 16 and as such many servers like mine are trying to get ahead of it.

@Shynixn
Copy link
Owner

Shynixn commented May 25, 2021

Hi @Cryptite ,
as far as I know this is not a problem for PetBlocks as it is backwards compatible back to Java 8. You should be already able to run PetBlocks on Java 16 and above.
Anyway, the "new language features" of Java do not really apply to PetBlocks as PetBlocks runs mostly on Kotlin which is (in my opinion) still far superior compared to Java.

@Cryptite
Copy link
Author

Cryptite commented May 25, 2021

Hey there!

There are some changes in JDK16 that cause issues for some plugins that do reflection, as such PetBlocks won't load on JDK16. I don't believe it's anything special with my environment: https://paste.gg/p/anonymous/a028924753bf434889951c5711f0ff85

@Shynixn Shynixn added bug and removed question labels May 25, 2021
@Shynixn Shynixn added this to To Do in PetBlocks via automation May 25, 2021
@Shynixn
Copy link
Owner

Shynixn commented May 25, 2021

Probably related to this issue and can be simply fixed by updating the guice dependency in PetBlocks.

google/guice#1133

@Shynixn Shynixn moved this from To Do to In progress [Bukkit] in PetBlocks May 30, 2021
Shynixn pushed a commit that referenced this issue May 30, 2021
@Shynixn Shynixn self-assigned this May 30, 2021
@Shynixn Shynixn moved this from In progress [Bukkit] to In Progress [Sponge] in PetBlocks May 30, 2021
@Shynixn Shynixn moved this from In Progress [Sponge] to Snapshot/Documented in PetBlocks May 30, 2021
@Shynixn Shynixn closed this as completed May 30, 2021
@Shynixn Shynixn moved this from Snapshot/Documented to Released in PetBlocks May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
PetBlocks
  
Released
Development

No branches or pull requests

2 participants