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

  • The Tomorrow War

    Gretchen and I got around to watching this tonight. As I said to Gretchen at one point during the film, it's the best bad movie I've seen in a while.…

  • Fzzzt!

    On Saturday, Julie called me to come to the basement, because there was a horrible high-pitched noise that had gone away by the time I got there. I…

  • Here Comes the Rain Again

    The thunderstorms have arrived. Boy, have they arrived! Happily, I got the electrostatic air filters back off the patio where I had taken them out…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded