basecase is working for java 1282