Fixing CharArrayReader to use itself as its lock, and to make the argument validations required by the spec.

Using the buf as the lock was okay, but the RI uses the CharArrayReader itself and this seems more natural.

git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk@836064 13f79535-47bb-0310-9956-ffa450edef68
1 file changed