/** * The argument the compiler wants to see if the debug attribute * has been set to false. * * <p>A return value of <code>null</code> means no argument at all.</p> * * @return "-g:none" unless we expect to invoke a JDK 1.1 compiler. * * @since Ant 1.6.3 */ protected String getNoDebugArgument() { return assumeJava11() ? null : "-g:none"; }
final String memoryParameterPrefix = assumeJava11() ? "-J-" : "-J-X"; if (memoryInitialSize != null) { if (!attributes.isForkedJavac()) { if (assumeJava11()) { final Path cp = new Path(project); Optional.ofNullable(getBootClassPath()).ifPresent(cp::append); if (useDebugLevel && !assumeJava11()) { final String debugLevel = attributes.getDebugLevel(); if (debugLevel != null) { if (assumeJava11()) { cmd.createArgument().setValue("-depend"); } else if (assumeJava12()) {