You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/03/20 17:41:41 UTC
[jira] [Updated] (BEAM-1761) Unintended unboxing of potential null
pointer in AutoValue_HDFSFileSource
[ https://issues.apache.org/jira/browse/BEAM-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated BEAM-1761:
-------------------------
Description:
{code}
if (validateSource == null) {
missing += " validateSource";
}
...
return new AutoValue_HDFSFileSource<T, K, V>(
this.filepattern,
this.formatClass,
this.coder,
this.inputConverter,
this.serializableConfiguration,
this.serializableSplit,
this.username,
this.validateSource);
{code}
If validateSource is null, it would be unboxed in call to ctor of AutoValue_HDFSFileSource
> Unintended unboxing of potential null pointer in AutoValue_HDFSFileSource
> -------------------------------------------------------------------------
>
> Key: BEAM-1761
> URL: https://issues.apache.org/jira/browse/BEAM-1761
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Ted Yu
> Assignee: Davor Bonaci
> Priority: Minor
>
> {code}
> if (validateSource == null) {
> missing += " validateSource";
> }
> ...
> return new AutoValue_HDFSFileSource<T, K, V>(
> this.filepattern,
> this.formatClass,
> this.coder,
> this.inputConverter,
> this.serializableConfiguration,
> this.serializableSplit,
> this.username,
> this.validateSource);
> {code}
> If validateSource is null, it would be unboxed in call to ctor of AutoValue_HDFSFileSource
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)