Dnia 25-01-2008, Pt o godzinie 18:19 +0100, Roman Kennke pisze: > Hi, > > > The specification is buggy > > in that it does not take into account the operating system interface > > and makes correct memory management inefficient > > for the benefit of sparing one byte per buffer > > where an OS call is not needed. > > Ridiculous. > > Tom Tromey pointed out another possible problem on IRC: What if the > string itself contains the 0? Unlikely, but possible in the Java world.
I understand that parameters passed to the OS are subject to the limitations of the OS. Not containing a zero inside may be just one of them. The Java specification claims nowhere that every string can be used to name every object. Chris
