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.
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.
org.openide.modules.arch.${os_arch}
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.core.startup > 1.20
org.openide.modules.arch.${os_arch}
org.netbeans.core.startup.layers.ArchiveURLMapper
org.netbeans.core.startup.AutomaticDependencies
org.netbeans.core.startup.CoreBridge
org.netbeans.core.startup.base.LayerFactory
org.netbeans.core.startup.layers.LocalFileSystemEx
org.netbeans.core.startup.Main
org.netbeans.core.startup.layers.ModuleLayeredFileSystem
org.netbeans.core.startup.ModuleSystem
org.netbeans.core.startup.layers.NbinstURLMapper
org.netbeans.core.startup.layers.NbinstURLStreamHandler
org.netbeans.core.startup.layers.SystemFileSystem
org.netbeans.core.startup.base.LayerFactory
org.netbeans.core.startup.layers.ArchiveURLMapper
org.netbeans.core.startup.layers.LocalFileSystemEx
org.netbeans.core.startup.layers.ModuleLayeredFileSystem
org.netbeans.core.startup.layers.NbinstURLMapper
org.netbeans.core.startup.layers.NbinstURLStreamHandler
org.netbeans.core.startup.layers.SystemFileSystem
; made by: sdedic
Layered filesystem impl and preferences was split off to core.startup.base module. A SPI was created in core.startup.base and implemented in core.startup for actual FileSystem creation.
Main
; made by: jtulach; issues:
#224479
Method getModuleSystem(false)
to get existing module
system without initializing it.
ModuleSystem
; made by: jtulach
Method shutDownAsync
to allow asynchronous tasks to
accessp EDT. Also in ModuleInstaller
and
ModuleManager
. Also adding method markForRestart
into ModuleSystem
.
AutomaticDependencies
; made by: jrechtacek
Returns instance of AutomaticDependencies based on default list of transformations.
ModuleSystem
; made by: jtulach
Method to allow ergonomics and autoupdate to check if a module is visible in the autoupdate client.
CoreBridge
; made by: jtulach
Main
; made by: jtulach; issues:
#224479
Use
org.netbeans.core.update.all.resources to control how
all-resources.dat
cache is being generated.
New property netbeans.productversion is available.
New property netbeans.bootdelegation is available.
Main
; made by: rkubacki
org.openide.modules.arch.${os_arch}
There are libraries, that are only compatible with a single architecture. Modules wrapping these must be able to signal this and prevent loading. One such example is OpenJFX.
Branding bundles may now include the SplashVersionTextBounds, SplashVersionTextFontSize, SplashVersionTextFontType, SplashVersionTextColor, and SplashVersionTextHorizontalAlignment properties in order to display the application's product version and build number in the startup splash screen.