TheNeuralBit opened a new issue, #23901: URL: https://github.com/apache/beam/issues/23901
### What happened? `optimizeOuterThis`, an optimization in JDK 11, causes a serialization failure with `org.apache.beam.sdk.transforms.Count$CountFn$1`. We can disable this optimization for now, but serializing anonymous classes is [strongly discouraged](https://docs.oracle.com/javase/7/docs/platform/serialization/spec/serial-arch.html#4539). We should consider refactoring. ### Issue Priority Priority: 2 ### Issue Component Component: sdk-java-core -- 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]
