Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data


< > BotCompany Repo | #1003121 - makeDependent - register class for for cleanup and copy local_log

JavaX fragment (include)

please include function ping.

sO makeDependent_postProcess;

static void makeDependent(O c) {
  if (c == null) ret;
  assertTrue("Not a class", c instanceof Class);
  dependentClasses(); // cleans up the list
  hotwire_classes.add(new WeakReference(c));
  O local_log = getOpt(mc(), "local_log");
  if (local_log != null)
    setOpt(c, +local_log);
  /*if (isTrue(getOpt(c, 'ping_actions_shareable)))
    setOpt(c, +ping_actions);*/
  O print_byThread = getOpt(mc(), "print_byThread");
  if (print_byThread != null)
    setOpt(c, +print_byThread);
  callF(makeDependent_postProcess, c);

Author comment

Began life as a copy of #1002921

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003121
Snippet name: makeDependent - register class for for cleanup and copy local_log
Eternal ID of this version: #1003121/7
Text MD5: 718933e5e16c9e3f6e5e86641f448f9a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-07 01:03:58
Source code size: 631 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 576 / 1228
Version history: 6 change(s)
Referenced in: [show references]

Formerly at &