diff --git a/core/src/main/java/hudson/WebAppMain.java b/core/src/main/java/hudson/WebAppMain.java index 34f305d68dcb387c5474d460af72d991f9b289d1..07e679dc49245049a4c69c1e540b1aaf1a88ddc4 100644 --- a/core/src/main/java/hudson/WebAppMain.java +++ b/core/src/main/java/hudson/WebAppMain.java @@ -259,9 +259,9 @@ public final class WebAppMain implements ServletContextListener { } /** Add some metadata to a File, allowing to trace setup issues */ - private static class FileAndDescription { - File file; - String description; + public static class FileAndDescription { + public final File file; + public final String description; public FileAndDescription(File file,String description) { this.file = file; this.description = description; @@ -281,7 +281,7 @@ public final class WebAppMain implements ServletContextListener { *
* @return the File alongside with some description to help the user troubleshoot issues */ - private FileAndDescription getHomeDir(ServletContextEvent event) { + public FileAndDescription getHomeDir(ServletContextEvent event) { // check JNDI for the home directory first for (String name : HOME_NAMES) { try {