1. 03 Apr, 2016 1 commit
  2. 02 Apr, 2016 2 commits
  3. 01 Apr, 2016 10 commits
  4. 31 Mar, 2016 4 commits
    • Phillip Webb's avatar
      Upgrade to checkstyle 6.17 · 893a6c32
      Phillip Webb authored
      Fixes gh-5547
      893a6c32
    • Andy Wilkinson's avatar
      Add missing jar file · 4f200a85
      Andy Wilkinson authored
      It should have been in 68b83a8f but was excluded by gitignore.
      
      See gh-3701
      4f200a85
    • Andy Wilkinson's avatar
      Improve handling of loader.path in PropertiesLauncher · 68b83a8f
      Andy Wilkinson authored
      Previously, if loader.path directly specified a jar file that contained
      nested archives (.zip or .jar), launching would fail unless those
      nested archives were uncompressed. However, if loader.path specified a
      directory that contained such a jar file the launch would succeed. This
      was because the nested archives within the jar were ignored.
      
      This commit updates PropertiesLauncher so that its behaviour in the
      scenarios described above is consistent by not looking for archives
      nested with a jar that’s be specified on loader.path. The javadoc for
      loader.path has also been updated to make it clear that loader.path
      can points to directories or jar files, bringing it into line with
      the reference guide.
      
      Closes gh-3701
      68b83a8f
    • Andy Wilkinson's avatar
      Simplify exception handling and reporting in the launcher · 313b6f64
      Andy Wilkinson authored
      Following changes to LaunchedURLClassLoader made in 87fe0b2a, it is
      no longer necessary for the launcher to load MainMethodRunner via
      reflection as both the app class loader that the launcher URL class
      loader share the same MainMethodRunner class.
      
      This commit takes advantage of this by updating Launcher to instantiate
      MainMethodRunner directly rather than via reflection, removing one
      source of possible exceptions in the launcher.
      
      As the MainMethodRunner is now loaded directly and its class is shared
      between the two class loaders, there’s no longer a need for it to
      implement Runnable. This allows it to throw Exception from its run
      method, rather than having to wrap any Exception in a RuntimeException.
      
      Lastly, rather than catching any exception thrown from the launch,
      Launcher and its subclasses have been updated to allow this exception
      to be thrown from the main method. This allows the Exception to reach
      the JVM, to be processed by our registered uncaught exception handler,
      and to trigger the JVM’s standard processing for exiting due to a
      failure. This removes the need for the Launcher itself to call
      System.exit(1) and ensures that the exception is only output to the
      console if it hasn’t been registered as a logged exception.
      
      Closes gh-5358
      313b6f64
  5. 30 Mar, 2016 7 commits
  6. 29 Mar, 2016 16 commits