IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Found a Potential Bug in Java?
I've been working with StringBuffers a lot and have found some pretty scary stuff.

Don't know if these are bugs or now.

Apparently, the "pointer" inside the StringBuffer which holds the actually text field can go out of scope and disappear, even though the StringBuffer is still around. The interpreter reassigns the internal memory to null, and you lose your contents when you return to the caller.

Ugly! You have to use functions like replace to avoid the problem.

Is this a bug? Me thinks so...

Glen Austin
New Re: Found a Potential Bug in Java?
I've used Java a lot and rely on StringBuffers. I have never had any trouble with them.

What version of Java, what system? Sun...ah...doesn't exactly shine in software. I'm Mac based but we have Windoze versions of our software. We ship the IBM vm (1.1.8) with the code to be sure we know there is one on the target machine and that we know which one we are running under. IBM's 1.1.8 is faster than Sun's piece of trash. I'm unsure about 1.2 and 1.3. We're only getting to 1.3 now (skipping 1.2) since we now run MacOSX and it has 1.3...at least that is what it claims....haven't verified that yet.
Gerard Allwein
     Found a Potential Bug in Java? - (gdaustin) - (1)
         Re: Found a Potential Bug in Java? - (gtall)

Phrasers on STUN er SHUN!
31 ms