Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support jni inside jar #826

Merged
merged 3 commits into from
Oct 9, 2023
Merged

Conversation

morebtcg
Copy link
Member

@morebtcg morebtcg commented Oct 9, 2023

Support jni inside jar

@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

return;
}
try {
File jniFile = File.createTempFile(libFileName, UUID.randomUUID().toString());

Check warning

Code scanning / CodeQL

Local information disclosure in a temporary directory Medium

Local information disclosure vulnerability due to use of file readable by other local users.
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@morebtcg morebtcg merged commit 004f710 into FISCO-BCOS:release-3.5.0 Oct 9, 2023
9 of 10 checks passed
@morebtcg morebtcg deleted the auto_platform branch October 9, 2023 10:49
kyonRay pushed a commit to kyonRay/java-sdk that referenced this pull request Oct 12, 2023
* Update sdk usage

* Support jni inside jar
kyonRay added a commit that referenced this pull request Oct 12, 2023
* <feat>(rpc): add call with sign interface of rpc. (#771)

* <feat>(rpc): add call with sign interface of rpc.

* <test>(integration): add v3.3.0 node test.

* <fix>(CI): fix integration test of extra data and input. (#796)

* <fix>(codec): fix int type not count bit size bug. (#800)

* upgrade openjdk version

* <fix>(test): remove unnecessary dependency com.google.guava. (#811)

* Add tars sdk impl (#818)

Add tars sdk impl (#818)

* <feat&fix>(transaction): fix call with sign result not handle revert message bug, add system features. (#819)

* Update tars client impl (#821)

* Add TarsClient

* Update bulid.gradle, add tars-sdk

* Update fisco-bcos-tars-sdk package name

* Using google code style

* Merge origin

* Revert changes of xml

* ExtraData use string type

* Update tars client

* Add tars config and impl

* Update loadLibrary

* Use google java format

* Update library path find

* Update tars client

---------

Co-authored-by: More <More@MSI>
Co-authored-by: More <[email protected]>

* <feat>(client): add getNodeListByType interface. (#822)

* Fix tars bug (#823)

* Add TarsClient

* Update bulid.gradle, add tars-sdk

* Update fisco-bcos-tars-sdk package name

* <fix>(client): add default nodeName to send request. (#825)

* Support jni inside jar (#826)

* Update sdk usage

* Support jni inside jar

---------

Co-authored-by: wenlinli <[email protected]>
Co-authored-by: MO NAN <[email protected]>
Co-authored-by: More <More@MSI>
Co-authored-by: More <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants