Ticket #1581 (new defect)

Opened 13 years ago

Last modified 13 years ago

incorrect SWTRegistry initialization in SWTBuilder

Reported by: tracguest Owned by: bstefanescu
Priority: P1 Milestone:
Component: Apogee Version: 3.0.0
Severity: normal Keywords:
Cc:

Description

In first line: protected static SWTRegistry sRegistry = new SWTRegistry();

should be replaced by: protected static SWTRegistry sRegistry = SWTRegistry.getInstance();

This way people that add to the registry will have their proxies found. Otherwise creating a new instance will re-initialize the registry with default values. Should really make the constructor protected and allow the static access.

Change History

comment:1 Changed 13 years ago by root

  • Milestone CPS 3.2.5 deleted

Milestone CPS 3.2.5 deleted

Note: See TracTickets for help on using tickets.