There is a typo in the action offered by the "finalize() not declared protected" hint: it is "Make pretected" instead of "Make protected".
Thanks for the catch, fixed:
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jan Lahoda <firstname.lastname@example.org>
Log: #221120: typo.