Skip to content

Commit

Permalink
Upgrade to GraalVM Polyglot 23.1.2 (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier authored Jan 29, 2024
1 parent 95e624e commit 72bdd64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,9 @@ For example, you can create a custom `/config/application.properties` or set th
property when running the fat jar file:

```console
java -Dpolyglotimpl.DisableClassPathIsolation=true -jar suricate.jar --spring.config.location=classpath:\,file:C:\myCustomLocation\
java -jar suricate.jar --spring.config.location=classpath:\,file:C:\myCustomLocation\
```

The `-Dpolyglotimpl.DisableClassPathIsolation=true` option is required to
run [Polyglot]((https://www.graalvm.org/jdk21/reference-manual/embed-languages/))
properly ([more details](https://github.com/oracle/graal/issues/7625)).

Alternatively, you can use the provided docker-compose file to run the application and use a volume to override the
default properties:

Expand Down
7 changes: 1 addition & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<commons-io.version>2.15.1</commons-io.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<frontend-maven-plugin.version>1.15.0</frontend-maven-plugin.version>
<graalvm.version>23.1.1</graalvm.version>
<graalvm.version>23.1.2</graalvm.version>
<guava.version>33.0.0-jre</guava.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<jasypt.version>3.0.5</jasypt.version>
Expand Down Expand Up @@ -351,11 +351,6 @@
<tag>latest</tag>
</tags>
</to>
<container>
<jvmFlags>
<jvmFlag>-Dpolyglotimpl.DisableClassPathIsolation=true</jvmFlag>
</jvmFlags>
</container>
</configuration>
</plugin>

Expand Down

0 comments on commit 72bdd64

Please sign in to comment.