Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Creates a local anonymous macro #579

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Commits on Dec 10, 2020

  1. WIP

    yloiseau committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    902ddbb View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. doc

    yloiseau committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    ae0fb1b View commit details
    Browse the repository at this point in the history
  2. doc

    yloiseau committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    f61943c View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. tests

    yloiseau committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    0fdb798 View commit details
    Browse the repository at this point in the history
  2. First try to make tests pass

    There is an issue with classloaders while running the test module from
    java.
    It works when run directly by golo.
    
    Here I switch the current thread classloader. Works fine, but there
    should be a better approach (thread local singleton for
    `Runtime.classLoader()`.
    yloiseau committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    5e63d63 View commit details
    Browse the repository at this point in the history
  3. Better way to make tests pass

    Define a thread local variable to hold the current thread classloader.
    
    When running from golo, the current thread classloader will be a
    GoloClassLoader instance, so it is used as is.
    The issue is that when running from Java, the current classloader is not
    a golo one, so it was wrapped by `Runtime.classLoader()`. We
    therefore got a different one for each call.
    Keeping it in a thread local singleton resolve this issue.
    yloiseau committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    f514eff View commit details
    Browse the repository at this point in the history
  4. Refactor submodule creation

    yloiseau committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    0575fb6 View commit details
    Browse the repository at this point in the history
  5. WIP: local module

    yloiseau committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    aac2c10 View commit details
    Browse the repository at this point in the history