Use SourceVersion#latest instead of latestSupported
latestSupported doesn't work if the JDK is newer than the compiler version; see bazelbuild/bazel#7776 Fixed #26949 PiperOrigin-RevId: 239863991
This commit is contained in:
parent
86e9c2f15b
commit
c955630707
@ -74,7 +74,7 @@ public final class OperatorProcessor extends AbstractProcessor {
|
||||
|
||||
@Override
|
||||
public SourceVersion getSupportedSourceVersion() {
|
||||
return SourceVersion.latestSupported();
|
||||
return SourceVersion.latest();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user