actually openjdk 16 warns the option illegal-access will be removed in the future OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.