Label javadocs not in agreement with source (6.7.4)

The method isReadOnly is supposed to return false always, but instead returns dataSource.isReadOnly or throws an IllegalStateException if dataSource is null. If it is really supposed to return false, it should just return false and the method setReadOnly should either throw an exception or fail silently if called.

I think you should open a ticket for that before it gets lost in the forum

As the original poster did not file a ticket, added a comment about this in