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

improve error messages in matchJavaTZ [windows]

XMLWordPrintable

    • b18
    • generic
    • generic

        In function matchJavaTZ (function to look up a timezone mapping table on windows) we currently have a rather generic error message for different error cases.
        The current message is like this :
        tzmappings: Illegal format at line 10
        We want to improve the error message so that it shows the reason of the error and the offset where it occured.

        example for old error message :

        tzmappings: Illegal format at line 99

        ... and new error message :

        Illegal format in tzmappings file: illegal null character found at line 99, offset 20.

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: