From e6e1e1a88f7b4ed6c65d6fc4c215c8416fc0bfcd Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Wed, 25 Feb 2026 12:40:50 +0100 Subject: [PATCH] Update Jelly-JVM to 3.7.1 Supersedes #261 --- build.sbt | 6 +++--- .../eu/neverblink/jelly/cli/command/rdf/RdfToJelly.scala | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 883f39d..1e66266 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ resolvers += "Sonatype OSS Snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots" lazy val jenaV = "5.3.0" -lazy val jellyV = "3.7.0" +lazy val jellyV = "3.7.1" lazy val graalvmV = "25.0.2" addCommandAlias("fixAll", "scalafixAll; scalafmtAll") @@ -36,8 +36,8 @@ lazy val graalOptions = Seq( // Needed to skip initializing all charsets. // See: https://github.com/Jelly-RDF/cli/issues/154 "--initialize-at-build-time=org.glassfish.json.UnicodeDetectingInputStream", - "-H:+TrackPrimitiveValues", // SkipFlow optimization -- will be default in GraalVM 25 - "-H:+UsePredicates", // SkipFlow optimization -- will be default in GraalVM 25 + "-H:+TrackPrimitiveValues", // SkipFlow optimization + "-H:+UsePredicates", // SkipFlow optimization "-H:+MLCallCountProfileInference", // ML inference for hot/cold method detection // Make sure we don't include stuff that should be unreachable in the native image "-H:AbortOnMethodReachable=*UUID.randomUUID*", diff --git a/src/main/scala/eu/neverblink/jelly/cli/command/rdf/RdfToJelly.scala b/src/main/scala/eu/neverblink/jelly/cli/command/rdf/RdfToJelly.scala index 4183eb1..87a7f05 100644 --- a/src/main/scala/eu/neverblink/jelly/cli/command/rdf/RdfToJelly.scala +++ b/src/main/scala/eu/neverblink/jelly/cli/command/rdf/RdfToJelly.scala @@ -188,7 +188,7 @@ object RdfToJelly extends RdfSerDesCommand[RdfToJellyOptions, RdfFormat.Readable .enableNamespaceDeclarations(getOptions.enableNamespaceDeclarations) .isDelimited(getOptions.delimited) .build() - JellyStreamWriter(JenaConverterFactory.getInstance(), variant, outputStream) + JellyStreamWriter.create(JenaConverterFactory.getInstance(), variant, outputStream) RiotParserUtil.parse( getOptions.rdfPerformanceOptions.resolveIris,