Bug 548784 - Incremental compilation is intermittent
Summary: Incremental compilation is intermittent
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-29 07:54 EDT by Ed Willink CLA
Modified: 2023-06-19 04:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2019-06-29 07:54:52 EDT
In 2019-06 I am finding that the error/warning squiggles are often inconsistent and do not update at all. Previously there was sometimes a one/two second lag, but eventually they appeared..

e.g. the following function within

org.eclipse.qvtd.xtext.qvtrelation.tests.QVTrCompilerTests

contains a double error as a consequence of a partial edit.

	protected void checkLoadability(@NonNull URI testURI) {
		OCL ocl = OCL.newInstance(getTestProjectManager());
		Resource resource = ocl.getResourceSet().getResource(testURI, true);
		assertNoResourceErrors("Load " + testURI, qvtsResource);
		assertNoUnresolvedProxies("Load " + testURI, qvtsResource);
		ocl.dispose();
	}

No errors are shown until the file is saved at which point the correct red squiggles occur under the two "qvtsResource" references that have yet to be changed to "resource".

While the errors are missing, hovering over "qvtsResource" gives no hovertext to explian where the 'satisfactory' definition is.
Comment 1 Ed Willink CLA 2019-06-29 08:01:06 EDT
After saving and then editing to remove the errors hovering over the corrected "resource" text gives the usual popup to the effect that "qvtsResource" cannot be resolved to a variable.

It seems the in-memory incremental compilation is not happening.
Comment 2 Eclipse Genie CLA 2021-06-21 15:56:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2023-06-17 12:03:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Ed Willink CLA 2023-06-19 04:08:05 EDT
Cannot be stale till triaged by a relevant committer.