Project: Eclipse_Platform_UI
Bug 139067 [IDE] Compile errors against Foundation 1.0: org.eclipse.ui.workbench
Reported: 2006-04-27 16:53:06 | Status: verified fixed

n0426 When compiling the org.eclipse.ui.workbench project against Foundation 1.0 class libraries we get the following compile errors due to use of JDK 1.4 APIs. There is also use of java.util.regrex classes. If this is appropriate, then the code which calls this should be guarded against running when the package is not available. The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus MenuElement.java line 305 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus MenuElement.java line 305 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SActionSet.java line 235 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SActionSet.java line 235 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SActionSet.java line 312 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SActionSet.java line 312 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SGroup.java line 152 The method valueOf(String) in the type Boolean is not applicable for the arguments (boolean) org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus SGroup.java line 153 ------------------------------------------------------------- There are also several errors where method references and/or field access needs to be fully qualified to remove ambiguity. The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 213 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 214 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 215 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 216 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 219 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 379 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 380 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 382 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 382 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 383 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 384 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 387 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 490 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 491 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 492 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 492 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 493 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 494 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 497 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 648 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 649 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 650 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 650 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 651 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 652 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 655 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 747 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 748 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 749 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 750 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 753 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 837 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 838 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 839 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 839 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 840 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 841 The field hashCode is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal ActionExpression.java line 844 The field workbench is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs ExportWizard.java line 49 The method getPresentation is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal FastViewPane.java line 98 The method getPresentation is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal FastViewPane.java line 103 The method getPresentation is defined in an inherited type and an enclosing scope org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal FastViewPane.java line 147

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewPane.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ExportWizard.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/MenuElement.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/SActionSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/SGroup.java