File: 01-java9-compatibility.patch

package info (click to toggle)
maven-processor-plugin 3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 584 kB
  • sloc: java: 1,410; xml: 565; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes the compatibility with Java 9
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java
+++ b/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java
@@ -402,6 +402,8 @@
     {
 
         return new CompilationTask() {
+            public void addModules(Iterable<String> modules) {}
+
             @Override
             public void setProcessors(Iterable<? extends Processor> processors) {
                 throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.