Abacn commented on PR #28833: URL: https://github.com/apache/beam/pull/28833#issuecomment-1749886259
Example wordcount job (maven project) on Dataflow: https://console.cloud.google.com/dataflow/jobs/us-central1/2023-10-05_17_20_31-16427189156223040319?project=google.com%3Aclouddfe  However not able to setup Java21 test within beam repo yet as gradle not yet support Java 21. Currently Java invocation fails with ``` Unrecognized option: --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ``` but if not providing these args, it fails with ``` warning: The Checker Framework is tested with JDK 8, 11, 17, and 18. You are using version 21. error: warnings found and -Werror specified /Users/yathu/beam/sdks/java/testing/jpms-tests/src/main/java/org/apache/beam/sdk/jpmstests/WordCount.java:38: error: [type.checking.not.run] NullnessChecker did not run because of a previous error issued by javac public class WordCount { ``` -- 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]
