Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
peter-lawrey wants to merge 2 commits into adv/spotbugs
base: adv/spotbugs
Choose a base branch
Loading
from adv/native
Open

Adv/native #191

peter-lawrey wants to merge 2 commits into adv/spotbugs from adv/native

Conversation

@peter-lawrey
Copy link
Member

@peter-lawrey peter-lawrey commented Nov 18, 2025

No description provided.

peter-lawrey and others added 2 commits November 18, 2025 20:36
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

Reviewers

@tgd tgd Awaiting requested review from tgd

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /