[jboss-jira] [JBoss JIRA] (DROOLS-745) Unnecessary and thread-blocking "synchronized" in MVELSafeHelper.java
    RH Bugzilla Integration (JIRA) 
    issues at jboss.org
       
    Thu Oct  8 11:16:00 EDT 2015
    
    
  
    [ https://issues.jboss.org/browse/DROOLS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116531#comment-13116531 ] 
RH Bugzilla Integration commented on DROOLS-745:
------------------------------------------------
Marek Winkler <mwinkler at redhat.com> changed the Status of [bug 1219127|https://bugzilla.redhat.com/show_bug.cgi?id=1219127] from ON_QA to VERIFIED
> Unnecessary and thread-blocking "synchronized" in MVELSafeHelper.java
> ---------------------------------------------------------------------
>
>                 Key: DROOLS-745
>                 URL: https://issues.jboss.org/browse/DROOLS-745
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.2.0.Final
>            Reporter: Andrey Bichkevskiy
>            Assignee: Mario Fusco
>              Labels: drools-core
>             Fix For: 6.3.0.Beta1
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> Class org.drools.core.util.MVELSafeHelper, obsolete and thread-blocking "synchronized" keyword in static getter of a static final field:
> public class MVELSafeHelper {
>     private static final MVELEvaluator evaluator;
>     static {
>         evaluator = KiePolicyHelper.isPolicyEnabled() ? new SafeMVELEvaluator() : new RawMVELEvaluator();
>     }
>     public static synchronized MVELEvaluator getEvaluator() {
>         return evaluator;
>     }
> //
> }
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
    
    
More information about the jboss-jira
mailing list