Skip to content

Commit d9ba481

Browse files
committed
Removing stale references to dev.java.net.
1 parent 8ef4df9 commit d9ba481

File tree

15 files changed

+22
-50
lines changed

15 files changed

+22
-50
lines changed

core/src/main/java/hudson/MarkupText.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
*
3535
* <p>
3636
* This class is used to put mark up on plain text.
37-
* See <a href="https://hudson.dev.java.net/source/browse/hudson/hudson/main/core/src/test/java/hudson/MarkupTextTest.java?view=markup">
38-
* the test code</a> for a typical usage and its result.
37+
* See {@code MarkupTextTest} for a typical usage and its result.
3938
*
4039
* @author Kohsuke Kawaguchi
4140
* @since 1.70

core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public static WindowsInstallerLink registerIfApplicable() {
252252
WindowsInstallerLink link = new WindowsInstallerLink(new File(war));
253253

254254
// in certain situations where we know the user is just trying Jenkins (like when Jenkins is launched
255-
// from JNLP from https://hudson.dev.java.net/), also put this link on the navigation bar to increase
255+
// from JNLP), also put this link on the navigation bar to increase
256256
// visibility
257257
if(System.getProperty(WindowsInstallerLink.class.getName()+".prominent")!=null)
258258
Jenkins.getInstance().getActions().add(link);

core/src/main/java/hudson/security/InvalidatableUserDetails.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* dropped before the rest of Acegi sees it.
4747
*
4848
* <p>
49-
* See https://hudson.dev.java.net/issues/show_bug.cgi?id=1482
49+
* See JENKINS-1482
5050
*
5151
* @author Kohsuke Kawaguchi
5252
* @deprecated

core/src/main/java/hudson/tasks/junit/XMLEntityResolver.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public InputSource resolveEntity(String publicId, String systemId) throws SAXExc
7777

7878
/**
7979
* Install EntityResolver for resolving DTDs, which are in files created by TestNG.
80-
* (see https://hudson.dev.java.net/servlets/ReadMsg?listName=users&msgNo=5530)
8180
*/
8281
@Override
8382
public void configure(SAXReader reader, Object context) {
@@ -87,4 +86,4 @@ public void configure(SAXReader reader, Object context) {
8786
}
8887

8988
private static final Logger LOGGER = Logger.getLogger(XMLEntityResolver.class.getName());
90-
}
89+
}

core/src/main/java/hudson/util/Secret.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static Secret decrypt(String data) {
145145
}
146146

147147
/**
148-
* Workaround for HUDSON-6459 / https://glassfish.dev.java.net/issues/show_bug.cgi?id=11862 .
148+
* Workaround for JENKINS-6459 / http://java.net/jira/browse/GLASSFISH-11862
149149
* This method uses specific provider selected via hudson.util.Secret.provider system property
150150
* to provide a workaround for the above bug where default provide gives an unusable instance.
151151
* (Glassfish Enterprise users should set value of this property to "SunJCE")
@@ -201,7 +201,7 @@ public Object unmarshal(HierarchicalStreamReader reader, final UnmarshallingCont
201201
private static final String MAGIC = "::::MAGIC::::";
202202

203203
/**
204-
* Workaround for HUDSON-6459 / https://glassfish.dev.java.net/issues/show_bug.cgi?id=11862 .
204+
* Workaround for JENKINS-6459 / http://java.net/jira/browse/GLASSFISH-11862
205205
* @see #getCipher(String)
206206
*/
207207
private static final String PROVIDER = System.getProperty(Secret.class.getName()+".provider");

core/src/main/resources/hudson/tools/CommandInstaller/help.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
</p>
55
<pre>sudo apt-get --yes install openjdk-6-jdk</pre>
66
<p>
7-
(In this case specify <code>/usr/lib/jvm/java-6-openjdk</code> as the home directory.)
7+
(In this case specify e.g. <code>/usr/lib/jvm/java-6-openjdk-i386</code> as the home directory.)
88
</p>
99
<p>
10-
As another example, to install Sun JDK 6 for (x86) Linux,
11-
you can use <a href="https://jdk-distros.dev.java.net/developer.html">DLJ</a>:
10+
As another example, to install an older version of Sun JDK 6 for (x86) Linux,
11+
you can use the obsolete <a href="http://jdk-distros.java.net/">DLJ</a>:
1212
</p>
1313
<pre>bin=jdk-6u13-dlj-linux-i586.bin
1414
if [ \! -f $bin ]

