Description
mk.commit("", "-\"/x/\"", null, null);
results in
java.lang.AssertionError at org.apache.jackrabbit.oak.commons.PathUtils.concat(PathUtils.java:277) at org.apache.jackrabbit.mk.core.MicroKernelImpl.commit(MicroKernelImpl.java:437) at org.apache.jackrabbit.mk.MicroKernelImplTest.foo(MicroKernelImplTest.java:424)
since according to PathUtils /x/ is not a valid path.
The commit method should throw an IllegalArgumentException instead.