-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use pathing jars in cli commands #21121
Conversation
This PR should be backported 3.5.0-RC4 |
@@ -52,14 +53,30 @@ class ClassPathFactory { | |||
|
|||
// Internal | |||
protected def classesInPathImpl(path: String, expand: Boolean)(using Context): List[ClassPath] = |
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.
if I had one comment for cleanup - there should probably be a third argument i.e. expandManifest: Boolean
and this would only be true specifically when calling classesInExpandedPath(javaUserClassPath)
in PathResolvers
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.
which then isolates the expansion specifically to the java.class.path
property - but this should not be an issue in practice
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.
and then finally move the logic to expandPath
?
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.
all not blockers - could be in follow up PR
@unkarjedy what do you think of this alternative (using |
I think it still be best to delete the command, but we should ensure it works if we're going to ship it this should have been part of #21121
Backports #21121 to 3.5.0-RC4
Backports #21121 to 3.5.1-RC1
No description provided.