Disallow explicit signs in java.sql.Date#valueOf()

Bug: 5239391
Change-Id: I52bd621bd6ed46d1ae01abf1be25d1ac3c76d7e0

Conflicts:
	luni/src/main/java/java/sql/Date.java
	luni/src/test/java/tests/java/sql/SqlDateTest.java
@hide Integer#parsePositiveInt(String)

Bug: 5239391
Change-Id: I01632d4846342293e881553feee3ae40f97e2443
Fix SSLEngineTest for RI

The assymmetry between client and server with create sessions seems
strange. It seems like a bug in the RI, so make sure Android does the
right thing.

Change-Id: I7b7ab501bd1963757b7f067c6ace8230a19a3e53
Fix UUID#parseString in the presence of explicit + signs.

Also added Long#parsePositiveLong(String, int).

Bug: 5239391
Change-Id: Iaa0bbd3a7f8a13c3e48abb1a7e7508e48615b11c

Conflicts:
	luni/src/main/java/java/util/UUID.java
	luni/src/test/java/libcore/java/lang/LongTest.java
	luni/src/test/java/libcore/java/util/UUIDTest.java
Disallow explicit signs in SocketHandler port parsing.

Bug: 5239391
Change-Id: Ifa6bc6b352c283e8f6913b4905a9541df7355915
1.7 interoperability changes for FileLock

Adding acquiredBy(). This method is effectively a synonym for
channel().

Change-Id: Ifa0b89debb42a7181f1f5f188ae7175970286adb

Conflicts:
	luni/src/main/java/java/nio/channels/FileLock.java
Fix bug 65217: ByteArrayOutputStream for massive buffers

Difficult to test on real devices right now so there are
no additional tests.

TODO: Write a test in a couple of years when devices exist that
can easily cope with 4GB arrays.

Bug: 65217
Change-Id: I8677356f53a2109ef45c1b56324fa474a5ea66e6