The automatic module feature in Java 9 allows non-modular JAR files to be treated as modules in a modular Java application. Java 9 automatically generates a module definition on the JAR file's manifest when a non-modular JAR file is added to the module path.