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

improve error messages in matchJavaTZ [windows]

    Details

    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: