Skip to content

List of Java Kata to Update

Christopher Sahnwaldt edited this page Aug 18, 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. Generator Functions
  9. Java Hacking: Hijack a JVM
  10. My friend time
  11. Numberless Number Representation
  12. One-Semicolon Array Reversal
  13. One-Semicolon Cartesian Product
  14. One-Semicolon Fibonacci Stream
  15. One-Semicolon Matrix Multiplication
  16. One-Semicolon Vector Dot Product
  17. Psychic
  18. Regular Expression for Binary Numbers Divisible by n
  19. Square sums
  20. The Prediction
  21. Thread Bomb
  22. Throw without throwing (fixed, pending approval)
  23. Triangle area
  24. Using Java libraries #1: Food to JSON and back
  25. 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 retired
  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