mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
Java bindings with no finalizers
Replacing finalizers with PhantomReferences, required quite a lot of changes to the codebase.
This commit is contained in:
parent
dfc80d3b69
commit
495ef0f055
48 changed files with 368 additions and 939 deletions
|
@ -48,9 +48,9 @@ public class StringSymbol extends Symbol
|
|||
void checkNativeObject(long obj)
|
||||
{
|
||||
if (Native.getSymbolKind(getContext().nCtx(), obj) != Z3_symbol_kind.Z3_STRING_SYMBOL
|
||||
.toInt())
|
||||
.toInt()) {
|
||||
throw new Z3Exception("Symbol is not of String kind");
|
||||
|
||||
}
|
||||
super.checkNativeObject(obj);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue