Ticket #1198 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Detect misconfigured plugins

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:


We should detect incorrect specifications of plugin @Parameters and warn the user rather than running the plugin.

Example broken configurations:

  • tagging an inherited base class's @Parameters as private rather than protected (the values cannot be filled in correctly and are set to null)
  • tagging @Parameters as final

Change History

comment:1 Changed 8 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta3

Fixed in c9e4fb7d54ec2334e8d0e8f40de95c2aecea5400 and 7d8e25f933166d2aeea8a3c418833d6fc83a1c3b.

I decided to allow private @Parameters in ancestor classes, as long as no two parameters have the same name (i.e., no private fields are shadowed in a subclass).

Note: See TracTickets for help on using tickets.