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.
The org.netbeans.modules.xml.text.syntax package uses ancient lexer which is both slow an unmaintained. This package is an API and contains reference to TokenItem etc, so it cannot be really fixed. New API should be created, which uses the new lexer (or does not expose lexer types at all). Modules in NB distro should be upgraded to use the new API; the old API should move to a "obsolete" module, which will be injected into build/runtime using module-auto-deps feature.
Created attachment 162361 [details] Proposed changes + module updates Changes proposed to modules: xml.text -- deprecate / remove obsolete classes, provide alternative API xml.text.obsolete90 -- new home for obsoleted classes xml.lexer, xml.catalog -- annotation-based registrations, easier consumable by tests Implied changes: xml.schema.completion, web.beans, spring.beans, j2ee.persistence, hibernate -- updated implementation of (mainly) completion to use new API
Implemented in jet-main#4737d428b104. I've updated these JEE modules: * hibernate * j2ee.persistence * spring.beans * web.beans * jsp.core.syntax to the new API.
Integrated into 'main-silver', will be available in build *201610200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4737d428b104 User: Svata Dedic <sdedic@netbeans.org> Log: #268342: Syntax API based on ExtSupport moved to obsolete module; new API created in xml.text, dependent module updated