Skip to content

Java: Add previous-id and adjust tags for java/garbage-collection and java/run-finalizers-on-exit - #20095

Merged
jcogs33 merged 1 commit into
github:mainfrom
jcogs33:jcogs33/java/finalizers-on-exit-and-garbage-collection
Aug 21, 2025
Merged

Java: Add previous-id and adjust tags for java/garbage-collection and java/run-finalizers-on-exit#20095
jcogs33 merged 1 commit into
github:mainfrom
jcogs33:jcogs33/java/finalizers-on-exit-and-garbage-collection

Conversation

@jcogs33

@jcogs33 jcogs33 commented Jul 19, 2025

Copy link
Copy Markdown
Contributor

Adds previous-id and adjusts tags for java/garbage-collection and java/run-finalizers-on-exit. Follow-up to #19075.

This will add java/run-finalizers-on-exit to the code-quality-extended suite. java/garbage-collection will not be added to any suite due to its low precision.

@jcogs33 jcogs33 changed the title Add previous-id and adjust tags for java/garbage-collection and java/run-finalizers-on-exit Jul 19, 2025
@jcogs33
jcogs33 marked this pull request as ready for review August 11, 2025 20:26
@jcogs33
jcogs33 requested a review from a team as a code owner August 11, 2025 20:26
Copilot AI review requested due to automatic review settings August 11, 2025 20:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Adds previous-id metadata and adjusts tags for two Java queries (java/garbage-collection and java/run-finalizers-on-exit) to align with quality categorization standards. This follows up on query metadata standardization work.

  • Replaces maintainability tags with more specific quality-focused tags (quality, correctness, performance)
  • Adds previous-id metadata pointing to java/do-not-use-finalizers for both queries
  • Updates the code-quality-extended suite to include java/run-finalizers-on-exit

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
java/ql/src/change-notes/2025-07-19-adjust-tags.md Documents the tag changes for both queries
java/ql/src/Violations of Best Practice/Undesirable Calls/GarbageCollection.ql Updates tags from maintainability to quality/correctness and adds previous-id
java/ql/src/Violations of Best Practice/Undesirable Calls/CallsToRunFinalizersOnExit.ql Updates tags from maintainability to quality/correctness/performance and adds previous-id
java/ql/integration-tests/java/query-suite/java-code-quality-extended.qls.expected Adds CallsToRunFinalizersOnExit.ql to the expected test suite results
@yo-h
yo-h requested a review from owen-mc August 11, 2025 20:37
@github github deleted a comment from juancarlos850810-cpu Aug 12, 2025
@jcogs33
jcogs33 merged commit 771d7cb into github:main Aug 21, 2025
20 checks passed
@jcogs33
jcogs33 deleted the jcogs33/java/finalizers-on-exit-and-garbage-collection branch August 21, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants