Skip to content

Commit

Permalink
#23507 Fixed appclient classpath issues
Browse files Browse the repository at this point in the history
- bug was reproducible by several tests from recent commits
- removed endorsed as it is not supported any more
  • Loading branch information
dmatej committed Mar 3, 2022
1 parent cbeddd3 commit de69523
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ private void addProperties(final StringBuilder command) {
command.append(' ').append("--add-opens=java.base/java.lang=ALL-UNNAMED");
command.append(' ').append(INSTALL_ROOT_PROPERTY_EXPR).append(quote(gfInfo.home().getAbsolutePath()));
command.append(' ').append(SECURITY_POLICY_PROPERTY_EXPR).append(quote(gfInfo.securityPolicy().getAbsolutePath()));
command.append(' ').append("-classpath").append(' ').append(gfInfo.agentJarPath()).append(File.pathSeparatorChar).append('.');
command.append(' ').append(SYSTEM_CLASS_LOADER_PROPERTY_EXPR);
command.append(' ').append("-Xshare:off");
command.append(' ').append(SECURITY_AUTH_LOGIN_CONFIG_PROPERTY_EXPR).append(quote(gfInfo.loginConfig().getAbsolutePath()));
Expand Down Expand Up @@ -917,10 +918,6 @@ File configxml() {
return configXMLFile;
}

String[] endorsedPaths() {
return new String[] { new File(lib, "endorsed").getAbsolutePath(), new File(modules, "endorsed").getAbsolutePath() };
}

String extPaths() {
return new File(lib, "ext").getAbsolutePath();
}
Expand Down Expand Up @@ -986,10 +983,6 @@ String javaExe() {
return System.getenv(ACCJava_ENV_VAR_NAME);
}

File endorsed() {
return new File(lib(), "endorsed");
}

File ext() {
return new File(lib(), "ext");
}
Expand Down

0 comments on commit de69523

Please sign in to comment.