author | convert-repo |
Mon, 24 Feb 2020 04:28:37 +0000 | |
changeset 4001 | d6b417080b11 |
parent 3412 | df11bb428463 |
child 3516 | 73dd0ba82a4f |
permissions | -rw-r--r-- |
454 | 1 |
" |
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3067
diff
changeset
|
2 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
3 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
4 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
5 |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3067
diff
changeset
|
6 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
7 |
SWING Research Group, Czech Technical University in Prague |
454 | 8 |
|
9 |
This software is furnished under a license and may be used |
|
10 |
only in accordance with the terms of that license and with the |
|
11 |
inclusion of the above copyright notice. This software may not |
|
12 |
be provided or otherwise made available to, or used by, any |
|
13 |
other person. No title to or ownership of the software is |
|
14 |
hereby transferred. |
|
2151 | 15 |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
16 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
17 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
18 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
19 |
as of 1.9.2010 |
2151 | 20 |
" |
713 | 21 |
"{ Package: 'stx:libjava' }" |
22 |
||
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
23 |
Array variableSubclass:#JavaConstantPool |
89 | 24 |
instanceVariableNames:'owner' |
2817
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
25 |
classVariableNames:'' |
89 | 26 |
poolDictionaries:'' |
713 | 27 |
category:'Languages-Java-Reader-Support' |
89 | 28 |
! |
29 |
||
454 | 30 |
!JavaConstantPool class methodsFor:'documentation'! |
31 |
||
32 |
copyright |
|
33 |
" |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3067
diff
changeset
|
34 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
35 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
36 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
37 |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3067
diff
changeset
|
38 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
39 |
SWING Research Group, Czech Technical University in Prague |
454 | 40 |
|
41 |
This software is furnished under a license and may be used |
|
42 |
only in accordance with the terms of that license and with the |
|
43 |
inclusion of the above copyright notice. This software may not |
|
44 |
be provided or otherwise made available to, or used by, any |
|
45 |
other person. No title to or ownership of the software is |
|
46 |
hereby transferred. |
|
2151 | 47 |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
48 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
49 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
50 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
51 |
as of 1.9.2010 |
2151 | 52 |
|
454 | 53 |
" |
2151 | 54 |
! ! |
55 |
||
243 | 56 |
!JavaConstantPool class methodsFor:'special'! |
57 |
||
2151 | 58 |
invalidateForClass: internalJavaClassName |
59 |
"Go over all constant pools and call invalidateForClass on all |
|
60 |
references. (usable when given class was unloaded etc)" |
|
3067
4bbacafb9592
Renamed JavaClassRegistry>>classesDo: to allClassesDo:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2992
diff
changeset
|
61 |
JavaVM registry allClassesDo: [ :eachClass | |
2817
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
62 |
eachClass versionsArray do: [ :eachVersion | |
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
63 |
eachVersion constantPool invalidateForClass: internalJavaClassName. |
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
64 |
]. |
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
65 |
]. |
243 | 66 |
|
2757
66f842986836
cleanup multiple Java class versions handling
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2755
diff
changeset
|
67 |
"Created: / 08-04-2011 / 16:52:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
2817
96f3e2254489
remove JavaConstantPool#ConstantPools weak array, use JavaVM registry instead
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
2757
diff
changeset
|
68 |
"Modified (format): / 08-10-2013 / 18:43:59 / Marcel Hlopko <marcel.hlopko@fit.cvut.cz>" |
3067
4bbacafb9592
Renamed JavaClassRegistry>>classesDo: to allClassesDo:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2992
diff
changeset
|
69 |
"Modified: / 09-04-2014 / 18:43:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
243 | 70 |
! ! |
71 |
||
89 | 72 |
!JavaConstantPool methodsFor:'accessing'! |
73 |
||
74 |
owner |
|
75 |
"return owner" |
|
76 |
||
77 |
^ owner |
|
78 |
||
79 |
"Created: 28.6.1996 / 21:12:22 / cg" |
|
80 |
! |
|
81 |
||
82 |
owner:something |
|
83 |
"set owner" |
|
84 |
||
85 |
owner := something. |
|
86 |
||
87 |
"Created: 28.6.1996 / 21:12:22 / cg" |
|
88 |
! ! |
|
89 |
||
2151 | 90 |
!JavaConstantPool methodsFor:'adding'! |
91 |
||
92 |
at: classRefIndex putClassRefWithNameAt: classNameIndex |
|
93 |
self at: classRefIndex |
|
94 |
put: (JavaClassRef2 in: self withNameAt: classNameIndex). |
|
95 |
||
96 |
"Created: / 13-05-2011 / 09:48:01 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
97 |
! |
|
98 |
||
99 |
at: fieldRefIndex putFieldRefWithClassAt: classRefIndex andNameAndTypeAt: nameAndTypeIndex |
|
100 |
self at: fieldRefIndex |
|
101 |
put: (JavaFieldRef2 |
|
102 |
in: self |
|
103 |
withNameAndTypeAt: nameAndTypeIndex |
|
104 |
andClassAt: classRefIndex). |
|
105 |
||
106 |
"Created: / 13-05-2011 / 09:08:18 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
107 |
! |
|
108 |
||
109 |
at: interfaceMethodRefIndex putInterfaceMethodRefWithClassAt: classRefIndex andNameAndTypeAt: nameAndTypeIndex |
|
110 |
self at: interfaceMethodRefIndex |
|
111 |
put: (JavaInterfaceMethodRef2 |
|
112 |
in: self |
|
113 |
withNameAndTypeAt: nameAndTypeIndex |
|
114 |
andClassAt: classRefIndex). |
|
115 |
||
116 |
"Created: / 13-05-2011 / 09:08:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
117 |
! |
|
118 |
||
119 |
at: methodRefIndex putMethodRefWithClassAt: classRefIndex andNameAndTypeAt: nameAndTypeIndex |
|
120 |
self at: methodRefIndex |
|
121 |
put: (JavaMethodRef2 in: self withNameAndTypeAt: nameAndTypeIndex andClassAt:classRefIndex). |
|
122 |
||
123 |
"Created: / 13-05-2011 / 09:07:47 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
124 |
! |
|
125 |
||
126 |
at: nameAndTypeIndex putNameAndTypeWithNameAt: nameIndex andDescriptorAt: descriptorIndex |
|
127 |
self at: nameAndTypeIndex |
|
128 |
put: (JavaNameAndType2 in: self withNameAt: nameIndex andDescriptorAt: descriptorIndex). |
|
129 |
||
130 |
"Created: / 13-05-2011 / 09:05:34 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
131 |
! ! |
|
132 |
||
2976
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
133 |
!JavaConstantPool methodsFor:'invalidation'! |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
134 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
135 |
invalidate |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
136 |
"Invalidate all resolved references. Returns true if at least one ref has |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
137 |
been invalidated, false otherwise" |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
138 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
139 |
| anyInvalidated | |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
140 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
141 |
anyInvalidated := false. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
142 |
self do: [:ref | |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
143 |
(ref notNil and: [ ref isString not and: [ ref isNumber not ] ]) ifTrue: [ |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
144 |
anyInvalidated := anyInvalidated | (ref invalidate) |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
145 |
]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
146 |
]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
147 |
anyInvalidated ifTrue:[ JavaVM flushCachesFor: owner ]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
148 |
^ anyInvalidated |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
149 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
150 |
"Created: / 20-01-2014 / 09:43:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
151 |
! |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
152 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
153 |
invalidateForClass: binaryName |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
154 |
"Invalidate all resolved references to given class. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
155 |
Returns true if at least one ref has been invalidated, |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
156 |
false otherwise" |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
157 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
158 |
| anyInvalidated | |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
159 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
160 |
anyInvalidated := false. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
161 |
self do: [:ref | |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
162 |
(ref notNil and: [ ref isString not and: [ ref isNumber not ] ]) ifTrue: [ |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
163 |
anyInvalidated := anyInvalidated |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
164 |
| (ref invalidateForClass: binaryName) |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
165 |
]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
166 |
]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
167 |
anyInvalidated ifTrue:[ JavaVM flushCachesFor: owner ]. |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
168 |
^ anyInvalidated |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
169 |
|
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
170 |
"Created: / 08-04-2011 / 16:11:36 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
171 |
"Modified: / 20-01-2014 / 10:15:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a384a02381c0
Update JavaLookup to work with new JIT-compilation scheme...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2817
diff
changeset
|
172 |
! ! |
2151 | 173 |
|
89 | 174 |
!JavaConstantPool methodsFor:'printing & storing'! |
175 |
||
176 |
displayString |
|
177 |
owner isNil ifTrue:[ |
|
178 |
^ '*** unowned ConstantPool' |
|
179 |
]. |
|
180 |
^ 'ConstantPool of ' , owner fullName |
|
181 |
||
182 |
"Created: 28.6.1996 / 21:13:41 / cg" |
|
183 |
"Modified: 28.6.1996 / 21:20:26 / cg" |
|
184 |
! ! |
|
185 |
||
171 | 186 |
!JavaConstantPool methodsFor:'queries'! |
187 |
||
188 |
refersToMethod:aJavaMethod |
|
2151 | 189 |
|
190 |
self error: 'JV@2011-07-26: Update to new resolving scheme!!'. |
|
191 |
||
171 | 192 |
self do:[:constItem | |
193 |
(constItem == aJavaMethod) ifTrue:[^ true]. |
|
2151 | 194 |
|
195 |
]. |
|
196 |
^ false |
|
197 |
||
198 |
"Created: / 29-07-1997 / 17:39:19 / cg" |
|
199 |
"Modified: / 26-07-2011 / 18:00:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
200 |
! |
|
201 |
||
202 |
refersToMethodNamed:aJavaMethodName |
|
203 |
||
204 |
self error: 'JV@2011-07-26: Update to new resolving scheme!!'. |
|
205 |
||
206 |
self do:[:constItem | |
|
207 |
(constItem isKindOf:JavaMethod) ifTrue:[ |
|
208 |
constItem name = aJavaMethodName ifTrue:[^ true]. |
|
209 |
] ifFalse:[ |
|
210 |
||
2108 | 211 |
] |
749 | 212 |
]. |
213 |
^ false |
|
214 |
||
2151 | 215 |
"Created: / 29-07-1997 / 17:39:24 / cg" |
216 |
"Modified: / 16-10-1998 / 01:22:02 / cg" |
|
217 |
"Modified: / 26-07-2011 / 17:54:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
171 | 218 |
! ! |
219 |
||
203 | 220 |
!JavaConstantPool methodsFor:'special'! |
221 |
||
252 | 222 |
classReferencesDo:aBlock |
223 |
self do:[:constItem | |
|
224 |
constItem isJavaClass ifTrue:[ |
|
225 |
aBlock value:constItem |
|
226 |
] |
|
227 |
] |
|
228 |
||
229 |
"Modified: / 7.8.1997 / 19:17:38 / cg" |
|
230 |
"Created: / 4.1.1998 / 00:40:11 / cg" |
|
231 |
! |
|
232 |
||
2151 | 233 |
invalidateAll |
234 |
"go over all entries and call invalidate on all references" |
|
235 |
||
236 |
self do: |
|
237 |
[:entry | |
|
238 |
entry isJavaRef |
|
239 |
ifTrue: [ entry invalidate] ]. |
|
240 |
||
241 |
"Created: / 13-05-2011 / 09:37:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
203 | 242 |
! ! |
243 |
||
135 | 244 |
!JavaConstantPool class methodsFor:'documentation'! |
89 | 245 |
|
246 |
version |
|
3412
df11bb428463
Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3360
diff
changeset
|
247 |
^ '$Header: /cvs/stx/stx/libjava/JavaConstantPool.st,v 1.22 2015-03-20 12:08:00 vrany Exp $' |
2213 | 248 |
! |
249 |
||
250 |
version_CVS |
|
3412
df11bb428463
Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3360
diff
changeset
|
251 |
^ '$Header: /cvs/stx/stx/libjava/JavaConstantPool.st,v 1.22 2015-03-20 12:08:00 vrany Exp $' |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
252 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
253 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
254 |
version_HG |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
255 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2269
diff
changeset
|
256 |
^ '$Changeset: <not expanded> $' |
2151 | 257 |
! |
258 |
||
259 |
version_SVN |
|
2731
13f5be2bf83b
Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
260 |
^ 'Id' |
89 | 261 |
! ! |
2151 | 262 |