#vulnerable code 
                              @Test
  public void testMarkNotSupported() throws Exception {
    byte[] plaintext = getRandomBytes(1);

    final String password = "Testing1234";

    JNCryptor cryptor = new AES256JNCryptor();
    byte[] data = cryptor.encryptData(plaintext, password.toCharArray());
    
    InputStream in = new AES256JNCryptorInputStream(new ByteArrayInputStream(
        data), password.toCharArray());
    
    assertFalse(in.markSupported());
  } 
                            #location 13 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                              @Test
  public void testMarkNotSupported() throws Exception {
    byte[] plaintext = getRandomBytes(1);

    final String password = "Testing1234";

    JNCryptor cryptor = new AES256JNCryptor();
    byte[] data = cryptor.encryptData(plaintext, password.toCharArray());
    
    InputStream in = new AES256JNCryptorInputStream(new ByteArrayInputStream(
        data), password.toCharArray());    
    assertFalse(in.markSupported());
    in.close();
  }