J2C Java to C++

Check Java 17 code for C++ translation problems, fix them, and translate it to C++20.

Sources