steveniemitz commented on pull request #17151:
URL: https://github.com/apache/beam/pull/17151#issuecomment-1075328798
I can't for the life of me figure out why these builds are failing? I can
run them fine locally, and they don't even really make sense.
For example:
```
11:27:25
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Examples_Dataflow_Commit/src/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/JfrInterop.java:57:
error: [assignment.type.incompatible] incompatible types in assignment.
11:27:25 jfrConfig = configClass.getMethod("getConfiguration",
String.class).invoke(null, "profile");
11:27:25
^
11:27:25 found : @Initialized @Nullable Object
11:27:25 required: @Initialized @NonNull Object
```
Passing in `null` to invoke is perfectly valid for static methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]