Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream changes into Mandrel 23.1 release branch #787

Merged

Commits on Aug 26, 2024

  1. Add new dependencies after graal-sdk split

    (cherry picked from commit c6bdbb6)
    jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4176509 View commit details
    Browse the repository at this point in the history
  2. Drop polyglot.jar and truffle-api.jar from native-image launcher

    (cherry picked from commit 261dd42)
    jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    91f74ce View commit details
    Browse the repository at this point in the history
  3. Add polyglot.jar only if truffle-runtime-svm is there as well

    (cherry picked from commit 0c518c7)
    jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    583e1d7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request oracle#13 from jerboaa/mandrel-no-jlinking-backport

    Fix build with --no-jlinking
    zakkak authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    058a829 View commit details
    Browse the repository at this point in the history
  5. Throw exception for null in RuntimeJNIAccess/RuntimeReflection reg.

    Don't allow null values to be passed to the `register` method of
    `RuntimeJNIAccess` and `RuntimeReflection`. Since these are public APIs
    GraalVM should either handle null values (by ignoring them in this case)
    or throw a `NullPointerException` before creating an asynchronous task
    to perform the registration in the analysis, which then results in
    `NullPointerException`s being thrown later when it's no longer possible
    to understand where the null value originate from.
    
    (cherry picked from commit e6c12dd)
    zakkak authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    64184d3 View commit details
    Browse the repository at this point in the history
  6. Fix style.

    (cherry picked from commit d621dbd)
    fniephaus authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1d0bab4 View commit details
    Browse the repository at this point in the history
  7. Move null checks to the beginning of register methods.

    Not before the register methods, which can miss cases, nor later on in a runnable.
    
    (cherry picked from commit f94551a)
    fniephaus authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    373204c View commit details
    Browse the repository at this point in the history
  8. Apply non-null strategy to JNIAccessFeature.

    (cherry picked from commit d996f32)
    fniephaus authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    6af144f View commit details
    Browse the repository at this point in the history
  9. Use Objects.requireNonNull() in ConditionalConfigurationRegistry.

    (cherry picked from commit 0ba6cc2)
    fniephaus authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    9980fdf View commit details
    Browse the repository at this point in the history
  10. Fail on missing API options

    (cherry picked from commit c949f3e)
    vjovanov authored and jerboaa committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    31573c1 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Merge pull request oracle#16 from jerboaa/fail-missing-api-option

    Partial backport of [GR-48529] Use the API flag in the init hint
    zakkak authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    67e95eb View commit details
    Browse the repository at this point in the history
  2. Merge pull request oracle#15 from jerboaa/null-runtime-reflect-jni-fi…

    …xes-backport
    
    Backport: [GR-49816] Throw exception for null pointers passed to RuntimeJNIAccess / RuntimeReflection register methods
    zakkak authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    70dd320 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6e405e View commit details
    Browse the repository at this point in the history
  4. Add trailing whitespace in comments

    This is a no-op change, but makes downstream Mandrel 23.1
    be in sync with the upstream community repo. It makes it
    easier to spot any downstream only patches if the diff
    to upstream is minimal.
    jerboaa committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    80587d5 View commit details
    Browse the repository at this point in the history