Skip to content

Commit

Permalink
JObjects do not implement finalizable (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi authored Jul 11, 2024
1 parent 3b9e03c commit 133c7e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/jni/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.10.0
## 0.10.1

- Fixed an issue with `JObject.castTo` where the type checking could fail in
debug mode.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/lib/src/jobject.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class JObjectType extends JObjType<JObject> {
/// A high-level wrapper for JNI global object reference.
///
/// This is the base class for classes generated by `jnigen`.
class JObject implements Finalizable {
class JObject {
final JReference reference;

late final JObjType<JObject> $type = type;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

topics:
Expand Down

0 comments on commit 133c7e5

Please sign in to comment.