Refactor: use patch instead of fork

This commit is contained in:
Boulay Mathias 2023-08-13 23:14:39 +02:00 committed by GitHub
parent 072f195a5f
commit 438cd12185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 1 deletions

View File

@ -7,5 +7,5 @@ git clone --depth 1 --branch ios https://github.com/PojavLauncherTeam/openjdk-mu
else
# Use aarch32 repo because it also has aarch64
git clone --depth 1 https://github.com/PojavLauncherTeam/jdk8u openjdk
git clone --depth 1 https://github.com/openjdk/jdk8u openjdk
fi

View File

@ -60872,3 +60872,23 @@ index 5948302713..76755e98aa 100644
len = strlen(buf);
p = strrchr(buf, '/');
diff --git a/jdk/src/share/classes/sun/security/util/ManifestEntryVerifier.java b/jdk/src/share/classes/sun/security/util/ManifestEntryVerifier.java
index 303c96d788..aa555cc286 100644
--- a/jdk/src/share/classes/sun/security/util/ManifestEntryVerifier.java
+++ b/jdk/src/share/classes/sun/security/util/ManifestEntryVerifier.java
@@ -75,2 +75,14 @@ public class ManifestEntryVerifier {
+ /**
+ * Create a new ManifestEntryVerifier object.
+ */
+ public ManifestEntryVerifier(Manifest man)
+ {
+ createdDigests = new HashMap<String, MessageDigest>(11);
+ digests = new ArrayList<MessageDigest>();
+ manifestHashes = new ArrayList<byte[]>();
+ this.manifestFileName = "default_name";
+ this.man = man;
+ }
+
/**