Skip to content

Commit

Permalink
[sarlc] Deprecate the Java boot classpath.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Sep 2, 2020
1 parent eecfe8d commit a7fd3ce
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -69,7 +69,10 @@ public class SarlcConfig {

/**
* Name of the property that contains the Java boot classpath.
*
* @since 0.12 not replacement because of Java 11.
*/
@Deprecated
public static final String JAVA_BOOT_CLASSPATH_NAME = PREFIX + ".javaBootClasspath"; //$NON-NLS-1$

/**
Expand All @@ -86,6 +89,7 @@ public class SarlcConfig {

private String bootClasspath;

@Deprecated
private String javaBootClasspath;

private File outputPath;
Expand Down Expand Up @@ -147,15 +151,19 @@ public void setBootClasspath(String path) {
/** Replies the Java boot classpath.
*
* @return the Java boot classpath
* @since 0.12 not replacement because of Java 11.
*/
@Deprecated
public String getJavaBootClasspath() {
return this.javaBootClasspath;
}

/** Change the Java boot class path.
*
* @param path the Java boot class path.
* @since 0.12 not replacement because of Java 11.
*/
@Deprecated
@BQConfigProperty("Java boot class path for the SARL compiler.")
public void setJavaBootClasspath(String path) {
this.javaBootClasspath = path;
Expand Down

0 comments on commit a7fd3ce

Please sign in to comment.