beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-419) Non-transient non-serializable instance field in CombineFnUtil$NonSerializableBoundedKeyedCombineFn
Date Fri, 22 Sep 2017 18:29:00 GMT


ASF GitHub Bot commented on BEAM-419:

GitHub user youngoli opened a pull request:

    [BEAM-419] Fixing SE_BAD_FIELD FindBug in CombineFnUtil

    Follow this checklist to help us incorporate your contribution quickly and easily:
     - [x] Make sure there is a [JIRA issue](
filed for the change (usually before you start working on it).  Trivial changes like typos
do not require a JIRA issue.  Your pull request should address just this issue, without pulling
in other changes.
     - [x] Each commit in the pull request should have a meaningful subject line and body.
     - [x] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`,
where you replace `BEAM-XXX` with the appropriate JIRA issue.
     - [x] Write a pull request description that is detailed enough to understand what the
pull request does, how, and why.
     - [x] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
     - [ ] If this contribution is large, please file an Apache [Individual Contributor License
    FindBugs detected that the `context` member in `NonSerializableBoundedKeyedCombineFn`
(now `NonSerializableBoundedCombineFn`) was not serializable although the class was. Seeing
as the class has "`NonSerializable`" right in the name, to fix the FindBug I marked the member
as transient to make it explicitly non-serializable.

You can merge this pull request into a Git repository by running:

    $ git pull bugfix-beam419

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3886
commit 0a9f01cffd686985bd0e7a889ad3c36524e84ed5
Author: Daniel Oliveira <>
Date:   2017-09-22T17:40:29Z

    [BEAM-419] Making non-serializable member transient to fix FindBug

commit d0491d2c2e229eb34e202833ab6bed4d344cd18b
Author: Daniel Oliveira <>
Date:   2017-09-22T18:23:30Z

    [BEAM-419] Removing findbug entry for fixed bug.


> Non-transient non-serializable instance field in CombineFnUtil$NonSerializableBoundedKeyedCombineFn
> ---------------------------------------------------------------------------------------------------
>                 Key: BEAM-419
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Scott Wegner
>            Assignee: Daniel Oliveira
>            Priority: Minor
>              Labels: findbugs, newbie, starter
> [FindBugs SE_BAD_FIELD|]:
Non-transient non-serializable instance field in serializable class
> Applies to: [CombineFnUtil$NonSerializableBoundedKeyedCombineFn.context|].
> This is a good starter bug. When fixing, please remove the corresponding entries from
and verify the build passes.

This message was sent by Atlassian JIRA

View raw message