fix: check and report invalid magic in '.dex' files (#2473)

This commit is contained in:
Skylot
2025-05-03 21:31:59 +01:00
parent a796d15289
commit e31d697cd9
2 changed files with 10 additions and 1 deletions
@@ -624,6 +624,7 @@ public class MainWindow extends JFrame {
showLogViewer(LogOptions.allWithLevel(Level.ERROR));
}
} else {
showLogViewer(LogOptions.allWithLevel(Level.WARN));
UiUtils.showMessageBox(this, NLS.str("message.no_classes"));
}
}