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 - in layer.xml Editors/text/x-cnd+sourcefile/org-netbeans-modules-cnd-editor-folding-FakeHighlightsFactory instance is not created after the platform split
Summary: in layer.xml Editors/text/x-cnd+sourcefile/org-netbeans-modules-cnd-editor-fo...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-02-24 07:39 UTC by ilia
Modified: 2015-03-06 04:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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