Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch LinkageError during DynamicScope generation. #4285

Closed
wants to merge 1 commit into from

Commits on Nov 14, 2016

  1. Catch LinkageError during DynamicScope generation.

    When multiple threads are generating the same DynamicScope class, both
    threads may try to generate the same class at the same time. When the second
    thread hits defineClass, it throws a LinkageError becuase the class has already
    been defined.
    
    With this change we catch this exception and call loadClass to get the class that
    the previous thread created.
    snowp committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    01b15cf View commit details
    Browse the repository at this point in the history