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

Fix illegal access for object clone on JDK16+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.5
    • None
    • None

    Description

      class Dolly {
          String name
      }
      
      def dolly = new Dolly(name: "The Sheep")
      dolly.clone()
      

      BUG! Unknown transformation for argument Dolly@6d6df3fd at position 0 with class Dolly for parameter of type class org.codehaus.groovy.vmplugin.v8.IndyInterface
      at org.codehaus.groovy.vmplugin.v8.TypeTransformers.addTransformer(TypeTransformers.java:139)

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              daniel_sun Daniel Sun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: