Patch Set 1: I would prefer that you didn't submit this; IP review completed

With this patch the following test fails 

Test set: org.eclipse.jgit.lib.ConstantsEncodingTest
----------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
testEncode_Unicode(org.eclipse.jgit.lib.ConstantsEncodingTest)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.eclipse.jgit.lib.ConstantsEncodingTest.testEncode_Unicode(ConstantsEncodingTest.java:86)

Fails from maven build only, in Eclipse the test is passing.