asJava(…) creates a read-only view instead of copying elements into a new List. Closes #2217 Original pull request: #287