Skip to content

Commit

Permalink
Merge pull request #16 from flore77/master
Browse files Browse the repository at this point in the history
Fix HollowObjectMapper to be able to read annotations
  • Loading branch information
rpalcolea authored Oct 6, 2018
2 parents 19b3e65 + f6de249 commit d73df6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private void initClassLoader() throws MalformedURLException {
for (int i=0; i < compiledClassesPaths.length; i++){
urls[i]= new File(compiledClassesPaths[i]).toURI().toURL() ;
}
urlClassLoader = new URLClassLoader(urls);
urlClassLoader = new URLClassLoader(urls, Thread.currentThread().getContextClassLoader());
}

private void validatePluginConfiguration(ApiGeneratorExtension extension) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ public class Actor {
'/core/SetOfActorTypeAPI.java',
'/core/ActorDelegateLookupImpl.java',
'/core/MovieAPIFactory.java',
'/index/MovieAPIHashIndex.java'
'/index/MovieAPIHashIndex.java',
'/index/MoviePrimaryKeyIndex.java',
'/index/MovieUniqueKeyIndex.java'
].forEach { fileName ->
assert getFile(destinationSrcFolder, fileName).exists()
}
Expand Down

0 comments on commit d73df6f

Please sign in to comment.