Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FIY695
jenkins
提交
c8d7af2d
J
jenkins
项目概览
FIY695
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
c8d7af2d
编写于
3月 22, 2011
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed an AbstractMethodError in ItemGroupMixin.create when using some
older plugins.
上级
6f413a35
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
26 addition
and
11 deletion
+26
-11
changelog.html
changelog.html
+2
-0
core/src/main/java/hudson/ExtensionFinder.java
core/src/main/java/hudson/ExtensionFinder.java
+1
-1
core/src/main/java/hudson/model/AbstractItem.java
core/src/main/java/hudson/model/AbstractItem.java
+2
-2
core/src/main/java/hudson/model/Item.java
core/src/main/java/hudson/model/Item.java
+2
-0
core/src/main/java/hudson/model/ItemGroupMixIn.java
core/src/main/java/hudson/model/ItemGroupMixIn.java
+12
-1
core/src/main/java/hudson/model/queue/Executables.java
core/src/main/java/hudson/model/queue/Executables.java
+2
-2
core/src/main/java/hudson/model/queue/Tasks.java
core/src/main/java/hudson/model/queue/Tasks.java
+3
-3
core/src/main/java/hudson/scm/SCM.java
core/src/main/java/hudson/scm/SCM.java
+2
-2
未找到文件。
changelog.html
浏览文件 @
c8d7af2d
...
...
@@ -60,6 +60,8 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div
id=
"trunk"
style=
"display:none"
>
<!--=TRUNK-BEGIN=-->
<ul
class=
image
>
<li
class=
bug
>
Fixed an AbstractMethodError in ItemGroupMixin.create when using some older plugins.
<li
class=
bug
>
The "last duration" column was broken since 1.403.
<li
class=
bug
>
...
...
core/src/main/java/hudson/ExtensionFinder.java
浏览文件 @
c8d7af2d
...
...
@@ -87,7 +87,7 @@ public abstract class ExtensionFinder implements ExtensionPoint {
public
abstract
<
T
>
Collection
<
ExtensionComponent
<
T
>>
find
(
Class
<
T
>
type
,
Hudson
hudson
);
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
public
<
T
>
Collection
<
ExtensionComponent
<
T
>>
_find
(
Class
<
T
>
type
,
Hudson
hudson
)
{
...
...
core/src/main/java/hudson/model/AbstractItem.java
浏览文件 @
c8d7af2d
...
...
@@ -255,7 +255,7 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
void
callOnRenamed
(
String
newName
,
ItemGroup
parent
,
String
oldName
)
throws
IOException
{
...
...
@@ -424,7 +424,7 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
void
invokeOnDeleted
()
throws
IOException
{
...
...
core/src/main/java/hudson/model/Item.java
浏览文件 @
c8d7af2d
...
...
@@ -181,6 +181,8 @@ public interface Item extends PersistenceRoot, SearchableModelObject, AccessCont
/**
* When an item is created from scratch (instead of copied),
* this method will be invoked. Used as the post-construction initialization.
*
* @since 1.374
*/
void
onCreatedFromScratch
();
...
...
core/src/main/java/hudson/model/ItemGroupMixIn.java
浏览文件 @
c8d7af2d
...
...
@@ -247,7 +247,11 @@ public abstract class ItemGroupMixIn {
}
catch
(
Exception
e
)
{
throw
new
IllegalArgumentException
(
e
);
}
item
.
onCreatedFromScratch
();
try
{
callOnCreatedFromScratch
(
item
);
}
catch
(
AbstractMethodError
e
)
{
// ignore this error. Must be older plugin that doesn't have this method
}
item
.
save
();
add
(
item
);
...
...
@@ -256,4 +260,11 @@ public abstract class ItemGroupMixIn {
return
item
;
}
/**
* Pointless wrapper to avoid HotSpot problem. See JENKINS-5756
*/
private
void
callOnCreatedFromScratch
(
TopLevelItem
item
)
{
item
.
onCreatedFromScratch
();
}
}
core/src/main/java/hudson/model/queue/Executables.java
浏览文件 @
c8d7af2d
...
...
@@ -59,7 +59,7 @@ public class Executables {
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
static
SubTask
_getParentOf
(
Executable
e
)
{
...
...
@@ -80,7 +80,7 @@ public class Executables {
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
static
long
_getEstimatedDuration
(
Executable
e
)
{
...
...
core/src/main/java/hudson/model/queue/Tasks.java
浏览文件 @
c8d7af2d
...
...
@@ -37,7 +37,7 @@ import java.util.Collections;
public
class
Tasks
{
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
static
Collection
<?
extends
SubTask
>
_getSubTasksOf
(
Task
task
)
{
...
...
@@ -53,7 +53,7 @@ public class Tasks {
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
static
Object
_getSameNodeConstraintOf
(
SubTask
t
)
{
...
...
@@ -69,7 +69,7 @@ public class Tasks {
}
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
public
static
Task
_getOwnerTaskOf
(
SubTask
t
)
{
...
...
core/src/main/java/hudson/scm/SCM.java
浏览文件 @
c8d7af2d
...
...
@@ -297,7 +297,7 @@ public abstract class SCM implements Describable<SCM>, ExtensionPoint {
public
abstract
SCMRevisionState
calcRevisionsFromBuild
(
AbstractBuild
<?,?>
build
,
Launcher
launcher
,
TaskListener
listener
)
throws
IOException
,
InterruptedException
;
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
public
SCMRevisionState
_calcRevisionsFromBuild
(
AbstractBuild
<?,
?>
build
,
Launcher
launcher
,
TaskListener
listener
)
throws
IOException
,
InterruptedException
{
...
...
@@ -347,7 +347,7 @@ public abstract class SCM implements Describable<SCM>, ExtensionPoint {
protected
abstract
PollingResult
compareRemoteRevisionWith
(
AbstractProject
<?,?>
project
,
Launcher
launcher
,
FilePath
workspace
,
TaskListener
listener
,
SCMRevisionState
baseline
)
throws
IOException
,
InterruptedException
;
/**
* A pointless function to work around what appears to be a HotSpot problem. See
HUDSON
-5756 and bug 6933067
* A pointless function to work around what appears to be a HotSpot problem. See
JENKINS
-5756 and bug 6933067
* on BugParade for more details.
*/
private
PollingResult
_compareRemoteRevisionWith
(
AbstractProject
<?,
?>
project
,
Launcher
launcher
,
FilePath
workspace
,
TaskListener
listener
,
SCMRevisionState
baseline2
)
throws
IOException
,
InterruptedException
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录