Karm / mandrel-integration-tests

Integration tests for GraalVM and its Mandrel distribution. Runs Quarkus, Helidon and Micronaut applications and small targeted reproducers. The focus is solely on native-image utility and compilation of Java applications into native executables.
Apache License 2.0
5 stars 3 forks source link

Attempt test fix for resource locations #113

Closed jerboaa closed 1 year ago

jerboaa commented 1 year ago

As discussed in #108.

MethodHandles.lookup().lookupClass().getResourceAsStream("/com/sun/imageio/plugins/common/iio-plugin.properties")

and

Thread.currentThread().getContextClassLoader().getResourceAsStream("com/sun/imageio/plugins/common/iio-plugin.properties")

Changed from N/A to JDK. It doesn't seem to affect quarkus integration tests (awt).

Closes: #108

Karm commented 1 year ago

I am turning my eye of Sauron to this now. I'll run the bisector to see which commit did the change. If it looks benign, I just merge this.

Karm commented 1 year ago

This is caused by https://github.com/oracle/graal/commit/8faf577 i.e. it is an intentional change for the better, not a regression.

Karm commented 1 year ago

Amended JavaDoc and merging....

jerboaa commented 1 year ago

Thanks!