Skip to content

Java: accept new test results after extractor update #20247

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IdrissRio
Copy link
Contributor

@IdrissRio IdrissRio commented Aug 19, 2025

See internal PR for more details.

@IdrissRio IdrissRio force-pushed the idrissrio/java-upgrade-fix branch from 49a6500 to ba93ced Compare August 19, 2025 09:16
@IdrissRio IdrissRio added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Aug 21, 2025
@IdrissRio IdrissRio marked this pull request as ready for review August 21, 2025 14:21
@IdrissRio IdrissRio requested a review from a team as a code owner August 21, 2025 14:21
@Copilot Copilot AI review requested due to automatic review settings August 21, 2025 14:21
Copy link
Contributor

@Copilot Copilot AI 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 accepts new test results after an extractor update for Java/Kotlin testing. The changes reflect updates in how the extractor processes certain type information and method declarations.

Key changes:

  • Addition of getChars method detection in String class reflection tests
  • Removal of various collection type entries and replacement with simplified Object type mappings
  • Type parameter changes from specific generic types to Object in Map declarations

Reviewed Changes

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

File Description
java/ql/test-kotlin2/library-tests/reflection/reflection.expected Adds getChars method entry for String class forwarder detection
java/ql/test-kotlin2/library-tests/java-kotlin-collection-type-generic-methods/test.expected Removes duplicate collection entries and updates Map type parameters from Entry<?> to Object
java/ql/test-kotlin1/library-tests/reflection/reflection.expected Adds getChars method entry for String class forwarder detection
java/ql/test-kotlin1/library-tests/java-kotlin-collection-type-generic-methods/test.expected Removes duplicate collection entries and updates Map type parameters from Entry<?> to Object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on internal PR This PR should only be merged in sync with an internal Semmle PR Java Kotlin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant