JDK 21 |
---|
21 b16Fixed |
Relates :
|
SunCommandLineLauncher.java currently throws an exception if it finds that the long outdated 'java.compiler' system property is set anything else than "none". Since debugging clearly works with JIT compiler these days, it should be safe to remove this check: if ((options.indexOf("-Djava.compiler=") != -1) && (options.toLowerCase().indexOf("-djava.compiler=none") == -1)) { throw new IllegalConnectorArgumentsException("Cannot debug with a JIT compiler", ARG_OPTIONS); }
|