From bfa47fe03ef98bcf31f5b700f618080f828ee8bb Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Tue, 1 Nov 2022 20:17:40 +0800 Subject: [PATCH 1/2] Issue:#I5YWVA Description: delete sort Sig: SIG_ApplicaitonFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- .../src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java b/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java index 2d479c26..2d9d248b 100644 --- a/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java +++ b/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java @@ -93,7 +93,7 @@ public abstract class SignHap { */ public static void copyFiles(List entryNames, JarFile in, JarOutputStream out, long timestamp, int defaultAlignment) throws IOException { - Collections.sort(entryNames); + // Collections.sort(entryNames); long offset = INIT_OFFSET_LEN; for (String name : entryNames) { JarEntry inEntry = in.getJarEntry(name); -- Gitee From 100a6e1595ce171174cf4ccc37666dc921a2ebfb Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Tue, 1 Nov 2022 20:18:56 +0800 Subject: [PATCH 2/2] Issue:#I5YWVA Description: delete sort Sig: SIG_ApplicaitonFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- .../src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java b/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java index 2d9d248b..c060c089 100644 --- a/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java +++ b/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/SignHap.java @@ -93,7 +93,6 @@ public abstract class SignHap { */ public static void copyFiles(List entryNames, JarFile in, JarOutputStream out, long timestamp, int defaultAlignment) throws IOException { - // Collections.sort(entryNames); long offset = INIT_OFFSET_LEN; for (String name : entryNames) { JarEntry inEntry = in.getJarEntry(name); -- Gitee