This is the mail archive of the java-patches@gcc.gnu.org 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: Patch: core protocol take 2


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> I've made some of Per's suggested changes, fixed a bug with
Anthony> how core_chain nodes were being allocated, and removed some
Anthony> debugging output.

Overall this looks good to me.
I have two questions/comments.

Anthony> +static core_chain *root;

Should references to this be synchronized?

Anthony> +    else if (protocol.equals ("core"))
Anthony> +      {
Anthony> + 	handler = new gnu.gcj.protocol.core.Handler ();
Anthony> +      }

Is this code really needed?
I think we can just access the core handler via the Class.forName code
after this `if' -- that is, only the file handler needs a special
case.

Tom


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