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

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

    XMLWordPrintable

Details

    • 9
    • b129
    • 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

              sherman Xueming Shen
              govsrini Govindan Srinivassan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: