@@ -115,13 +115,17 @@ private static List<Scope> createServerEntitlements(Path pidFile) {
115115 )
116116 ),
117117 new Scope ("java.desktop" , List .of (new LoadNativeLibrariesEntitlement ())),
118- new Scope ("java.xml" , List .of (
119- new ReadJdkImageEntitlement (),
120- // java.xml does some reflective stuff that reads calling jars, so allow reading the codebases
121- // of any code in the system so that they can all use java.xml
122- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (LIB , READ ))),
123- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (MODULES , READ ))),
124- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (PLUGINS , READ ))))),
118+ new Scope (
119+ "java.xml" ,
120+ List .of (
121+ new ReadJdkImageEntitlement (),
122+ // java.xml does some reflective stuff that reads calling jars, so allow reading the codebases
123+ // of any code in the system so that they can all use java.xml
124+ new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (LIB , READ ))),
125+ new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (MODULES , READ ))),
126+ new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (PLUGINS , READ )))
127+ )
128+ ),
125129 new Scope ("org.apache.httpcomponents.httpclient" , List .of (new OutboundNetworkEntitlement ())),
126130 new Scope (
127131 "org.apache.lucene.core" ,
0 commit comments