You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use toDartInteger and toDartDouble to match JString instead of adding the releaseOriginal parameter to existing methods like intValue or doubleValue. This also frees intValue() and such for the subclasses. Currently generating java.math.BigInteger fails since package:jni's JNumber has a intValue that does not have a releaseOriginal: true. We could potentially add this recursively to all of the subclasses as well (or simply not generate these methods as we know JNumber always exists.
A mechanism to modify the bindings of the dependent packages via the symbols file is nice to have nonetheless.
The text was updated successfully, but these errors were encountered:
We could use
toDartInteger
andtoDartDouble
to matchJString
instead of adding thereleaseOriginal
parameter to existing methods likeintValue
ordoubleValue
. This also freesintValue()
and such for the subclasses. Currently generatingjava.math.BigInteger
fails sincepackage:jni
'sJNumber
has aintValue
that does not have areleaseOriginal: true
. We could potentially add this recursively to all of the subclasses as well (or simply not generate these methods as we knowJNumber
always exists.A mechanism to modify the bindings of the dependent packages via the symbols file is nice to have nonetheless.
The text was updated successfully, but these errors were encountered: