Skip to content
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

Ignore scope inheritance for configs not present in the project. #6936

Merged
merged 3 commits into from Jan 9, 2024

Conversation

sdedic
Copy link
Member

@sdedic sdedic commented Jan 9, 2024

This PR just adds NPE check to GradleScopeBuilder, as there are pre-defined 'abstract' scopes that inherit from Gradle configurations ... but they do not need to be present at all in a gradle project.

During investigation of a bug I've added some more logging to gradle dependency implementation, I'd retain it.

Finally, from the inception of Vulnerability Audit implementation, and introduction of Diagnostic.ReporterControl, there is a potential race on write to TextDocumentService.diagnosticTasks; simple synchronize() should solve that. I've been 'just lucky' to encounter it during development.

@sdedic sdedic added Gradle [ci] enable "build tools" tests LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests enterprise [ci] enable enterprise job labels Jan 9, 2024
@sdedic sdedic added this to the NB21 milestone Jan 9, 2024
@sdedic sdedic self-assigned this Jan 9, 2024
Copy link
Contributor

@dbalek dbalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@sdedic sdedic merged commit cac40a3 into apache:master Jan 9, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job Gradle [ci] enable "build tools" tests LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants