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