Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Leverage conditional configuration #1021

Closed

Description

@sdeleuze

Since conditional configuration has been merged in GraalVM master branch, we should leverage it in the various places where we generates reflect-config.json files.

I think the trigger attribute of our @NativeHint should be used to generate the relevant condition:

@NativeHint(trigger = Foo.class, types = @TypeHint(types = Bar.class))

Would generate:

{
  "name" : "Bar",
  "condition" : { "typeReachable" : "Foo" }
}

Activity

  1. added
    type: enhancement
    on Sep 10, 2021
  2. added this to the 0.11.0 milestone on Sep 10, 2021
  3. self-assigned this
    on Sep 10, 2021
  4. modified the milestones: 0.11.0-M1, 0.11.x on Sep 24, 2021
  5. modified the milestones: 0.11.x, 0.11.0-M2 on Oct 5, 2021
  6. added a commit that references this issue on Feb 17, 2024
    16719ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions