Skip to content
This repository was archived by the owner on Mar 14, 2019. It is now read-only.
This repository was archived by the owner on Mar 14, 2019. It is now read-only.

Auto-detecting classloading problem #14

Closed

Description

@zhongl
No description provided.

Activity

  1. ghost assigned on Jun 1, 2012
  2. zhongl commented on Jun 1, 2012

    @zhongl
    MemberAuthor

    思路是:

    val name = classOf[AdviceProxy].getName
    val bytes = bytecodeOfClass(name)
    
    allCandidateClasses foreach { c =>
      val classLoader = c.getClassLoader
      try { 
        classLoader.loadClass(name)
      } catch {
        case _ =>  classLoader.defineClass(bytes, 0, bytes.length)
    }
  3. added a commit that references this issue on Jun 7, 2012
  4. added 2 commits that reference this issue on Jun 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions