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.
A few references to openide.text API is still in java.source.base - NbDocument and PositionRef. According to offline discussion, PositionRef can be removed from the API (with some provisions for backward binary compatibility), NbDocument services can be replaced by other APIs introduced recently in editor.document module. The API change (compatible) is that org.openide.text.PositionRef will implement j.s.t.Position directly (discussed with Tomas Z.) - this allows compatibility bridges to extract necessary data for old clients. Change is to be committed into server_split jet-main branch.
Additional fixes were necessary in: * j2ee.ejbverification/src/org/netbeans/modules/j2ee/ejbverification/fixes/ExposeBusinessMethod.java * websocket/src/org/netbeans/modules/websocket/editor/WebSocketMethodsTask.java Please review whether the fix is acceptable - saving the file (verification) may now be even unnecessary. Implemented in jet-main#733fc267c72e (branch server_split)
Thanks Svato for the code change, looks well, just one note ... Shouldn't be there (2.26): docToSave = target.getLookup().lookup(CloneableEditorSupport.class); instead of: target.getLookup().lookup(CloneableEditorSupport.class);
(In reply to Martin Fousek from comment #2) > Thanks Svato for the code change, looks well, just one note ... > Very, very politely said :) Thanks for the review -- hopefully will be fixed in jet-main#9b968f378c77
Integrated into 'main-silver', will be available in build *201410180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/733fc267c72e User: Svata Dedic <sdedic@netbeans.org> Log: #244744: openide.text dependency removed from java.source.base, clients updated