Re: [PR] Fix case-insensitive ZIP entry matching in ZipFileZ ipEntrySource under Turkish Locale [poi]

pjfanning (via GitHub) <[email protected]>
Newsgroups gmane.comp.jakarta.poi.devel
Message-ID <PR_kwDOAAMmIM7lq-ZT-eb09160d-7ade-4bcb-9eb8-27fd75656eec@gitbox.apache.org>
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.