<i>"global" cmd literal sharing vs. per-interp resolvers</i>.
by
.
D 2016-07-21T10:03:33.948
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Cmd\sliterals\sare\sshared\sin\sthe\sglobal\s(i.e.\sper-interpreter)\sliteral\spool\sper\snamespace.\sHowever,\sit\sis\snot\sguaranteed,\sthat\sthe\scmdObj\sresolved\sfor\sa\sliteral\svia\sa\scmd\sresolver\sis\sthe\salways\ssame\sfor\sa\snamespace.\sTherefore\sone\ssees\sdifferent\sresults\sfor\sa\scmd\sdepending\son\swhether\sor\snot\sthe\sa\scmd\sliteral\swas\searlier\sadded\sto\sthe\sglobal\scmd\sliteral\spool.\sThe\sglobal\sshared\scmd\sliteral\sis\staken,\sthe\sresult\sfrom\sthe\scommand\sresolver\sis\signored.\r\n\r\nThe\sproblem\scomes\sfrom\sa\slarge\sreal\sworld\sapplication\sduring\sthe\stcl8.5\s->\stcl8.6\stransition.\sThe\sprovided\spatch\s(see\sattachment)\sdetermines\ssuch\ssituations\sand\sturns\sshared\sglobal\sliterals\sinto\sunshared\sprivate\sones.\sThe\sprovided\stest\scases\sare\strying\sto\sreproduce\sthe\sbehavior\sin\sa\sminimalistic\ssetup,\swhich\stries\sto\sminimalize\sinteractions\swith\sother\stest\scases\sby\srestricting\sto\scertain\snames.\r\n\r\nAn\salternative\s(but\snot\sso\slocal)\sapproach\sto\saddress\sthese\skind\sof\sbugs\swould\sbe\sto\sflag\sduring\scmd\sresolution\swhether\sa\sresolved\scommand\swas\sderived\sfrom\sa\scustom\scmd\sresolver,\sand\sto\sprevent\sthe\snamespace\sbased\s"global"\ssharing\sin\ssuch\scases\sbased\son\sthat\sflag.
J foundin 8.6.6
J is_private 0
J login gustafn2
J priority 5\sMedium
J private_contact d0ad4471e07e8c03bf0d90786ec6d31e33bcf241
J resolution None
J severity Important
J status Open
J submitter gustafn2
J subsystem 45.\sParsing\sand\sEval
J title "global"\scmd\sliteral\ssharing\svs.\sper-interp\sresolvers
J type Bug
K d4e7780ca1681cd095dbd81fe264feff75c988f7
U gustafn2
Z 708547bf95c455b059d56348cf064c32