If class without package declare, and typeName will be empty string, and path for reflect-config.json will be META-INF/native-image//application/reflect-config.json and that is not legal path.
import io.goodforgod.graalvm.hint.annotation.ReflectionHint;
@ReflectionHint
public class RequestOnly {
private String name;
}
If class without package declare, and typeName will be empty string, and path for reflect-config.json will be
META-INF/native-image//application/reflect-config.json
and that is not legal path.