[ 
https://issues.apache.org/jira/browse/SOLR-12759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681868#comment-16681868
 ] 

Steve Rowe commented on SOLR-12759:
-----------------------------------

FYI for me on MacOS with Oracle 1.8.0_112 and AdoptOpenJDK 11+28, the below 
program lists {{ChST}} as the only short display name containing a lowercase 
letter:

{code:java}
import java.util.TimeZone;
import java.util.Locale;
public class ListAllTimeZoneDisplayNames {
  public static void main(String[] args) {
    for (String id : TimeZone.getAvailableIDs()) {
      String displayName = TimeZone.getTimeZone(id).getDisplayName(false, 
TimeZone.SHORT, Locale.US);
      if (displayName.matches(".*[a-z].*")) {
        System.out.println(id + ": " + displayName);
      }
    }
  }
}
{code}

Produces:

{noformat}
Pacific/Guam: ChST
Pacific/Saipan: ChST
{noformat}

FWIW Oracle Java 7.0.71 also includes {{America/Metlakatla: MeST}})

> Disable ExtractingRequestHandlerTest on JDK 11
> ----------------------------------------------
>
>                 Key: SOLR-12759
>                 URL: https://issues.apache.org/jira/browse/SOLR-12759
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - Solr Cell (Tika extraction)
>         Environment: JDK 11 and Tika 1.x
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 7.6
>
>
> ExtractingRequestHandlerTest has failed on a JDK 11 RC due to two conspiring 
> problems: (A) Tika 1.x sometimes calls Date.toString() when extracting 
> metadata (unreleased 2.x will fix this), (B) JDK 11 RC has a bug in some 
> locales like Arabic in which a Date.toString() will have a timezone offset 
> using its locale's characters for the digits instead of using EN_US.  
> I'll add an "assume" check so we don't see failures about this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to