-
Notifications
You must be signed in to change notification settings - Fork 93
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
ClassCastException AsyncCompletionProposalPopup in ContinuousTypingCompletionTest #1835
Comments
This is a regular classCastException, not a classloader issue. ComputingProposal is not an instance of AbstractJavaCompletionProposal. The question is what has changed: is it that ComputingProposal is now returned (ie completion in JDT being async?) or that AbstractJavaCompletionProposal is freshly expected? |
I could not find any recent change that made the test work again. |
…1835 AsyncCompletionProposalPopup defers the actual AbstractJavaCompletionProposal proposals. Test has to wait for async proposals to be calculated. eclipse-jdt#1835
it's a race condition. Probably something got faster or slower. Found a way to fix it by appropriate wait. |
…1835 AsyncCompletionProposalPopup defers the actual AbstractJavaCompletionProposal proposals. Test has to wait for async proposals to be calculated. eclipse-jdt#1835
AsyncCompletionProposalPopup defers the actual AbstractJavaCompletionProposal proposals. Test has to wait for async proposals to be calculated. #1835
ContinuousTypingCompletionTest.testContinousTypingSelectsTopProposal failed in
https://download.eclipse.org/eclipse/downloads/drops4/I20241204-1800/testresults/html/org.eclipse.jdt.text.tests_ep435I-unit-macosx-x86_64-java17_macosx.cocoa.x86_64_17.html
locally reproducable on win
cc @mickaelistria @testforstephen because you are working on classloader issues - any idea?
The text was updated successfully, but these errors were encountered: