Skip to content

Commit

Permalink
fixed java build issues. Relates to Z3Prover#648.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph M. Wintersteiger committed Jun 24, 2016
1 parent 3e96a79 commit e9eb88e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/java/JavaExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void simpleExample()
/* do something with the context */

/* be kind to dispose manually and not wait for the GC. */
ctx.dispose();
ctx.close();
}
}

Expand Down
5 changes: 5 additions & 0 deletions src/api/java/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public Context () {
init();
}

protected Context (long m_ctx) {
this.m_ctx = m_ctx;
init();
}


/**
* Constructor.
Expand Down

0 comments on commit e9eb88e

Please sign in to comment.