Skip to content

Commit 133c7e5

Browse files
JObjects do not implement finalizable (#1325)
1 parent 3b9e03c commit 133c7e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkgs/jni/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.10.0
1+
## 0.10.1
22

33
- Fixed an issue with `JObject.castTo` where the type checking could fail in
44
debug mode.

pkgs/jni/lib/src/jobject.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class JObjectType extends JObjType<JObject> {
4343
/// A high-level wrapper for JNI global object reference.
4444
///
4545
/// This is the base class for classes generated by `jnigen`.
46-
class JObject implements Finalizable {
46+
class JObject {
4747
final JReference reference;
4848

4949
late final JObjType<JObject> $type = type;

pkgs/jni/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
name: jni
66
description: A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.
7-
version: 0.10.0
7+
version: 0.10.1
88
repository: https://github.com/dart-lang/native/tree/main/pkgs/jni
99

1010
topics:

0 commit comments

Comments
 (0)