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

getting java.lang.VerifyError depending on some simple method content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.7.10, 1.8.0, 1.8.4, 1.8.5, 2.0-beta-2
    • 1.8.6, 2.0-beta-3
    • Compiler
    • None
    • linux 64bit, sun jvm 1.6.0.29,

    Description

      This is a very strange issue. Everything was working but then I added some very basic code in a method and I'm now seeing this issue with 1.7.10, 1.8.0 & 1.8.4: The openStore() method is throwing java.lang.VerifyError when I activate line 104 below but it works if I comment 104 and activate 103.

      I've attached a zip file with lucene jars, two groovy files and one runme.sh script.

      Thanks for looking into this!

      BTW, I'm seeing the same issue with groovy-2.0.0-beta-2

      In LuceneStore.groovy (attached)

          97          /* FIXME: Bug triggers here
          98             with this line, everything works:
          99                  writer.setRAMBufferSizeMB(400);
         100             with this line, we get the java.lang.VerifyError
         101                 writer.setRAMBufferSizeMB(defaultRamBufferSize());
         102          */       
         103         // writer.setRAMBufferSizeMB(400);
         104         writer.setRAMBufferSizeMB(defaultRamBufferSize());
      

      Attachments

        1. bugreport.zip
          2.03 MB
          Jean-Philippe Robichaud
        2. bugreport.zip
          2.03 MB
          Jean-Philippe Robichaud
        3. verifyerror.groovy
          0.2 kB
          Cédric Champeau

        Activity

          People

            melix Cédric Champeau
            jprobichaud Jean-Philippe Robichaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: