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.
I'd like to make this checkin (you know, if I had access :) It seems as though BuildProjectAction in the deprecated jar is refreencing the wrong bundle. RCS file: /cvs/openide/deprecated/src/org/openide/actions/BuildProjectAction.java,v retrieving revision 1.3 diff -r1.3 BuildProjectAction.java 38c38 < return NbBundle.getBundle(BuildProjectAction.class).getString("BuildProject"); --- > return NbBundle.getBundle("org.openide.deprecated.Bundle", Locale.getDefault(), BuildProjectAction.class.getClassLoader()).getString("BuildProject");
Sorry, that last diff was incomplete. I just ran with this compiled in, and it worked fine: Index: src/org/openide/actions/BuildProjectAction.java =================================================================== RCS file: /cvs/openide/deprecated/src/org/openide/actions/BuildProjectAction.java,v retrieving revision 1.3 diff -r1.3 BuildProjectAction.java 38c38 < return NbBundle.getBundle(BuildProjectAction.class).getString("BuildProject"); --- > return NbBundle.getBundle("org.openide.deprecated.Bundle", java.util.Locale.getDefault(), BuildProjectAction.class.getClassLoader()).getString("BuildProject"); Index: src/org/openide/actions/CompileProjectAction.java =================================================================== RCS file: /cvs/openide/deprecated/src/org/openide/actions/CompileProjectAction.java,v retrieving revision 1.3 diff -r1.3 CompileProjectAction.java 38c38 < return NbBundle.getBundle(CompileProjectAction.class).getString("CompileProject"); --- > return NbBundle.getBundle("org.openide.deprecated.Bundle", java.util.Locale.getDefault(), CompileProjectAction.class.getClassLoader()).getString("CompileProject");
Fixed in [trunk] openide/deprecated/../actions/BuildProjectAction.java 1.4
Needs to mark as fixed.
Created attachment 9493 [details] Diff of patch
Created attachment 9494 [details] patch
The fix is safe, points to existing bundle. without it when processing the code, MissingResourceException would be thrown. It occured, when was done the separation of older open API, it was just forgotten.
Fine, but forgot to also fix CompileProjectAction.
> Fine, but forgot to also fix CompileProjectAction. so fix it too, and please attach a combined diff/patch here for 3.5. Thx
Fixed in [trunk] also for CompileProjectAction openide/deprecated/../actions/CompileProjectAction.java 1.4
Created attachment 9510 [details] diff of patch for [release35] branch
Created attachment 9511 [details] patch for [release35] branch
patch verified
approved by release coordinator, I also reviewed the diff
Merged into [release35] branch openide/deprecated/../actions/BuildProjectAction.java 1.3.34.1 CompileProjectAction.java 1.3.34.1
verified