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:
A. Unique TensorFlower 2019-03-22 14:23:37 -07:00 committed by TensorFlower Gardener
parent 86e9c2f15b
commit c955630707

View File

@ -74,7 +74,7 @@ public final class OperatorProcessor extends AbstractProcessor {
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latestSupported();
return SourceVersion.latest();
}
@Override