From fdbbbf6cdf9d21cbfd0ecb8c46a847d4b45bc961 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Mon, 11 Dec 2023 07:39:57 +0000 Subject: [PATCH] Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603 --- .../src/main/resources/application.properties | 19 +++++++++++++++++++ .../src/main/resources/application.properties | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 integration-tests/google-bigquery/src/main/resources/application.properties diff --git a/integration-tests/google-bigquery/src/main/resources/application.properties b/integration-tests/google-bigquery/src/main/resources/application.properties new file mode 100644 index 000000000000..ef07b3531816 --- /dev/null +++ b/integration-tests/google-bigquery/src/main/resources/application.properties @@ -0,0 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- + +# TODO: https://github.com/apache/camel-quarkus/issues/5603 +quarkus.native.additional-build-args=-Dio.netty.tryReflectionSetAccessible=false diff --git a/integration-tests/jfr/src/main/resources/application.properties b/integration-tests/jfr/src/main/resources/application.properties index 780573804573..813280f78d8d 100644 --- a/integration-tests/jfr/src/main/resources/application.properties +++ b/integration-tests/jfr/src/main/resources/application.properties @@ -17,3 +17,6 @@ # Must enable VM inspection for JFR in native mode quarkus.native.monitoring=jfr + +# TODO: https://github.com/apache/camel-quarkus/issues/5603 +quarkus.native.additional-build-args=-Dio.netty.tryReflectionSetAccessible=false