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: | [server_split] Binary compatibility patch support | ||
---|---|---|---|
Product: | platform | Reporter: | Svata Dedic <sdedic> |
Component: | Module System | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jhavlin, jtulach, tzezula |
Priority: | P1 | Keywords: | API, API_REVIEW_FAST |
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 247159, 243683 | ||
Attachments: | Proposed changes |
Description
Svata Dedic
2014-04-04 11:37:39 UTC
Summary of changes (patch will follow shortly): 1/ API in openide.modules: @PatchFor, @ConstructorDelegate, manifest entry defined in @PatchFor. Annotation Processor enhanced to work with @PatchFor 2/ Changes in o.n.bootstrap: * Processing of @PatchFor and @ConstructorDelegate (no API) * Reading of manifest entries, processing OpenIDE-Module-Fragment-Host * Ability to merge into other module's classloader, fragments use the host classloader 3/ Visible API changes Possible serialization incompatbility - ModuleData serializes the fragmentHostCodeName. Friend API change: public void refineClassLoader(Module m, List parents); changed to public ClassLoader refineClassLoader(Module m, List parents); 4/ Inclusion of OW2 ASM 5.0 library Created attachment 146649 [details]
Proposed changes
Proposed changes to openide.modules, o.n.bootstrap
Note: the target for the patch is the server_split branch committed to branch server_split as jet-main#30cc839f4091 Y01 Serialization is not a problem Y02 description of functionality should not be in apichanges.xml. Rather put it into Javadoc of @PatchFor & co. and just link to it from apichanges.xml Y02 addressed in jet-main#0afbfa1021d6 (server_split branch) Note: After successful review, I am going to merge the changes into trunk. 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/30cc839f4091 User: Svata Dedic <sdedic@netbeans.org> Log: #243561: support for runtime bytecode patching of superclass and constructor generation, support for fragment modules (see OSGi) done? |