#vulnerable code 
                             @Test public void testIncompleteSource() throws IOException {
		String src = "[1,";
		JsonReader reader = new JsonReader(new StringReader(src));
		try {
			reader.beginArray();
			reader.next();
			reader.next();
			fail();
		} catch (IOException ioe) {}
	} 
                            #location 6 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             @Test public void testIncompleteSource() throws IOException {
		String src = "[1,";
		JsonReader reader = new JsonReader(new StringReader(src));
		try {
			reader.beginArray();
			reader.next();
			reader.next();
			fail();
		} catch (IOException ioe) {}
		reader.close();
	}