Creating an image based on JDK 11 is being worked on here: https://issues.apache.org/jira/browse/SOLR-16463
Kevin Risden On Mon, Oct 17, 2022 at 11:28 AM solr <fred...@rodland.no> wrote: > > > > On 16 Oct 2022, at 22:08, Shawn Heisey <apa...@elyograg.org> wrote: > > > > On 10/13/22 14:42, solr wrote: > >> Hi - both our examples from the previous posting seems to be related to > compiling: com.github.benmanes.caffeine.cache.BoundedLocalCache: > > > > The original message talked about running Solr, not compiling Solr. > > > > Solr includes already-compiled jars from the Caffeine project. At no > point in the build process do we compile code from that project. > > > > I think the "compiling" happening here is merely Java hotspot going > through jars and assembling all the pieces needed to run the program. > > > > All the available info says that this is a bug in the current version of > Java. As I had said before, I would recommend running the latest version > 11 Java that you can get. There are many possible choices that have no > cost. > > > > Thanks, > > Shawn > > > > Hi. > > This is not compiling as in javac. This is java’s JIT compilation; when > _running_ SOLR. > > Also - solr now has an official docker image, and this is built with java > 17, which tends to crash. I think it’s unfortunate to provide such an > image with a known critical bug when the workaround is just to provide on > with java 11. > > Regards, > > Fredrik > > > -- > > Fredrik Rødland > Cell: +47 99 21 98 17 > Maisen Pedersens vei 1 Twitter: @fredrikr > NO-1363 Høvik, NORWAY flickr: > http://www.flickr.com/fmmr/ > http://rodland.no about.me http://about.me/fmr