Skip to content

Commit

Permalink
Update ClassLoaderFacet.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 21, 2015
1 parent 7c938e4 commit d26bbb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public interface ClassLoaderFacet extends ProjectFacet
{
/**
* Returns a {@link URLClassLoader} that encompasses all {@link Dependency} instances on which this project depends. This is the equivalent of class-loading the entire project classpath.
* Returns a {@link URLClassLoader} that encompasses all {@link Dependency} instances on which this project depends and the built artifact from the project sources. This is the equivalent of class-loading the entire project classpath.
*
* WARNING: You *MUST* call {@link URLClassLoader#close()} when finished with this object. Failure to close this object upon completion will result in fatal memory leaks over time. If the scope of work is appropriate, consider using a try-with-resources block to encapsulate the operations and automatically clean up any ClassLoader resources.
* <p/>
Expand Down

0 comments on commit d26bbb1

Please sign in to comment.