提交 f306c876 authored 作者: Thomas Mueller's avatar Thomas Mueller

prepare release

上级 ac659dd7
...@@ -20,8 +20,7 @@ call build -quiet spellcheck javadocImpl jarClient ...@@ -20,8 +20,7 @@ call build -quiet spellcheck javadocImpl jarClient
echo %time:~0,8% JDK 1.4 echo %time:~0,8% JDK 1.4
call java15 >nul 2>nul call java15 >nul 2>nul
set bcp=%JAVA_HOME14%\jre\lib\ set bcp=%JAVA_HOME14%\jre\lib\
call build -quiet clean -Dversion=1.4 switchSource -Dbcp=%bcp%\rt.jar;%bcp%\jsse.jar compile call build -quiet clean -Dversion=1.4 switchSource -Dbcp=%bcp%\rt.jar;%bcp%\jsse.jar compile installer mavenDeployCentral
call build -quiet installer mavenDeployCentral
rem call build -quiet compile benchmark rem call build -quiet compile benchmark
rem == Copy the benchmark results and update the performance page and diagram rem == Copy the benchmark results and update the performance page and diagram
......
...@@ -19,8 +19,7 @@ echo $(date "+%H:%M:%S") JDK 1.4 ...@@ -19,8 +19,7 @@ echo $(date "+%H:%M:%S") JDK 1.4
export BCP=/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes export BCP=/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes
JAVA_HOME=$JAVA15 JAVA_HOME=$JAVA15
PATH=$JAVA15/bin:$PATH PATH=$JAVA15/bin:$PATH
./build.sh -quiet clean -Dversion=1.4 switchSource -Dbcp=$BCP/classes.jar:$BCP/jsse.jar compile ./build.sh -quiet clean -Dversion=1.4 switchSource -Dbcp=$BCP/classes.jar:$BCP/jsse.jar compile installer mavenDeployCentral
./build.sh -quiet installer mavenDeployCentral
# ./build.sh -quiet compile benchmark # ./build.sh -quiet compile benchmark
# == Copy the benchmark results # == Copy the benchmark results
......
...@@ -30,7 +30,8 @@ public class Db { ...@@ -30,7 +30,8 @@ public class Db {
Utils.newWeakIdentityHashMap(); Utils.newWeakIdentityHashMap();
private final Connection conn; private final Connection conn;
private final Map<Class< ? >, TableDefinition< ? >> classMap = Utils.newHashMap(); private final Map<Class< ? >, TableDefinition< ? >> classMap =
Utils.newHashMap();
Db(Connection conn) { Db(Connection conn) {
this.conn = conn; this.conn = conn;
......
...@@ -35,7 +35,8 @@ public class Define { ...@@ -35,7 +35,8 @@ public class Define {
currentTableDefinition.setTableName(tableName); currentTableDefinition.setTableName(tableName);
} }
static synchronized <T> void define(TableDefinition<T> tableDefinition, Table table) { static synchronized <T> void define(TableDefinition<T> tableDefinition,
Table table) {
currentTableDefinition = tableDefinition; currentTableDefinition = tableDefinition;
currentTable = table; currentTable = table;
tableDefinition.mapObject(table); tableDefinition.mapObject(table);
......
...@@ -24,7 +24,8 @@ import java.util.Set; ...@@ -24,7 +24,8 @@ import java.util.Set;
//## Java 1.5 begin ## //## Java 1.5 begin ##
public class WeakIdentityHashMap<K, V> implements Map<K, V> { public class WeakIdentityHashMap<K, V> implements Map<K, V> {
private static final int MAX_LOAD = 90; private static final int MAX_LOAD = 90;
private static final WeakReference<Object> DELETED_KEY = new WeakReference<Object>(null); private static final WeakReference<Object> DELETED_KEY =
new WeakReference<Object>(null);
private int mask, len, size, deletedCount, level; private int mask, len, size, deletedCount, level;
private int maxSize, minSize, maxDeleted; private int maxSize, minSize, maxDeleted;
private WeakReference<K>[] keys; private WeakReference<K>[] keys;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论