diff -r 3d9b2d67f71f -r 387a4dd51adf langtools/src/share/classes/com/sun/tools/javac/main/Main.java --- a/langtools/src/share/classes/com/sun/tools/javac/main/Main.java Fri Aug 09 15:01:33 2013 -0700 +++ b/langtools/src/share/classes/com/sun/tools/javac/main/Main.java Sat Aug 10 13:27:38 2013 +0100 @@ -262,6 +262,11 @@ } } + if (options.get(PROFILE) != null && options.get(BOOTCLASSPATH) != null) { + error("err.profile.bootclasspath.conflict"); + return null; + } + if (this.classnames != null && classNames != null) { this.classnames.addAll(Arrays.asList(classNames)); }