You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/06/22 17:59:28 UTC

[maven-compiler-plugin] 03/06: [MCOMPILER-311] NPE when --patch-module is used

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MCOMPILER-323
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit 323f880b4d996a154c7cd127b6510b189ae6f8df
Author: rfscholte <rf...@apache.org>
AuthorDate: Mon Jun 4 21:53:31 2018 +0200

    [MCOMPILER-311] NPE when --patch-module is used
---
 src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
index b36943a..46dbabe 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
@@ -153,8 +153,7 @@ public class CompilerMojo
     @Override
     protected Map<String, JavaModuleDescriptor> getPathElements()
     {
-        // TODO Auto-generated method stub
-        return null;
+        return pathElements;
     }
     
     protected File getOutputDirectory()