[jira] [Closed] (OFBIZ-11778) Enforce noninstantiability to GroovyUtil Class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-11778) Enforce noninstantiability to GroovyUtil Class

Nicolas Malin (Jira)

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

Suraj Khurana closed OFBIZ-11778.
---------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Implemented

> Enforce noninstantiability to GroovyUtil Class
> ----------------------------------------------
>
>                 Key: OFBIZ-11778
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11778
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> - Make GroovyUtil class as final.
>  - Move private constructor to proper location
>  - Make the following public static variable as private.
> {code:java}
> public static final UtilCache<String, Class<?>> PARSED_SCRIPTS = UtilCache.createUtilCache("script.GroovyLocationParsedCache", 0, 0, false);
> public static final GroovyClassLoader GROOVY_CLASS_LOADER;{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)