From 0abf51013943cff2bd1247034942670fb4393b1a Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Fri, 2 Apr 2021 02:49:30 +0300 Subject: [PATCH] Remove --report-unsupported-elements-at-runtime As described in https://github.com/oracle/graal/issues/1725#issuecomment-547570158 this option is not meant to be used in production and under certain circumstances it may cause https://github.com/oracle/graal/issues/1725 to appear as in https://github.com/quarkusio/quarkus/issues/16139. --- .changes/next-release/bugfix-AWSSDKforJavav2-d65637f.json | 6 ++++++ .../software.amazon.awssdk/sdk-core/native-image.properties | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/bugfix-AWSSDKforJavav2-d65637f.json diff --git a/.changes/next-release/bugfix-AWSSDKforJavav2-d65637f.json b/.changes/next-release/bugfix-AWSSDKforJavav2-d65637f.json new file mode 100644 index 000000000000..1ef38587ba2f --- /dev/null +++ b/.changes/next-release/bugfix-AWSSDKforJavav2-d65637f.json @@ -0,0 +1,6 @@ +{ + "type": "bugfix", + "category": "AWS SDK for Java v2", + "contributor": "zakkak", + "description": "Removal of `--report-unsupported-elements-at-runtime` option from SDK core's `native-image.properties` as the option is not meant to be used in production." +} diff --git a/core/sdk-core/src/main/resources/META-INF/native-image/software.amazon.awssdk/sdk-core/native-image.properties b/core/sdk-core/src/main/resources/META-INF/native-image/software.amazon.awssdk/sdk-core/native-image.properties index a00507b5e945..3d0878a655b6 100644 --- a/core/sdk-core/src/main/resources/META-INF/native-image/software.amazon.awssdk/sdk-core/native-image.properties +++ b/core/sdk-core/src/main/resources/META-INF/native-image/software.amazon.awssdk/sdk-core/native-image.properties @@ -12,4 +12,4 @@ # express or implied. See the License for the specific language governing # permissions and limitations under the License. # -Args=--enable-url-protocols=https --report-unsupported-elements-at-runtime \ No newline at end of file +Args=--enable-url-protocols=https \ No newline at end of file