core/src/test/java/hudson/tasks/junit/SuiteResultTest.java

+4-12
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ private List<SuiteResult> parseSuites(File file) throws Exception {
6262
return SuiteResult.parse(file, false);
6363
}
6464

65-
/**
66-
* Verifying fix for issue #1233.
67-
* https://hudson.dev.java.net/issues/show_bug.cgi?id=1233
68-
*/
65+
@Bug(1233)
6966
public void testIssue1233() throws Exception {
7067
SuiteResult result = parseOne(getDataFile("junit-report-1233.xml"));
7168

@@ -77,10 +74,9 @@ public void testIssue1233() throws Exception {
7774
assertEquals("Class name is incorrect", "test.foo.bar.ProjectSettingsTest", cases.get(4).getClassName());
7875
}
7976
/**
80-
* Verifying fix for issue #1463.
8177
* JUnit report file is generated by SoapUI Pro 1.7.6
82-
* https://hudson.dev.java.net/issues/show_bug.cgi?id=1463
8378
*/
79+
@Bug(1463)
8480
public void testIssue1463() throws Exception {
8581
SuiteResult result = parseOne(getDataFile("junit-report-1463.xml"));
8682

@@ -97,10 +93,9 @@ public void testIssue1463() throws Exception {
9793
}
9894

9995
/**
100-
* Verifying fix for issue #1472.
10196
* JUnit report produced by TAP (Test Anything Protocol)
102-
* https://hudson.dev.java.net/issues/show_bug.cgi?id=1472
10397
*/
98+
@Bug(1472)
10499
public void testIssue1472() throws Exception {
105100
List<SuiteResult> results = SuiteResult.parse(getDataFile("junit-report-1472.xml"), false);
106101
assertTrue(results.size()>20); // lots of data here
@@ -112,10 +107,7 @@ public void testIssue1472() throws Exception {
112107
assertTrue(!sr0.getStdout().equals(sr1.getStdout()));
113108
}
114109

115-
/**
116-
* Verifying fix for issue #2874.
117-
* https://hudson.dev.java.net/issues/show_bug.cgi?id=2874
118-
*/
110+
@Bug(2874)
119111
public void testIssue2874() throws Exception {
120112
SuiteResult result = parseOne(getDataFile("junit-report-2874.xml"));
121113

ips/proto.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
# definition of the IPS package.
25-
# see https://updatecenter2.dev.java.net/maven-makepkgs-plugin/ for more about this
25+
# see https://wikis.oracle.com/display/IpsBestPractices/Producing+and+Maintaining+Packages for more about this
2626

2727
import builder;
2828

test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java

+1-9
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,6 @@ private void addChannel(Channel ch) {
562562
}
563563
}
564564

565-
// /**
566-
// * Sets guest credentials to access java.net Subversion repo.
567-
// */
568-
// protected void setJavaNetCredential() throws SVNException, IOException {
569-
// // set the credential to access svn.dev.java.net
570-
// hudson.getDescriptorByType(SubversionSCM.DescriptorImpl.class).postCredential("https://svn.dev.java.net/svn/hudson/","guest","",null,new PrintWriter(new NullStream()));
571-
// }
572-
573565
/**
574566
* Returns the older default Maven, while still allowing specification of other bundled Mavens.
575567
*/
@@ -1553,7 +1545,7 @@ public HudsonTestCase withExistingHome(File source) throws Exception {
15531545

15541546
/**
15551547
* Declares that this test case expects to start with one of the preset data sets.
1556-
* See https://svn.dev.java.net/svn/hudson/trunk/hudson/main/test/src/main/preset-data/
1548+
* See {@code test/src/main/preset-data/}
15571549
* for available datasets and what they mean.
15581550
*/
15591551
public HudsonTestCase withPresetData(String name) {

test/src/main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
import java.net.URL;
1919

2020
/**
21-
* Acts as a reverse proxy to https://hudson.dev.java.net/ , so that during a test
22-
* we can avoid hitting java.net.
21+
* Acts as a reverse proxy, so that during a test we can avoid hitting updates.jenkins-ci.org.
2322
*
2423
* <p>
2524
* The contents are cached locally.

test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java

+1-10
Original file line numberDiff line numberDiff line change
@@ -618,15 +618,6 @@ public void onOnline(Computer c, TaskListener listener) throws IOException, Inte
618618
}
619619

620620

621-
// /**
622-
// * Sets guest credentials to access java.net Subversion repo.
623-
// */
624-
// public void setJavaNetCredential() throws SVNException, IOException {
625-
// // set the credential to access svn.dev.java.net
626-
// jenkins.getDescriptorByType(SubversionSCM.DescriptorImpl.class).postCredential("https://svn.dev.java.net/svn
627-
// /hudson/","guest","",null,new PrintWriter(new NullStream()));
628-
// }
629-
630621
/**
631622
* Returns the older default Maven, while still allowing specification of other bundled Mavens.
632623
*/
@@ -1595,7 +1586,7 @@ public JenkinsRule withExistingHome(File source) throws Exception {
15951586

15961587
/**
15971588
* Declares that this test case expects to start with one of the preset data sets.
1598-
* See https://svn.dev.java.net/svn/hudson/trunk/hudson/main/test/src/main/preset-data/
1589+
* See {@code test/src/main/preset-data/}
15991590
* for available datasets and what they mean.
16001591
*/
16011592
public JenkinsRule withPresetData(String name) {

test/src/test/java/hudson/tasks/junit/CaseResultTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class CaseResultTest extends HudsonTestCase {
5555
// configureDefaultMaven();
5656
//
5757
// MavenModuleSet p = createMavenProject();
58-
// p.setScm(new SubversionSCM("https://svn.dev.java.net/svn/hudson/trunk/hudson/test-projects/junit-failure@16411"));
58+
// p.setScm(new SubversionSCM(".../hudson/test-projects/junit-failure@16411"));
5959
// MavenModuleSetBuild b = assertBuildStatus(UNSTABLE,p.scheduleBuild2(0).get());
6060
// AbstractTestResultAction<?> t = b.getTestResultAction();
6161
// assertSame(1,t.getFailCount());

war/src/main/webapp/WEB-INF/ibm-web-bnd.xmi

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ able to use WebSphere's provided deployment script as-is.
2929
E.g., on WAS 7.0 and using jython:
3030
AdminApplication.installWarFile('hudson','/blabla/hudson.war','localhostNode01','server1','hudson')
3131
32-
See https://hudson.dev.java.net/issues/show_bug.cgi?id=3270
32+
See https://issues.jenkins-ci.org/browse/JENKINS-3270
3333
-->
3434
<webappbnd:WebAppBinding
3535
xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"

war/src/main/webapp/WEB-INF/sun-web.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ THE SOFTWARE.
2626
<!--
2727
Sun One Java Application Server and Glassfish (as of 2007/4) makes
2828
old Ant classes visible to the web application classloader, and
29-
that causes https://hudson.dev.java.net/issues/show_bug.cgi?id=458
29+
that causes https://issues.jenkins-ci.org/browse/JENKINS-458
3030
3131
So change the delegation order to make sure we pick up Ant from
3232
Hudson. See http://docs.sun.com/app/docs/doc/819-2634/6n4tl5kp3?a=view#abxhy
@@ -35,4 +35,4 @@ THE SOFTWARE.
3535
<!-- without this, we end up loading Ant from Glassfish -->
3636
<class-loader delegate="false"/>
3737
<parameter-encoding default-charset="UTF-8" />
38-
</sun-web-app>
38+
</sun-web-app>

war/src/main/webapp/help/project-config/maven_pt_BR.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Algumas vers&#245;es do Maven t&#234;m um bug onde ele n&#227;o retorna o c&#243;digo de sa&#237;da corretamente.
66

77
<p>
8-
O Jenkins passa <a href="https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/war/resources/env-vars.html">
8+
O Jenkins passa <a href="../../env-vars.html">
99
v&#225;rias vari&#225;veis de ambiente</a> para o Maven, que voc&#234; pode acessar do Maven como "${env.VARIABLENAME}".
1010

1111
<p>

0 commit comments

Comments
 (0)