Vojin Jovanovic

Results 18 issues of Vojin Jovanovic

## TL;DR To make usage of third-party reachability metadata safe we must guarantee that metadata addition can't break existing programs. This is currently not the case: 1. **For reflective methods**...

feature

### TL;DR Native Image uses static analysis to determine if types are registered for reflective access. This is hard to explain in terms of standard programming practices (e.g., lambda calculus...

feature

### TL;DR Native Image currently accepts Java regular expressions as file patterns in `resource-config.json`. This is problematic for two reasons: 1. It is error-prone as users often miss simple patterns...

feature
native-image

The issue was first described here: https://github.com/oracle/graal/pull/8988/files After discussing with @olpaw we concluded that this happens as `native-image-configure.cmd` writes to `svm\bin\.native-image-configure.exports` which is write-protected in `Program Files`. We need to...

bug
native-image

All libraries are currently set for a specific version and never tested with later versions (e.g., [netty](https://github.com/oracle/graalvm-reachability-metadata/blob/master/metadata/io.netty/netty-buffer/index.json#L8)). We apply those libraries in build tools then even if the user uses...

enhancement

### TL;DR The [Native Image Agent](https://www.graalvm.org/latest/reference-manual/native-image/metadata/AutomaticMetadataCollection/) produces superfluous [reachability metadata](https://www.graalvm.org/latest/reference-manual/native-image/metadata/) entries. Superfluous entries come from the following sources: 1. The agent outputs entries that were already registered in _META-INF/native-image/**/reachability-metadata.json_. 2....

feature

### TL;DR The [Native Image substitutions](https://github.com/oracle/graal/blob/master/sdk/src/com.oracle.svm.core.annotate/src/com/oracle/svm/core/annotate/TargetClass.java) are currently applied if they are found on the image-builder class path. This is problematic for the following reasons: 1. The class-path scanning is...

feature
native-image

Native Image is introducing support for [layers](https://github.com/oracle/graal/issues/7626) that enable significantly better image-build time for the application. We should introduce a single flag in build tools (`incremental-build`) to improve image-build time....

enhancement