oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.4k stars 1.64k forks source link

[GR-39007] Ignored JEP-290 serial filter settings running with GraalVM 22.2 latest dev version #4591

Open kazuki43zoo opened 2 years ago

kazuki43zoo commented 2 years ago

Describe the issue I used the latest GraalVM dev version(22.2) on Github Action, it ignored the JEP-290 serial filter settings.

Steps to reproduce the issue

[Repro Project]

[JEP-290 serial filter settings]

[Actual Result]

Expected behavior

Following warn log does not output on runtime.

[WARN] As you are using functionality that deserializes object streams, it is recommended to define the JEP-290 serial filter. Please refer to https://docs.oracle.com/pls/topic/lookup?ctx=javase15&id=GUID-8296D8E8-2B93-4B9A-856E-0A65AF9B8C66

Describe GraalVM and your environment:

More details

Repro project work fine with GraalVM 22.1 CE.

Related Issues

oubidar-Abderrahim commented 2 years ago

Hi, thank you for reporting this, we're going to take a look into this and get back to you

oubidar-Abderrahim commented 2 years ago

Hi, Could you please try the latest dev build and see if this is still occurring? Thank you

kazuki43zoo commented 2 years ago

@oubidar-Abderrahim Not work with latest dev version on GitHub action.

GRAALVM_HOME: /home/runner/work/_temp/d0414df9-c40e-4084-85cd-6d809a4da515/graalvm-ce-java17-22.2.0-dev
JAVA_HOME: /home/runner/work/_temp/d0414df9-c40e-4084-85cd-6d809a4da515/graalvm-ce-java17-22.2.0-dev
openjdk 17.0.4 2022-07-19
OpenJDK Runtime Environment GraalVM CE 22.2.0-dev (build 17.0.4+1-jvmci-22.2-b02)
OpenJDK 64-Bit Server VM GraalVM CE 22.2.0-dev (build 17.0.4+1-jvmci-22.2-b02, mixed mode, sharing)
GraalVM 22.2.0-dev Java 17 CE (Java Version 17.0.4+1-jvmci-22.2-b02)

https://github.com/mybatis/spring-native/runs/6737883571?check_suite_focus=true

oubidar-Abderrahim commented 2 years ago

Just to confirm, this issue only appears when running a native image?

oubidar-Abderrahim commented 2 years ago

Tracked internally on GR--39007

kazuki43zoo commented 2 years ago

Just to confirm, this issue only appears when running a native image?

Yes! Does not resolve yet.