Skip to content

[requires 1943, even if not on the same stack] Resolve relocated AWS SDK model classes dynamically in ReflectionBase… - #1944

Open
aschenzle wants to merge 1 commit into
feat/ddb-collections-corefrom
fix/ddb-relocated-sdk-resolution
Open

aschenzle wants to merge 1 commit into
feat/ddb-collections-corefrom
fix/ddb-relocated-sdk-resolution

Conversation

@aschenzle

Copy link
Copy Markdown
Collaborator

When EvoMaster instruments SUT runner jars whose AWS SDK v2 packages are relocated by maven-shade-plugin (for example under shaded.emb.software.amazon.awssdk.*), reflection either fails with ClassNotFoundException or builds unshaded request objects that fail putItem.invoke(...) with an argument type mismatch and cause executeInsertions to silently fail every insertion.

  • Tests (ReflectionBasedDynamoDbClientTest):
    • Added testSupportsRelocatedModelPackageForScanAndPut, dynamically compiling minimal AttributeValue, PutItemRequest, ScanRequest, ScanResponse, and client classes under shaded.emb.software.amazon.awssdk.services.dynamodb.model in an isolated URLClassLoader and verifying both executeInsertions and getItems.

@aschenzle
aschenzle added this pull request to stack #1942 November 20, 2026 01:43
@aschenzle
aschenzle requested a review from jgaleotti November 20, 2026 01:43
@aschenzle
aschenzle removed this pull request from stack #1942 November 28, 2026 01:08
@aschenzle
aschenzle added this pull request to stack #1964 November 28, 2026 01:08
@aschenzle
aschenzle force-pushed the feat/ddb-collections-core branch from 9e603a7 to 05b4ae7 Compare November 28, 2026 02:03
@aschenzle
aschenzle force-pushed the fix/ddb-relocated-sdk-resolution branch from 03e3ac4 to 13168e4 Compare November 28, 2026 02:17
@aschenzle
aschenzle removed this pull request from stack #1964 December 2, 2026 06:48
@aschenzle
aschenzle force-pushed the fix/ddb-relocated-sdk-resolution branch from 13168e4 to e78f796 Compare December 2, 2026 06:56
@aschenzle
aschenzle force-pushed the feat/ddb-collections-core branch from 05b4ae7 to 849da34 Compare December 2, 2026 06:56
@jgaleotti
jgaleotti requested a review from arcuri82 December 2, 2026 19:30
@aschenzle aschenzle changed the title Resolve relocated AWS SDK model classes dynamically in ReflectionBase… [requires 1943, even if not on the same stack] Resolve relocated AWS SDK model classes dynamically in ReflectionBase… Dec 2, 2026
@aschenzle
aschenzle force-pushed the fix/ddb-relocated-sdk-resolution branch from e78f796 to b77e097 Compare December 4, 2026 04:45
@aschenzle
aschenzle force-pushed the feat/ddb-collections-core branch from 849da34 to 88ca5b8 Compare December 4, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants