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.
08/01 WARNING [org.openide.loaders.InstanceDataObject]: Instance file MultiFileObject@30aaf3[Editors/text/x-java/Actions/org-netbeans-modules-java-hints-introduce-IntroduceVariableAction.instance] uses instanceCreate attribute, but doesn't define instanceClass attribute. Please add instanceClass attr to avoid multiple instances creation,see details at http://www.netbeans.org/issues/show_bug.cgi?id=131951
WARNING [org.openide.loaders.InstanceDataObject]: Instance file MultiFileObject@30aaf3[Editors/text/x-java/Actions/org-netbeans-modules-java-hints-introduce-IntroduceVariableAction.instance] uses instanceCreate attribute, but doesn't define instanceClass attribute. Please add instanceClass attr to avoid multiple instances creation,see details at http://www.netbeans.org/issues/show_bug.cgi?id=131951 WARNING [org.openide.loaders.InstanceDataObject]: Instance file MultiFileObject@12769e1[Editors/text/x-java/Actions/org-netbeans-modules-java-hints-introduce-IntroduceMethodAction.instance] uses instanceCreate attribute, but doesn't define instanceClass attribute. Please add instanceClass attr to avoid multiple instances creation,see details at http://www.netbeans.org/issues/show_bug.cgi?id=131951 WARNING [org.openide.loaders.InstanceDataObject]: Instance file MultiFileObject@9868b6[Editors/text/x-java/Actions/org-netbeans-modules-java-hints-introduce-IntroduceConstantAction.instance] uses instanceCreate attribute, but doesn't define instanceClass attribute. Please add instanceClass attr to avoid multiple instances creation,see details at http://www.netbeans.org/issues/show_bug.cgi?id=131951 WARNING [org.openide.loaders.InstanceDataObject]: Instance file MultiFileObject@2925e[Editors/text/x-java/Actions/org-netbeans-modules-java-hints-introduce-IntroduceFieldAction.instance] uses instanceCreate attribute, but doesn't define instanceClass attribute. Please add instanceClass attr to avoid multiple instances creation,see details at http://www.netbeans.org/issues/show_bug.cgi?id=131951 W
The 'instanceClass' attribute has never been mandatory, why is it now? And if it is now, why has not #131951 been discussed on apireviews? Or have I missed it? There is surely tons of .instance files in XML layers (certainly under Editors/ folder) that don't define the attribute. Some of them are trivial factories, which are easy to create and there is no harm in creating multiple instance and garbage collecting them again. Also last time I remember Jesse talked about common misconception of defining unnecessary 'instanceClass' attributes... I'm sorry, but I refuse to do anything about it until this API change is properly explained.
Issue 131951 fixed - warning should not appear.