Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.7.10, 1.8.0, 1.8.4, 1.8.5, 2.0-beta-2
-
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());