pjfanning commented on PR #1136:
URL: https://github.com/apache/poi/pull/1136#issuecomment-4689467987
forbidden apis used
```
Forbidden method invocation: java.util.Locale#getDefault() [Do not use
methods that depend on the current Locale, either use Locale.ROOT or let the
user define the locale, see class LocaleUtil for details]
in org.apache.poi.openxml4j.util.TestZipSecureFile
(TestZipSecureFile.java:295)
> Task :poi-ooxml:forbiddenApisTest FAILED
Forbidden method invocation: java.util.Locale#setDefault(java.util.Locale)
[Do not use methods that depend on the current Locale, either use Locale.ROOT
or let the user define the locale, see class LocaleUtil for details]
in org.apache.poi.openxml4j.util.TestZipSecureFile
(TestZipSecureFile.java:297)
Forbidden method invocation: java.util.Locale#setDefault(java.util.Locale)
[Do not use methods that depend on the current Locale, either use Locale.ROOT
or let the user define the locale, see class LocaleUtil for details]
in org.apache.poi.openxml4j.util.TestZipSecureFile
(TestZipSecureFile.java:317)
Forbidden method invocation: java.util.Locale#setDefault(java.util.Locale)
[Do not use methods that depend on the current Locale, either use Locale.ROOT
or let the user define the locale, see class LocaleUtil for details]
in org.apache.poi.openxml4j.util.TestZipSecureFile
(TestZipSecureFile.java:317)
Scanned 369 class file(s) for forbidden API invocations (in 4.12s), 4
error(s).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]