move code to java 17 and use getPermittedSubClasses instead of permittedSubClasses
This module contains articles about Java 15.