You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/23 03:49:20 UTC

[jira] [Commented] (IGNITE-3951) IgniteSpringBean.reentrantLock() method incorrectly flips create and fair flags when calling kernel delegate.

    [ https://issues.apache.org/jira/browse/IGNITE-3951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515303#comment-15515303 ] 

ASF GitHub Bot commented on IGNITE-3951:
----------------------------------------

GitHub user shroman opened a pull request:

    https://github.com/apache/ignite/pull/1104

    IGNITE-3951: IgniteSpringBean.reentrantLock() method incorrectly flip…

    …s create and fair flags.

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

    $ git pull https://github.com/shroman/ignite ignite-3951

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

    https://github.com/apache/ignite/pull/1104.patch

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

    This closes #1104
    
----
commit 9cd4ab8ff7945bf41effd171ba7d996a1963f93b
Author: shtykh_roman <rs...@yahoo.com>
Date:   2016-09-23T03:48:11Z

    IGNITE-3951: IgniteSpringBean.reentrantLock() method incorrectly flips create and fair flags.

----


> IgniteSpringBean.reentrantLock() method incorrectly flips create and fair flags when calling kernel delegate.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3951
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3951
>             Project: Ignite
>          Issue Type: Bug
>          Components: data structures
>    Affects Versions: 1.7
>            Reporter: Edward Kaganovich
>            Assignee: Roman Shtykh
>              Labels: easyfix
>
> {code:title=IgniteSpringBean.java|borderStyle=solid}{code}
> @Nullable @Override public IgniteLock reentrantLock(String name,
>         boolean failoverSafe,{color:green}boolean fair, boolean create {color})  {
>            checkIgnite();
>            return g.reentrantLock(name, failoverSafe, {color:red}create, fair{color});
>     }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)