Skip to content

Do not wait for AST when copying code in ClipboarOperationAction

d791cd1
Select commit
Loading
Failed to load commit list.
Merged

Do not wait for AST when copying code in ClipboarOperationAction #2406

Do not wait for AST when copying code in ClipboarOperationAction
d791cd1
Select commit
Loading
Failed to load commit list.
Jenkins - Eclipse JDT / Tests / Build failed Aug 13, 2025 in 0s

failed: 21, skipped: 149, passed: 9063

failed: 21, skipped: 149, passed: 9063

Details

AutomatedSuite CoreTestSuite ImportOrganizeTest.testVariousTypeReferences

ImportTest-query-nchoices1 expected:<0> but was:<1>
Stack trace
java.lang.AssertionError: ImportTest-query-nchoices1 expected:<0> but was:<1>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at org.eclipse.jdt.ui.tests.core.ImportOrganizeTest.lambda$0(ImportOrganizeTest.java:104)
	at org.eclipse.jdt.core.manipulation.OrganizeImportsOperation.createTextEdit(OrganizeImportsOperation.java:620)
	at org.eclipse.jdt.core.manipulation.OrganizeImportsOperation.run(OrganizeImportsOperation.java:565)
	at org.eclipse.jdt.ui.tests.core.ImportOrganizeTest.testVariousTypeReferences(ImportOrganizeTest.java:345)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite CoreTestSuite ImportOrganizeTest1d8.testVariousTypeReferences

ImportTest-query-nchoices1 expected:<0> but was:<1>
Stack trace
java.lang.AssertionError: ImportTest-query-nchoices1 expected:<0> but was:<1>
	at org.eclipse.jdt.ui.tests.core.ImportOrganizeTest.lambda$0(ImportOrganizeTest.java:104)
	at org.eclipse.jdt.core.manipulation.OrganizeImportsOperation.createTextEdit(OrganizeImportsOperation.java:620)
	at org.eclipse.jdt.core.manipulation.OrganizeImportsOperation.run(OrganizeImportsOperation.java:565)
	at org.eclipse.jdt.ui.tests.core.ImportOrganizeTest.testVariousTypeReferences(ImportOrganizeTest.java:345)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testAssignToLocal18

Wrong number of proposals, is: 0, expected: 3
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 3

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testAssignToLocal18(AssistQuickFixTest.java:1224)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testMissingEnumConstantsInCase1

Wrong number of proposals, is: 0, expected: 4
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 4

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testMissingEnumConstantsInCase1(AssistQuickFixTest.java:8343)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testMissingEnumConstantsInCase2

Wrong number of proposals, is: 0, expected: 3
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 3

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testMissingEnumConstantsInCase2(AssistQuickFixTest.java:8447)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testMissingEnumConstantsInCase3

Wrong number of proposals, is: 0, expected: 2
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 2

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testMissingEnumConstantsInCase3(AssistQuickFixTest.java:8538)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testMissingEnumConstantsInCase4

Wrong number of proposals, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testMissingEnumConstantsInCase4(AssistQuickFixTest.java:8616)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite AssistQuickFixTest.testMissingEnumConstantsInCase5

Wrong number of proposals, is: 0, expected: 2
Stack trace
java.lang.AssertionError: 
Wrong number of proposals, is: 0, expected: 2

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProposals(QuickFixTest.java:486)
	at org.eclipse.jdt.ui.tests.quickfix.AssistQuickFixTest.testMissingEnumConstantsInCase5(AssistQuickFixTest.java:8675)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testUnimplementedEnumConstructor

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testUnimplementedEnumConstructor(LocalCorrectionsQuickFixTest.java:3626)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase1

Wrong number of problems, is: 0, expected: 3
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 3

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:201)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase1(LocalCorrectionsQuickFixTest.java:11943)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase2

Wrong number of problems, is: 0, expected: 2
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 2

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:201)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase2(LocalCorrectionsQuickFixTest.java:12038)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase3

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase3(LocalCorrectionsQuickFixTest.java:12122)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase4

Wrong number of problems, is: 0, expected: 3
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 3

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:201)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testMissingEnumConstantsInCase4(LocalCorrectionsQuickFixTest.java:12185)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testMissingHashCode1

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:201)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testMissingHashCode1(LocalCorrectionsQuickFixTest.java:12279)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testUnnecessaryElse4

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testUnnecessaryElse4(LocalCorrectionsQuickFixTest.java:8142)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite LocalCorrectionsQuickFixTest.testUnnecessaryElse5

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testUnnecessaryElse5(LocalCorrectionsQuickFixTest.java:8192)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings1

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings1(ModifierCorrectionsQuickFixTest.java:3377)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings2

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings2(ModifierCorrectionsQuickFixTest.java:3412)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings3

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.ModifierCorrectionsQuickFixTest.testUnusedSuppressWarnings3(ModifierCorrectionsQuickFixTest.java:3447)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite UnresolvedMethodsQuickFixTest.testMethodInArrayAccess

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.UnresolvedMethodsQuickFixTest.testMethodInArrayAccess(UnresolvedMethodsQuickFixTest.java:1946)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

AutomatedSuite QuickFixTestSuite UnresolvedVariablesQuickFixTest.testVarInArrayAccess

Wrong number of problems, is: 0, expected: 1
Stack trace
java.lang.AssertionError: 
Wrong number of problems, is: 0, expected: 1

	at org.junit.Assert.fail(Assert.java:89)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertNumberOfProblems(QuickFixTest.java:242)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:217)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:212)
	at org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.collectCorrections(QuickFixTest.java:194)
	at org.eclipse.jdt.ui.tests.quickfix.UnresolvedVariablesQuickFixTest.testVarInArrayAccess(UnresolvedVariablesQuickFixTest.java:2904)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)