diff --git a/core/src/main/java/hudson/model/Hudson.java b/core/src/main/java/hudson/model/Hudson.java index 71fecaa535..b9be81e4d0 100644 --- a/core/src/main/java/hudson/model/Hudson.java +++ b/core/src/main/java/hudson/model/Hudson.java @@ -331,7 +331,7 @@ public final class Hudson extends View implements ItemGroup, Node, private transient final LogRecorderManager log = new LogRecorderManager(); public Hudson(File root, ServletContext context) throws IOException { - super(Messages.Hudson_ViewName()); + super(null); this.root = root; this.servletContext = context; if(theInstance!=null) @@ -478,6 +478,10 @@ public final class Hudson extends View implements ItemGroup, Node, throw new UnsupportedOperationException(); } + @Override + public String getViewName() { + return Messages.Hudson_ViewName(); + } /** * Gets the SCM descriptor by name. Primarily used for making them web-visible.