Skip to content

Conversation

@kzantow
Copy link
Contributor

@kzantow kzantow commented Aug 14, 2025

Description

This PR adds a step during JAR version identification to try to find the version from the path if unable to determine this from the contents or filename. This accounts for some common scenarios such as JRuby JARs.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

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.

Syft incorrectly identifying jruby jar files

1 participant