List of Java Kata to Update - codewars/content-issues GitHub Wiki
The following kata failed to update to Java 17 automatically.
If the kata uses
/home/codewarrior/solution.txt
, replace with/workspace/solution.txt
, and fix any incompatibility.
Coffee machinefixedFind nth Digit In a Infinite Addition ResultfixedFIXME: Static electrickeryfixed- Generator Functions
- Java Hacking: Hijack a JVM
My friend timefixed, Fiji stopped observing DSTNumberless Number RepresentationfixedOne-Semicolon Array ReversalfixedOne-Semicolon Cartesian ProductfixedOne-Semicolon Fibonacci StreamfixedOne-Semicolon Matrix MultiplicationfixedOne-Semicolon Vector Dot Productfixed- Psychic
Regular Expression for Binary Numbers Divisible by nfixed- Square sums
- The Prediction
- Thread Bomb
Triangle areafixed- Using Java libraries #1: Food to JSON and back
Unfixable
CVEs
- Are Module Boundaries also Security Boundaries? intended solution exploits a CVE which is fixed in JDK 17
- Exploit indirection to escalate permissions. intended solution exploits a CVE (Issue 57 and 58) which is fixed in JDK 17
JEP 403 blocks reflective access to JDK internals since JDK 16/17
The following was using /home/codewarrior/solution.txt
which no longer exists in Java 17 environment, but passed the tests. Double check these because the test case might be invalid. Try changing the solution path back to /home/codewariror/solution.txt
and see if the test fails.
A note on reflection
Since Java 9 new security features are added to prevent cross-module reflection access. Typical katas that revolves around reflection usage will cause an unsuppressible warning to be issued:
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
Lombok is no longer supported and these are planned to be retired when we deprecate Java 8.