Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
8598492f
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8598492f
编写于
9月 27, 2018
作者:
O
Oleg Nenashev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Ignored Exceptions: use ‘ignored’ to supress IntellijIDEA warnings as suggested by @daniel-beck
上级
a3cc7780
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
11 deletion
+12
-11
core/src/main/java/hudson/ClassicPluginStrategy.java
core/src/main/java/hudson/ClassicPluginStrategy.java
+5
-4
core/src/main/java/hudson/FilePath.java
core/src/main/java/hudson/FilePath.java
+3
-3
core/src/main/java/hudson/model/queue/Executables.java
core/src/main/java/hudson/model/queue/Executables.java
+1
-1
core/src/main/java/hudson/os/solaris/ZFSInstaller.java
core/src/main/java/hudson/os/solaris/ZFSInstaller.java
+1
-1
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/model/Jenkins.java
+1
-1
core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java
...jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java
+1
-1
未找到文件。
core/src/main/java/hudson/ClassicPluginStrategy.java
浏览文件 @
8598492f
...
...
@@ -778,19 +778,20 @@ public class ClassicPluginStrategy implements PluginStrategy {
Class
<?>
c
=
ClassLoaderReflectionToolkit
.
_findLoadedClass
(
pw
.
classLoader
,
name
);
if
(
c
!=
null
)
return
c
;
return
ClassLoaderReflectionToolkit
.
_findClass
(
pw
.
classLoader
,
name
);
}
catch
(
ClassNotFoundException
e
)
{
}
catch
(
ClassNotFoundException
ignored
)
{
//not found. try next
}
}
}
else
{
for
(
Dependency
dep
:
dependencies
)
{
PluginWrapper
p
=
pluginManager
.
getPlugin
(
dep
.
shortName
);
if
(
p
!=
null
)
if
(
p
!=
null
)
{
try
{
return
p
.
classLoader
.
loadClass
(
name
);
}
catch
(
ClassNotFoundException
ex
)
{
// try next
}
catch
(
ClassNotFoundException
ignored
)
{
//
OK,
try next
}
}
}
}
...
...
core/src/main/java/hudson/FilePath.java
浏览文件 @
8598492f
...
...
@@ -2309,7 +2309,7 @@ public final class FilePath implements Serializable {
// legacy agent.jar. Handle this gracefully
try
{
LOGGER
.
log
(
Level
.
WARNING
,
"Looks like an old agent.jar. Please update "
+
Which
.
jarFile
(
Channel
.
class
)+
" to the new version"
,
e
);
}
catch
(
IOException
ex
)
{
}
catch
(
IOException
ignored
)
{
// really ignore this time
}
}
...
...
@@ -2427,8 +2427,8 @@ public final class FilePath implements Serializable {
// report both errors
e
.
addSuppressed
(
x
);
throw
e
;
}
catch
(
TimeoutException
ex
)
{
// remote is hanging
}
catch
(
TimeoutException
ignored
)
{
// remote is hanging
, just throw the original exception
throw
e
;
}
}
...
...
core/src/main/java/hudson/model/queue/Executables.java
浏览文件 @
8598492f
...
...
@@ -46,7 +46,7 @@ public class Executables {
throws
Error
,
RuntimeException
{
try
{
return
e
.
getParent
();
}
catch
(
AbstractMethodError
ex
)
{
}
catch
(
AbstractMethodError
ignored
)
{
// will fallback to a private implementation
try
{
Method
m
=
e
.
getClass
().
getMethod
(
"getParent"
);
m
.
setAccessible
(
true
);
...
...
core/src/main/java/hudson/os/solaris/ZFSInstaller.java
浏览文件 @
8598492f
...
...
@@ -219,7 +219,7 @@ public class ZFSInstaller extends AdministrativeMonitor implements Serializable
// revert the file system creation
try
{
hudson
.
destory
();
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ignored
)
{
// but ignore the error and let the original error thrown
}
throw
e
;
...
...
core/src/main/java/jenkins/model/Jenkins.java
浏览文件 @
8598492f
...
...
@@ -5030,7 +5030,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
if
(
idx
>
0
)
{
return
new
VersionNumber
(
versionString
.
substring
(
0
,
idx
));
}
}
catch
(
NumberFormatException
ex
)
{
}
catch
(
NumberFormatException
ignored
)
{
// fall through
}
...
...
core/src/main/java/jenkins/slaves/restarter/JnlpSlaveRestarterInstaller.java
浏览文件 @
8598492f
...
...
@@ -77,7 +77,7 @@ public class JnlpSlaveRestarterInstaller extends ComputerListener implements Ser
try
{
Engine
.
class
.
getMethod
(
"addListener"
,
EngineListener
.
class
);
}
catch
(
NoSuchMethodException
ex
)
{
}
catch
(
NoSuchMethodException
ignored
)
{
return
null
;
// running with older version of remoting that doesn't support adding listener
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录