< prev index next >
test/jdk/jdk/nio/zipfs/ZeroDate.java
Print this page
*** 47,56 ****
--- 47,57 ----
/* @test
* @bug 8184940 8186227 8188869
* @summary JDK 9 rejects zip files where the modified day or month is 0
* or otherwise represent an invalid date, such as 1980-02-30 24:60:60
* @author Liam Miller-Cushon
+ * @modules jdk.zipfs
*/
public class ZeroDate {
public static void main(String[] args) throws Exception {
// create a zip file, and read it in as a byte array
< prev index next >