--- old/src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/Plugin.java 2016-04-12 15:16:24.790170800 +0530 +++ new/src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/Plugin.java 2016-04-12 15:16:23.907082500 +0530 @@ -201,6 +201,8 @@ * This method is called prior to invoke the plugin. * * @param config The plugin configuration. + * @throws IllegalArgumentException if a mandatory argument is missing or + * if an argument has invalid value. */ public default void configure(Map config) { } @@ -211,6 +213,9 @@ * * @param config The plugin configuration. * @param ctx The plugin context + * @throws IllegalArgumentException if a mandatory argument is missing or + * if an argument has invalid value. + * */ public default void configure(Map config, PluginContext ctx) { configure(config);