()
| 475 | } |
| 476 | |
| 477 | public void testGetBytesBadEncoding() throws Exception { |
| 478 | byte[] buf = Native.getBytes(getName(), "unsupported"); |
| 479 | assertEquals("Incorrect fallback bytes with bad encoding", |
| 480 | getName(), new String(buf, Charset.defaultCharset().name())); |
| 481 | } |
| 482 | |
| 483 | public void testFindDirectMappedClassFailure() { |
| 484 | try { |