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. Broken Keyboard
  4. Class Loader Bomb
  5. Coffee machine
  6. Exploit indirection to escalate permissions.
  7. Find nth Digit In a Infinite Addition Result
  8. FIXME: Static electrickery
  9. FIXME: String == String
  10. Four/Seven
  11. Generator Functions
  12. Guess the function
  13. Java Hacking: Hijack a JVM
  14. My friend time
  15. Numberless Number Representation
  16. One-Semicolon Array Reversal
  17. One-Semicolon Cartesian Product
  18. One-Semicolon Fibonacci Stream
  19. One-Semicolon Matrix Multiplication
  20. One-Semicolon Stream Zipping
  21. One-Semicolon Vector Dot Product
  22. Peano numbers
  23. Psychic
  24. Regular Expression for Binary Numbers Divisible by n
  25. Square sums
  26. String ends with?
  27. The Prediction
  28. Thread Bomb
  29. Throw without throwing
  30. Triangle area
  31. Using Java libraries #1: Food to JSON and back
  32. 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