Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Add Java 11 Support #555

Closed
wollf92 opened this issue Dec 11, 2017 · 4 comments
Closed

Add Java 11 Support #555

wollf92 opened this issue Dec 11, 2017 · 4 comments

Comments

@wollf92
Copy link

wollf92 commented Dec 11, 2017

I'd like to see support for Java 9 added. Many features regarding easy types and streams were added and I'd like to use them on codewars like I use them in real life.

Thanks!

@javatlacati
Copy link
Contributor

@wollf92 Do you know which modifications should be in the runner gradle file?

@kazk
Copy link
Member

kazk commented Mar 14, 2018

I'll look into adding Java 9 (and JUnit 5) to the new runner after the migration.

@kazk kazk self-assigned this May 18, 2018
@kazk kazk changed the title Add Java 9 Support Add Java 11 Support Feb 11, 2019
@kazk kazk added the status/ready Ready to be deployed label Feb 15, 2019
@kazk kazk removed the status/ready Ready to be deployed label Feb 22, 2019
@kazk
Copy link
Member

kazk commented Feb 22, 2019

Java 11 is now available. I'm planning to run a script to update existing kata, but not today.

@kazk kazk closed this as completed Feb 22, 2019
@Voileexperiments
Copy link

Voileexperiments commented May 5, 2020

@kazk All Java katas has been updated to Java 11. However all katas that use reflective access will cause unsuppressible warning messages to STDERR since new security features are added to prevent cross-module reflection access starting from Java 9:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by $PERPETRATOR (file:/home/codewarrior/java/classes/) to $VICTIM
WARNING: Please consider reporting this to the maintainers of $PERPETRATOR
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

In general it seems that Java is moving away from any kind of raw reflection usage (though you can still do JVM hacks via class loader and security manager hacks), so I suppose all katas that uses reflection directly might have to be retired at some point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants