@@ -649,6 +649,12 @@ prepareGsDevKitImage_patch46217: aGsDevKitUpgrade
649
649
aGsDevKitUpgrade prepareGsDevKitImage_bug46217_patch
650
650
%
651
651
652
+ category : 'prepare gsdevkit image'
653
+ method: GsuAbstractGemStoneRelease
654
+ prepareGsDevKitImage_patch49622: aGsDevKitUpgrade
655
+ aGsDevKitUpgrade prepareGsDevKitImage_bug49622_patch
656
+ %
657
+
652
658
category : 'prepare gsdevkit image'
653
659
method: GsuAbstractGemStoneRelease
654
660
prepareGsDevKitImage_patch_compileMethodCategory: aGsDevKitUpgrade
@@ -1377,6 +1383,12 @@ minor
1377
1383
^ minor ifNil: [ 7 ]
1378
1384
%
1379
1385
1386
+ category : 'prepare gsdevkit image'
1387
+ method: GsuGemStone_3_7_x_Release
1388
+ prepareGsDevKitImage_patch49622: aGsDevKitUpgrade
1389
+ "noop for upgrades from 3.7.0 or later"
1390
+ %
1391
+
1380
1392
category : 'bootstrapping'
1381
1393
method: GsuGemStone_3_7_x_Release
1382
1394
reloadBootstrapPackageFileNames
@@ -2287,6 +2299,7 @@ prepareGsDevKitImage
2287
2299
prepareGsDevKitImage_patch46217 : self ;
2288
2300
prepareGsDevKitImage_patch_compileMethodCategory : self ;
2289
2301
prepareGsDevKitImage_recompilePragmaMethods : self ;
2302
+ prepareGsDevKitImage_patch49622 : self ;
2290
2303
prepareGsDevKitImage_bootstrapGsDevkit : self ;
2291
2304
prepareGsDevKitImage_resetExistingGlobalState : self ;
2292
2305
yourself .
@@ -2350,6 +2363,15 @@ prepareGsDevKitImage_bug46217_patch
2350
2363
self log : ' 46217 patched (commit)' .
2351
2364
%
2352
2365
2366
+ category : 'prepare gsdevkit image'
2367
+ method : GsuAbstractGsDevKitUpgrade
2368
+ prepareGsDevKitImage_bug49622_patch
2369
+ "Bug 49622 - starting in 3.7.0 ReadByteStream an optimized version of ReadStream should be used
2370
+ in GLASS applications instead of AnsiReadStream in subclasses of SequenceableCollection "
2371
+
2372
+ "noop for pre-3.7.0 upgrades"
2373
+ %
2374
+
2353
2375
category : 'prepare gsdevkit image'
2354
2376
method : GsuAbstractGsDevKitUpgrade
2355
2377
prepareGsDevKitImage_clearMetacelloCaches
@@ -3847,23 +3869,25 @@ _prepareImage_class__mcDefinitionType_source
3847
3869
3848
3870
! Instance methods for 'GsuGsDevKit_3_7_x_Upgrade'
3849
3871
3850
- category : 'prepare image'
3872
+ category : 'prepare gsdevkit image'
3851
3873
method : GsuGsDevKit_3_7_x_Upgrade
3852
- prepareImage_patches
3853
- "need to arrange for SequenceableCollection>>readStream to return an AnsiReadStream "
3874
+ prepareGsDevKitImage_bug49622_patch
3875
+ "Bug 49622 - starting in 3.7.0 ReadByteStream an optimized version of ReadStream should be used
3876
+ in GLASS applications instead of AnsiReadStream in SequenceableCollection snf String "
3854
3877
3855
3878
| category |
3856
- category := #'49622 experiment '.
3857
- super prepareImage_patches .
3879
+ category := #'49622 patch '.
3880
+ self timeStampedLog : ' Prepare gsdevkit - patch 49622 ' .
3858
3881
3859
- self
3860
- timeStampedLog :
3861
- ' patch SequenceableCollection >> readStream in category '
3862
- , category asString printString , ' as ' , System myUserProfile userId .
3863
3882
( SequenceableCollection
3864
3883
compileMethod : 'readStream ^ AnsiReadStream on: self'
3865
3884
dictionaries : self upgradeUserProfile symbolList
3866
- category : category ) ifNotNil : [ :ar | self error : 'did not compile' ]
3885
+ category : category ) ifNotNil : [ :ar | self error : 'did not compile' ] .
3886
+
3887
+ ( String
3888
+ compileMethod : 'readStream ^ AnsiReadStream on: self'
3889
+ dictionaries : self upgradeUserProfile symbolList
3890
+ category : category ) ifNotNil : [ :ar | self error : 'did not compile' ] .
3867
3891
%
3868
3892
3869
3893
category : 'private '
0 commit comments