--- a/ImmutableByteArray.st Thu Jul 19 19:34:43 2012 +0200
+++ b/ImmutableByteArray.st Thu Jul 19 19:34:51 2012 +0200
@@ -56,20 +56,20 @@
'ArraysAreImmutable' to true or use the new launchers settings menu.
ATTENTION:
- there may be still code around which checks for explicit class being ByteArray
- (both in Smalltalk and in primitive code). All code like foo 'class == ByteArray'
- or '__isByteArray' will not work with ImmutableByteArrays.
- A somewhat better approach would be to either add a flag to the object (mutability)
- and check this dynamically (expensive) or to place immutable objects into a readonly
- memory segment (the good solution). We will eventually implement the second in the future...
+ there may be still code around which checks for explicit class being ByteArray
+ (both in Smalltalk and in primitive code). All code like foo 'class == ByteArray'
+ or '__isByteArray()' will not work with ImmutableByteArrays - consider using '__isByteArrayLike()'.
+ A somewhat better approach would be to either add a flag to the object (mutability)
+ and check this dynamically (expensive) or to place immutable objects into a readonly
+ memory segment (the good solution). We will eventually implement the second in the future...
[see also:]
- ImmutableString
- ImmutableArray
- Parser Scanner
+ ImmutableString
+ ImmutableArray
+ Parser Scanner
[author:]
- Claus Gittinger
+ Claus Gittinger
"
! !
@@ -189,5 +189,5 @@
!ImmutableByteArray class methodsFor:'documentation'!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ImmutableByteArray.st,v 1.9 2012-04-21 16:01:08 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ImmutableByteArray.st,v 1.10 2012-07-19 17:34:51 stefan Exp $'
! !