Skip to content

Commit

Permalink
Quick fix MemoryAgent issue with Java 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Hermellin committed Jun 27, 2018
1 parent 6ed5853 commit c3a59b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version,
'Gradle-Version':'Gradle 4.7',
'Gradle-Version':'Gradle 4.8',
'Built-By': 'Damien Pellier',
'Premain-Class': 'fr.uga.pddl4j.util.MemoryAgent',
'Main-Class': 'fr.uga.pddl4j.planners.statespace.StateSpacePlannerFactory'
Expand All @@ -75,7 +75,7 @@ task run (type: JavaExec, dependsOn: build){

jvmArgs = ["-javaagent:"+project.buildDir.name+"/libs/"+project.name+"-"+project.version+".jar", "-server", "-Xms2048m", "-Xmx2048m"]

description = "Run HSP plannin algorithm"
description = "Run HSP planning algorithm"
main = "fr.uga.pddl4j.planners.statespace.StateSpacePlannerFactory"
classpath = sourceSets.main.runtimeClasspath
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/fr/uga/pddl4j/util/MemoryAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class MemoryAgent implements Serializable {
/**
* The default value of the <code>skipStaticField</code> flag.
*/
public static final boolean DEFAULT_SKIP_STATIC_FIELD = false;
public static final boolean DEFAULT_SKIP_STATIC_FIELD = true;

/**
* The default value of the <code>skipFinalField</code> flag.
Expand Down

0 comments on commit c3a59b6

Please sign in to comment.