Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Java: Restrict results to source literals.#20054

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

aschackmull
Copy link
Contributor

Some literals extracted from.class files can contain many control chars, which can cause this query to blow up. Those results are pretty useless, so we can simply exclude them.

@CopilotCopilotAI review requested due to automatic review settingsJuly 15, 2025 12:56
@aschackmullaschackmull added the no-change-note-requiredThis PR does not need a change note labelJul 15, 2025
@aschackmullaschackmull requested a review froma team as acode ownerJuly 15, 2025 12:56
Copy link
Contributor

@CopilotCopilotAI left a 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 restricts a CodeQL query to only analyze source literals rather than compiled bytecode literals. The change addresses performance issues caused by literals extracted from.class files that contain many control characters, which can cause the query to become inefficient while providing limited value.

  • Adds a filter to restrict analysis to source compilation units only
  • Adds documentation explaining why Kotlin files are excluded to prevent false positives

@aschackmullaschackmull merged commitb13f118 intogithub:mainJul 15, 2025
18 checks passed
@aschackmullaschackmull deleted the java/fixup-control-char-query branchJuly 15, 2025 13:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@owen-mcowen-mcowen-mc approved these changes

Assignees
No one assigned
Labels
Javano-change-note-requiredThis PR does not need a change note
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@aschackmull@owen-mc

[8]ページ先頭

©2009-2025 Movatter.jp