This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | CodeCompletion took 12450 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | victork |
Component: | Filesystems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Patch to allow user/dev to turn off logging on FileObjectFactory class |
Description
victork
2013-12-10 10:43:16 UTC
Good idea, but it is already possible to disable the warning. FileObjectFactory::checkCacheState() is called only from assertions, which are enabled only in daily builds, in standard releases they are disabled by default. So if you need better performance in daily builds, you can disable all assertions (-da java attribute). If you want other assertions to be enabled, disable only assertions in FileObjectFactory - start NetBeans with this attribute: -J-da:org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory Thank you very much for the patch, but I would prefer not to add a new system property, but rather use the existing way to disable calling of checkCacheState. Oh thanks - didn't know it is possible to disable them such a way(That can happen to non Java programmers :D) :) Will probably revert the patch and add your flag to the cmd line as it basically does almost the same. |