Skip to content

List of Java Kata to Update

Alexander Fedorov edited this page Apr 24, 2022 · 19 revisions

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.

  1. Are Module Boundaries also Security Boundaries?
  2. Bagels
  3. Class Loader Bomb
  4. Coffee machine
  5. Exploit indirection to escalate permissions.
  6. Find nth Digit In a Infinite Addition Result
  7. FIXME: Static electrickery
  8. Four/Seven
  9. Generator Functions
  10. Java Hacking: Hijack a JVM
  11. My friend time
  12. Numberless Number Representation
  13. One-Semicolon Array Reversal
  14. One-Semicolon Cartesian Product
  15. One-Semicolon Fibonacci Stream
  16. One-Semicolon Matrix Multiplication
  17. One-Semicolon Vector Dot Product
  18. Psychic
  19. Regular Expression for Binary Numbers Divisible by n
  20. Square sums
  21. The Prediction
  22. Thread Bomb
  23. Throw without throwing
  24. Triangle area
  25. Using Java libraries #1: Food to JSON and back
  26. Where's the field?

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.

  1. calculate a ^ b % m
  2. Calculator for expressions with fractions

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.

  1. Lombok Builder.
  2. Lombok Encapsulation
Clone this wiki locally