Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The @Singleton transform creates a private no-arg constructor (and in fact provides an implementation which throws an exception) but it doesn't complain if other constructors are already present. Other constructors would allow the Singleton pattern to be violated and so should result in a compile-time error.