Test that auto configurations can be added by init scripts

When an init command is run, it may add entries to the classpath. This
commit adds a test that verifies that, if an entry that is added to
the classpath contains a CompilerAutoConfiguration file in
META-INF/services, then the CompilerAutoConfigurations declared in it
are found by subsequent ServiceLoader.load calls.
This commit is contained in:
Andy Wilkinson
2014-01-07 11:42:58 +00:00
parent 321ce3aad2
commit 2e81b1d0d0
4 changed files with 62 additions and 0 deletions