提交 6fb6ae9e 编写于 作者: S sherman

6984046: java/jar jar/pack source needs vendor rebranding changes (jdk7 only)

Summary: updated to use appropriate vendor name
Reviewed-by: ohair, dholmes
上级 739e98e2
...@@ -36,7 +36,7 @@ import java.util.ArrayList; ...@@ -36,7 +36,7 @@ import java.util.ArrayList;
/** /**
* Various utility methods for processing Java tool command line arguments. * Various utility methods for processing Java tool command line arguments.
* *
* <p><b>This is NOT part of any API suppored by Sun Microsystems. If * <p><b>This is NOT part of any API supported by Oracle. If
* you write code that depends on this, you do so at your own risk. * you write code that depends on this, you do so at your own risk.
* This code and its internal interfaces are subject to change or * This code and its internal interfaces are subject to change or
* deletion without notice.</b> * deletion without notice.</b>
......
/* /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/** /**
* @test * @test
* @bug 6434207 6442687 * @bug 6434207 6442687 6984046
* @summary Ensure that jar ufm actually updates the * @summary Ensure that jar ufm actually updates the
* existing jar file's manifest with contents of the * existing jar file's manifest with contents of the
* manifest file. * manifest file.
...@@ -87,7 +87,7 @@ public class UpdateManifest { ...@@ -87,7 +87,7 @@ public class UpdateManifest {
if (!debug) manifestOrig.deleteOnExit(); if (!debug) manifestOrig.deleteOnExit();
PrintWriter pw = new PrintWriter(manifestOrig); PrintWriter pw = new PrintWriter(manifestOrig);
pw.println("Manifest-Version: 1.0"); pw.println("Manifest-Version: 1.0");
pw.println("Created-By: 1.6.0-internal (Sun Microsystems Inc.)"); pw.println("Created-By: 1.7.0-internal (Oracle Corporation)");
pw.println(""); pw.println("");
pw.println(animal); pw.println(animal);
pw.println(specTitle); pw.println(specTitle);
...@@ -109,7 +109,7 @@ public class UpdateManifest { ...@@ -109,7 +109,7 @@ public class UpdateManifest {
if (!debug) manifestUpdate.deleteOnExit(); if (!debug) manifestUpdate.deleteOnExit();
pw = new PrintWriter(manifestUpdate); pw = new PrintWriter(manifestUpdate);
final String createdBy = final String createdBy =
"Created-By: 1.5.0-special (Sun Microsystems Inc.)"; "Created-By: 1.7.0-special (Oracle Corporation)";
final String specVersion = final String specVersion =
"Specification-Version: 1.0.0.0"; "Specification-Version: 1.0.0.0";
pw.println(createdBy); // replaces line in the original pw.println(createdBy); // replaces line in the original
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册