Java
文章平均质量分 88
liuxizhiyi
next time
展开
-
Java Class File Structrue
A class file consists of a single ClassFile structure: ClassFile { u4 magic; u2 minor_version; u2 major_version; u2 constant_pool_count; cp_info constant_pool[constant_pool_count-1]; u原创 2008-10-23 13:05:00 · 120 阅读 · 0 评论 -
The structure of a class file
1: magic number: 4 bytes, OxCAFEBABE which can help to recognize a java class file easily2: minor_version and major_version: 4 bytesfor example,in java 2 platform the major_version is updated from原创 2008-10-23 13:46:00 · 93 阅读 · 0 评论 -
what is a synthetic field and method
if you overview the bytecode of a java class file, maybe you will find a keyword synthetic which is not include in the keyword of java language. so when will synthetic come out in the bytecode in a cl原创 2008-10-23 13:47:00 · 1182 阅读 · 0 评论 -
SecurityManager
The Java Security was make up of ClassLoader, Class file inspection, Build-in security and securityManager.the build-in security includes: safely type cast,structual memomry access,gc,bound check of原创 2008-10-23 13:48:00 · 1163 阅读 · 0 评论 -
Java Inner Class
if you declare a class like thisclass OuterClass{ static class A{ class B{ public void get(){ Class C{ } } } }}there will be four class generated:OuterClass.classOuterClass$A原创 2008-10-23 13:50:00 · 435 阅读 · 0 评论 -
the class inspection in JVM
before the Java classloader begin to excute a class file, it will need to check out the file four times.1.check the structure of the file the first inspection happen before the class was loaded. J原创 2008-10-23 13:49:00 · 503 阅读 · 0 评论 -
How to build a independent java program
There are several factors which will affect the program independence.1: The main factor which will affect the program is which Java platform your program deploy to.2: There exits several version o原创 2008-10-23 13:50:00 · 128 阅读 · 0 评论 -
Serialization: Understand
Serialization is a handy and powerful aspect of Java. Being able to persist objects onto disk and read them later is one of the most under-used features of Java I think. In the base cases, serializati原创 2008-10-23 13:51:00 · 448 阅读 · 0 评论