Skip navigation links

Introduction

This document lists changes made to the API between core/startup and core modules. It is a friend API so it does not need to be developed compatibly, and indeed it is not.


Index of APIs

Incompatible changes by date

Fuller descriptions of all changes can be found below (follow links).

Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.

All changes by date

Changes by version

These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:

OpenIDE-Module-Module-Dependencies: org.netbeans.bootstrap > 1.20

Changes by affected class

org.netbeans.ModuleManager


Details of all changes by API and date


Launcher & CLI

Can use classloader to check access to bootstrap classes

Sep 5 '18; API spec. version: 2.80; affected top-level classes: ModuleManager; made by: sdedic

Bootstrap classloaders are not paired with a single module, yet they should obey visibility restrictions. The added method allows to check also accesses to resources served by bootstrap classloaders.

This change will hide classes (namely org.objectweb.asm, but also some core impl classes) that were visible in Apache NetBeans 9.0 release from NetBeans platform applications.

Disable fallback cache

Jul 4 '14; API spec. version: 2.69; made by: jtulach; issues: #237919

Special property to disable usage of shared, installation caches netbeans.fallback.cache with special value which can be none.

Ability to join other module

Apr 11 '14; API spec. version: 2.71; made by: sdedic; issues: #243561

Module can be declared as Module Fragment to join other module loader. Fragment classes may ask to be bytecode-patched as superclasses of API classes to preserve compatibility.

Ability to patch classes

Nov 14 '13; API spec. version: 2.66; made by: jtulach; issues: #237919

Define your Agent-Class to participate in patching other classes.

Property to replace DuplicateException with warning log only

Jul 24 '13; API spec. version: 2.63; made by: mantlik; issues: #232229

See netbeans.ignore.dupmodule for details.

Launcher does not provide proxy setting properties.

Apr 2 '13; API spec. version: 2.60; made by: lfischme; issues: #201731

Launcher does not provide netbeans.system_http_proxy and netbeans.system_http_non_proxy_hosts properties anymore. Proxy settings are now detected in Core Network module.

Property to disable CLI server

Feb 15 '13; API spec. version: 2.58; made by: jtulach; issues: #225895

See org.netbeans.CLIHandler.server for details.