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.
In a discussion on nbdev, Petr and Jesse advised that most (but not all) uses of a leading '/' in an image resource name are extraneous and result in another string being created to strip it off. Javadoc for all image related methods should advise whether a relative or absolute path is required and whether to use the leading '/'.
Will do so, and will also give a runtime warning in the log file re. extraneous initial slashes. Ditto relative paths in SystemAction.iconResource which are unnecessary and inherently dangerous in the presence of subclassing.
committed * Up-To-Date 1.2 apisupport/src/org/netbeans/modules/apisupport/lite/resources/actions-__Sample_callable__Action_java committed * Up-To-Date 1.3 apisupport/src/org/netbeans/modules/apisupport/lite/resources/datasystems-__Sample__DataLoaderBeanInfo_java committed * Up-To-Date 1.3 apisupport/src/org/netbeans/modules/apisupport/lite/resources/datasystems-__Sample__DataNode_java committed * Up-To-Date 1.2 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Actions_API/__Sample_cookie__Action_java committed * Up-To-Date 1.4 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Actions_API/__Sample_grouping__Action_java committed * Up-To-Date 1.3 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Actions_API/__Sample_node__Action_java committed * Up-To-Date 1.3 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Actions_API/__Sample_submenu__Action_java committed * Up-To-Date 1.4 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Nodes_API/__Sample_container__Node_java committed * Up-To-Date 1.2 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Nodes_API/__Sample_leaf__Node_java committed * Up-To-Date 1.5 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Window_System_API/TopComponent_java committed * Up-To-Date 1.3 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Window_System_API/WizardAction_java committed * Up-To-Date 1.7 openide/api/examples/org/netbeans/examples/scripts/ExampleTextAction.java committed * Up-To-Date 1.14 openide/src/org/openide/awt/ToolbarButton.java committed * Up-To-Date 1.48 openide/src/org/openide/nodes/AbstractNode.java committed * Up-To-Date 1.19 openide/src/org/openide/util/Bundle.properties committed * Up-To-Date 1.10 openide/src/org/openide/util/IconManager.java committed * Up-To-Date 1.80 openide/src/org/openide/util/Utilities.java committed * Up-To-Date 1.55 openide/src/org/openide/util/actions/SystemAction.java
Fixed in openide/core BeanInfos and Actions
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.
Integrated into 'main-silver', will be available in build *201603120306* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/62528afb22ad User: Alexander Simon <alexvsimon@netbeans.org> Log: fix WARNING [org.openide.util.ImageUtilities]: Initial slashes in Utilities.loadImage deprecated (cf. #20072): /org/netbeans/modules/dlight/terminal/action/terminal_options.png