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 2d479c26ad5828a3cfc5bc7231b6073d9a29c098..c060c08973d47ee4e55c284e5e619b6c63e2e259 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);