Bill Roper (billroper) wrote,
Bill Roper


So I've got the clock opened up and spread across the floor on my work computer as I try to rearrange some of the very early utility code that I wrote in Java to be a good bit cleaner than my original implementation. This means that pretty much nothing was compiling.

But one of my co-workers is working on some code using my new request factory on his machine, so I've been updating the various classes that it needs and checking them in so that he can get what he needs. Since this is the first field test of the request factory, it's not surprising that I needed to update it.

And then I discovered that some of the XML that we're being sent is in nothing like the format that I'd expected. I figured out how to work around that, but in order to do it, I need to change the two functions that read the XML for an object (one for attributes; the other for embedded elements) so that they return a boolean value to indicate whether or not they've processed a particular attribute or element. (Before this latest development, a void return had been just fine.)

Almost every object implements the XMLSerialize interface that I wrote, which means they define the XML reading functions, which mean that they all need to return a value that they didn't return before, so they all have to be modified.

Each compilation in JDeveloper will find exactly one file that lacks the return values.

It strikes me that this is a sub-optimal approach to compilation...
Tags: home, java, musings, work

  • Steps

    Today is better than yesterday. Still short on solutions, but maybe I can get some time to sort things out. Thanks, folks.

  • Well, That Escalated Quickly

    Today could have been better. Much better.

  • The More You Know

    The problem with getting older is that -- although you may know more than you did when you were younger -- it seems like there are more and more…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded