Skip to content
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

try to get OpenFromClipboardTests.testMethod_11 stable #446

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented May 31, 2024

  • use concurrent data structure for inter-thread communication
  • fix wait for charsetsjobs instead of exclude for waiting for them
  • use monotonic nantotime

@jukzi jukzi force-pushed the OpenFromClipboardTests branch 3 times, most recently from 62b4e6c to e7e0cae Compare June 6, 2024 15:11
* use concurrent data structure for inter-thread communication
* fix wait for charsetsjobs instead of exclude for waiting for them
* use monotonic nantotime
* dump stacktrace instead of "owner" String

eclipse-jdt#442
@jukzi
Copy link
Contributor Author

jukzi commented Jun 7, 2024

https://ci.eclipse.org/jdt/job/eclipse.jdt.debug-github/job/PR-446/7/consoleText is spammed with 15969 logs regarding "VeryLongClasspathWithClasspathOnlyJar" which was not the case in on master (https://ci.eclipse.org/jdt/job/eclipse.jdt.debug-Github/job/master/89/consoleText contained only 6 like that) :-(

[2024-06-07T07:00:30.939Z] !MESSAGE Failed to retrieve children for lib/library0.jar (not open) [in test ä VeryLongClasspathWithClasspathOnlyJar]
[2024-06-07T07:00:30.939Z] !STACK 1
[2024-06-07T07:00:30.939Z] Java Model Exception: Error in Java Model (code 969): test ä VeryLongClasspathWithClasspathOnlyJar does not exist
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:572)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:233)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.Openable.openAncestors(Openable.java:507)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:227)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:585)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:308)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:294)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:249)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.SearchableEnvironment.hasSubPackageInUnnamedModule(SearchableEnvironment.java:1306)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.SearchableEnvironment.getModulesDeclaringPackage(SearchableEnvironment.java:1054)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment.getUniqueModulesDeclaringPackage(IModuleAwareNameEnvironment.java:113)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.lookup.ModuleBinding$UnNamedModule.getDeclaredPackage(ModuleBinding.java:102)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPlainPackage(LookupEnvironment.java:1118)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:138)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:515)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:855)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:393)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:1037)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:1110)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:280)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:346)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:186)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:92)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:740)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:805)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1311)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:132)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:94)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:91)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:189)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:125)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:139)
[2024-06-07T07:00:30.939Z] 	at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:100)
[2024-06-07T07:00:30.940Z] 	at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:421)
[2024-06-07T07:00:30.940Z] 	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:177)
[2024-06-07T07:00:30.940Z] !SUBENTRY 1 org.eclipse.jdt.core 4 969 2024-06-07 07:00:30.693

@jukzi jukzi marked this pull request as draft June 7, 2024 09:51
@akurtakov
Copy link
Contributor

What is the status of this one?

@jukzi
Copy link
Contributor Author

jukzi commented Aug 15, 2024

What is the status of this one?

its still draft as i did not find the time to get it right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants