文章列表
1.Download Tomcat source code.
2.Create a new directory: basepath.
3.set #base.path from the file build.properties to the above basepath.
4.enter source code directory and ant.
5.after compiling successfully , you can make the two files(.project and .classpath) using executing the command: ant ide-e ...
transient和volatile
- 博客分类:
- JAVASE
transient和volatile两个关键字一个用于对象序列化,一个用于线程同步,都是Java中比较高阶的话题,简单总结一下。
transient
transient是类型修饰符,只能用来修饰字段。在对象序列化的过程中,标记为transient的变量不会被序列化。 ...