-
Notifications
You must be signed in to change notification settings - Fork 370
Adv/native #191
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
Open
Open
Adv/native #191
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Security enhancements: - Enable strict compiler flags (-Werror, -Wextra, -Wconversion) - Add stack protection and buffer overflow detection - Implement proper object file compilation with security flags Version tracking: - Embed PROJECT_VERSION from Maven into native library - Add getVersion0() native method and VERSION constant - Log native library version on load Error handling improvements: - Enhance exception safety in JNI layer - Add proper unused parameter handling - Fix platform-specific conditional compilation Bug fixes: - Fix unused function warning with conditional compilation - Remove duplicate JNI_OnLoad definitions - Fix syntax error in MacOSX.c - Make MacOSX.c compilation conditional on Darwin platform Testing: - Add 27 comprehensive tests for new functionality - Test version tracking, library loading, and error handling - Verify thread safety and memory safety - Total test count increased from 70 to 97 tests All tests pass (97/97), build verified with mvn clean verify. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.