File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/org/apache/maven/plugins/javadoc Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -861,8 +861,9 @@ protected static void invokeMaven(
861861 throw new MavenInvocationException (
862862 "Error when invoking Maven, consult the invoker log file: " + invokerLog .getAbsolutePath ());
863863 } catch (IOException ex ) {
864- throw new MavenInvocationException ( ERROR_INIT_VM );
864+ // ignore
865865 }
866+ throw new MavenInvocationException (ERROR_INIT_VM );
866867 }
867868 }
868869
@@ -871,7 +872,7 @@ protected static void invokeMaven(
871872 *
872873 * @param javaFile the file to read; not null
873874 * @param encoding a character set name; not null
874- * @return the content of the given java file using the given encoding; null if an IOException occurs
875+ * @return the content of the given file using the given encoding; null if an IOException occurs
875876 * @since 2.6.1
876877 * @throws java.nio.charset.UnsupportedCharsetException if the named charset is not supported
877878 * @throws NullPointerException if the javaFile or encoding is null
You can’t perform that action at this time.
0 commit comments