mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
fix in the Java binding: the Expr class should also ensure that libjpgf.so is loaded to avoid failures if Expr is the first class that is used.
This commit is contained in:
@@ -54,4 +54,8 @@ public class Expr implements Serializable {
|
|||||||
master = e.master;
|
master = e.master;
|
||||||
ref = e.ref;
|
ref = e.ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static {
|
||||||
|
System.loadLibrary("jpgf");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user