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

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

     [ https://issues.apache.org/jira/browse/BEAM-13758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-13758:
-----------------------------------
    Labels: starter  (was: )

> 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
>            Priority: P2
>              Labels: starter
>
> 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)