Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10643

CLONE - Consolidation of VMPlugin didn't account for API calls in the Groovy runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0.0
    • 4.0.3
    • None
    • None

    Description

      Addendum: it seems like the protected method invalidateSwitchPoints also needs to be retained as per:
      https://github.com/oracle/graal/issues/4492

      A change in Groovy 3 (see GROOVY-9380 for details) was to consolidate classes from the legacy Java5 through Java7 classes into Java8. Those classes are part of Groovy's plugin mechanism and aren't meant to be used directly. The legacy classes were deprecated in Groovy 3 and removed in Groovy 4. This was an intended breaking change for anyone using those classes directly. Remember the change is transparent for anyone using the plugin mechanism as intended. A subset of those classes are also directly called by the bytecode for Groovy 2.5 compiled code with Indy enabled, i.e. were part of the Groovy runtime for that version. Removing backwards compatibility for those classes was unintended.

      This would mostly impact folks who might create applications from a mixture of dependencies, e.g. maybe a helper classes, library or plugin compiled under Groovy 2.5 with Indy enabled and then used in conjunction with another application compiled under Groovy 4. This will be fixed in the next point release.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: