Skip to content

Commit

Permalink
issue #82 - fix 'UnsupportedOperationException' on isSupportedOption …
Browse files Browse the repository at this point in the history
…invocation
  • Loading branch information
bsorrentino committed Jul 28, 2020
1 parent 09da5a0 commit e0adf9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ protected CompilerResult performCompile( CompilerConfiguration config ) throws C
}
/**
*
* @author softphone
* @author bsorrentino
*/
public class AnnotationProcessorCompiler implements JavaCompiler {
private static final String COMPILER_TARGET = "maven.compiler.target";
Expand Down Expand Up @@ -480,12 +480,12 @@ public int run(InputStream in, OutputStream out, OutputStream err, String... arg

@Override
public Set<SourceVersion> getSourceVersions() {
throw new UnsupportedOperationException("Not supported yet.");
return systemJavaCompiler.getSourceVersions();
}

@Override
public int isSupportedOption(String option) {
throw new UnsupportedOperationException("Not supported yet.");
return systemJavaCompiler.isSupportedOption(option);
}

}

0 comments on commit e0adf9a

Please sign in to comment.