Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5045774

(tz) ZoneInfoFile.readZoneInfoFile should use canRead to detect non existing files

XMLWordPrintable

    • b08
    • generic
    • generic
    • Not verified

      Currently, the method invokes open() and detect FileNotFoundException and then try to find it as an alias. But the cost of catching the exception is a bit expensive. The method should use canRead() before calling open().
      ###@###.### 2004-05-12

            okutsu Masayoshi Okutsu
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: