Java bootstrap failure for libjava/java/io/FilePermission.java

Bryce McKinlay bryce@albatross.co.nz
Mon Jan 29 16:31:00 GMT 2001


Alexandre Petit-Bianco wrote:

> > Actually, I think its because the Java front end never calls
> > build_common_tree_nodes{_2}. I'm investigating whether we can have
> > it call these instead of duplicating much of the code in its
> > init_decl_processing().
>
> Yeah, it looks like things could be removed and set by
> build_common_tree_nodes. But the Java front-end still needs to create
> its own integer and fp types.

Well, I did that in my tree. It means we can get rid of a couple of dozen
lines in init_decl_processing, but I decided that this doesn't really
clean up the code at all - in most cases we're just overriding the type
information that it sets with the Java-mandated ones. Although that means
the Java front end needs to mirror changes made to
build_common_tree_nodes, it is probibly just as bad to rely on certain
behaviours from it.

Here's the simpler patch which I'm checking now. I'm going to check it in
under obvious fix.

regards

  [ bryce ]



More information about the Gcc-patches mailing list