X Tutup
Skip to content

Commit 1bb5122

Browse files
author
Johan Brichau
committed
Fix GRDynamicVariable for GemStone 2.4 [skip-ci]
1 parent 99e0051 commit 1bb5122

File tree

3 files changed

+8
-47
lines changed

3 files changed

+8
-47
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
accessing
2+
value
3+
"Override required for compatibility in GS2.4 where environmentAt:ifAbsent: is flawed because it can still return nil when absent instead of executing the ifAbsent block"
4+
5+
^ Processor activeProcess environment at: self ifAbsent: [ self defaultValue ]

repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"class" : {
33
"default" : "JohanBrichau 07/23/2017 09:48",
44
"defaultValue" : "JohanBrichau 07/23/2017 09:47",
5-
"use:during:" : "JB 09/08/2017 00:34" },
5+
"use:during:" : "JB 09/08/2017 00:34",
6+
"value" : "JB 10/04/2017 04:57" },
67
"instance" : {
78
} }

0 commit comments

Comments
 (0)
X Tutup