-
Notifications
You must be signed in to change notification settings - Fork 39
fix: kotlinc/native-image bugs #1690
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes several issues discovered in elide kotlinc and elide native-image commands by improving metadata configuration and argument handling.
- Updates reachability metadata for Kotlin CLI tools to use broader method and constructor reflection
- Enhances native-image output path detection to support both
-H:Pathand-oflags - Adds source file existence filtering to the Java compiler tool
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| reachability-metadata.json | Simplifies Kotlin CLI reflection metadata and adds Kotlin class resources |
| NativeImageAdapter.kt | Improves output path argument detection for native-image |
| JavaCompiler.kt | Adds file existence check for Java source files |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1690 +/- ##
=======================================
Coverage 40.25% 40.26%
=======================================
Files 820 820
Lines 38603 38608 +5
Branches 5522 5523 +1
=======================================
+ Hits 15541 15544 +3
- Misses 21200 21201 +1
- Partials 1862 1863 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Summary
Fixes a few issues discovered in
elide kotlincandelide native-image.kotlincflags properly #1689-include-runtimewithelide kotlinc#1688-owithnative-image#1687-Werrorfromkotlinc#1686