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

Imesha Sudasingha updated OODT-915:
-----------------------------------
    Fix Version/s:     (was: 2.0)
                       (was: 1.9)

> Forbidden APIs for Common Utilities
> -----------------------------------
>
>                 Key: OODT-915
>                 URL: https://issues.apache.org/jira/browse/OODT-915
>             Project: OODT
>          Issue Type: Sub-task
>    Affects Versions: 0.10
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>
> {code}
> [INFO] --- forbiddenapis:2.0:check (default) @ oodt-commons ---
> [INFO] Scanning for classes to check...
> [INFO] Reading bundled API signatures: jdk-unsafe-1.7
> [INFO] Reading bundled API signatures: jdk-deprecated-1.7
> [INFO] Reading bundled API signatures: jdk-system-out
> [INFO] Loading classes to check...
> [INFO] Scanning classes for violations...
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Utility (Utility.java:67)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Utility (Utility.java:146)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.ExecHelper (ExecHelper.java:346)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.ExecHelper (ExecHelper.java:347)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.database.SqlScript (SqlScript.java:92)
> [ERROR] Forbidden class/interface use: java.io.FileReader [Uses default 
> charset]
> [ERROR]   in org.apache.oodt.commons.database.SqlScript (SqlScript.java:112)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.database.SqlScript (SqlScript.java:190)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.database.SqlScript (SqlScript.java:231)
> [ERROR] Forbidden method invocation: 
> java.util.Calendar#getInstance(java.util.TimeZone) [Uses default locale or 
> time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:112)
> [ERROR] Forbidden method invocation: 
> java.util.Calendar#getInstance(java.util.TimeZone) [Uses default locale or 
> time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:118)
> [ERROR] Forbidden method invocation: java.util.Calendar#getInstance() [Uses 
> default locale or time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:131)
> [ERROR] Forbidden method invocation: 
> java.util.Calendar#getInstance(java.util.TimeZone) [Uses default locale or 
> time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:141)
> [ERROR] Forbidden method invocation: java.util.Calendar#getInstance() [Uses 
> default locale or time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:152)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:160)
> [ERROR] Forbidden method invocation: java.util.Calendar#getInstance() [Uses 
> default locale or time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:176)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:177)
> [ERROR] Forbidden method invocation: java.util.Calendar#getInstance() [Uses 
> default locale or time zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:183)
> [ERROR] Forbidden method invocation: 
> java.text.DecimalFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:209)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:235)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:237)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:238)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:240)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:242)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:43)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:45)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:47)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:49)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:51)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden method invocation: 
> java.util.GregorianCalendar#<init>(int,int,int) [Uses default locale or time 
> zone]
> [ERROR]   in org.apache.oodt.commons.date.DateUtils (DateUtils.java:71)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.StandardOutputStorage 
> (StandardOutputStorage.java:33)
> [ERROR] Forbidden method invocation: 
> java.io.OutputStreamWriter#<init>(java.io.OutputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.activity.StandardOutputStorage 
> (StandardOutputStorage.java:33)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.util.XML (XML.java:310)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.util.XML (XML.java:336)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger$ReceiverThread 
> (DatagramLogger.java:106)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger$ReceiverThread 
> (DatagramLogger.java:108)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger$ReceiverThread 
> (DatagramLogger.java:110)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger$ReceiverThread 
> (DatagramLogger.java:112)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.SQLDatabaseStorage 
> (SQLDatabaseStorage.java:150)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.object.jndi.ObjectContext 
> (ObjectContext.java:87)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.object.jndi.ObjectContext 
> (ObjectContext.java:89)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.object.jndi.ObjectContext 
> (ObjectContext.java:91)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.object.jndi.ObjectContext 
> (ObjectContext.java:97)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:134)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:136)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:138)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:144)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:147)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:151)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:154)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:190)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.JDBC_DB (JDBC_DB.java:428)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.io.Log (Log.java:97)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.SQLDatabaseRetrieval 
> (SQLDatabaseRetrieval.java:200)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.SQLDatabaseRetrieval 
> (SQLDatabaseRetrieval.java:204)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.SQLDatabaseRetrieval 
> (SQLDatabaseRetrieval.java:215)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.SQLDatabaseRetrieval 
> (SQLDatabaseRetrieval.java:218)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:99)
> [ERROR] Forbidden method invocation: java.util.TimeZone#getDisplayName() 
> [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:105)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:160)
> [ERROR] Forbidden method invocation: java.text.SimpleDateFormat#<init>() 
> [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:174)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:213)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:233)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:252)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:272)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:291)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:311)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:330)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.DateConvert (DateConvert.java:350)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Base64 (Base64.java:215)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Base64 (Base64.java:224)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Base64 (Base64.java:232)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.Base64 (Base64.java:235)
> [ERROR] Forbidden method invocation: java.lang.String#getBytes() [Uses 
> default charset]
> [ERROR]   in org.apache.oodt.commons.util.XMLRPC (XMLRPC.java:67)
> [ERROR] Forbidden method invocation: java.lang.String#<init>(byte[]) [Uses 
> default charset]
> [ERROR]   in org.apache.oodt.commons.util.XMLRPC (XMLRPC.java:99)
> [ERROR] Forbidden method invocation: java.lang.String#getBytes() [Uses 
> default charset]
> [ERROR]   in org.apache.oodt.commons.util.XMLRPC (XMLRPC.java:209)
> [ERROR] Forbidden method invocation: 
> java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
> [ERROR]   in org.apache.oodt.commons.util.XMLRPC (XMLRPC.java:253)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.exec.ExecUtils (ExecUtils.java:150)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.exec.ExecUtils (ExecUtils.java:154)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$1 (XML.java:153)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.util.XML$1 (XML.java:154)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$1 (XML.java:157)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$1 (XML.java:160)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.util.XML$1 (XML.java:161)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.XMLStandardOutputStorage 
> (XMLStandardOutputStorage.java:46)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.XMLStandardOutputStorage 
> (XMLStandardOutputStorage.java:48)
> [ERROR] Forbidden method invocation: 
> java.io.OutputStreamWriter#<init>(java.io.OutputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.io.WriterLogger (WriterLogger.java:47)
> [ERROR] Forbidden method invocation: java.lang.String#getBytes() [Uses 
> default charset]
> [ERROR]   in org.apache.oodt.commons.activity.Activity (Activity.java:108)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$2 (XML.java:183)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$2 (XML.java:186)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.XML$2 (XML.java:189)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.ScreenLogger (ScreenLogger.java:37)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer$Binder (ExecServer.java:397)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ExecServer$Binder (ExecServer.java:398)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Configuration (Configuration.java:132)
> [ERROR] Forbidden method invocation: java.io.File#toURL() [Deprecated in Java 
> 1.7]
> [ERROR]   in org.apache.oodt.commons.Configuration (Configuration.java:139)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Configuration (Configuration.java:193)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.Configuration (Configuration.java:195)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Configuration$1 (Configuration.java:239)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Configuration$1 (Configuration.java:242)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger 
> (DatagramLogger.java:42)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger 
> (DatagramLogger.java:43)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger 
> (DatagramLogger.java:44)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.activity.DatagramLogger 
> (DatagramLogger.java:50)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Configuration$InitialContextThread 
> (Configuration.java:736)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.Configuration$InitialContextThread 
> (Configuration.java:738)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Executable$1 (Executable.java:55)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Executable$1 (Executable.java:56)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.Executable$1 (Executable.java:58)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.object.jndi.RMIContext 
> (RMIContext.java:128)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.util.EnterpriseEntityResolver 
> (EnterpriseEntityResolver.java:89)
> [ERROR] Forbidden class/interface use: java.io.FileReader [Uses default 
> charset]
> [ERROR]   in org.apache.oodt.commons.util.EnterpriseEntityResolver 
> (EnterpriseEntityResolver.java:97)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.EnterpriseEntityResolver 
> (EnterpriseEntityResolver.java:70)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.EnterpriseEntityResolver 
> (EnterpriseEntityResolver.java:73)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.util.EnterpriseEntityResolver 
> (EnterpriseEntityResolver.java:75)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.net.Net (Net.java:55)
> [ERROR] Forbidden method invocation: 
> java.io.PrintWriter#<init>(java.io.OutputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.StreamGobbler 
> (StreamGobbler.java:67)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.StreamGobbler 
> (StreamGobbler.java:70)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ConfiguredTestCase 
> (ConfiguredTestCase.java:59)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.MultiServer (MultiServer.java:180)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:73)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:95)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:108)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:109)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:110)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:114)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:118)
> [ERROR] Forbidden field access: java.lang.System#out [prints to System.out; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:120)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:144)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:145)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:147)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:150)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:154)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:156)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:160)
> [ERROR] Forbidden method invocation: java.lang.Throwable#printStackTrace() 
> [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and 
> handled accordingly]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:162)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:294)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:307)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:336)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:352)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:440)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:443)
> [ERROR] Forbidden field access: java.lang.System#err [prints to System.err; 
> should only be used for debugging, not in production code]
> [ERROR]   in org.apache.oodt.commons.ExecServer (ExecServer.java:446)
> [ERROR] Forbidden method invocation: java.lang.String#<init>(byte[],int,int) 
> [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.EnvUtilities (EnvUtilities.java:146)
> [ERROR] Forbidden method invocation: 
> java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
> [ERROR]   in org.apache.oodt.commons.exec.EnvUtilities (EnvUtilities.java:156)
> [ERROR] Forbidden method invocation: java.lang.String#getBytes() [Uses 
> default charset]
> [ERROR]   in org.apache.oodt.commons.exec.EnvUtilities (EnvUtilities.java:171)
> [ERROR] Scanned 130 (and 380 related) class file(s) for forbidden API 
> invocations (in 0.40s), 168 error(s).
> {code}



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

Reply via email to