equal
deleted
inserted
replaced
182 |
182 |
183 // Test 8: Overflow |
183 // Test 8: Overflow |
184 if (CoderResult.OVERFLOW != |
184 if (CoderResult.OVERFLOW != |
185 Charset.forName("UTF_32") |
185 Charset.forName("UTF_32") |
186 .newDecoder() |
186 .newDecoder() |
187 .decode((ByteBuffer)(ByteBuffer.allocate(4) |
187 .decode((ByteBuffer.allocate(4) |
188 .put(new byte[] |
188 .put(new byte[] |
189 {(byte)0,(byte)1, (byte)0,(byte)01}) |
189 {(byte)0,(byte)1, (byte)0,(byte)01}) |
190 .flip()), |
190 .flip()), |
191 CharBuffer.allocate(1), |
191 CharBuffer.allocate(1), |
192 true)) { |
192 true)) { |