--- eclipse.platform/ant/org.eclipse.ant.core/src_ant/org/eclipse/ant/internal/core/ant/InternalAntRunner.java.orig 2017-01-04 10:48:22.000000000 +0000 +++ eclipse.platform/ant/org.eclipse.ant.core/src_ant/org/eclipse/ant/internal/core/ant/InternalAntRunner.java 2017-01-09 11:57:43.930455256 +0000 @@ -19,6 +19,8 @@ import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; +import java.lang.reflect.Field; +import java.lang.reflect.Modifier; import java.net.URL; import java.text.MessageFormat; import java.util.ArrayList; @@ -1481,7 +1483,16 @@ } org.apache.tools.ant.types.Path systemClasspath = new org.apache.tools.ant.types.Path(null, buff.substring(0, buff.length() - 2)); - org.apache.tools.ant.types.Path.systemClasspath = systemClasspath; + try { + Field field = org.apache.tools.ant.types.Path.class.getDeclaredField("systemClasspath"); //$NON-NLS-1$ + Field modifiersField = Field.class.getDeclaredField("modifiers"); //$NON-NLS-1$ + modifiersField.setAccessible(true); + modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL); + field.set(field, systemClasspath); + } + catch (NoSuchFieldException | IllegalArgumentException | IllegalAccessException | SecurityException e) { + e.printStackTrace(); + } } /** --- "eclipse.platform/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntDefiningTaskNode.java.orig" 2017-01-09 10:40:37.663084636 +0000 +++ "eclipse.platform/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntDefiningTaskNode.java" 2017-01-09 10:41:11.452722811 +0000 @@ -14,6 +14,8 @@ import java.io.File; import java.io.IOException; +import java.lang.reflect.Field; +import java.lang.reflect.Modifier; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; @@ -175,7 +177,16 @@ } org.apache.tools.ant.types.Path systemClasspath = new org.apache.tools.ant.types.Path(null, buff.substring(0, buff.length() - 2)); - org.apache.tools.ant.types.Path.systemClasspath = systemClasspath; + try { + Field field = org.apache.tools.ant.types.Path.class.getDeclaredField("systemClasspath"); //$NON-NLS-1$ + Field modifiersField = Field.class.getDeclaredField("modifiers"); //$NON-NLS-1$ + modifiersField.setAccessible(true); + modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL); + field.set(field, systemClasspath); + } + catch (NoSuchFieldException | IllegalArgumentException | IllegalAccessException | SecurityException e) { + e.printStackTrace(); + } } @Override --- eclipse.platform/ant/org.eclipse.ant.launching/build.properties.orig 2017-01-09 10:24:16.258243377 +0000 +++ eclipse.platform/ant/org.eclipse.ant.launching/build.properties 2017-01-09 10:25:08.302620557 +0000 @@ -20,18 +20,14 @@ about.html jars.compile.order = .,\ - lib/loggers.jar -# antdebug.jar and remote.jar are compiled locally using 1.6, see bug 495617: -# lib/antdebug.jar,\ -# lib/remote.jar + lib/antdebug.jar,\ + lib/loggers.jar,\ + lib/remote.jar source.lib/loggers.jar = loggers/ output.lib/loggers.jar = loggers_bin/ -extra.lib/loggers.jar = lib/antdebug.jar -#source.lib/antdebug.jar = common/ -#output.lib/antdebug.jar = common_bin/ -#source.lib/remote.jar = remote/ -#output.lib/remote.jar = remote_bin/ -src.includes = about.html,\ - remote/,\ - common/ +source.lib/antdebug.jar = common/ +output.lib/antdebug.jar = common_bin/ +source.lib/remote.jar = remote/ +output.lib/remote.jar = remote_bin/ +src.includes = about.html javacWarnings..=-unavoidableGenericProblems --- eclipse.pde.build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ant/AntUtils.java.orig 2017-01-09 10:47:27.168692489 +0000 +++ eclipse.pde.build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ant/AntUtils.java 2017-01-09 10:47:36.735589854 +0000 @@ -115,6 +115,5 @@ } org.apache.tools.ant.types.Path systemClasspath = new org.apache.tools.ant.types.Path(null, buff.substring(0, buff.length() - 2)); - org.apache.tools.ant.types.Path.systemClasspath = systemClasspath; } } --- eclipse.platform.common/bundles/org.eclipse.jdt.doc.user/build.xml.orig 2017-01-09 13:30:24.238066571 +0000 +++ eclipse.platform.common/bundles/org.eclipse.jdt.doc.user/build.xml 2017-01-09 13:31:19.228456113 +0000 @@ -1,106 +1,8 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -