Skip to content

Commit

Permalink
Update the Groovy plug-in to 2.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Mar 6, 2020
1 parent e1e3eb8 commit 56fb674
Show file tree
Hide file tree
Showing 33 changed files with 352 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected String[] getDefaultClassPaths() {
System.arraycopy(cps, 0, newcps, 0, cps.length);

String[] ivyVersions = {"2.5.0", "2.4.0"};
String[] groovyVersions = {"3.0.1-indy", "2.5.9-indy", "2.4.19"};
String[] groovyVersions = {"3.0.1-indy", "2.5.10-indy", "2.4.19"};
try {
URL groovyJar = null;
for (String groovyVer : groovyVersions) {
Expand Down
8 changes: 4 additions & 4 deletions base/org.codehaus.groovy25/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
<attribute name="javadoc_location" value="jar:platform:/resource/org.codehaus.groovy25/lib/ivy-2.4.0-javadoc.jar!/" />
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/groovy-2.5.9-indy.jar" sourcepath="lib/groovy-2.5.9-sources.jar" exported="true">
<classpathentry kind="lib" path="lib/groovy-2.5.10-indy.jar" sourcepath="lib/groovy-2.5.10-sources.jar" exported="true">
<attributes>
<attribute name="javadoc_location" value="jar:platform:/resource/org.codehaus.groovy25/lib/groovy-2.5.9-javadoc.jar!/" />
<attribute name="javadoc_location" value="jar:platform:/resource/org.codehaus.groovy25/lib/groovy-2.5.10-javadoc.jar!/" />
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/groovy-test-2.5.9-indy.jar" sourcepath="lib/groovy-test-2.5.9-sources.jar" exported="true">
<classpathentry kind="lib" path="lib/groovy-test-2.5.10-indy.jar" sourcepath="lib/groovy-test-2.5.10-sources.jar" exported="true">
<attributes>
<attribute name="javadoc_location" value="jar:platform:/resource/org.codehaus.groovy25/lib/groovy-test-2.5.9-javadoc.jar!/" />
<attribute name="javadoc_location" value="jar:platform:/resource/org.codehaus.groovy25/lib/groovy-test-2.5.10-javadoc.jar!/" />
</attributes>
</classpathentry>

Expand Down
166 changes: 83 additions & 83 deletions base/org.codehaus.groovy25/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -4,96 +4,96 @@ Bundle-SymbolicName: org.codehaus.groovy
Automatic-Module-Name: org.codehaus.groovy
Bundle-Name: Apache Groovy
Bundle-Vendor: Pivotal Software, Inc.
Bundle-Version: 2.5.9.qualifier
Bundle-Version: 2.5.10.qualifier
Bundle-ClassPath: eclipse-trace.jar,
groovy-eclipse.jar,
lib/ivy-2.4.0.jar,
lib/groovy-2.5.9-indy.jar,
lib/groovy-test-2.5.9-indy.jar
Export-Package: groovy.beans;version="2.5.9",
groovy.cli;version="2.5.9",
groovy.grape;version="2.5.9",
groovy.inspect;version="2.5.9",
groovy.io;version="2.5.9",
groovy.lang;version="2.5.9",
groovy.mock.interceptor;version="2.5.9",
groovy.security;version="2.5.9",
groovy.test;version="2.5.9",
groovy.time;version="2.5.9",
groovy.transform;version="2.5.9",
groovy.transform.builder;version="2.5.9",
groovy.transform.options;version="2.5.9",
groovy.transform.stc;version="2.5.9",
groovy.ui;version="2.5.9",
groovy.util;version="2.5.9",
groovy.util.logging;version="2.5.9",
groovy.xml;version="2.5.9",
lib/groovy-2.5.10-indy.jar,
lib/groovy-test-2.5.10-indy.jar
Export-Package: groovy.beans;version="2.5.10",
groovy.cli;version="2.5.10",
groovy.grape;version="2.5.10",
groovy.inspect;version="2.5.10",
groovy.io;version="2.5.10",
groovy.lang;version="2.5.10",
groovy.mock.interceptor;version="2.5.10",
groovy.security;version="2.5.10",
groovy.test;version="2.5.10",
groovy.time;version="2.5.10",
groovy.transform;version="2.5.10",
groovy.transform.builder;version="2.5.10",
groovy.transform.options;version="2.5.10",
groovy.transform.stc;version="2.5.10",
groovy.ui;version="2.5.10",
groovy.util;version="2.5.10",
groovy.util.logging;version="2.5.10",
groovy.xml;version="2.5.10",
groovyjarjarantlr;x-friends:="org.codehaus.groovy.eclipse.refactoring",
org.apache.groovy.ast.tools;version="2.5.9",
org.apache.groovy.ast.tools;version="2.5.10",
org.apache.groovy.internal.metaclass;x-internal:=true,
org.apache.groovy.internal.util;x-internal:=true,
org.apache.groovy.io;version="2.5.9",
org.apache.groovy.lang.annotation;version="2.5.9",
org.apache.groovy.metaclass;version="2.5.9",
org.apache.groovy.plugin;version="2.5.9",
org.apache.groovy.util;version="2.5.9",
org.apache.groovy.util.concurrentlinkedhashmap;version="2.5.9",
org.codehaus.groovy;version="2.5.9",
org.codehaus.groovy.antlr;version="2.5.9",
org.codehaus.groovy.antlr.parser;version="2.5.9",
org.codehaus.groovy.ast;version="2.5.9",
org.codehaus.groovy.ast.builder;version="2.5.9",
org.codehaus.groovy.ast.decompiled;version="2.5.9",
org.codehaus.groovy.ast.expr;version="2.5.9",
org.codehaus.groovy.ast.stmt;version="2.5.9",
org.codehaus.groovy.ast.tools;version="2.5.9",
org.codehaus.groovy.classgen;version="2.5.9",
org.codehaus.groovy.classgen.asm;version="2.5.9",
org.codehaus.groovy.classgen.asm.indy;version="2.5.9",
org.codehaus.groovy.classgen.asm.indy.sc;version="2.5.9",
org.codehaus.groovy.classgen.asm.sc;version="2.5.9",
org.codehaus.groovy.classgen.asm.util;version="2.5.9",
org.codehaus.groovy.control;version="2.5.9",
org.codehaus.groovy.control.customizers;version="2.5.9",
org.codehaus.groovy.control.customizers.builder;version="2.5.9",
org.codehaus.groovy.control.io;version="2.5.9",
org.codehaus.groovy.control.messages;version="2.5.9",
org.apache.groovy.io;version="2.5.10",
org.apache.groovy.lang.annotation;version="2.5.10",
org.apache.groovy.metaclass;version="2.5.10",
org.apache.groovy.plugin;version="2.5.10",
org.apache.groovy.util;version="2.5.10",
org.apache.groovy.util.concurrentlinkedhashmap;version="2.5.10",
org.codehaus.groovy;version="2.5.10",
org.codehaus.groovy.antlr;version="2.5.10",
org.codehaus.groovy.antlr.parser;version="2.5.10",
org.codehaus.groovy.ast;version="2.5.10",
org.codehaus.groovy.ast.builder;version="2.5.10",
org.codehaus.groovy.ast.decompiled;version="2.5.10",
org.codehaus.groovy.ast.expr;version="2.5.10",
org.codehaus.groovy.ast.stmt;version="2.5.10",
org.codehaus.groovy.ast.tools;version="2.5.10",
org.codehaus.groovy.classgen;version="2.5.10",
org.codehaus.groovy.classgen.asm;version="2.5.10",
org.codehaus.groovy.classgen.asm.indy;version="2.5.10",
org.codehaus.groovy.classgen.asm.indy.sc;version="2.5.10",
org.codehaus.groovy.classgen.asm.sc;version="2.5.10",
org.codehaus.groovy.classgen.asm.util;version="2.5.10",
org.codehaus.groovy.control;version="2.5.10",
org.codehaus.groovy.control.customizers;version="2.5.10",
org.codehaus.groovy.control.customizers.builder;version="2.5.10",
org.codehaus.groovy.control.io;version="2.5.10",
org.codehaus.groovy.control.messages;version="2.5.10",
org.codehaus.groovy.eclipse,
org.codehaus.groovy.plugin;version="2.5.9",
org.codehaus.groovy.reflection;version="2.5.9",
org.codehaus.groovy.reflection.android;version="2.5.9",
org.codehaus.groovy.reflection.stdclasses;version="2.5.9",
org.codehaus.groovy.reflection.v7;version="2.5.9",
org.codehaus.groovy.runtime;version="2.5.9",
org.codehaus.groovy.runtime.callsite;version="2.5.9",
org.codehaus.groovy.runtime.dgmimpl;version="2.5.9",
org.codehaus.groovy.runtime.dgmimpl.arrays;version="2.5.9",
org.codehaus.groovy.runtime.m12n;version="2.5.9",
org.codehaus.groovy.runtime.memoize;version="2.5.9",
org.codehaus.groovy.runtime.metaclass;version="2.5.9",
org.codehaus.groovy.runtime.powerassert;version="2.5.9",
org.codehaus.groovy.runtime.typehandling;version="2.5.9",
org.codehaus.groovy.runtime.wrappers;version="2.5.9",
org.codehaus.groovy.syntax;version="2.5.9",
org.codehaus.groovy.tools;version="2.5.9",
org.codehaus.groovy.tools.ast;version="2.5.9",
org.codehaus.groovy.tools.gse;version="2.5.9",
org.codehaus.groovy.tools.javac;version="2.5.9",
org.codehaus.groovy.tools.shell;version="2.5.9",
org.codehaus.groovy.tools.shell.util;version="2.5.9",
org.codehaus.groovy.transform;version="2.5.9",
org.codehaus.groovy.transform.sc;version="2.5.9",
org.codehaus.groovy.transform.sc.transformers;version="2.5.9",
org.codehaus.groovy.transform.stc;version="2.5.9",
org.codehaus.groovy.transform.tailrec;version="2.5.9",
org.codehaus.groovy.transform.trait;version="2.5.9",
org.codehaus.groovy.util;version="2.5.9",
org.codehaus.groovy.vmplugin;version="2.5.9",
org.codehaus.groovy.vmplugin.v5;version="2.5.9",
org.codehaus.groovy.vmplugin.v6;version="2.5.9",
org.codehaus.groovy.vmplugin.v7;version="2.5.9",
org.codehaus.groovy.vmplugin.v8;version="2.5.9",
org.codehaus.groovy.vmplugin.v9;version="2.5.9"
org.codehaus.groovy.plugin;version="2.5.10",
org.codehaus.groovy.reflection;version="2.5.10",
org.codehaus.groovy.reflection.android;version="2.5.10",
org.codehaus.groovy.reflection.stdclasses;version="2.5.10",
org.codehaus.groovy.reflection.v7;version="2.5.10",
org.codehaus.groovy.runtime;version="2.5.10",
org.codehaus.groovy.runtime.callsite;version="2.5.10",
org.codehaus.groovy.runtime.dgmimpl;version="2.5.10",
org.codehaus.groovy.runtime.dgmimpl.arrays;version="2.5.10",
org.codehaus.groovy.runtime.m12n;version="2.5.10",
org.codehaus.groovy.runtime.memoize;version="2.5.10",
org.codehaus.groovy.runtime.metaclass;version="2.5.10",
org.codehaus.groovy.runtime.powerassert;version="2.5.10",
org.codehaus.groovy.runtime.typehandling;version="2.5.10",
org.codehaus.groovy.runtime.wrappers;version="2.5.10",
org.codehaus.groovy.syntax;version="2.5.10",
org.codehaus.groovy.tools;version="2.5.10",
org.codehaus.groovy.tools.ast;version="2.5.10",
org.codehaus.groovy.tools.gse;version="2.5.10",
org.codehaus.groovy.tools.javac;version="2.5.10",
org.codehaus.groovy.tools.shell;version="2.5.10",
org.codehaus.groovy.tools.shell.util;version="2.5.10",
org.codehaus.groovy.transform;version="2.5.10",
org.codehaus.groovy.transform.sc;version="2.5.10",
org.codehaus.groovy.transform.sc.transformers;version="2.5.10",
org.codehaus.groovy.transform.stc;version="2.5.10",
org.codehaus.groovy.transform.tailrec;version="2.5.10",
org.codehaus.groovy.transform.trait;version="2.5.10",
org.codehaus.groovy.util;version="2.5.10",
org.codehaus.groovy.vmplugin;version="2.5.10",
org.codehaus.groovy.vmplugin.v5;version="2.5.10",
org.codehaus.groovy.vmplugin.v6;version="2.5.10",
org.codehaus.groovy.vmplugin.v7;version="2.5.10",
org.codehaus.groovy.vmplugin.v8;version="2.5.10",
org.codehaus.groovy.vmplugin.v9;version="2.5.10"
Require-Bundle: org.eclipse.core.runtime,
org.junit;resolution:=optional
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Expand Down
1 change: 1 addition & 0 deletions base/org.codehaus.groovy25/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
2019-05-10: GROOVY_2_5_7
2019-08-07: GROOVY_2_5_8
2020-01-14: GROOVY_2_5_9
2020-03-06: GROOVY_2_5_10
24 changes: 12 additions & 12 deletions base/org.codehaus.groovy25/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ <h3>License</h3>

<h3>Third Party Content</h3>

<h4>groovy-2.5.9-indy.jar</h4>
<h4>groovy-test-2.5.9-indy.jar</h4>
<h4>groovy-2.5.10-indy.jar</h4>
<h4>groovy-test-2.5.10-indy.jar</h4>

<ul>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.9.zip">https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.9.zip</a></li>
<li>Sources available at: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-src-2.5.9.zip">https://dl.bintray.com/groovy/maven/apache-groovy-src-2.5.9.zip</a></li>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.10.zip">https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.10.zip</a></li>
<li>Sources available at: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-src-2.5.10.zip">https://dl.bintray.com/groovy/maven/apache-groovy-src-2.5.10.zip</a></li>
<li>License kind: ASL</li>
<li>License URL: <a href="https://www.apache.org/licenses/LICENSE-2.0.html">https://www.apache.org/licenses/LICENSE-2.0.html</a></li>
<li>License text: <a href="about_files/asl2-license.txt">asl2-license.txt</a></li>
Expand All @@ -45,16 +45,16 @@ <h4>ivy-2.4.0.jar</h4>
<li>License text: <a href="about_files/asl2-license.txt">asl2-license.txt</a></li>
</ul>

<h4>groovy-cli-picocli-2.5.9.jar</h4>
<h4>groovy-console-2.5.9.jar</h4>
<h4>groovy-groovysh-2.5.9.jar</h4>
<h4>groovy-swing-2.5.9.jar</h4>
<h4>groovy-templates-2.5.9.jar</h4>
<h4>groovy-xml-2.5.9.jar</h4>
<h4>groovy-cli-picocli-2.5.10.jar</h4>
<h4>groovy-console-2.5.10.jar</h4>
<h4>groovy-groovysh-2.5.10.jar</h4>
<h4>groovy-swing-2.5.10.jar</h4>
<h4>groovy-templates-2.5.10.jar</h4>
<h4>groovy-xml-2.5.10.jar</h4>
<h4>picocli-4.0.1.jar</h4>

<ul>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.9.zip">https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.9.zip</a></li>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.10.zip">https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.10.zip</a></li>
<li>License kind: ASL</li>
<li>License URL: <a href="https://www.apache.org/licenses/LICENSE-2.0.html">https://www.apache.org/licenses/LICENSE-2.0.html</a></li>
<li>License text: <a href="about_files/asl2-license.txt">asl2-license.txt</a></li>
Expand All @@ -63,7 +63,7 @@ <h4>picocli-4.0.1.jar</h4>
<h4>jline-2.14.6.jar</h4>

<ul>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.9.zip">https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.9.zip</a></li>
<li>Obtained from: <a href="https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.10.zip">https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.5.10.zip</a></li>
<li>License kind: BSD</li>
<li>License URL: <a href="https://www.opensource.org/licenses/bsd-license.php">https://www.opensource.org/licenses/bsd-license.php</a></li>
<li>License text: <a href="about_files/jline2-license.txt">jline2-license.txt</a></li>
Expand Down
2 changes: 1 addition & 1 deletion base/org.codehaus.groovy25/build.antlr2x
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project default="build">

<target name="build" depends="clean">
<java classname="groovyjarjarantlr.Tool" classpath="../../../../../lib/groovy-2.5.9-indy.jar" dir="${basedir}" fork="true">
<java classname="groovyjarjarantlr.Tool" classpath="../../../../../lib/groovy-2.5.10-indy.jar" dir="${basedir}" fork="true">
<arg line="-o parser groovy.g" />
</java>
<replaceregexp byline="true" flags="g" match="\bimport antlr." replace="import groovyjarjarantlr.">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion base/org.codehaus.groovy25/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</parent>
<groupId>org.codehaus.groovy.eclipse</groupId>
<artifactId>org.codehaus.groovy</artifactId>
<version>2.5.9-SNAPSHOT</version>
<version>2.5.10-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private boolean checkGenerics(final ClassNode classNode) {
*/
private boolean compareGenericsWithBound(final ClassNode classNode, final ClassNode bound) {
if (classNode==null) return false;
if (!bound.isUsingGenerics() || (classNode.getGenericsTypes()==null && classNode.redirect().getGenericsTypes()!=null)) {
if (bound.getGenericsTypes() == null || (classNode.getGenericsTypes()==null && classNode.redirect().getGenericsTypes()!=null)) {
// if the bound is not using generics, there's nothing to compare with
return true;
}
Expand Down
Loading

0 comments on commit 56fb674

Please sign in to comment.