@@ -0,0 +1,1057 @@
+package org.mapdb;%0A%0Aimport org.junit.Ignore;%0Aimport org.junit.Test;%0Aimport java.io.File;%0A%0Apublic class Issue90Test %7B%0A%0A    @Test @Ignore //for now%0A    public void testCounter() throws Exception %7B%0A        final DB mapDb = createTempMapDb();%0A        final Atomic.Long myCounter = Atomic.getLong(mapDb, %22MyCounter%22);%0A%0A        final BTreeMap%3CString, Fun.Tuple2%3CString, Integer%3E%3E treeMap = mapDb.getTreeMap(%22map%22);%0A        Bind.size(treeMap, myCounter);%0A%0A        for (int i = 0; i %3C 3; i++) %7B%0A            treeMap.put(%22key_%22 + i, new Fun.Tuple2%3CString, Integer%3E(%22value_%22, i));%0A        %7D%0A    %7D%0A%0A%0A    private DB createTempMapDb() throws Exception %7B%0A        final File wordDataFile = Utils.tempDbFile();%0A        return createMapDB(wordDataFile);%0A    %7D%0A%0A    private DB createMapDB(File file) %7B%0A        return DBMaker.newAppendFileDB(file)%0A                .closeOnJvmShutdown()%0A                .compressionEnable()  //This is the cause of the exception. If compression is not used, no exception occurs.%0A%0A                .cacheDisable()%0A                .make();%0A    %7D%0A%0A%7D

Add test for Issue #90