code: def load_java_messages_to_ignore():
      """
      Load in pickle file that contains dict structure with bad java messages to ignore per unit test
      or for all cases.  The ignored bad java info is stored in g_ok_java_messages dict.
  
      :return:
      """
      global g_ok_java_messages
      global g_java_message_pickle_filename
  
      if os.path.isfile(g_java_message_pickle_filename):
          with open(g_java_message_pickle_filename, "rb") as tfile:
              g_ok_java_messages = pickle.load(tfile)
      else:
          g_ok_java_messages["general"] = []
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 24 for calling a global function with example usage: load_java_messages_to_ignore() without return types