Originally Posted by
Programming_Hobbyist
You people seem to be obsessed with proving me wrong. In fact, you pointed out the error yourself. The write bytes was only writing 1 line of the code - it shouldn't have been. Since I wasn't including the 3rd field, it should've just been creating a new one.
I've heard 20 "you're wrongs" so far - even before people have read my argument. Interesting.
We are trying to help you understand what's going on in your code, since you have a pretty big misunderstanding of how things work. But you keep saying "there's a bug in Java" without actually showing us what you're talking about. Show us what you're talking about, and we'll be more than happy to help you understand what's going on.
It's pretty clear that what happened was you made a programming error or didn't understand the API you were using. That's okay, but it's not a bug in Java. Like I said back in my first reply, resorting to blaming the language or a compiler or a tool instead of yourself is a pretty common novice mistake, and *that* is what we're trying to help you understand.
But if all you want to do is bicker, I can lock this thread. I'd much rather you post the code you're talking about so we can help you understand what's going on, but it's up to you.