diff -r 01c9d4161882 -r c0f0c41cafa0 src/share/classes/com/sun/tools/javac/main/Option.java --- a/src/share/classes/com/sun/tools/javac/main/Option.java Sat Nov 17 19:01:03 2012 +0000 +++ b/src/share/classes/com/sun/tools/javac/main/Option.java Mon Nov 19 11:38:49 2012 -0800 @@ -393,6 +393,16 @@ /* -Xjcov produces tables to support the code coverage tool jcov. */ XJCOV("-Xjcov", null, HIDDEN, BASIC), + PLUGIN("-Xplugin:", "opt.arg.plugin", "opt.plugin", EXTENDED, BASIC) { + @Override + public boolean process(OptionHelper helper, String option) { + String p = option.substring(option.indexOf(':') + 1); + String prev = helper.get(PLUGIN); + helper.put(PLUGIN.text, (prev == null) ? p : prev + '\0' + p.trim()); + return false; + } + }, + /* This is a back door to the compiler's option table. * -XDx=y sets the option x to the value y. * -XDx sets the option x to the value x.