You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/03/28 09:46:53 UTC
[tomcat] branch 8.5.x updated: Fix backport for Java 7
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 0940c56 Fix backport for Java 7
0940c56 is described below
commit 0940c561d39f094a166366dc9a5a69decb607cc2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 28 10:46:28 2022 +0100
Fix backport for Java 7
---
java/org/apache/tomcat/buildutil/RepeatableArchive.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/buildutil/RepeatableArchive.java b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
index 1348ee6..cff4ea6 100644
--- a/java/org/apache/tomcat/buildutil/RepeatableArchive.java
+++ b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
@@ -107,7 +107,7 @@ public class RepeatableArchive extends Task {
ZipEntry oldEntry = oldEntries.nextElement();
ZipEntry entry = new ZipEntry(oldEntry.getName());
- entry.setLastModifiedTime(lastModified);
+ entry.setTime(lastModified.toMillis());
zipOut.putNextEntry(entry);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org