JDK-8134618 : test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java has bad license header
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 7u80
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-08-27
  • Updated: 2015-09-14
  • Resolved: 2015-08-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u85 masterFixed
Related Reports
Relates :  
The version of this test committed to 7u has a bad license header compared to the one in 8u:

diff -r 3bf99e4002e2 test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java
--- a/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java	Thu Aug 27 18:05:51 2015 +0100
+++ b/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java	Thu Aug 27 18:13:05 2015 +0100
@@ -1,6 +1,24 @@
  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
- * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.

This was added by:

changeset:   7957:d63b4806622e
user:        aefimov
date:        Tue Jan 27 15:04:31 2015 +0300
summary:     8062923: XSL: Run-time internal error in 'substring()'

We should sync with the correctly licensed 8 version.
Ok, the extra Fix Version 'openjdk7u' was added by a bot. I've removed this and reinstated 7u85 which is where this is actually fixed (7u85-b02 to be precise; http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/e228aaace9c9)

It's recommended to use only one fixVersion per issue and if needed for more than one release, backport issue need to be created to clearly track issues into various releases. 7u85 has been removed from FixVersion value and backport will be created for other 7ux release.