Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-971

CharSequenceToRegexMapper#findMinMaxLengthsInSymbols() always returns min=0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.3
    • Component/s: logback-core
    • Labels:
      None
    • Environment:

      jdk 1.5
      Korean

      Description

      Thanks.
      LOGBACK-969
      commits e64dc7a5c30 and dec77397c

      after

      CharSequenceToRegexMapper.java findMinMaxLengthsInSymbols() return min's value is always

      {0}
        DateFormatSymbols symbols = DateFormatSymbols.getInstance();
        String[] symbolArray = symbols.getShortMonths();
        for(String symbol : symbolArray ){
          System.out.println("[]" + symbol);
        }
      

      It look like DateFormatSymbols getShortMonth() , getWeekdays() ... etc..
      All of function return array[last] is null

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              redrebel Lee Jeonggeun
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: