Markus Schuch created CONNECTORS-1689:
-----------------------------------------

             Summary: Forbidden apis violations
                 Key: CONNECTORS-1689
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1689
             Project: ManifoldCF
          Issue Type: Bug
            Reporter: Markus Schuch


ant precommit fails in trunk with
{code:java}
[forbiddenapis] Reading bundled API signatures: jdk-unsafe-1.7
[forbiddenapis] Reading bundled API signatures: jdk-non-portable
[forbiddenapis] Loading classes to check...
[forbiddenapis] Scanning classes for violations...
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.agents.output.elasticsearch.tests.BaseITHSQLDB 
(BaseITHSQLDB.java:48)
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.crawler.connectors.confluence.v6.ConfluenceRepositoryConnector
 (ConfluenceRepositoryConnector.java:1327)
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' cannot 
be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' cannot 
be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] WARNING: The referenced class 
'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the classpath!
[forbiddenapis] Forbidden method invocation: 
java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
(NuxeoConnectorTest.java:163)
[forbiddenapis] Forbidden method invocation: 
java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
(NuxeoConnectorTest.java:224)
[forbiddenapis] Forbidden method invocation: 
java.text.SimpleDateFormat#<init>(java.lang.String) [Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
(SolrIngesterConnector.java:395)
[forbiddenapis] Forbidden method invocation: java.lang.String#getBytes() [Uses 
default charset]
[forbiddenapis]   in 
org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
(SolrIngesterConnector.java:663)
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
(TikaExtractor.java:957)
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
(TikaExtractor.java:957)
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
(TikaExtractor.java:975)
[forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
[Uses default locale]
[forbiddenapis]   in 
org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
(TikaExtractor.java:989)
[forbiddenapis] Scanned 5237 (and 1241 related) class file(s) for forbidden API 
invocations (in 36.65s), 10 error(s). {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to