On 11/06/2013 05:42 AM, Andrew Haley wrote:
On 11/04/2013 05:21 PM, Jason Merrill wrote:Surely it should be valid to allocate a Java boolean type. Andrew, how should that work?It's not allowed. All objects that are allocated by new must be of class type (i.e. instances of a subclass of java.lang.Object), but boolean is a primitive type.
In that case, Paolo's first patch is OK. Jason