Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[jni] Do not require JWT #1945

Merged
merged 2 commits into from
Jan 28, 2025
Merged

[jni] Do not require JWT #1945

merged 2 commits into from
Jan 28, 2025

Conversation

HosseinYousefi
Copy link
Member

Closes #1942.

@bsutton, Could you please try to see if this version works for you?

Copy link

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
jni Non-Breaking 0.13.0 0.14.0-wip 0.13.1 ✔️
Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

API leaks ⚠️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbols
jni _ReferenceType
_opaque_pthread_mutex_t
_opaque_pthread_cond_t
_Dart_FinalizableHandle

This check can be disabled by tagging the PR with skip-leaking-check.

License Headers ✔️
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/jni/lib/src/third_party/generated_bindings.dart
pkgs/objective_c/lib/src/ns_input_stream.dart

@coveralls
Copy link

coveralls commented Jan 27, 2025

Coverage Status

coverage: 81.484%. remained the same
when pulling b32d911 on dont-require-jwt
into cb3cd34 on main.

Copy link
Contributor

@brianquinlan brianquinlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@HosseinYousefi HosseinYousefi merged commit c21a2fd into main Jan 28, 2025
27 checks passed
@HosseinYousefi HosseinYousefi deleted the dont-require-jwt branch January 28, 2025 09:25
@@ -11,6 +11,7 @@
`Iterable`.
- Added `JObject.isA`, which checks whether a `JObject` is a instance of a
java class.
- Do not require JWT when building for desktop.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JWT or JVM? 👀
Not sure what jwt is in the context of jni. Maybe you can explain that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. It should be JAWT instead of JWT!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jni plugin requires jdk to have awt.
4 participants