lkishalmi commented on a change in pull request #2490:
URL: https://github.com/apache/netbeans/pull/2490#discussion_r511772417
##########
File path:
extide/gradle/src/org/netbeans/modules/gradle/cache/ProjectInfoDiskCache.java
##########
@@ -83,7 +86,7 @@ public QualifiedProjectInfo(Quality quality, NbProjectInfo
pinfo) {
@Override
public Map<String, Object> getExt() {
- return Collections.emptyMap();
+ return ext != null ? ext : Collections.emptyMap();
Review comment:
Actually this is the primary fix. The transient data (I called that ext
for whatever reason) shall be not cached to the disk, but when NetBeans process
the project information it holds important data on binary, source and javadoc
location which are stored in the GradleAtrifactStore. Returning an empty map
when the project is not restored from serialization, made that these location
data were never stored in the artifact store.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists