This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -fuse-divide-subroutine


Bryce> It seems to be because ClassNotFoundException is importing
Bryce> ObjectInputStream. This looks odd to me, as if someone
Bryce> accidentally pasted some code in there.

That class has writeObject and readObject methods, so I think it needs
the import.

Bryce> One fix would be to put a dummy Configuration.java into the
Bryce> source tree which the checks can use, then make sure that
Bryce> Configuration.java is built first so that the real build
Bryce> doesn't accidentally pick up the dummy version.

We could do this in configure by putting it into a temporary directory
and then deleting it when we're done.  Having a dummy
Configuration.java around all the time could lead to confusion.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]