提交 9b2c47dc 编写于 作者: K kohsuke

added a work around for issue #610.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5220 71c3de6d-444a-0410-be80-ed276b4c234a
上级 0a84a978
......@@ -332,7 +332,9 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
* Gets the {@link JobPropertyDescriptor} by name. Primarily used for making them web-visible.
*/
public JobPropertyDescriptor getJobProperty(String shortClassName) {
return (JobPropertyDescriptor)findDescriptor(shortClassName, Jobs.PROPERTIES);
// combining these two lines triggers javac bug. See issue #610.
Descriptor d = findDescriptor(shortClassName, Jobs.PROPERTIES);
return (JobPropertyDescriptor) d;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册