Skip to content

Commit 99ee54f

Browse files
committed
feature: enable heavy JAXP operations on a Java 24
Signed-off-by: Marko Milic <[email protected]>
1 parent 8a642e5 commit 99ee54f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/javaServerStarter.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ function prepareParams(requirements: RequirementsData, workspacePath, context: E
9696
// params.push('-agentlib:jdwp=transport=dt_socket,server=y,address=1044');
9797
}
9898

99+
if (requirements.tooling_jre_version >= 24) {
100+
params.push('-Djdk.xml.maxGeneralEntitySizeLimit=0',
101+
'-Djdk.xml.totalEntitySizeLimit=0'
102+
);
103+
}
104+
99105
params.push('--add-modules=ALL-SYSTEM',
100106
'--add-opens',
101107
'java.base/java.util=ALL-UNNAMED',

0 commit comments

Comments
 (0)