diff --git a/integration-test/src/test/java/org/cloudfoundry/ServiceBrokerUtils.java b/integration-test/src/test/java/org/cloudfoundry/ServiceBrokerUtils.java index e3677bd7ba..f4766314f3 100644 --- a/integration-test/src/test/java/org/cloudfoundry/ServiceBrokerUtils.java +++ b/integration-test/src/test/java/org/cloudfoundry/ServiceBrokerUtils.java @@ -145,6 +145,10 @@ public static Mono pushServiceBrokerApplic Map env = new HashMap<>(); env.put("SERVICE_NAME", serviceName); env.put("PLAN_NAME", planName); + env.put( + "JAVA_OPTS", + "--add-opens java.base/java.lang=ALL-UNNAMED" + + " --add-opens java.base/java.io=ALL-UNNAMED"); return ApplicationUtils.pushApplication( cloudFoundryClient,