Skip to content

Eagerly ensure that user-supplied providers always return the expected type. Historically this was implicitly validated upon injection into whatever used the provider (via reflection magic). However, with the shift to MethodHandles, that particular signature check becomes harder to isolate/replicate without adding a bunch of unnecessary overhead. Thus, we instead change this to validate user-supplied providers when they provide the value (which is the soonest it can go wrong). #866

Eagerly ensure that user-supplied providers always return the expected type. Historically this was implicitly validated upon injection into whatever used the provider (via reflection magic). However, with the shift to MethodHandles, that particular signature check becomes harder to isolate/replicate without adding a bunch of unnecessary overhead. Thus, we instead change this to validate user-supplied providers when they provide the value (which is the soonest it can go wrong).

Eagerly ensure that user-supplied providers always return the expected type. Historically this was implicitly validated upon injection into whatever used the provider (via reflection magic). However, with the shift to MethodHandles, that particular signature check becomes harder to isolate/replicate without adding a bunch of unnecessary overhead. Thus, we instead change this to validate user-supplied providers when they provide the value (which is the soonest it can go wrong). #866

Triggered via pull request April 28, 2025 14:14
Status Success
Total duration 13m 41s
Artifacts 1

ci.yml

on: pull_request
Matrix: bazel-test
Matrix: maven-test
Local Artifact Tests
17s
Local Artifact Tests
Publish Javadoc and Snapshot
0s
Publish Javadoc and Snapshot
Fit to window
Zoom out
Zoom in

Artifacts

Produced during runtime
Name Size Digest
local-snapshot
5.73 MB
sha256:de918fe95ba71e172d34ebf28d6d7ddccf4fe13e2cbf99566aeaf1b89c5c23e7