Skip to content

[build][test][search] JavaSearchBugs8Tests failure #4454

Description

@subyssurendran666

In https://download.eclipse.org/eclipse/downloads/drops4/I20250926-0030/testresults/html/org.eclipse.jdt.core.tests.model_ep438I-unit-linux-x86_64-java25_linux.gtk.x86_64_25.html

org.eclipse.jdt.core.tests.model.JavaSearchBugs8Tests.testBug400905_0006

Unexpected search results. ----------- Expected ------------ src/I.java void I.foo() [foo] EXACT_MATCH\n src/X.java void void X.main(String[]):<lambda #1>.foo() [()->] EXACT_MATCH ------------ but was ------------ src/I.java void I.foo() [foo] EXACT_MATCH ---------------------- ---------- expected:<...() [foo] EXACT_MATCH[\n src/X.java void void X.main(String[]):<lambda #1>.foo() [()->] EXACT_MATCH]> but was:<...() [foo] EXACT_MATCH[]>

junit.framework.ComparisonFailure: Unexpected search results.
----------- Expected ------------
src/I.java void I.foo() [foo] EXACT_MATCH\n
src/X.java void void X.main(String[]):<lambda #1>.foo() [()->] EXACT_MATCH
------------ but was ------------
src/I.java void I.foo() [foo] EXACT_MATCH
---------------------- ----------
expected:<...() [foo] EXACT_MATCH[\n
src/X.java void void X.main(String[]):<lambda #1>.foo() [()->] EXACT_MATCH]> but was:<...() [foo] EXACT_MATCH[]>
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:265)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:240)
at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:952)
at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:910)
at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:907)
at org.eclipse.jdt.core.tests.model.JavaSearchBugs8Tests.testBug400905_0006(JavaSearchBugs8Tests.java:2462)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at junit.framework.TestCase.runTest(TestCase.java:177)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.runTest(TestCase.java:970)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:114)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:97)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite$1.protect(SuiteOfTestCases.java:85)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:94)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions