From 59377d03f1fc762be219dfbe945d51ab07ef8247 Mon Sep 17 00:00:00 2001 From: RanVaknin <50976344+RanVaknin@users.noreply.github.com> Date: Wed, 15 Oct 2025 14:58:47 -0700 Subject: [PATCH] TEST: Add method to AwsRequest to verify workflow detection This should trigger the mixed version compatibility workflow and show 'AwsRequest' in the error message to verify the class name detection works. --- .../java/software/amazon/awssdk/awscore/AwsRequest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/aws-core/src/main/java/software/amazon/awssdk/awscore/AwsRequest.java b/core/aws-core/src/main/java/software/amazon/awssdk/awscore/AwsRequest.java index e993a66cbc2c..0b959c4bbba9 100644 --- a/core/aws-core/src/main/java/software/amazon/awssdk/awscore/AwsRequest.java +++ b/core/aws-core/src/main/java/software/amazon/awssdk/awscore/AwsRequest.java @@ -112,4 +112,11 @@ public final AwsRequestOverrideConfiguration overrideConfiguration() { return awsRequestOverrideConfig; } } + + /** + * Test method to verify workflow detects AwsRequest changes. + */ + public String testWorkflowDetection() { + throw new UnsupportedOperationException(); + } }