Skip to content

Gradle "Go to source" on callstack entries in test results does not work#9459

Open
matthiasblaesing wants to merge 1 commit into
apache:masterfrom
matthiasblaesing:gradle-test-opening
Open

Gradle "Go to source" on callstack entries in test results does not work#9459
matthiasblaesing wants to merge 1 commit into
apache:masterfrom
matthiasblaesing:gradle-test-opening

Conversation

@matthiasblaesing

Copy link
Copy Markdown
Contributor

The code always yielded the string representation of the current line as the string contenation is evaluated the the null check in the ternary expression is checked. That is never null and thus line is returned.

What was meant here is that the first part of the string should be the "location" (classname) followed by a colon and either the line number or the method name.

Add parantheses to fix this.

Closes: #9454

The code always yielded the string representation of the current line
as the string contenation is evaluated the the null check in the 
ternary expression is checked. That is never null and thus line
is returned.

What was meant here is that the first part of the string should be
the "location" (classname) followed by a colon and either the line
number or the method name.

Add parantheses to fix this.

Closes: apache#9454
@matthiasblaesing matthiasblaesing added this to the NB31 milestone Jun 21, 2026
@matthiasblaesing matthiasblaesing added Gradle [ci] enable "build tools" tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Gradle [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Go to Source not working in Test Resutl window

1 participant