You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/05/29 03:20:27 UTC

[groovy] branch GROOVY_4_0_X updated (d9340d27c4 -> 743f1bff70)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a change to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


    from d9340d27c4 update headers
     new 8e72b79b0b GROOVY-10642: Bump creadur-rat-gradle plugin to 0.7.1 (build dependency)
     new 743f1bff70 GROOVY-10643: CLONE - Consolidation of VMPlugin didn't account for API calls in the Groovy runtime

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 buildSrc/build.gradle                                          |  2 +-
 .../java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java    | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)


[groovy] 02/02: GROOVY-10643: CLONE - Consolidation of VMPlugin didn't account for API calls in the Groovy runtime

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 743f1bff706794e11ab6ebbad45b948f4282e1ce
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun May 29 13:20:06 2022 +1000

    GROOVY-10643: CLONE - Consolidation of VMPlugin didn't account for API calls in the Groovy runtime
---
 .../java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java    | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
index 3a12a5267f..90b69a3d09 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
@@ -18,6 +18,8 @@
  */
 package org.codehaus.groovy.vmplugin.v7;
 
+import org.codehaus.groovy.vmplugin.VMPluginFactory;
+
 import java.lang.invoke.CallSite;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.MethodHandles.Lookup;
@@ -97,6 +99,14 @@ public class IndyInterface {
      */
     public static final MethodHandles.Lookup LOOKUP = org.codehaus.groovy.vmplugin.v8.IndyInterface.LOOKUP;
 
+
+    /**
+     * Callback for constant meta class update change (legacy API)
+     */
+    protected static void invalidateSwitchPoints() {
+        VMPluginFactory.getPlugin().invalidateCallSites();
+    }
+
     /**
      * bootstrap method for method calls from Groovy compiled code with indy
      * enabled. This method gets a flags parameter which uses the following


[groovy] 01/02: GROOVY-10642: Bump creadur-rat-gradle plugin to 0.7.1 (build dependency)

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 8e72b79b0bb0d3cc334e9072c492ac7026872102
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun May 29 12:37:35 2022 +1000

    GROOVY-10642: Bump creadur-rat-gradle plugin to 0.7.1 (build dependency)
---
 buildSrc/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 1edb726356..456e83fb7b 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -29,7 +29,7 @@ dependencies {
     implementation 'org.asciidoctor:asciidoctor-gradle-jvm:3.3.2'
     implementation 'org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.3.2'
     implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.17.2'
-    implementation 'org.nosphere.apache:creadur-rat-gradle:0.7.0'
+    implementation 'org.nosphere.apache:creadur-rat-gradle:0.7.1'
     implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.10'
     implementation 'me.champeau.gradle:jmh-gradle-plugin:0.5.3'
 }
\ No newline at end of file