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.

Bug 250647

Summary: in layer.xml Editors/text/x-cnd+sourcefile/org-netbeans-modules-cnd-editor-folding-FakeHighlightsFactory instance is not created after the platform split
Product: editor Reporter: ilia
Component: -- Other --Assignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal CC: sdedic
Priority: P2 Keywords: REGRESSION
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ilia 2015-02-24 07:39:22 UTC
There is an entry in cnd.editor`s layer.xml

Editors/text/x-cnd+sourcefile/org-netbeans-modules-cnd-editor-folding-FakeHighlightsFactory

In 8.0.1 this entry were correctly handled, 
in Dev version FakeHighlightsFactory instance is not created.

It might happened after a platform split.
Comment 1 Vladimir Voskresensky 2015-02-24 14:14:36 UTC
Can you handle this regression, please?
Comment 2 Svata Dedic 2015-02-27 14:53:37 UTC
Found cause. During server-split work, MimeLookup impl over XML layers was separated from DataSystems. Your FakeHighlight* is registered using a shadow file pointing to a common location in the layer, which was originally handled incl. InstanceCookie extraction by DataSystem layer, but was not reimplemented / simulated in the MimeLookup impl.
Comment 3 Svata Dedic 2015-02-27 15:13:50 UTC
Fixed in jet-main#0f62825e781f
Comment 4 Quality Engineering 2015-03-06 04:12:19 UTC
Integrated into 'main-silver', will be available in build *201503060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0f62825e781f
User: Svata Dedic <sdedic@netbeans.org>
Log: #250647: MimeLookup impl follows DataShadows