Project: JDT
Bug 92967 SelectionButtonDialogFieldGroup accesses unitialized field
Reported: 2005-04-27 14:17:10 | Status: verified fixed

I0426, found with FindBugs Line 68 in SelectionButtonDialogFieldGroup looks like: if (fButtonsStyle == SWT.RADIO) { But fButtonsStyle is guaranteed to be 0 at this point since it hasn't been initialized yet. This should probably either be "buttonsStyle", or not done until after "fButtonsStyle= buttonsStyle;".

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java