You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2022/01/27 17:44:00 UTC

[jira] [Created] (BEAM-13758) PipelineOptions getters can produce null even if not annotated Nullable when no Default is specified

Brian Hulette created BEAM-13758:
------------------------------------

             Summary: PipelineOptions getters can produce null even if not annotated Nullable when no Default is specified
                 Key: BEAM-13758
                 URL: https://issues.apache.org/jira/browse/BEAM-13758
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Brian Hulette


Context: BEAM-13537, https://github.com/apache/beam/pull/16625#discussion_r793021931

PipelineOptions getters without Default specified can produce null, but because it happens in generated code, the null checker will not complain about it. Is there some way we can make sure getters without a Default are always Nullable? 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)