Skip to content

Commit 28fed8f

Browse files
committed
Align ECJ toolchain probe with pinned legacy compiler entrypoint
1 parent 09c389b commit 28fed8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎gateway/scripts/check-j2me-toolchain.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function commandVersion(command, args) {
6969
if (result.error) return { ok: false, output: result.error.message };
7070
return { ok: result.status === 0, output: `${result.stdout || ''}${result.stderr || ''}`.trim().split(/\r?\n/)[0] || `exit ${result.status}` };
7171
}
72-
const ECJ_MAIN_CLASS = 'org.eclipse.jdt.compiler.batch.BatchCompiler';
72+
const ECJ_MAIN_CLASS = 'org.eclipse.jdt.internal.compiler.batch.Main';
7373

7474
function ecjProbeArguments(jarPath) {
7575
return ['-cp', jarPath, ECJ_MAIN_CLASS, '-help'];

0 commit comments

Comments
 (0)