Java is being bitch about adding and initializing fields in Object. But why should these things be easy anyway? It’s a frickin’ field, after all… I’m going to bed.


Argh… I woke up and realized I may have to make the field transient so that it doesn’t get serialized. Nope. Wasn’t it. Having my hopes crushed is so heart-breaking.


Ok… apparently it just isn’t possible to add fields to java.lang.Object. I guess now my alternative strategy is to add a field to every class that extends java.lang.Object. Weee!


About Mathias

Software development engineer. Principal developer of DrJava. Recent Ph.D. graduate from the Department of Computer Science at Rice University.
This entry was posted in Concurrent Unit Testing. Bookmark the permalink.

Leave a Reply