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

java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b129
    • Verification:
      Verified

      Description

      setTimeLocal(LocalDateTime time)/LocalDateTime getTimeLocal() from java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch which is "1 January 1980 to 31 December 2099"

      It looks like upper limit till year 2107 silently accepts
      But with year 2108 and beyond shows the invalid range.

      Whereas, the lower limit of year less than 1980 validation works well.


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                gsrinivassan Govindan Srinivassan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: