PR java/16675:
* parse.y (craft_constructor): Special case null_pointer_node.
From-SVN: r91657
+2004-12-02 Tom Tromey <tromey@redhat.com>
+
+ PR java/16675:
+ * parse.y (craft_constructor): Special case null_pointer_node.
+
2004-12-02 Tom Tromey <tromey@redhat.com>
PR java/18741:
/* Then if there are any args to be enforced, enforce them now */
for (; args && args != end_params_node; args = TREE_CHAIN (args))
{
+ /* If we see a `void *', we need to change it to Object. */
+ if (TREE_VALUE (args) == TREE_TYPE (null_pointer_node))
+ TREE_VALUE (args) = object_ptr_type_node;
+
sprintf (buffer, "parm%d", i++);
parm = tree_cons (get_identifier (buffer), TREE_VALUE (args), parm);
}