Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The tests for Optimized strings check on how multiple strings can be packed into one shared char[]. To do some of the tests, it needs to check the offset of the String chars in the shared array, which is not available, normally. To do this it uses reflection of the "offset" field of the String implementation. IF the String implementation for a particular Java doesn't have this field, the test fails. Change this to make the test continue with a warning message to the error output stream that part of the test is being skipped.