Skip to content

Commit

Permalink
fix: bcprov-jdk15on on first
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Sep 6, 2022
1 parent 356a321 commit 1351b72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/itxtech/mcl/module/builtin/Boot.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ public void boot() {
var pkgMap = new HashMap<String, String>();
for (var pkg : loader.packageManager.getPackages()) {
if (pkg.type.equals(MclPackage.TYPE_CORE)) {
files.add(pkg.getJarFile());
if (pkg.id.equals("org.bouncycastle:bcprov-jdk15on")) {
files.add(0, pkg.getJarFile());
} else {
files.add(pkg.getJarFile());
}
pkgMap.put(pkg.id, pkg.version);
}
if (pkg.type.equals(MclPackage.TYPE_PLUGIN)) {
Expand Down

0 comments on commit 1351b72

Please sign in to comment.