Skip to content

Commit

Permalink
Merge pull request #134 from gnuf0rce/fix_OracleJdk_boot
Browse files Browse the repository at this point in the history
fix: OracleJdk boot mirai
  • Loading branch information
StageGuard authored Sep 18, 2022
2 parents 356a321 + 1351b72 commit 96c5815
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 96c5815

Please sign in to comment.