Discussion:
RFR: 8059973: Broken link in Class Pack200
Kumar Srinivasan
2014-10-09 14:34:42 UTC
Permalink
Hello,

Please review simple fix to remove the URL reference to Java Deployment
Guide,
these tend to move, causing broken link.

Thanks
Kumar

diff --git a/src/java.base/share/classes/java/util/jar/Pack200.java
b/src/java.base/share/classes/java/util/jar/Pack200.java
--- a/src/java.base/share/classes/java/util/jar/Pack200.java
+++ b/src/java.base/share/classes/java/util/jar/Pack200.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights
reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -93,8 +93,7 @@
* The deployment applications can use "Accept-Encoding=pack200-gzip".
This
* indicates to the server that the client application desires a
version of
* the file encoded with Pack200 and further compressed with gzip. Please
- * refer to <a
href="{@docRoot}/../technotes/guides/deployment/deployment-guide/pack200.html">Java
Deployment Guide</a> for more details and
- * techniques.
+ * refer to the Java Deployment Guide for techniques and details.
* <p>
* Unless otherwise noted, passing a <tt>null</tt> argument to a
constructor or
* method in this class will cause a {@link NullPointerException} to
be thrown.
Mandy Chung
2014-10-09 20:08:48 UTC
Permalink
Thumbs up.
Mandy
Post by Kumar Srinivasan
Hello,
Please review simple fix to remove the URL reference to Java
Deployment Guide,
these tend to move, causing broken link.
Thanks
Kumar
diff --git a/src/java.base/share/classes/java/util/jar/Pack200.java
b/src/java.base/share/classes/java/util/jar/Pack200.java
--- a/src/java.base/share/classes/java/util/jar/Pack200.java
+++ b/src/java.base/share/classes/java/util/jar/Pack200.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights
reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -93,8 +93,7 @@
* The deployment applications can use
"Accept-Encoding=pack200-gzip". This
* indicates to the server that the client application desires a
version of
* the file encoded with Pack200 and further compressed with gzip. Please
- * refer to <a
Deployment Guide</a> for more details and
- * techniques.
+ * refer to the Java Deployment Guide for techniques and details.
* <p>
* Unless otherwise noted, passing a <tt>null</tt> argument to a
constructor or
be thrown.
Loading...