@@ -58,7 +58,7 @@ ClassFile {
5858
5959** Class文件字节码结构组织示意图** (之前在网上保存的,非常不错,原出处不明):
6060
61- ![ 类文件字节码结构组织示意图] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /类文件字节码结构组织示意图.png)
61+ ![ 类文件字节码结构组织示意图] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /类文件字节码结构组织示意图.png)
6262
6363### 2.1 魔数
6464
@@ -123,7 +123,7 @@ ClassFile {
123123
124124类访问和属性修饰符:
125125
126- ![ 类访问和属性修饰符: ] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /访问标志.png)
126+ ![ 类访问和属性修饰符] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /访问标志.png)
127127
128128我们定义了一个 Employee 类
129129
@@ -136,7 +136,7 @@ public class Employee {
136136
137137通过` javap -v class类名 ` 指令来看一下类的访问标志。
138138
139- ![ 查看类的访问标志] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /查看类的访问标志.png)
139+ ![ 查看类的访问标志] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /查看类的访问标志.png)
140140
141141### 2.5 当前类索引,父类索引与接口索引集合
142142
@@ -162,7 +162,7 @@ public class Employee {
162162
163163** field info(字段表) 的结构:**
164164
165- ![ 字段表的结构 ] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /字段表的结构.png)
165+ ![ 字段表的结构 ] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /字段表的结构.png)
166166
167167- ** access_flags:** 字段的作用域(` public ` ,` private ` ,` protected ` 修饰符),是实例变量还是类变量(` static ` 修饰符),可否被序列化(transient 修饰符),可变性(final),可见性(volatile 修饰符,是否强制从主内存读写)。
168168- ** name_index:** 对常量池的引用,表示的字段的名称;
@@ -174,7 +174,7 @@ public class Employee {
174174
175175** 字段的 access_flags 的取值:**
176176
177- ![ ] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /字段的access_flags的取值.png)
177+ ![ 字段的access_flags的取值 ] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /字段的access_flags的取值.png)
178178
179179### 2.7 方法表集合
180180
@@ -189,11 +189,11 @@ Class 文件存储格式中对方法的描述与对字段的描述几乎采用
189189
190190** method_info(方法表的) 结构:**
191191
192- ![ 方法表的结构 ] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /方法表的结构.png)
192+ ![ 方法表的结构] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /方法表的结构.png)
193193
194194** 方法表的 access_flag 取值:**
195195
196- ![ ] ( http ://pqrlmrv7w.bkt.clouddn .com/img/ 2019-4 /方法表的access_flag的所有标志位.png)
196+ ![ 方法表的 access_flag 取值 ] ( https ://my-blog-to-use.oss-cn-beijing.aliyuncs .com/2019-6 /方法表的access_flag的所有标志位.png)
197197
198198注意:因为` volatile ` 修饰符和` transient ` 修饰符不可以修饰方法,所以方法表的访问标志中没有这两个对应的标志,但是增加了` synchronized ` 、` native ` 、` abstract ` 等关键字修饰方法,所以也就多了这些关键字对应的标志。
199199
0 commit comments