concept jar --update in category java
appears as: jar --update

This is an excerpt from Manning's book The Java Module System.
If you already need to add some classes to a dependency’s packages, you may have placed them on the class path. Once that dependency moves to the module path, the rule against split packages forbids that approach, though. Section 7.2.4 shows how to handle that situation on the fly with the
--patch-moduleoption. If you’re looking for a more lasting solution to your problem, you can once again usejar --update, in this case to add class files.