add spec for array coercion
Do not rescue java.lang.Error using StandardError

This in effect injects java.lang.Error as a subclass of Ruby Exception,
instead of StandardError as was previously the case.

This fixes #1696
get lib/pom.rb in sync with master and use jruby-openssl-0.9.5.dev until the next release
generated pom.xml
add ffi gem to the list of default gems to complete - krypt depends on it but the java gem is actually empty
Treat SSL NOT_HANDSHAKING as FINISHED to enable use on Android.
quote variables so works with directories with spaces
Merge pull request #1708 from tduehr/to_a

add spec for array coercion
Merge pull request #1697 from grddev/rescue_java_errors_only_with_exception

Do not rescue java.lang.Error using StandardError
Fix changing encoding on shared ByteList
* Keep consistent Gem version using '.' instead of '-' as delimiter.
String#rindex should handle matchdata strings

A string extracted from a matchdata object shares the same
byte array as the string it was matched against. When doing a
rindex between a string from a matchdata and the string the matchdata
was matched against the same byte array is passed into ByteList.memcmp
which will always return 0 as ByteList.memcmp just checks for equality
of the byte arrays.

I fix this by passing bytes() instead getUnsafeBytes() into the
ByteList.memcmp method so that the byte arrays are different.

Fixes #1688
fixed issue 1517
change test case
add test case
make the layout lazy on StructByReference to allow to use self.ptr inside the layout. possible fix for #1729

Conflicts:
	spec/ffi/managed_struct_spec.rb
[GH-1726] - File.read should raise an Errno::ENOENT when the file is an empty String.

File.read it's currently raising EncodingUtils.java:597:in `encAscget':
java.lang.ArrayIndexOutOfBoundsException: 0

But it should raise an Errno::ENOENT to keep the MRI compatibility.
Merge pull request #1703 from k77ch7/GH-1695

Fix for issue #1695
Make behavior of Array#eql? more closely match MRI
Fix typo