Skip to content

Commit

Permalink
Fix for JSR 109 WSDL generation when using JDK 21
Browse files Browse the repository at this point in the history
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Jul 17, 2023
1 parent d637980 commit a5eb4fe
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,8 @@ grant codeBase "jrt:/jdk.compiler" {
grant {
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc";
};

// Following grant block is required for using WSToolsObjectFactory (jsr109 WSDL parsing) on JDK 21
grant {
permission java.lang.RuntimePermission "getenv.JDK_JAVAC_OPTIONS";
};

0 comments on commit a5eb4fe

Please sign in to comment.