#vulnerable code 
                             @Test public void testIllegalReadObjectInstedOfArray() throws IOException {
		String src = "[1,2]";
		JsonReader reader = new JsonReader(new StringReader(src));
		try {
			reader.beginObject();
			fail();
		} catch (IllegalStateException ise) {}
	} 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             @Test public void testIllegalReadObjectInstedOfArray() throws IOException {
		String src = "[1,2]";
		JsonReader reader = new JsonReader(new StringReader(src));
		try {
			reader.beginObject();
			fail();
		} catch (IllegalStateException ise) {}
		reader.close();
	}