# HG changeset patch # User asaha # Date 1388705484 28800 # Node ID efc18829e3a6f921975ef96f2bd34cec1faa28b4 # Parent b07b8c077482798bd8e4827ac6f15054511340bc# Parent 232b9cf6303aaf451c7000c5f93dfea842e9e9ae Merge diff -r b07b8c077482 -r efc18829e3a6 make/Makefile --- a/make/Makefile Fri Dec 20 07:44:28 2013 -0800 +++ b/make/Makefile Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/javadoc/AnnotationDesc.java --- a/src/share/classes/com/sun/javadoc/AnnotationDesc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/javadoc/AnnotationDesc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/source/doctree/package-info.java --- a/src/share/classes/com/sun/source/doctree/package-info.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/source/doctree/package-info.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/classfile/AccessFlags.java --- a/src/share/classes/com/sun/tools/classfile/AccessFlags.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/classfile/AccessFlags.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/classfile/Dependencies.java --- a/src/share/classes/com/sun/tools/classfile/Dependencies.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/classfile/Dependencies.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/classfile/MethodParameters_attribute.java --- a/src/share/classes/com/sun/tools/classfile/MethodParameters_attribute.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/classfile/MethodParameters_attribute.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java Thu Jan 02 15:31:24 2014 -0800 @@ -115,12 +115,6 @@ boolean nodeprecated = configuration.nodeprecated; performCopy(configuration.helpfile); performCopy(configuration.stylesheetfile); - copyResourceFile("background.gif"); - copyResourceFile("tab.gif"); - copyResourceFile("titlebar.gif"); - copyResourceFile("titlebar_end.gif"); - copyResourceFile("activetitlebar.gif"); - copyResourceFile("activetitlebar_end.gif"); // do early to reduce memory footprint if (configuration.classuse) { ClassUseWriter.generate(configuration, classtree); @@ -314,16 +308,6 @@ return docletToStart.configuration.validOptions(options, reporter); } - /** - * Copy a file in the resources directory to the destination directory. - * @param resource The name of the resource file to copy - */ - private void copyResourceFile(String resource) { - DocPath p = DocPaths.RESOURCES.resolve(resource); - DocFile f = DocFile.createFileForOutput(configuration, p); - f.copyResource(p, false, false); - } - private void performCopy(String filename) { if (filename.isEmpty()) return; diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java Thu Jan 02 15:31:24 2014 -0800 @@ -1363,7 +1363,7 @@ return new ContentBuilder(); } - String seetext = replaceDocRootDir(see.text()); + String seetext = replaceDocRootDir(Util.normalizeNewlines(see.text())); //Check if @see is an href or "string" if (seetext.startsWith("<") || seetext.startsWith("\"")) { diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/formats/html/LinkOutputImpl.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/LinkOutputImpl.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/LinkOutputImpl.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlAttr.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlAttr.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlAttr.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/activetitlebar.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/activetitlebar.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/activetitlebar_end.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/activetitlebar_end.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/background.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/background.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Thu Jan 02 15:31:24 2014 -0800 @@ -134,6 +134,7 @@ doclet.Groupname_already_used=-group\u30AA\u30D7\u30B7\u30E7\u30F3\u306B\u304A\u3044\u3066\u3001\u3059\u3067\u306B\u30B0\u30EB\u30FC\u30D7\u540D\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059: {0} doclet.value_tag_invalid_reference={0}(@value\u30BF\u30B0\u306B\u3088\u308A\u53C2\u7167\u3055\u308C\u3066\u3044\u308B)\u306F\u4E0D\u660E\u306A\u53C2\u7167\u3067\u3059\u3002 doclet.value_tag_invalid_constant=@value\u30BF\u30B0({0}\u3092\u53C2\u7167\u3057\u3066\u3044\u308B)\u306F\u5B9A\u6570\u5185\u3067\u306E\u307F\u4F7F\u7528\u3067\u304D\u307E\u3059\u3002 +doclet.value_tag_invalid_use=@value\u30BF\u30B0\u306F\u3053\u3053\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 doclet.dest_dir_create=\u5B9B\u5148\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u4F5C\u6210\u4E2D: "{0}" doclet.in={1}\u306E{0} doclet.Use_Table_Summary=\u8868\u3001{0}\u306E\u30EA\u30B9\u30C8\u304A\u3088\u3073\u8AAC\u660E\u306E\u4F7F\u7528 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Thu Jan 02 15:31:24 2014 -0800 @@ -134,6 +134,7 @@ doclet.Groupname_already_used=\u5728 -group \u9009\u9879\u4E2D, groupname \u5DF2\u4F7F\u7528: {0} doclet.value_tag_invalid_reference={0} (\u7531 @value \u6807\u8BB0\u5F15\u7528) \u4E3A\u672A\u77E5\u5F15\u7528\u3002 doclet.value_tag_invalid_constant=@value \u6807\u8BB0 (\u5F15\u7528{0}) \u53EA\u80FD\u5728\u5E38\u91CF\u4E2D\u4F7F\u7528\u3002 +doclet.value_tag_invalid_use=\u6B64\u5904\u4E0D\u80FD\u4F7F\u7528 @value \u6807\u8BB0\u3002 doclet.dest_dir_create=\u6B63\u5728\u521B\u5EFA\u76EE\u6807\u76EE\u5F55: "{0}" doclet.in={1}\u4E2D\u7684{0} doclet.Use_Table_Summary=\u4F7F\u7528\u8868, \u5217\u8868{0}\u548C\u89E3\u91CA diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css Thu Jan 02 15:31:24 2014 -0800 @@ -2,16 +2,19 @@ /* Overall document style */ + +@import url('resources/fonts/dejavu.css'); + body { background-color:#ffffff; color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; margin:0; } a:link, a:visited { text-decoration:none; - color:#4c6b87; + color:#4A6782; } a:hover, a:focus { text-decoration:none; @@ -19,7 +22,7 @@ } a:active { text-decoration:none; - color:#4c6b87; + color:#4A6782; } a[name] { color:#353833; @@ -29,41 +32,51 @@ color:#353833; } pre { - font-size:1.3em; + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; } h1 { - font-size:1.8em; + font-size:20px; } h2 { - font-size:1.5em; + font-size:18px; } h3 { - font-size:1.4em; + font-size:16px; + font-style:italic; } h4 { - font-size:1.3em; + font-size:13px; } h5 { - font-size:1.2em; + font-size:12px; } h6 { - font-size:1.1em; + font-size:11px; } ul { list-style-type:disc; } code, tt { - font-size:1.2em; + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; } dt code { - font-size:1.2em; + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; } table tr td dt code { - font-size:1.2em; + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; vertical-align:top; + padding-top:4px; } sup { - font-size:.6em; + font-size:8px; } /* Document title and Copyright styles @@ -76,10 +89,9 @@ .aboutLanguage { float:right; padding:0px 21px; - font-size:.8em; - font-style:italic; + font-size:11px; z-index:200; - margin-top:-7px; + margin-top:-9px; } .legalCopy { margin-left:.5em; @@ -93,9 +105,6 @@ } .tab { background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; color:#ffffff; padding:8px; width:5em; @@ -105,17 +114,15 @@ Navigation bar styles */ .bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; + background-color:#4D7A97; color:#FFFFFF; padding:.8em .5em .4em .8em; height:auto;/*height:1.8em;*/ - font-size:1em; + font-size:11px; margin:0; } .topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; + background-color:#4D7A97; color:#FFFFFF; float:left; padding:0; @@ -124,11 +131,11 @@ height:2.8em; padding-top:10px; overflow:hidden; + font-size:12px; } .bottomNav { margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; + background-color:#4D7A97; color:#FFFFFF; float:left; padding:0; @@ -137,18 +144,20 @@ height:2.8em; padding-top:10px; overflow:hidden; + font-size:12px; } .subNav { background-color:#dee3e9; - border-bottom:1px solid #9eadc0; float:left; width:100%; overflow:hidden; + font-size:12px; } .subNav div { clear:left; float:left; padding:0 0 5px 6px; + text-transform:uppercase; } ul.navList, ul.subNavList { float:left; @@ -158,34 +167,34 @@ ul.navList li{ list-style:none; float:left; - padding:3px 6px; + padding: 5px 6px; + text-transform:uppercase; } ul.subNavList li{ list-style:none; float:left; - font-size:90%; } .topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { color:#FFFFFF; text-decoration:none; + text-transform:uppercase; } .topNav a:hover, .bottomNav a:hover { text-decoration:none; color:#bb7a2a; + text-transform:uppercase; } .navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; + background-color:#F8981D; + color:#253441; margin: auto 5px; - border:1px solid #c9aa44; } .skipNav { position:absolute; top:auto; left:-9999px; overflow:hidden; - } +} /* Page header and footer styles */ @@ -202,7 +211,7 @@ margin-right:15px; } .indexHeader h1 { - font-size:1.3em; + font-size:13px; } .title { color:#2c4557; @@ -212,7 +221,7 @@ margin:5px 0 0 0; } .header ul { - margin:0 0 25px 0; + margin:0 0 15px 0; padding:0; } .footer ul { @@ -220,24 +229,22 @@ } .header ul li, .footer ul li { list-style:none; - font-size:1.2em; + font-size:13px; } /* Heading styles */ div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; + border:1px solid #d0d9e0; margin:0 0 6px -8px; - padding:2px 5px; + padding:7px 5px; } ul.blockList ul.blockList ul.blockList li.blockList h3 { background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; + border:1px solid #d0d9e0; margin:0 0 6px -8px; - padding:2px 5px; + padding:7px 5px; } ul.blockList ul.blockList li.blockList h3 { padding:0; @@ -257,10 +264,10 @@ .indexContainer { margin:10px; position:relative; - font-size:1.0em; + font-size:12px; } .indexContainer h2 { - font-size:1.1em; + font-size:13px; padding:0 0 3px 0; } .indexContainer ul { @@ -269,15 +276,18 @@ } .indexContainer ul li { list-style:none; + padding-top:2px; } .contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; + font-size:12px; font-weight:bold; margin:10px 0 0 0; color:#4E4E4E; } .contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; } .serializedFormContainer dl.nameValue dt { margin-left:1px; @@ -316,25 +326,24 @@ } ul.blockList li.blockList, ul.blockListLast li.blockList { list-style:none; - margin-bottom:25px; + margin-bottom:15px; + line-height:1.4; } ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; + border:1px solid #ededed; + background-color:#f8f8f8; } ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { padding:0 0 5px 8px; background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; + border:none; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { margin-left:0; padding-left:0; padding-bottom:15px; border:none; - border-bottom:1px solid #9eadc0; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { list-style:none; @@ -349,9 +358,10 @@ Table styles */ .overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - border-bottom:1px solid #9eadc0; - margin:0 0 12px 0px; width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; } .overviewSummary, .memberSummary { padding:0px; @@ -361,12 +371,15 @@ position:relative; text-align:left; background-repeat:no-repeat; - color:#FFFFFF; + color:#253441; font-weight:bold; clear:none; overflow:hidden; padding:0px; + padding-top:10px; + padding-left:1px; margin:0px; + white-space:pre; } .overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, .useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, @@ -381,89 +394,98 @@ .overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, .useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { white-space:nowrap; - padding-top:8px; - padding-left:8px; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; display:inline-block; float:left; - background-image:url(resources/titlebar.gif); + background-color:#F8981D; + border: none; + height:16px; } .memberSummary caption span.activeTableTab span { white-space:nowrap; - padding-top:8px; - padding-left:8px; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; display:inline-block; float:left; - background-image:url(resources/activetitlebar.gif); + background-color:#F8981D; + height:16px; } .memberSummary caption span.tableTab span { white-space:nowrap; - padding-top:8px; - padding-left:8px; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; display:inline-block; float:left; - background-image:url(resources/titlebar.gif); + background-color:#4D7A97; + height:16px; } .memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { padding-top:0px; padding-left:0px; + padding-right:0px; background-image:none; float:none; - display:inline-block; + display:inline; } .overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, .useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; + display:none; + width:5px; position:relative; float:left; + background-color:#F8981D; } .memberSummary .activeTableTab .tabEnd { - width:10px; - margin-right:5px; - background-image:url(resources/activetitlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; + display:none; + width:5px; + margin-right:3px; + position:relative; float:left; + background-color:#F8981D; } .memberSummary .tableTab .tabEnd { - width:10px; - margin-right:5px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; + display:none; + width:5px; + margin-right:3px; position:relative; + background-color:#4D7A97; float:left; + } .overviewSummary td, .memberSummary td, .typeSummary td, .useSummary td, .constantsSummary td, .deprecatedSummary td { text-align:left; - padding:3px 3px 3px 7px; + padding:0px 0px 12px 10px; + width:100%; } th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ vertical-align:top; - padding-right:3px; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; } th.colFirst, th.colLast, th.colOne, .constantsSummary th { background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; text-align:left; - padding:3px 3px 3px 7px; + padding:8px 3px 3px 7px; } td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; white-space:nowrap; + font-size:13px; } td.colLast, th.colLast { - border-right:1px solid #9eadc0; + font-size:13px; } td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; + font-size:13px; } .overviewSummary td.colFirst, .overviewSummary th.colFirst, .overviewSummary td.colOne, .overviewSummary th.colOne, @@ -471,19 +493,19 @@ .memberSummary td.colOne, .memberSummary th.colOne, .typeSummary td.colFirst{ width:25%; - vertical-align:middle; + vertical-align:top; } td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { font-weight:bold; } .tableSubHeadingColor { - background-color: #EEEEFF; + background-color:#EEEEFF; } .altColor { - background-color:#eeeeef; + background-color:#FFFFFF; } .rowColor { - background-color:#ffffff; + background-color:#EEEEEF; } /* Content styles @@ -498,6 +520,24 @@ .docSummary { padding:0; } + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} /* Formatting effect styles */ @@ -508,11 +548,12 @@ h1.hidden { visibility:hidden; overflow:hidden; - font-size:.9em; + font-size:10px; } .block { display:block; - margin:3px 0 0 0; + margin:3px 10px 2px 0px; + color:#474747; } .deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, .overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, @@ -522,3 +563,12 @@ .deprecationComment, .emphasizedPhrase, .interfaceName { font-style:italic; } + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/tab.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/tab.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar_end.gif Binary file src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar_end.gif has changed diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPaths.java --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPaths.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPaths.java Thu Jan 02 15:31:24 2014 -0800 @@ -122,9 +122,7 @@ /** The name of the file for the overview frame. */ public static final DocPath PROFILE_OVERVIEW_FRAME = DocPath.create("profile-overview-frame.html"); - /** The name of the directory in which resources are generated. - * Also the name of the sub-package from which resources are read. - */ + /** The name of the sub-package from which resources are read. */ public static final DocPath RESOURCES = DocPath.create("resources"); /** The name of the file for the serialized form info. */ diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkOutput.java --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkOutput.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/LinkOutput.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclint/resources/doclint_ja.properties --- a/src/share/classes/com/sun/tools/doclint/resources/doclint_ja.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclint/resources/doclint_ja.properties Thu Jan 02 15:31:24 2014 -0800 @@ -67,7 +67,10 @@ dc.tag.start.unmatched = \u7D42\u4E86\u30BF\u30B0\u304C\u3042\u308A\u307E\u305B\u3093: dc.tag.unknown = \u4E0D\u660E\u306A\u30BF\u30B0: {0} dc.text.not.allowed = <{0}>\u8981\u7D20\u3067\u306F\u30C6\u30AD\u30B9\u30C8\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 +dc.type.arg.not.allowed = \u578B\u5F15\u6570\u306F\u3053\u3053\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 dc.unexpected.comment=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30B3\u30E1\u30F3\u30C8\u306F\u3053\u3053\u3067\u306F\u5FC5\u8981\u3042\u308A\u307E\u305B\u3093 +dc.value.not.allowed.here='{@value}'\u306F\u3053\u3053\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 +dc.value.not.a.constant=\u5024\u304C\u5B9A\u6570\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u305B\u3093 dc.main.ioerror=IO\u30A8\u30E9\u30FC: {0} dc.main.no.files.given=\u30D5\u30A1\u30A4\u30EB\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/doclint/resources/doclint_zh_CN.properties --- a/src/share/classes/com/sun/tools/doclint/resources/doclint_zh_CN.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclint/resources/doclint_zh_CN.properties Thu Jan 02 15:31:24 2014 -0800 @@ -67,7 +67,10 @@ dc.tag.start.unmatched = \u7F3A\u5C11\u7ED3\u675F\u6807\u8BB0: dc.tag.unknown = \u672A\u77E5\u6807\u8BB0: {0} dc.text.not.allowed = <{0}> \u5143\u7D20\u4E2D\u4E0D\u5141\u8BB8\u4F7F\u7528\u6587\u672C +dc.type.arg.not.allowed = \u6B64\u5904\u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u53C2\u6570 dc.unexpected.comment=\u6B64\u5904\u672A\u9884\u671F\u6587\u6863\u6CE8\u91CA +dc.value.not.allowed.here=\u6B64\u5904\u4E0D\u5141\u8BB8\u4F7F\u7528 '{@value}' +dc.value.not.a.constant=\u503C\u4E0D\u5F15\u7528\u5E38\u91CF dc.main.ioerror=IO \u9519\u8BEF: {0} dc.main.no.files.given=\u672A\u6307\u5B9A\u6587\u4EF6 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/comp/Attr.java --- a/src/share/classes/com/sun/tools/javac/comp/Attr.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/comp/Attr.java Thu Jan 02 15:31:24 2014 -0800 @@ -2590,15 +2590,61 @@ } } + /* Map to hold 'fake' clinit methods. If a lambda is used to initialize a + * static field and that lambda has type annotations, these annotations will + * also be stored at these fake clinit methods. + * + * LambdaToMethod also use fake clinit methods so they can be reused. + * Also as LTM is a phase subsequent to attribution, the methods from + * clinits can be safely removed by LTM to save memory. + */ + private Map clinits = new HashMap<>(); + + public MethodSymbol removeClinit(ClassSymbol sym) { + return clinits.remove(sym); + } + + /* This method returns an environment to be used to attribute a lambda + * expression. + * + * The owner of this environment is a method symbol. If the current owner + * is not a method, for example if the lambda is used to initialize + * a field, then if the field is: + * + * - an instance field, we use the first constructor. + * - a static field, we create a fake clinit method. + */ private Env lambdaEnv(JCLambda that, Env env) { Env lambdaEnv; Symbol owner = env.info.scope.owner; if (owner.kind == VAR && owner.owner.kind == TYP) { //field initializer lambdaEnv = env.dup(that, env.info.dup(env.info.scope.dupUnshared())); - lambdaEnv.info.scope.owner = - new MethodSymbol((owner.flags() & STATIC) | BLOCK, names.empty, null, - env.info.scope.owner); + ClassSymbol enclClass = owner.enclClass(); + /* if the field isn't static, then we can get the first constructor + * and use it as the owner of the environment. This is what + * LTM code is doing to look for type annotations so we are fine. + */ + if ((owner.flags() & STATIC) == 0) { + for (Symbol s : enclClass.members_field.getElementsByName(names.init)) { + lambdaEnv.info.scope.owner = s; + break; + } + } else { + /* if the field is static then we need to create a fake clinit + * method, this method can later be reused by LTM. + */ + MethodSymbol clinit = clinits.get(enclClass); + if (clinit == null) { + Type clinitType = new MethodType(List.nil(), + syms.voidType, List.nil(), syms.methodClass); + clinit = new MethodSymbol(STATIC | SYNTHETIC | PRIVATE, + names.clinit, clinitType, enclClass); + clinit.params = List.nil(); + clinits.put(enclClass, clinit); + } + lambdaEnv.info.scope.owner = clinit; + } } else { lambdaEnv = env.dup(that, env.info.dup(env.info.scope.dup())); } diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java --- a/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java Thu Jan 02 15:31:24 2014 -0800 @@ -1474,12 +1474,27 @@ private Symbol initSym(ClassSymbol csym, long flags) { boolean isStatic = (flags & STATIC) != 0; if (isStatic) { - //static clinits are generated in Gen - so we need to fake them - Symbol clinit = clinits.get(csym); + /* static clinits are generated in Gen, so we need to use a fake + * one. Attr creates a fake clinit method while attributing + * lambda expressions used as initializers of static fields, so + * let's use that one. + */ + MethodSymbol clinit = attr.removeClinit(csym); + if (clinit != null) { + clinits.put(csym, clinit); + return clinit; + } + + /* if no clinit is found at Attr, then let's try at clinits. + */ + clinit = (MethodSymbol)clinits.get(csym); if (clinit == null) { + /* no luck, let's create a new one + */ clinit = makePrivateSyntheticMethod(STATIC, names.clinit, - new MethodType(List.nil(), syms.voidType, List.nil(), syms.methodClass), + new MethodType(List.nil(), syms.voidType, + List.nil(), syms.methodClass), csym); clinits.put(csym, clinit); } diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/comp/Resolve.java --- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java Thu Jan 02 15:31:24 2014 -0800 @@ -1503,7 +1503,7 @@ return ambiguityError(m1, m2); case AMBIGUOUS: //check if m1 is more specific than all ambiguous methods in m2 - AmbiguityError e = (AmbiguityError)m2; + AmbiguityError e = (AmbiguityError)m2.baseSymbol(); for (Symbol s : e.ambiguousSyms) { if (mostSpecific(argtypes, m1, s, env, site, allowBoxing, useVarargs) != m1) { return e.addAmbiguousSymbol(m1); @@ -3055,7 +3055,7 @@ final Symbol lookup(Env env, MethodResolutionPhase phase) { Symbol sym = doLookup(env, phase); if (sym.kind == AMBIGUOUS) { - AmbiguityError a_err = (AmbiguityError)sym; + AmbiguityError a_err = (AmbiguityError)sym.baseSymbol(); sym = a_err.mergeAbstracts(site); } return sym; @@ -3125,7 +3125,7 @@ Symbol access(Env env, DiagnosticPosition pos, Symbol location, Symbol sym) { if (sym.kind == AMBIGUOUS) { - AmbiguityError a_err = (AmbiguityError)sym; + AmbiguityError a_err = (AmbiguityError)sym.baseSymbol(); sym = a_err.mergeAbstracts(site); } //skip error reporting @@ -3992,7 +3992,7 @@ private List flatten(Symbol sym) { if (sym.kind == AMBIGUOUS) { - return ((AmbiguityError)sym).ambiguousSyms; + return ((AmbiguityError)sym.baseSymbol()).ambiguousSyms; } else { return List.of(sym); } diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/comp/TransTypes.java --- a/src/share/classes/com/sun/tools/javac/comp/TransTypes.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/comp/TransTypes.java Thu Jan 02 15:31:24 2014 -0800 @@ -586,7 +586,7 @@ try { currentMethod = null; tree.params = translate(tree.params); - tree.body = translate(tree.body, null); + tree.body = translate(tree.body, tree.body.type==null? null : erasure(tree.body.type)); tree.type = erasure(tree.type); result = tree; } diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/file/RegularFileObject.java --- a/src/share/classes/com/sun/tools/javac/file/RegularFileObject.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/file/RegularFileObject.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java --- a/src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties --- a/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties Thu Jan 02 15:31:24 2014 -0800 @@ -72,21 +72,21 @@ compiler.err.already.defined.in.clinit={0} {1}\u306F\u3059\u3067\u306B{3} {4}\u306E{2}\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 # 0: string -compiler.err.already.defined.single.import={0}\u306F\u5358\u4E00\u306E\u578B\u30A4\u30F3\u30DD\u30FC\u30C8\u5BA3\u8A00\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 +compiler.err.already.defined.single.import=\u540C\u3058\u5358\u7D14\u540D\u306E\u578B\u304C{0}\u306E\u5358\u4E00\u578B\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u3088\u3063\u3066\u3059\u3067\u306B\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 # 0: string -compiler.err.already.defined.static.single.import={0}\u306Fstatic\u306E\u5358\u4E00\u306E\u578B\u30A4\u30F3\u30DD\u30FC\u30C8\u5BA3\u8A00\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 +compiler.err.already.defined.static.single.import=\u540C\u3058\u5358\u7D14\u540D\u306E\u578B\u304C{0}\u306Estatic\u5358\u4E00\u578B\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u3088\u3063\u3066\u3059\u3067\u306B\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 compiler.err.already.defined.this.unit={0}\u306F\u30B3\u30F3\u30D1\u30A4\u30EB\u5358\u4F4D\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 # 0: type, 1: list of name -compiler.err.annotation.missing.default.value=\u6CE8\u91C8{0}\u306B\u306F\u5C5E\u6027{1}\u306E\u5024\u304C\u3042\u308A\u307E\u305B\u3093 +compiler.err.annotation.missing.default.value=\u6CE8\u91C8@{0}\u306B\u306F\u8981\u7D20''{1}''\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u304C\u3042\u308A\u307E\u305B\u3093 # 0: type, 1: list of name -compiler.err.annotation.missing.default.value.1=\u6CE8\u91C8{0}\u306B\u306F\u5C5E\u6027{1}\u306E\u5024\u304C\u3042\u308A\u307E\u305B\u3093 +compiler.err.annotation.missing.default.value.1=\u6CE8\u91C8@{0}\u306B\u306F\u8981\u7D20{1}\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u304C\u3042\u308A\u307E\u305B\u3093 # 0: type -compiler.err.annotation.not.valid.for.type=\u6CE8\u91C8\u306F\u578B{0}\u306E\u5024\u306B\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +compiler.err.annotation.not.valid.for.type=\u6CE8\u91C8\u306F\u578B{0}\u306E\u8981\u7D20\u306B\u5BFE\u3057\u3066\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093 compiler.err.annotation.type.not.applicable=\u6CE8\u91C8\u578B\u306F\u3053\u306E\u7A2E\u985E\u306E\u5BA3\u8A00\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 @@ -112,7 +112,7 @@ # 0: type compiler.err.array.req.but.found=\u914D\u5217\u304C\u8981\u6C42\u3055\u308C\u307E\u3057\u305F\u304C\u3001{0}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F -compiler.err.attribute.value.must.be.constant=\u5C5E\u6027\u306E\u5024\u306F\u5B9A\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +compiler.err.attribute.value.must.be.constant=\u8981\u7D20\u5024\u306F\u5B9A\u6570\u5F0F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 # 0: statement type compiler.err.bad.initializer={0}\u306E\u4E0D\u6B63\u306A\u521D\u671F\u5316\u5B50 @@ -223,62 +223,61 @@ # 0: symbol compiler.err.cyclic.inheritance={0}\u3092\u542B\u3080\u7D99\u627F\u304C\u30EB\u30FC\u30D7\u3057\u3066\u3044\u307E\u3059 -compiler.err.cyclic.annotation.element=\u6CE8\u91C8\u306E\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u30EB\u30FC\u30D7\u3057\u3066\u3044\u307E\u3059 +# 0: symbol +compiler.err.cyclic.annotation.element=\u8981\u7D20{0}\u306E\u578B\u304C\u30EB\u30FC\u30D7\u3057\u3066\u3044\u307E\u3059 # 0: unused compiler.err.call.to.super.not.allowed.in.enum.ctor=\u5217\u6319\u578B\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3067\u306F\u3001\u30B9\u30FC\u30D1\u30FC\u30AF\u30E9\u30B9\u306E\u547C\u51FA\u3057\u306F\u3067\u304D\u307E\u305B\u3093 # 0: type -compiler.err.no.superclass={0}\u306B\u306F\u30B9\u30FC\u30D1\u30FC\u30AF\u30E9\u30B9\u304C\u3042\u308A\u307E\u305B\u3093 +compiler.err.no.superclass={0}\u306B\u306F\u30B9\u30FC\u30D1\u30FC\u30AF\u30E9\u30B9\u304C\u3042\u308A\u307E\u305B\u3093\u3002 # 0: symbol, 1: type, 2: symbol, 3: type, 4: unused compiler.err.concrete.inheritance.conflict={1}\u306E\u30E1\u30BD\u30C3\u30C9{0}\u3068{3}\u306E{2}\u306F\u540C\u3058\u30B7\u30B0\u30CD\u30C1\u30E3\u304B\u3089\u7D99\u627F\u3055\u308C\u3066\u3044\u307E\u3059 -compiler.err.default.allowed.in.intf.annotation.member=\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306F@interface\u30E1\u30F3\u30D0\u30FC\u5185\u3067\u306E\u307F\u4F7F\u7528\u3067\u304D\u307E\u3059 +compiler.err.default.allowed.in.intf.annotation.member=\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306F\u6CE8\u91C8\u578B\u306E\u5BA3\u8A00\u3067\u306E\u307F\u4F7F\u7528\u3067\u304D\u307E\u3059 # 0: symbol compiler.err.doesnt.exist=\u30D1\u30C3\u30B1\u30FC\u30B8{0}\u306F\u5B58\u5728\u3057\u307E\u305B\u3093 -compiler.err.duplicate.annotation=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059 - # 0: type -compiler.err.duplicate.annotation.invalid.repeated=\u6CE8\u91C8{0}\u3092\u7E70\u308A\u8FD4\u305B\u307E\u305B\u3093\n\u6709\u52B9\u306A\u5305\u542B\u3059\u308B\u6CE8\u91C8\u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +compiler.err.duplicate.annotation.invalid.repeated=\u6CE8\u91C8{0}\u306F\u6709\u52B9\u306A\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093 # 0: name, 1: type -compiler.err.duplicate.annotation.member.value={1}\u306E\u6CE8\u91C8\u30E1\u30F3\u30D0\u30FC\u306E\u5024{0}\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059 - -# 0: type, 1: type -compiler.err.duplicate.annotation.missing.container=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306E\u5BA3\u8A00\u306B\u306F\u6709\u52B9\u306A{1}\u6CE8\u91C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 - -# 0: type -compiler.err.invalid.repeatable.annotation=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306F\u7121\u52B9\u306A\u7E70\u8FD4\u3057\u53EF\u80FD\u6CE8\u91C8\u3067\u6CE8\u91C8\u4ED8\u3051\u3055\u308C\u3066\u3044\u307E\u3059 +compiler.err.duplicate.annotation.member.value=\u6CE8\u91C8@{1}\u306B\u91CD\u8907\u3057\u305F\u8981\u7D20''{0}''\u304C\u3042\u308A\u307E\u3059\u3002 + +# 0: name, 1: unused +compiler.err.duplicate.annotation.missing.container={0}\u306F\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u578B\u3067\u306F\u3042\u308A\u307E\u305B\u3093 + +# 0: type, 1: unused +compiler.err.invalid.repeatable.annotation=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306F\u7121\u52B9\u306A@Repeatable\u6CE8\u91C8\u3067\u6CE8\u91C8\u4ED8\u3051\u3055\u308C\u3066\u3044\u307E\u3059 # 0: symbol or type -compiler.err.invalid.repeatable.annotation.no.value=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306F\u6709\u52B9\u306A\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u3082\u306E\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u5024\u8981\u7D20\u30E1\u30BD\u30C3\u30C9\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +compiler.err.invalid.repeatable.annotation.no.value={0}\u306F\u6709\u52B9\u306A@Repeatable\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u5024\u8981\u7D20\u30E1\u30BD\u30C3\u30C9\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093 # 0: type, 1: number -compiler.err.invalid.repeatable.annotation.multiple.values=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306F\u6709\u52B9\u306A\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u3082\u306E\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002{1}\u5024\u8981\u7D20\u30E1\u30BD\u30C3\u30C9\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059 +compiler.err.invalid.repeatable.annotation.multiple.values={0}\u306F\u6709\u52B9\u306A@Repeatable\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002{1}\u8981\u7D20\u30E1\u30BD\u30C3\u30C9''value''\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059 # 0: type -compiler.err.invalid.repeatable.annotation.invalid.value=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}\u306F\u6709\u52B9\u306A\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u3082\u306E\u3067\u306F\u3042\u308A\u307E\u305B\u3093: \u5024\u8981\u7D20\u304C\u7121\u52B9\u3067\u3059 - -# 0: symbol type, 1: type, 2: type -compiler.err.invalid.repeatable.annotation.value.return=\u6CE8\u91C8\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: \u5305\u542B\u3059\u308B\u6CE8\u91C8{0}\u306E\u5024\u8981\u7D20\u306B\u306F\u578B{2}\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002{1}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +compiler.err.invalid.repeatable.annotation.invalid.value={0}\u306F\u6709\u52B9\u306A@Repeatable\u3067\u306F\u3042\u308A\u307E\u305B\u3093: \u5024\u8981\u7D20\u304C\u7121\u52B9\u3067\u3059 + +# 0: symbol type, 1: unused, 2: type +compiler.err.invalid.repeatable.annotation.value.return=\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B({0})\u306F\u578B{2}\u306E\u8981\u7D20''value''\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 # 0: symbol or type, 1: symbol -compiler.err.invalid.repeatable.annotation.elem.nondefault=\u5305\u542B\u3059\u308B\u6CE8\u91C8{0}\u306B\u306F\u8981\u7D20{1}\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 - -# 0: symbol, 1: type, 2: symbol, 3: type -compiler.err.invalid.repeatable.annotation.retention=\u5305\u542B\u3059\u308B\u6CE8\u91C8{0}\u306B\u306F\u3001\u4FDD\u6709{3}\u3092\u542B\u3080\u5305\u542B\u3055\u308C\u305F\u6CE8\u91C8{2}\u3088\u308A\u77ED\u3044\u4FDD\u6709({1})\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059 +compiler.err.invalid.repeatable.annotation.elem.nondefault=\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B{0}\u306B\u306F\u8981\u7D20{1}\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 + +# 0: symbol, 1: unused, 2: symbol, 3: unused +compiler.err.invalid.repeatable.annotation.retention=\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B({0})\u306E\u4FDD\u6709\u304C\u3001\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u578B({2})\u306E\u4FDD\u6709\u3088\u308A\u77ED\u304F\u306A\u3063\u3066\u3044\u307E\u3059 # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.not.documented=\u7E70\u308A\u8FD4\u3055\u308C\u305F\u6CE8\u91C8{1}\u306F@Documented\u3067\u3059\u304C\u3001\u5305\u542B\u3059\u308B\u6CE8\u91C8\u30BF\u30A4\u30D7{0}\u306F\u9055\u3044\u307E\u3059 +compiler.err.invalid.repeatable.annotation.not.documented=\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u578B({1})\u306F@Documented\u3067\u3059\u304C\u3001\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B({0})\u306F\u9055\u3044\u307E\u3059 # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.not.inherited=\u308A\u8FD4\u3055\u308C\u305F\u6CE8\u91C8\u30BF\u30A4\u30D7{1}\u306F@Inherited\u3067\u3059\u304C\u3001\u5305\u542B\u3059\u308B\u6CE8\u91C8\u30BF\u30A4\u30D7{0}\u306F\u9055\u3044\u307E\u3059 +compiler.err.invalid.repeatable.annotation.not.inherited=\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u578B({1})\u306F@Inherited\u3067\u3059\u304C\u3001\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B({0})\u306F\u9055\u3044\u307E\u3059 # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.incompatible.target=\u30B3\u30F3\u30C6\u30CA\u6CE8\u91C8{0}\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306F\u3001\u7E70\u308A\u8FD4\u3055\u308C\u305F\u6CE8\u91C8{1}\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u30B5\u30D6\u30BB\u30C3\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 +compiler.err.invalid.repeatable.annotation.incompatible.target=\u5305\u542B\u3059\u308B\u6CE8\u91C8\u578B({0})\u306F\u3001\u7E70\u8FD4\u3057\u53EF\u80FD\u306A\u6CE8\u91C8\u578B({1})\u3088\u308A\u591A\u304F\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u9069\u7528\u3055\u308C\u307E\u3059 # 0: symbol compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\u30B3\u30F3\u30C6\u30CA{0}\u306F\u542B\u307E\u308C\u3066\u3044\u308B\u8981\u7D20\u3068\u540C\u6642\u306B\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093 @@ -408,20 +407,24 @@ # 0: number compiler.err.int.number.too.large=\u6574\u6570{0}\u304C\u5927\u304D\u3059\u304E\u307E\u3059 -compiler.err.intf.annotation.members.cant.have.params=@interface\u30E1\u30F3\u30D0\u30FC\u304C\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 - -compiler.err.intf.annotation.cant.have.type.params=@interface\u304C\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 - -compiler.err.intf.annotation.members.cant.have.type.params=@interface\u30E1\u30F3\u30D0\u30FC\u304C\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +compiler.err.intf.annotation.members.cant.have.params=\u6CE8\u91C8\u578B\u5BA3\u8A00\u5185\u306E\u8981\u7D20\u304C\u4EEE\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093 + +# 0: symbol +compiler.err.intf.annotation.cant.have.type.params=\u6CE8\u91C8\u578B{0}\u306F\u6C4E\u7528\u306B\u3067\u304D\u307E\u305B\u3093 + +compiler.err.intf.annotation.members.cant.have.type.params=\u6CE8\u91C8\u578B\u5BA3\u8A00\u5185\u306E\u8981\u7D20\u306F\u6C4E\u7528\u30E1\u30BD\u30C3\u30C9\u306B\u3067\u304D\u307E\u305B\u3093 # 0: symbol, 1: type -compiler.err.intf.annotation.member.clash=@interface\u30E1\u30F3\u30D0\u30FC\u306F{1}\u306E\u30E1\u30BD\u30C3\u30C9''{0}''\u3068\u7AF6\u5408\u3057\u307E\u3059 +compiler.err.intf.annotation.member.clash=\u6CE8\u91C8\u578B{1}\u3067\u30E1\u30BD\u30C3\u30C9{0}\u3068\u540C\u3058\u540D\u524D\u306E\u8981\u7D20\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059 compiler.err.intf.expected.here=\u3053\u3053\u306B\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u304C\u5FC5\u8981\u3067\u3059 +compiler.err.intf.or.array.expected.here=\u3053\u3053\u306B\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u307E\u305F\u306F\u914D\u5217\u578B\u304C\u5FC5\u8981\u3067\u3059 + compiler.err.intf.meth.cant.have.body=\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u62BD\u8C61\u30E1\u30BD\u30C3\u30C9\u304C\u672C\u4F53\u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 -compiler.err.invalid.annotation.member.type=\u6CE8\u91C8\u30E1\u30F3\u30D0\u30FC\u306E\u578B\u304C\u4E0D\u6B63\u3067\u3059 +# 0: symbol +compiler.err.invalid.annotation.member.type=\u6CE8\u91C8\u578B\u306E\u8981\u7D20{0}\u306E\u578B\u304C\u7121\u52B9\u3067\u3059 compiler.err.invalid.binary.number=2\u9032\u6570\u5B57\u306F\u5C11\u306A\u304F\u3068\u30821\u6841\u306E2\u9032\u6570\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 @@ -531,9 +534,6 @@ compiler.misc.incompatible.arg.types.in.mref=\u30E1\u30BD\u30C3\u30C9\u53C2\u7167\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u578B\u306F\u4E0D\u9069\u5408\u3067\u3059 -# 0: list of type, 1: message segment -compiler.misc.bad.arg.types.in.lambda=\u63A8\u5B9A\u30D1\u30E9\u30E1\u30FC\u30BF\u578B\u3067\u306F\u30E9\u30E0\u30C0\u5F0F\u306E\u578B\u30C1\u30A7\u30C3\u30AF\u3092\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\n\u63A8\u5B9A\u578B: {0} - compiler.err.new.not.allowed.in.annotation=''new''\u306F\u6CE8\u91C8\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 compiler.err.no.annotation.member={1}\u306E\u6CE8\u91C8\u30E1\u30F3\u30D0\u30FC{0}\u304C\u3042\u308A\u307E\u305B\u3093 @@ -998,6 +998,9 @@ # 0: symbol compiler.warn.missing.SVUID=\u76F4\u5217\u5316\u53EF\u80FD\u306A\u30AF\u30E9\u30B9{0}\u306B\u306F\u3001serialVersionUID\u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol +compiler.warn.potentially.ambiguous.overload={1}\u5185\u306E{0}\u306F{3}\u5185\u306E{2}\u3068\u77DB\u76FE\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 + # 0: message segment compiler.warn.override.varargs.missing={0}\u3002\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3055\u308C\u305F\u30E1\u30BD\u30C3\u30C9\u306B\u306F''...''\u304C\u3042\u308A\u307E\u305B\u3093 @@ -1215,6 +1218,7 @@ # 0: symbol, 1: message segment compiler.err.cant.access={0}\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\n{1} +# 0: file name, 1: message segment compiler.misc.bad.class.file.header=\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB{0}\u306F\u4E0D\u6B63\u3067\u3059\n{1}\n\u524A\u9664\u3059\u308B\u304B\u3001\u30AF\u30E9\u30B9\u30D1\u30B9\u306E\u6B63\u3057\u3044\u30B5\u30D6\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u3042\u308B\u304B\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 # 0: file name, 1: message segment @@ -1244,6 +1248,12 @@ compiler.misc.class.file.not.found={0}\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# 0: classfile major version, 1: classfile minor version +compiler.misc.invalid.default.interface=\u30D0\u30FC\u30B8\u30E7\u30F3{0}.{1}\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30E1\u30BD\u30C3\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F + +# 0: classfile major version, 1: classfile minor version +compiler.misc.invalid.static.interface=\u30D0\u30FC\u30B8\u30E7\u30F3{0}.{1}\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u306Bstatic\u30E1\u30BD\u30C3\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F + # 0: name compiler.misc.file.doesnt.contain.class=\u30D5\u30A1\u30A4\u30EB\u306B\u30AF\u30E9\u30B9{0}\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093 @@ -1362,9 +1372,6 @@ # 0: type, 1: list of type compiler.misc.inferred.do.not.conform.to.eq.bounds=\u63A8\u8AD6\u578B\u304C\u7B49\u4FA1\u5236\u7D04\u306B\u9069\u5408\u3057\u307E\u305B\u3093\n\u63A8\u8AD6: {0}\n\u7B49\u4FA1\u5236\u7D04: {1} -# 0: list of type -compiler.misc.cyclic.inference=\u63A8\u8AD6\u306E\u30EB\u30FC\u30D7\u306E\u305F\u3081\u3001\u63A8\u8AD6\u5909\u6570{0}\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093 - # 0: symbol compiler.misc.diamond={0}<> @@ -1374,6 +1381,9 @@ # 0: unused compiler.misc.diamond.and.explicit.params=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u660E\u793A\u7684\u306A\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u3067\u306F''<>''\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 +# 0: unused +compiler.misc.mref.infer.and.explicit.params=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u660E\u793A\u7684\u306A\u578B\u30D1\u30E9\u30E1\u30FC\u30BF\u3067\u306Fraw\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u53C2\u7167\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 + # 0: type, 1: list of type compiler.misc.explicit.param.do.not.conform.to.bounds=\u660E\u793A\u7684\u306A\u578B\u5F15\u6570{0}\u306F\u3001\u5BA3\u8A00\u3055\u308C\u305F\u5883\u754C{1}\u306B\u9069\u5408\u3057\u307E\u305B\u3093 @@ -1574,6 +1584,8 @@ compiler.warn.underscore.as.identifier=\u8B58\u5225\u5B50\u3068\u3057\u3066''_''\u304C\u4F7F\u7528\u3055\u308C\u307E\u3057\u305F\n(\u8B58\u5225\u5B50\u3068\u3057\u3066\u306E''_''\u306E\u4F7F\u7528\u306F\u3001Java SE 8\u3088\u308A\u5F8C\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059) +compiler.err.underscore.as.identifier.in.lambda=''_''\u304C\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\n(\u30E9\u30E0\u30C0\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u3067\u306F''_''\u3092\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u7981\u6B62\u3055\u308C\u3066\u3044\u307E\u3059) + compiler.err.enum.as.identifier=\u30EA\u30EA\u30FC\u30B95\u304B\u3089''enum''\u306F\u30AD\u30FC\u30EF\u30FC\u30C9\u306A\u306E\u3067\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\n(''enum''\u3092\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u306B\u306F-source 1.4\u4EE5\u524D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) compiler.err.assert.as.identifier=\u30EA\u30EA\u30FC\u30B91.4\u304B\u3089''assert''\u306F\u30AD\u30FC\u30EF\u30FC\u30C9\u306A\u306E\u3067\u3001\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\n(''assert''\u3092\u8B58\u5225\u5B50\u3068\u3057\u3066\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001-source 1.3\u4EE5\u524D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) @@ -1585,11 +1597,12 @@ compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\u53D7\u53D6\u308A\u5074\u30D1\u30E9\u30E1\u30FC\u30BF\u306F\u6700\u4E0A\u4F4D\u30EC\u30D9\u30EB\u30FB\u30AF\u30E9\u30B9\u306E\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306B\u9069\u7528\u3067\u304D\u307E\u305B\u3093 # TODO 308: make a better error message -compiler.err.cant.annotate.static.class=\u5305\u542B\u3059\u308Bstatic\u306E\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30AF\u30E9\u30B9\u306F\u6CE8\u91C8\u4ED8\u3051\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +# 0: symbol +compiler.err.cant.type.annotate.scoping.1=\u30B9\u30B3\u30FC\u30D7\u30FB\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30C8\u3092\u578B\u4F7F\u7528\u6CE8\u91C8\u3067\u6CE8\u91C8\u4ED8\u3051\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093: {0} # TODO 308: make a better error message -# 0: unused -compiler.err.cant.annotate.nested.type=static\u306E\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30BF\u30A4\u30D7\u306E\u30B9\u30B3\u30FC\u30D7\u30FB\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30C8\u306B\u306F\u6CE8\u91C8\u4ED8\u3051\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +# 0: list of symbol +compiler.err.cant.type.annotate.scoping=\u30B9\u30B3\u30FC\u30D7\u30FB\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30C8\u3092\u578B\u4F7F\u7528\u6CE8\u91C8\u3067\u6CE8\u91C8\u4ED8\u3051\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093: {0} # 0: type, 1: type compiler.err.incorrect.receiver.name=\u53D7\u53D6\u308A\u5074\u306E\u540D\u524D\u304C\u3001\u5305\u542B\u3059\u308B\u30AF\u30E9\u30B9\u30FB\u30BF\u30A4\u30D7\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\n\u5FC5\u9808: {0}\n\u691C\u51FA: {1} @@ -1618,7 +1631,10 @@ compiler.err.type.annotations.not.supported.in.source=\u30BF\u30A4\u30D7\u6CE8\u91C8\u306F-source {0}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\n(\u30BF\u30A4\u30D7\u6CE8\u91C8\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u306B\u306F\u3001-source 8\u4EE5\u4E0A\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) # 0: string -compiler.err.foreach.not.supported.in.source=for-each\u30EB\u30FC\u30D7\u306F-source {0}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\n(for-each\u30EB\u30FC\u30D7\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u306B\u306F\u3001-source 5\u4EE5\u964D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) +compiler.err.repeatable.annotations.not.supported.in.source=\u7E70\u8FD4\u3057\u6CE8\u91C8\u306F-source {0}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\n(\u7E70\u8FD4\u3057\u6CE8\u91C8\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u306B\u306F\u3001-source 8\u4EE5\u4E0A\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) + +# 0: string +compiler.err.foreach.not.supported.in.source=\u62E1\u5F35for\u30EB\u30FC\u30D7\u306F-source {0}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\n(for-each\u30EB\u30FC\u30D7\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u306B\u306F\u3001-source 5\u4EE5\u964D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) # 0: string compiler.err.static.import.not.supported.in.source=static import\u5BA3\u8A00\u306F -source {0}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\n(static import\u5BA3\u8A00\u3092\u4F7F\u7528\u53EF\u80FD\u306B\u3059\u308B\u306B\u306F\u3001-source 5\u4EE5\u964D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044) diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties --- a/src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties Thu Jan 02 15:31:24 2014 -0800 @@ -72,21 +72,21 @@ compiler.err.already.defined.in.clinit=\u5DF2\u5728{3} {4}\u7684{2}\u4E2D\u5B9A\u4E49\u4E86{0} {1} # 0: string -compiler.err.already.defined.single.import=\u5DF2\u5728 single-type \u5BFC\u5165\u4E2D\u5B9A\u4E49{0} +compiler.err.already.defined.single.import={0}\u7684 single-type-import \u5DF2\u5B9A\u4E49\u5177\u6709\u76F8\u540C\u7B80\u540D\u7684\u7C7B\u578B # 0: string -compiler.err.already.defined.static.single.import=\u5DF2\u5728\u9759\u6001 single-type \u5BFC\u5165\u4E2D\u5B9A\u4E49{0} +compiler.err.already.defined.static.single.import={0}\u7684\u9759\u6001 single-type-import \u5DF2\u5B9A\u4E49\u5177\u6709\u76F8\u540C\u7B80\u540D\u7684\u7C7B\u578B compiler.err.already.defined.this.unit=\u5DF2\u5728\u8BE5\u7F16\u8BD1\u5355\u5143\u4E2D\u5B9A\u4E49{0} # 0: type, 1: list of name -compiler.err.annotation.missing.default.value=\u5BF9\u4E8E\u5C5E\u6027{1}, \u6CE8\u91CA{0}\u7F3A\u5C11\u503C +compiler.err.annotation.missing.default.value=\u5BF9\u4E8E\u5143\u7D20 ''{1}'', \u6CE8\u91CA @{0} \u7F3A\u5C11\u9ED8\u8BA4\u503C # 0: type, 1: list of name -compiler.err.annotation.missing.default.value.1=\u5BF9\u4E8E\u5C5E\u6027{1}, \u6CE8\u91CA{0}\u7F3A\u5C11\u503C +compiler.err.annotation.missing.default.value.1=\u5BF9\u4E8E\u5143\u7D20{1}, \u6CE8\u91CA @{0} \u7F3A\u5C11\u9ED8\u8BA4\u503C # 0: type -compiler.err.annotation.not.valid.for.type=\u5BF9\u4E8E\u7C7B\u578B\u4E3A{0}\u7684\u503C, \u6CE8\u91CA\u65E0\u6548 +compiler.err.annotation.not.valid.for.type=\u6CE8\u91CA\u5BF9\u4E8E\u7C7B\u578B{0}\u7684\u5143\u7D20\u65E0\u6548 compiler.err.annotation.type.not.applicable=\u6CE8\u91CA\u7C7B\u578B\u4E0D\u9002\u7528\u4E8E\u8BE5\u7C7B\u578B\u7684\u58F0\u660E @@ -112,7 +112,7 @@ # 0: type compiler.err.array.req.but.found=\u9700\u8981\u6570\u7EC4, \u4F46\u627E\u5230{0} -compiler.err.attribute.value.must.be.constant=\u5C5E\u6027\u503C\u5FC5\u987B\u4E3A\u5E38\u91CF +compiler.err.attribute.value.must.be.constant=\u5143\u7D20\u503C\u5FC5\u987B\u4E3A\u5E38\u91CF\u8868\u8FBE\u5F0F # 0: statement type compiler.err.bad.initializer={0}\u7684\u521D\u59CB\u5316\u7A0B\u5E8F\u9519\u8BEF @@ -223,62 +223,61 @@ # 0: symbol compiler.err.cyclic.inheritance=\u6D89\u53CA{0}\u7684\u5FAA\u73AF\u7EE7\u627F -compiler.err.cyclic.annotation.element=\u5FAA\u73AF\u6CE8\u91CA\u5143\u7D20\u7C7B\u578B +# 0: symbol +compiler.err.cyclic.annotation.element=\u5143\u7D20 {0} \u7684\u7C7B\u578B\u4E3A\u5FAA\u73AF # 0: unused compiler.err.call.to.super.not.allowed.in.enum.ctor=\u5728\u679A\u4E3E\u6784\u9020\u5668\u4E2D\u4E0D\u5141\u8BB8\u8C03\u7528\u8D85\u7C7B # 0: type -compiler.err.no.superclass={0}\u4E0D\u5177\u6709\u8D85\u7C7B +compiler.err.no.superclass={0}\u4E0D\u5177\u6709\u8D85\u7C7B\u3002 # 0: symbol, 1: type, 2: symbol, 3: type, 4: unused compiler.err.concrete.inheritance.conflict={1}\u4E2D\u7684\u65B9\u6CD5{0}\u548C{3}\u4E2D\u7684\u65B9\u6CD5{2}\u662F\u4F7F\u7528\u76F8\u540C\u7684\u7B7E\u540D\u7EE7\u627F\u7684 -compiler.err.default.allowed.in.intf.annotation.member=\u4EC5\u5728 @interface \u6210\u5458\u4E2D\u5141\u8BB8\u4F7F\u7528\u9ED8\u8BA4\u503C +compiler.err.default.allowed.in.intf.annotation.member=\u6CE8\u91CA\u7C7B\u578B\u58F0\u660E\u4E2D\u4EC5\u5141\u8BB8\u9ED8\u8BA4\u503C # 0: symbol compiler.err.doesnt.exist=\u7A0B\u5E8F\u5305{0}\u4E0D\u5B58\u5728 -compiler.err.duplicate.annotation=\u6CE8\u91CA\u91CD\u590D - # 0: type -compiler.err.duplicate.annotation.invalid.repeated=\u65E0\u6CD5\u91CD\u590D\u6CE8\u91CA{0}\n\u5B83\u6CA1\u6709\u5B9A\u4E49\u6709\u6548\u7684\u5305\u542B\u6CE8\u91CA\u3002 +compiler.err.duplicate.annotation.invalid.repeated=\u6CE8\u91CA{0}\u4E0D\u662F\u6709\u6548\u7684\u53EF\u91CD\u590D\u6CE8\u91CA # 0: name, 1: type -compiler.err.duplicate.annotation.member.value={1}\u4E2D\u7684\u6CE8\u91CA\u6210\u5458\u503C{0}\u91CD\u590D - -# 0: type, 1: type -compiler.err.duplicate.annotation.missing.container=\u6CE8\u91CA\u91CD\u590D: {0}\u7684\u58F0\u660E\u6CA1\u6709\u6709\u6548\u7684{1}\u6CE8\u91CA - -# 0: type -compiler.err.invalid.repeatable.annotation=\u6CE8\u91CA\u91CD\u590D: \u4F7F\u7528\u65E0\u6548\u7684 Repeatable \u6CE8\u91CA\u5BF9{0}\u8FDB\u884C\u4E86\u6CE8\u91CA +compiler.err.duplicate.annotation.member.value=\u6CE8\u91CA@{1}\u4E2D\u7684\u5143\u7D20 ''{0}'' \u91CD\u590D\u3002 + +# 0: name, 1: unused +compiler.err.duplicate.annotation.missing.container={0} \u4E0D\u662F\u53EF\u91CD\u590D\u7684\u6CE8\u91CA\u7C7B\u578B + +# 0: type, 1: unused +compiler.err.invalid.repeatable.annotation=\u6CE8\u91CA\u91CD\u590D: \u4F7F\u7528\u65E0\u6548\u7684 @Repeatable \u6CE8\u91CA\u5BF9{0}\u8FDB\u884C\u4E86\u6CE8\u91CA # 0: symbol or type -compiler.err.invalid.repeatable.annotation.no.value=\u6CE8\u91CA\u91CD\u590D: {0}\u4E0D\u662F\u6709\u6548\u7684 Repeatable, \u672A\u58F0\u660E\u4EFB\u4F55\u503C\u5143\u7D20\u65B9\u6CD5 +compiler.err.invalid.repeatable.annotation.no.value={0}\u4E0D\u662F\u6709\u6548\u7684 @Repeatable, \u672A\u58F0\u660E\u4EFB\u4F55\u503C\u5143\u7D20\u65B9\u6CD5 # 0: type, 1: number -compiler.err.invalid.repeatable.annotation.multiple.values=\u6CE8\u91CA\u91CD\u590D: {0}\u4E0D\u662F\u6709\u6548\u7684 Repeatable, \u5DF2\u58F0\u660E {1} \u4E2A\u503C\u5143\u7D20\u65B9\u6CD5 +compiler.err.invalid.repeatable.annotation.multiple.values={0}\u4E0D\u662F\u6709\u6548\u7684 @Repeatable, \u5DF2\u58F0\u660E {1} \u4E2A\u540D\u4E3A ''value'' \u7684\u5143\u7D20\u65B9\u6CD5 # 0: type -compiler.err.invalid.repeatable.annotation.invalid.value=\u6CE8\u91CA\u91CD\u590D: {0}\u4E0D\u662F\u6709\u6548\u7684 Repeatable: \u503C\u5143\u7D20\u65E0\u6548 - -# 0: symbol type, 1: type, 2: type -compiler.err.invalid.repeatable.annotation.value.return=\u6CE8\u91CA\u91CD\u590D: \u5305\u542B\u6CE8\u91CA{0}\u7684\u503C\u5143\u7D20\u5E94\u5177\u6709\u7C7B\u578B{2}, \u4F46\u627E\u5230\u7684\u662F{1} +compiler.err.invalid.repeatable.annotation.invalid.value={0}\u4E0D\u662F\u6709\u6548\u7684 @Repeatable: \u503C\u5143\u7D20\u65E0\u6548 + +# 0: symbol type, 1: unused, 2: type +compiler.err.invalid.repeatable.annotation.value.return=\u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u5FC5\u987B\u58F0\u660E\u7C7B\u578B{2}\u7684\u540D\u4E3A ''value'' \u7684\u5143\u7D20 # 0: symbol or type, 1: symbol -compiler.err.invalid.repeatable.annotation.elem.nondefault=\u5305\u542B\u6CE8\u91CA{0}\u6CA1\u6709\u5143\u7D20 {1} \u7684\u9ED8\u8BA4\u503C - -# 0: symbol, 1: type, 2: symbol, 3: type -compiler.err.invalid.repeatable.annotation.retention=\u5305\u542B\u6CE8\u91CA {0} \u7684\u4FDD\u7559\u671F ({1}) \u77ED\u4E8E\u5DF2\u5305\u542B\u6CE8\u91CA {2} \u7684\u4FDD\u7559\u671F ({3}) +compiler.err.invalid.repeatable.annotation.elem.nondefault=\u5BF9\u4E8E\u5143\u7D20 {1}, \u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u6CA1\u6709\u9ED8\u8BA4\u503C + +# 0: symbol, 1: unused, 2: symbol, 3: unused +compiler.err.invalid.repeatable.annotation.retention=\u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u7684\u4FDD\u7559\u671F\u77ED\u4E8E\u53EF\u91CD\u590D\u6CE8\u91CA\u7C7B\u578B ({2}) \u7684\u4FDD\u7559\u671F # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.not.documented=\u5305\u542B\u6CE8\u91CA\u7C7B\u578B {0} \u4E0D\u662F @Documented, \u800C\u91CD\u590D\u7684\u6CE8\u91CA\u7C7B\u578B {1} \u4E3A +compiler.err.invalid.repeatable.annotation.not.documented=\u53EF\u91CD\u590D\u6CE8\u91CA\u7C7B\u578B ({1}) \u662F @Documented, \u800C\u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u5219\u4E0D\u662F # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.not.inherited=\u5305\u542B\u6CE8\u91CA\u7C7B\u578B {0} \u4E0D\u662F @Inherited, \u800C\u91CD\u590D\u7684\u6CE8\u91CA\u7C7B\u578B {1} \u4E3A +compiler.err.invalid.repeatable.annotation.not.inherited=\u53EF\u91CD\u590D\u6CE8\u91CA\u7C7B\u578B ({1}) \u662F @Inherited, \u800C\u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u5219\u4E0D\u662F # 0: symbol, 1: symbol -compiler.err.invalid.repeatable.annotation.incompatible.target=\u5BB9\u5668\u6CE8\u91CA {0} \u7684\u76EE\u6807\u4E0D\u662F\u91CD\u590D\u6CE8\u91CA {1} \u7684\u76EE\u6807\u5B50\u96C6 +compiler.err.invalid.repeatable.annotation.incompatible.target=\u5305\u542B\u6CE8\u91CA\u7C7B\u578B ({0}) \u9002\u7528\u7684\u76EE\u6807\u591A\u4E8E\u53EF\u91CD\u590D\u6CE8\u91CA\u7C7B\u578B ({1}) # 0: symbol compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\u5BB9\u5668 {0} \u4E0D\u5F97\u4E0E\u5176\u5305\u542B\u7684\u5143\u7D20\u540C\u65F6\u5B58\u5728 @@ -408,20 +407,24 @@ # 0: number compiler.err.int.number.too.large=\u8FC7\u5927\u7684\u6574\u6570: {0} -compiler.err.intf.annotation.members.cant.have.params=@interface \u6210\u5458\u4E0D\u80FD\u5E26\u6709\u53C2\u6570 - -compiler.err.intf.annotation.cant.have.type.params=@interface \u4E0D\u80FD\u5E26\u6709\u7C7B\u578B\u53C2\u6570 - -compiler.err.intf.annotation.members.cant.have.type.params=@interface \u6210\u5458\u4E0D\u80FD\u5E26\u6709\u7C7B\u578B\u53C2\u6570 +compiler.err.intf.annotation.members.cant.have.params=\u6CE8\u91CA\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u65E0\u6CD5\u58F0\u660E\u5F62\u53C2 + +# 0: symbol +compiler.err.intf.annotation.cant.have.type.params=\u6CE8\u91CA\u7C7B\u578B {0} \u4E0D\u80FD\u4E3A\u6CDB\u578B + +compiler.err.intf.annotation.members.cant.have.type.params=\u6CE8\u91CA\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u4E0D\u80FD\u4E3A\u6CDB\u578B\u65B9\u6CD5 # 0: symbol, 1: type -compiler.err.intf.annotation.member.clash=@interface \u6210\u5458\u4E0E{1}\u4E2D\u7684\u65B9\u6CD5 ''{0}'' \u51B2\u7A81 +compiler.err.intf.annotation.member.clash=\u6CE8\u91CA\u7C7B\u578B{1}\u58F0\u660E\u4E0E\u65B9\u6CD5 {0} \u540C\u540D\u7684\u5143\u7D20 compiler.err.intf.expected.here=\u6B64\u5904\u9700\u8981\u63A5\u53E3 +compiler.err.intf.or.array.expected.here=\u6B64\u5904\u9884\u671F\u4E3A\u63A5\u53E3\u6216\u6570\u7EC4\u7C7B\u578B + compiler.err.intf.meth.cant.have.body=\u63A5\u53E3\u62BD\u8C61\u65B9\u6CD5\u4E0D\u80FD\u5E26\u6709\u4E3B\u4F53 -compiler.err.invalid.annotation.member.type=\u6CE8\u91CA\u6210\u5458\u7684\u7C7B\u578B\u65E0\u6548 +# 0: symbol +compiler.err.invalid.annotation.member.type=\u6CE8\u91CA\u7C7B\u578B\u5143\u7D20 {0} \u7684\u7C7B\u578B\u65E0\u6548 compiler.err.invalid.binary.number=\u4E8C\u8FDB\u5236\u6570\u5B57\u4E2D\u5FC5\u987B\u5305\u542B\u81F3\u5C11\u4E00\u4E2A\u4E8C\u8FDB\u5236\u6570 @@ -531,9 +534,6 @@ compiler.misc.incompatible.arg.types.in.mref=\u65B9\u6CD5\u5F15\u7528\u4E2D\u7684\u53C2\u6570\u7C7B\u578B\u4E0D\u517C\u5BB9 -# 0: list of type, 1: message segment -compiler.misc.bad.arg.types.in.lambda=\u65E0\u6CD5\u4F7F\u7528\u63A8\u65AD\u53C2\u6570\u7C7B\u578B\u5BF9 lambda \u8868\u8FBE\u5F0F\u8FDB\u884C\u7C7B\u578B\u68C0\u67E5\n\u63A8\u65AD\u7C7B\u578B: {0} - compiler.err.new.not.allowed.in.annotation=\u6CE8\u91CA\u4E2D\u4E0D\u5141\u8BB8\u4F7F\u7528 ''new'' compiler.err.no.annotation.member={1}\u4E2D\u6CA1\u6709\u6CE8\u91CA\u6210\u5458{0} @@ -998,6 +998,9 @@ # 0: symbol compiler.warn.missing.SVUID=\u53EF\u5E8F\u5217\u5316\u7C7B{0}\u6CA1\u6709 serialVersionUID \u7684\u5B9A\u4E49 +# 0: symbol, 1: symbol, 2: symbol, 3: symbol +compiler.warn.potentially.ambiguous.overload={1} \u4E2D\u7684 {0} \u53EF\u80FD\u4E0E {3} \u4E2D\u7684 {2} \u6DF7\u6DC6 + # 0: message segment compiler.warn.override.varargs.missing={0}; \u88AB\u8986\u76D6\u7684\u65B9\u6CD5\u6CA1\u6709 ''...'' @@ -1215,6 +1218,7 @@ # 0: symbol, 1: message segment compiler.err.cant.access=\u65E0\u6CD5\u8BBF\u95EE{0}\n{1} +# 0: file name, 1: message segment compiler.misc.bad.class.file.header=\u9519\u8BEF\u7684\u7C7B\u6587\u4EF6: {0}\n{1}\n\u8BF7\u5220\u9664\u8BE5\u6587\u4EF6\u6216\u786E\u4FDD\u8BE5\u6587\u4EF6\u4F4D\u4E8E\u6B63\u786E\u7684\u7C7B\u8DEF\u5F84\u5B50\u76EE\u5F55\u4E2D\u3002 # 0: file name, 1: message segment @@ -1244,6 +1248,12 @@ compiler.misc.class.file.not.found=\u627E\u4E0D\u5230{0}\u7684\u7C7B\u6587\u4EF6 +# 0: classfile major version, 1: classfile minor version +compiler.misc.invalid.default.interface=\u5728 {0}.{1} \u7248\u7C7B\u6587\u4EF6\u4E2D\u627E\u5230\u9ED8\u8BA4\u65B9\u6CD5 + +# 0: classfile major version, 1: classfile minor version +compiler.misc.invalid.static.interface=\u5728 {0}.{1} \u7248\u7C7B\u6587\u4EF6\u4E2D\u627E\u5230\u9759\u6001\u65B9\u6CD5 + # 0: name compiler.misc.file.doesnt.contain.class=\u6587\u4EF6\u4E0D\u5305\u542B\u7C7B{0} @@ -1362,9 +1372,6 @@ # 0: type, 1: list of type compiler.misc.inferred.do.not.conform.to.eq.bounds=\u63A8\u65AD\u7C7B\u578B\u4E0D\u7B26\u5408\u7B49\u5F0F\u7EA6\u675F\u6761\u4EF6\n\u63A8\u65AD: {0}\n\u7B49\u5F0F\u7EA6\u675F\u6761\u4EF6: {1} -# 0: list of type -compiler.misc.cyclic.inference=\u7531\u4E8E\u63A8\u8BBA\u5FAA\u73AF, \u65E0\u6CD5\u5B9E\u4F8B\u5316\u63A8\u8BBA\u53D8\u91CF{0} - # 0: symbol compiler.misc.diamond={0}<> @@ -1374,6 +1381,9 @@ # 0: unused compiler.misc.diamond.and.explicit.params=\u4E0D\u80FD\u5C06 ''<>'' \u4E0E\u6784\u9020\u5668\u7684\u663E\u5F0F\u7C7B\u578B\u53C2\u6570\u4E00\u8D77\u4F7F\u7528 +# 0: unused +compiler.misc.mref.infer.and.explicit.params=\u4E0D\u80FD\u5C06\u539F\u59CB\u6784\u9020\u5668\u5F15\u7528\u4E0E\u6784\u9020\u5668\u7684\u663E\u5F0F\u7C7B\u578B\u53C2\u6570\u4E00\u8D77\u4F7F\u7528 + # 0: type, 1: list of type compiler.misc.explicit.param.do.not.conform.to.bounds=\u663E\u5F0F\u7C7B\u578B\u53C2\u6570{0}\u4E0D\u7B26\u5408\u58F0\u660E\u7684\u8303\u56F4{1} @@ -1574,6 +1584,8 @@ compiler.warn.underscore.as.identifier=''_'' \u7528\u4F5C\u6807\u8BC6\u7B26\n(Java SE 8 \u4E4B\u540E\u7684\u53D1\u884C\u7248\u4E2D\u53EF\u80FD\u4E0D\u652F\u6301\u4F7F\u7528 ''_'' \u4F5C\u4E3A\u6807\u8BC6\u7B26) +compiler.err.underscore.as.identifier.in.lambda=''_'' \u7528\u4F5C\u6807\u8BC6\u7B26\n(\u5BF9\u4E8E lambda \u53C2\u6570, \u7981\u6B62\u5C06 ''_'' \u7528\u4F5C\u6807\u8BC6\u7B26) + compiler.err.enum.as.identifier=\u4ECE\u53D1\u884C\u7248 5 \u5F00\u59CB, ''enum'' \u4E3A\u5173\u952E\u5B57, \u800C\u4E0D\u7528\u4F5C\u6807\u8BC6\u7B26\n(\u8BF7\u4F7F\u7528 -source 1.4 \u6216\u66F4\u4F4E\u7248\u672C\u4EE5\u5C06 ''enum'' \u7528\u4F5C\u6807\u8BC6\u7B26) compiler.err.assert.as.identifier=\u4ECE\u53D1\u884C\u7248 1.4 \u5F00\u59CB, ''assert'' \u662F\u4E00\u4E2A\u5173\u952E\u5B57, \u4F46\u4E0D\u80FD\u7528\u4F5C\u6807\u8BC6\u7B26\n(\u8BF7\u4F7F\u7528 -source 1.3 \u6216\u66F4\u4F4E\u7248\u672C\u4EE5\u5C06 ''assert'' \u7528\u4F5C\u6807\u8BC6\u7B26) @@ -1585,11 +1597,12 @@ compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\u63A5\u6536\u65B9\u53C2\u6570\u4E0D\u9002\u7528\u4E8E\u9876\u5C42\u7C7B\u7684\u6784\u9020\u5668 # TODO 308: make a better error message -compiler.err.cant.annotate.static.class=\u65E0\u6CD5\u5BF9\u5C01\u95ED\u9759\u6001\u5D4C\u5957\u7C7B\u8FDB\u884C\u6CE8\u91CA +# 0: symbol +compiler.err.cant.type.annotate.scoping.1=\u65E0\u6CD5\u4F7F\u7528 type-use \u6CE8\u91CA {0} \u6765\u6CE8\u91CA\u786E\u5B9A\u4F5C\u7528\u57DF\u7ED3\u6784 # TODO 308: make a better error message -# 0: unused -compiler.err.cant.annotate.nested.type=\u65E0\u6CD5\u6CE8\u91CA\u7528\u4E8E\u9759\u6001\u5D4C\u5957\u7C7B\u578B\u7684\u786E\u5B9A\u4F5C\u7528\u57DF\u7ED3\u6784 +# 0: list of symbol +compiler.err.cant.type.annotate.scoping=\u65E0\u6CD5\u4F7F\u7528 type-use \u6CE8\u91CA {0} \u6765\u6CE8\u91CA\u786E\u5B9A\u4F5C\u7528\u57DF\u7ED3\u6784 # 0: type, 1: type compiler.err.incorrect.receiver.name=\u63A5\u6536\u65B9\u540D\u79F0\u4E0E\u5C01\u95ED\u7C7B\u7C7B\u578B\u4E0D\u5339\u914D\n\u9700\u8981: {0}\n\u627E\u5230: {1} @@ -1618,7 +1631,10 @@ compiler.err.type.annotations.not.supported.in.source=-source {0} \u4E2D\u4E0D\u652F\u6301\u7C7B\u578B\u6CE8\u91CA\n(\u8BF7\u4F7F\u7528 -source 8 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528\u7C7B\u578B\u6CE8\u91CA) # 0: string -compiler.err.foreach.not.supported.in.source=-source {0} \u4E2D\u4E0D\u652F\u6301 for-each \u5FAA\u73AF\n(\u8BF7\u4F7F\u7528 -source 5 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528 for-each \u5FAA\u73AF) +compiler.err.repeatable.annotations.not.supported.in.source=-source {0}\u4E2D\u4E0D\u652F\u6301\u91CD\u590D\u6CE8\u91CA\n(\u8BF7\u4F7F\u7528 -source 8 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528\u91CD\u590D\u6CE8\u91CA) + +# 0: string +compiler.err.foreach.not.supported.in.source=-source {0}\u4E2D\u4E0D\u652F\u6301\u589E\u5F3A\u578B for \u5FAA\u73AF\n(\u4F7F\u7528 -source 5 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528 for-each \u5FAA\u73AF) # 0: string compiler.err.static.import.not.supported.in.source=-source {0} \u4E2D\u4E0D\u652F\u6301\u9759\u6001\u5BFC\u5165\u58F0\u660E\n(\u8BF7\u4F7F\u7528 -source 5 \u6216\u66F4\u9AD8\u7248\u672C\u4EE5\u542F\u7528\u9759\u6001\u5BFC\u5165\u58F0\u660E) diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java --- a/src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/util/Names.java --- a/src/share/classes/com/sun/tools/javac/util/Names.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/util/Names.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java --- a/src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java --- a/src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javadoc/ConstructorDocImpl.java --- a/src/share/classes/com/sun/tools/javadoc/ConstructorDocImpl.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javadoc/ConstructorDocImpl.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties --- a/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties Thu Jan 02 15:31:24 2014 -0800 @@ -55,8 +55,8 @@ main.opt.o=\ -o \u51FA\u529B\u30D5\u30A1\u30A4\u30EB(-d\u304B-o\u306E\u3069\u3061\u3089\u304B\u4E00\u65B9\u3092\u4F7F\u7528\u3059\u308B) main.opt.d=\ -d \u51FA\u529B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA main.opt.v=\ -v -verbose \u8A73\u7D30\u306A\u51FA\u529B\u3092\u884C\u3046 -main.opt.h=\ -h --help -? \u3053\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B -main.opt.version=\ -version \u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831\u3092\u8868\u793A\u3059\u308B +main.opt.h=\ -h --help -? \u3053\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B +main.opt.version=\ -version \u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831\u3092\u51FA\u529B\u3059\u308B main.opt.jni=\ -jni JNI\u5F62\u5F0F\u306E\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u3059\u308B(\u30C7\u30D5\u30A9\u30EB\u30C8) main.opt.force=\ -force \u5E38\u306B\u51FA\u529B\u30D5\u30A1\u30A4\u30EB\u3092\u66F8\u304D\u8FBC\u3080 main.opt.classpath=\ -classpath \u30AF\u30E9\u30B9\u3092\u30ED\u30FC\u30C9\u3059\u308B\u30D1\u30B9 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/jdeps/Archive.java --- a/src/share/classes/com/sun/tools/jdeps/Archive.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/jdeps/Archive.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/jdeps/ClassFileReader.java --- a/src/share/classes/com/sun/tools/jdeps/ClassFileReader.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/jdeps/ClassFileReader.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties --- a/src/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties Thu Jan 02 15:31:24 2014 -0800 @@ -1,31 +1,35 @@ main.usage.summary=\u4F7F\u7528\u65B9\u6CD5: {0} \n\u4F7F\u7528\u53EF\u80FD\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30EA\u30B9\u30C8\u306B\u3064\u3044\u3066\u306F\u3001-h\u3001-?\u307E\u305F\u306F--help\u3092\u4F7F\u7528\u3057\u307E\u3059 -main.usage=\u4F7F\u7528\u65B9\u6CD5: {0} \n\u306B\u306F\u3001.class\u30D5\u30A1\u30A4\u30EB\u306E\u30D1\u30B9\u540D\u3001\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001JAR\u30D5\u30A1\u30A4\u30EB\u3001\u5B8C\u5168\u4FEE\u98FE\u30AF\u30E9\u30B9\u540D\n\u307E\u305F\u306F\u30EF\u30A4\u30EB\u30C9\u30AB\u30FC\u30C9"*"\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002\u4F7F\u7528\u3067\u304D\u308B\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059: +main.usage=\u4F7F\u7528\u65B9\u6CD5: {0} \n\u306B\u306F\u3001.class\u30D5\u30A1\u30A4\u30EB\u306E\u30D1\u30B9\u540D\u3001\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001JAR\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u5B8C\u5168\u4FEE\u98FE\n\u30AF\u30E9\u30B9\u540D\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002\u4F7F\u7528\u3067\u304D\u308B\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059: error.prefix=\u30A8\u30E9\u30FC: warn.prefix=\u8B66\u544A: -main.opt.h=\ -h -? --help \u3053\u306E\u4F7F\u7528\u65B9\u6CD5\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B +main.opt.h=\ -h -? -help \u3053\u306E\u4F7F\u7528\u65B9\u6CD5\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3057\u307E\u3059 -main.opt.version=\ --version \u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831 +main.opt.version=\ -version \u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831 + +main.opt.v=\ -v -verbose \u30AF\u30E9\u30B9\u30FB\u30EC\u30D9\u30EB\u306E\u4F9D\u5B58\u6027\u3092\u3059\u3079\u3066\u51FA\u529B\u3057\u307E\u3059\n -verbose:package \u30D1\u30C3\u30B1\u30FC\u30B8\u30FB\u30EC\u30D9\u30EB\u306E\u4F9D\u5B58\u6027\u3092\u51FA\u529B\u3057\u307E\u3059\n (\u540C\u3058\u30A2\u30FC\u30AB\u30A4\u30D6\u5185\u306E\u4F9D\u5B58\u6027\u3092\u9664\u304F)\n -verbose:class \u30AF\u30E9\u30B9\u30FB\u30EC\u30D9\u30EB\u306E\u4F9D\u5B58\u6027\u3092\u51FA\u529B\u3057\u307E\u3059\n (\u540C\u3058\u30A2\u30FC\u30AB\u30A4\u30D6\u5185\u306E\u4F9D\u5B58\u6027\u3092\u9664\u304F) -main.opt.V=\ -V --verbose-level= \u30D1\u30C3\u30B1\u30FC\u30B8\u30FB\u30EC\u30D9\u30EB\u307E\u305F\u306F\u30AF\u30E9\u30B9\u30FB\u30EC\u30D9\u30EB\u306E\u4F9D\u5B58\u6027\u3092\u51FA\u529B\u3059\u308B\n \u6709\u52B9\u306A\u30EC\u30D9\u30EB: "package"\u304A\u3088\u3073"class" +main.opt.s=\ -s -summary \u4F9D\u5B58\u6027\u306E\u8981\u7D04\u306E\u307F\u51FA\u529B\u3057\u307E\u3059 -main.opt.v=\ -v --verbose \u8FFD\u52A0\u60C5\u5831\u3092\u51FA\u529B\u3059\u308B +main.opt.p=\ -p -package \u6307\u5B9A\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u306E\u4F9D\u5B58\u6027\u3092\u691C\u51FA\u3057\u307E\u3059\n (\u8907\u6570\u56DE\u6307\u5B9A\u53EF\u80FD) -main.opt.s=\ -s --summary \u4F9D\u5B58\u6027\u306E\u8981\u7D04\u306E\u307F\u51FA\u529B\u3059\u308B +main.opt.e=\ -e -regex \u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u306E\u4F9D\u5B58\u6027\u3092\u691C\u51FA\u3057\u307E\u3059\n (-p\u3068-e\u306F\u6392\u4ED6\u7684) -main.opt.p=\ -p --package= \u5206\u6790\u3092\u3053\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30AF\u30E9\u30B9\u306B\u5236\u9650\u3059\u308B\n (\u8907\u6570\u56DE\u6307\u5B9A\u53EF\u80FD) +main.opt.include=\ -include \u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u30AF\u30E9\u30B9\u306B\u5206\u6790\u3092\u5236\u9650\u3057\u307E\u3059\n \u3053\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u5206\u6790\u5BFE\u8C61\u30AF\u30E9\u30B9\u306E\n \u30EA\u30B9\u30C8\u304C\u30D5\u30A3\u30EB\u30BF\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\u30D1\u30BF\u30FC\u30F3\u3092\u4F9D\u5B58\u6027\u306B\n \u9069\u7528\u3059\u308B-p\u304A\u3088\u3073-e\u3068\u4E00\u7DD2\u306B\u4F7F\u7528\u3067\u304D\u307E\u3059 -main.opt.e=\ -e --regex= \u5206\u6790\u3092\u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u30D1\u30C3\u30B1\u30FC\u30B8\u306B\u5236\u9650\u3059\u308B\n (-p\u3068-e\u306F\u6392\u4ED6\u7684) +main.opt.P=\ -P -profile \u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u3001\u307E\u305F\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u542B\u3080\u30D5\u30A1\u30A4\u30EB\u3092\u8868\u793A\u3057\u307E\u3059 -main.opt.P=\ -P --profile \u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u542B\u3080\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u30D5\u30A1\u30A4\u30EB\u3092\u8868\u793A\u3059\u308B +main.opt.cp=\ -cp -classpath \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u5834\u6240\u3092\u6307\u5B9A\u3057\u307E\u3059 -main.opt.c=\ -c --classpath= \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u5834\u6240\u3092\u6307\u5B9A\u3059\u308B +main.opt.R=\ -R -recursive \u3059\u3079\u3066\u306E\u4F9D\u5B58\u6027\u3092\u53CD\u5FA9\u7684\u306B\u8D70\u67FB\u3057\u307E\u3059 + +main.opt.apionly=\ -apionly \u5206\u6790\u3092API\u3001\u3064\u307E\u308A\u3001\u30D1\u30D6\u30EA\u30C3\u30AF\u30FB\u30AF\u30E9\u30B9\u306E\n \u30D1\u30D6\u30EA\u30C3\u30AF\u30FB\u30E1\u30F3\u30D0\u30FC\u304A\u3088\u3073\u4FDD\u8B77\u3055\u308C\u305F\u30E1\u30F3\u30D0\u30FC\u306E\n \u7F72\u540D\u306B\u304A\u3051\u308B\u4F9D\u5B58\u6027(\u30D5\u30A3\u30FC\u30EB\u30C9\u30FB\u30BF\u30A4\u30D7\u3001\u30E1\u30BD\u30C3\u30C9\u30FB\n \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30BF\u30A4\u30D7\u3001\u623B\u3055\u308C\u305F\u30BF\u30A4\u30D7\u3001\u30C1\u30A7\u30C3\u30AF\u3055\u308C\u305F\n \u4F8B\u5916\u30BF\u30A4\u30D7\u306A\u3069)\u306B\u5236\u9650\u3057\u307E\u3059 -main.opt.R=\ -R --recursive \u3059\u3079\u3066\u306E\u4F9D\u5B58\u6027\u3092\u53CD\u5FA9\u7684\u306B\u8D70\u67FB\u3059\u308B +main.opt.dotoutput=\ -dotoutput DOT\u30D5\u30A1\u30A4\u30EB\u51FA\u529B\u306E\u5B9B\u5148\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA -main.opt.d=\ -d --depth= \u63A8\u79FB\u7684\u306A\u4F9D\u5B58\u6027\u5206\u6790\u306E\u6DF1\u3055\u3092\u6307\u5B9A\u3059\u308B +main.opt.depth=\ -depth= \u63A8\u79FB\u7684\u306A\u4F9D\u5B58\u6027\u5206\u6790\u306E\u6DF1\u3055\u3092\n \u6307\u5B9A\u3057\u307E\u3059 err.unknown.option=\u4E0D\u660E\u306A\u30AA\u30D7\u30B7\u30E7\u30F3: {0} err.missing.arg={0}\u306B\u5024\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 @@ -34,6 +38,7 @@ err.option.after.class=\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u30AF\u30E9\u30B9\u306E\u524D\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {0} err.option.unsupported={0}\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093: {1} err.profiles.msg=\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u304C\u3042\u308A\u307E\u305B\u3093 +err.dot.output.path=\u7121\u52B9\u306A\u30D1\u30B9: {0} warn.invalid.arg=\u7121\u52B9\u306A\u30AF\u30E9\u30B9\u540D\u307E\u305F\u306F\u30D1\u30B9\u540D\u304C\u5B58\u5728\u3057\u307E\u305B\u3093: {0} warn.split.package=\u30D1\u30C3\u30B1\u30FC\u30B8{0}\u306F{1} {2}\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u3059 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties --- a/src/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties Thu Jan 02 15:31:24 2014 -0800 @@ -1,31 +1,35 @@ main.usage.summary=\u7528\u6CD5: {0} \n\u4F7F\u7528 -h, -? \u6216 --help \u5217\u51FA\u53EF\u80FD\u7684\u9009\u9879 -main.usage=\u7528\u6CD5: {0} \n\u5176\u4E2D, \u53EF\u4EE5\u662F .class \u6587\u4EF6, \u76EE\u5F55, JAR \u6587\u4EF6\u7684\u8DEF\u5F84\u540D,\n\u4E5F\u53EF\u4EE5\u662F\u5168\u9650\u5B9A\u7C7B\u540D\u6216\u901A\u914D\u7B26 "*"\u3002\u53EF\u80FD\u7684\u9009\u9879\u5305\u62EC: +main.usage=\u7528\u6CD5: {0} \n\u5176\u4E2D \u53EF\u4EE5\u662F .class \u6587\u4EF6, \u76EE\u5F55, JAR \u6587\u4EF6\u7684\u8DEF\u5F84\u540D,\n\u4E5F\u53EF\u4EE5\u662F\u5168\u9650\u5B9A\u7C7B\u540D\u3002\u53EF\u80FD\u7684\u9009\u9879\u5305\u62EC: error.prefix=\u9519\u8BEF: warn.prefix=\u8B66\u544A: -main.opt.h=\ -h -? --help \u8F93\u51FA\u6B64\u7528\u6CD5\u6D88\u606F +main.opt.h=\ -h -? -help \u8F93\u51FA\u6B64\u7528\u6CD5\u6D88\u606F -main.opt.version=\ --version \u7248\u672C\u4FE1\u606F +main.opt.version=\ -version \u7248\u672C\u4FE1\u606F + +main.opt.v=\ -v -verbose \u8F93\u51FA\u6240\u6709\u7C7B\u7EA7\u522B\u88AB\u4F9D\u8D56\u5BF9\u8C61\n -verbose:package \u8F93\u51FA\u7A0B\u5E8F\u5305\u7EA7\u522B\u88AB\u4F9D\u8D56\u5BF9\u8C61, \u4E0D\u5305\u62EC\n \u540C\u4E00\u6863\u6848\u4E2D\u7684\u88AB\u4F9D\u8D56\u5BF9\u8C61\n -verbose:class \u8F93\u51FA\u7C7B\u7EA7\u522B\u88AB\u4F9D\u8D56\u5BF9\u8C61, \u4E0D\u5305\u62EC\n \u540C\u4E00\u6863\u6848\u4E2D\u7684\u88AB\u4F9D\u8D56\u5BF9\u8C61 -main.opt.V=\ -V --verbose-level= \u8F93\u51FA\u7A0B\u5E8F\u5305\u7EA7\u522B\u6216\u7C7B\u7EA7\u522B\u88AB\u4F9D\u8D56\u5BF9\u8C61\n \u6709\u6548\u7EA7\u522B\u4E3A: "\u7A0B\u5E8F\u5305" \u548C "\u7C7B" +main.opt.s=\ -s -summary \u4EC5\u8F93\u51FA\u88AB\u4F9D\u8D56\u5BF9\u8C61\u6982\u8981 -main.opt.v=\ -v --verbose \u8F93\u51FA\u9644\u52A0\u4FE1\u606F +main.opt.p=\ -p -package \u67E5\u627E\u7ED9\u5B9A\u7A0B\u5E8F\u5305\u4E2D\u7684\u88AB\u4F9D\u8D56\u5BF9\u8C61\n (\u53EF\u80FD\u591A\u6B21\u6307\u5B9A) -main.opt.s=\ -s --summary \u4EC5\u8F93\u51FA\u88AB\u4F9D\u8D56\u5BF9\u8C61\u6982\u8981 +main.opt.e=\ -e -regex \u67E5\u627E\u4E0E\u6A21\u5F0F\u5339\u914D\u7684\u7A0B\u5E8F\u5305\u4E2D\u7684\u88AB\u4F9D\u8D56\u5BF9\u8C61\n (-p \u548C -e \u4E92\u76F8\u6392\u65A5) -main.opt.p=\ -p --package= \u5C06\u5206\u6790\u9650\u5236\u4E3A\u6B64\u7A0B\u5E8F\u5305\u4E2D\u7684\u7C7B\n (\u53EF\u4EE5\u6307\u5B9A\u591A\u6B21) +main.opt.include=\ -include \u5C06\u5206\u6790\u9650\u5236\u4E3A\u4E0E\u6A21\u5F0F\u5339\u914D\u7684\u7C7B\n \u6B64\u9009\u9879\u7B5B\u9009\u8981\u5206\u6790\u7684\u7C7B\u7684\u5217\u8868\u3002\n \u5B83\u53EF\u4EE5\u4E0E\u5411\u88AB\u4F9D\u8D56\u5BF9\u8C61\u5E94\u7528\u6A21\u5F0F\u7684\n -p \u548C -e \u7ED3\u5408\u4F7F\u7528 -main.opt.e=\ -e --regex= \u5C06\u5206\u6790\u9650\u5236\u4E3A\u4E0E\u6A21\u5F0F\u5339\u914D\u7684\u7A0B\u5E8F\u5305\n (-p \u548C -e \u4E92\u65A5) +main.opt.P=\ -P -profile \u663E\u793A\u914D\u7F6E\u6587\u4EF6\u6216\u5305\u542B\u7A0B\u5E8F\u5305\u7684\u6587\u4EF6 -main.opt.P=\ -P --profile \u663E\u793A\u914D\u7F6E\u6587\u4EF6\u6216\u5305\u542B\u7A0B\u5E8F\u5305\u7684\u6587\u4EF6 +main.opt.cp=\ -cp -classpath \u6307\u5B9A\u67E5\u627E\u7C7B\u6587\u4EF6\u7684\u4F4D\u7F6E -main.opt.c=\ -c --classpath= \u6307\u5B9A\u67E5\u627E\u7C7B\u6587\u4EF6\u7684\u4F4D\u7F6E +main.opt.R=\ -R -recursive \u9012\u5F52\u904D\u5386\u6240\u6709\u88AB\u4F9D\u8D56\u5BF9\u8C61 + +main.opt.apionly=\ -apionly \u901A\u8FC7\u516C\u5171\u7C7B (\u5305\u62EC\u5B57\u6BB5\u7C7B\u578B, \u65B9\u6CD5\u53C2\u6570\n \u7C7B\u578B, \u8FD4\u56DE\u7C7B\u578B, \u53D7\u63A7\u5F02\u5E38\u9519\u8BEF\u7C7B\u578B\n \u7B49) \u7684\u516C\u5171\u548C\u53D7\u4FDD\u62A4\u6210\u5458\u7684\u7B7E\u540D\n \u9650\u5236\u5BF9 API (\u5373\u88AB\u4F9D\u8D56\u5BF9\u8C61)\n \u8FDB\u884C\u5206\u6790 -main.opt.R=\ -R --recursive \u9012\u5F52\u904D\u5386\u6240\u6709\u88AB\u4F9D\u8D56\u5BF9\u8C61 +main.opt.dotoutput=\ -dotoutput DOT \u6587\u4EF6\u8F93\u51FA\u7684\u76EE\u6807\u76EE\u5F55 -main.opt.d=\ -d --depth= \u6307\u5B9A\u8FC7\u6E21\u88AB\u4F9D\u8D56\u5BF9\u8C61\u5206\u6790\u7684\u6DF1\u5EA6 +main.opt.depth=\ -depth= \u6307\u5B9A\u8FC7\u6E21\u88AB\u4F9D\u8D56\u5BF9\u8C61\u5206\u6790\n \u7684\u6DF1\u5EA6 err.unknown.option=\u672A\u77E5\u9009\u9879: {0} err.missing.arg=\u6CA1\u6709\u4E3A{0}\u6307\u5B9A\u503C @@ -34,6 +38,7 @@ err.option.after.class=\u5FC5\u987B\u5728\u7C7B\u4E4B\u524D\u6307\u5B9A\u9009\u9879: {0} err.option.unsupported=\u4E0D\u652F\u6301{0}: {1} err.profiles.msg=\u6CA1\u6709\u914D\u7F6E\u6587\u4EF6\u4FE1\u606F +err.dot.output.path=\u65E0\u6548\u8DEF\u5F84: {0} warn.invalid.arg=\u7C7B\u540D\u65E0\u6548\u6216\u8DEF\u5F84\u540D\u4E0D\u5B58\u5728: {0} warn.split.package=\u5DF2\u5728{1} {2}\u4E2D\u5B9A\u4E49\u7A0B\u5E8F\u5305{0} diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/CleanProperties.java --- a/src/share/classes/com/sun/tools/sjavac/CleanProperties.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/CleanProperties.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/CompileChunk.java --- a/src/share/classes/com/sun/tools/sjavac/CompileChunk.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/CompileChunk.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java --- a/src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/CompileProperties.java --- a/src/share/classes/com/sun/tools/sjavac/CompileProperties.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/CompileProperties.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/CopyFile.java --- a/src/share/classes/com/sun/tools/sjavac/CopyFile.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/CopyFile.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/JavacState.java --- a/src/share/classes/com/sun/tools/sjavac/JavacState.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/JavacState.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Log.java --- a/src/share/classes/com/sun/tools/sjavac/Log.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Log.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Module.java --- a/src/share/classes/com/sun/tools/sjavac/Module.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Module.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Package.java --- a/src/share/classes/com/sun/tools/sjavac/Package.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Package.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/ProblemException.java --- a/src/share/classes/com/sun/tools/sjavac/ProblemException.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/ProblemException.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Source.java --- a/src/share/classes/com/sun/tools/sjavac/Source.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Source.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Transformer.java --- a/src/share/classes/com/sun/tools/sjavac/Transformer.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Transformer.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/Util.java --- a/src/share/classes/com/sun/tools/sjavac/Util.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/Util.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java --- a/src/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java --- a/src/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java --- a/src/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java --- a/src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java --- a/src/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/comp/SmartWriter.java --- a/src/share/classes/com/sun/tools/sjavac/comp/SmartWriter.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/comp/SmartWriter.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/server/CompilerPool.java --- a/src/share/classes/com/sun/tools/sjavac/server/CompilerPool.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/server/CompilerPool.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/server/PortFile.java --- a/src/share/classes/com/sun/tools/sjavac/server/PortFile.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/server/PortFile.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/com/sun/tools/sjavac/server/SysInfo.java --- a/src/share/classes/com/sun/tools/sjavac/server/SysInfo.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/com/sun/tools/sjavac/server/SysInfo.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/element/TypeElement.java --- a/src/share/classes/javax/lang/model/element/TypeElement.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/element/TypeElement.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/element/VariableElement.java --- a/src/share/classes/javax/lang/model/element/VariableElement.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/element/VariableElement.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/element/package-info.java --- a/src/share/classes/javax/lang/model/element/package-info.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/element/package-info.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/type/IntersectionType.java --- a/src/share/classes/javax/lang/model/type/IntersectionType.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/type/IntersectionType.java Thu Jan 02 15:31:24 2014 -0800 @@ -35,10 +35,12 @@ * {@code } is an (implicit) intersection * type. As of {@link javax.lang.model.SourceVersion#RELEASE_8 * RELEASE_8}, this is represented by an {@code IntersectionType} with - * {@code Number} and {@code Runnable} as its bounds. Also as of the - * {@link javax.lang.model.SourceVersion#RELEASE_8 RELEASE_8}, - * intersection types can explicitly appear as the target type of a - * cast expression. + * {@code Number} and {@code Runnable} as its bounds. + * + * @implNote Also as of {@link + * javax.lang.model.SourceVersion#RELEASE_8 RELEASE_8}, in the + * reference implementation an {@code IntersectionType} is used to + * model the explicit target type of a cast expression. * * @since 1.8 */ diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java --- a/src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 src/share/classes/javax/lang/model/util/Types.java --- a/src/share/classes/javax/lang/model/util/Types.java Fri Dec 20 07:44:28 2013 -0800 +++ b/src/share/classes/javax/lang/model/util/Types.java Thu Jan 02 15:31:24 2014 -0800 @@ -60,13 +60,6 @@ /** * Tests whether two {@code TypeMirror} objects represent the same type. * - *

Since annotations are only meta-data associated with a type, - * the set of annotations on either argument is not taken - * into account when computing whether or not two {@code - * TypeMirror} objects are the same type. In particular, two - * {@code TypeMirror} objects can have different annotations and - * still be considered the same. - * *

Caveat: if either of the arguments to this method represents a * wildcard, this method will return false. As a consequence, a wildcard * is not the same type as itself. This might be surprising at first, @@ -77,6 +70,13 @@ * {@code list.add(list.get(0));} * * + *

Since annotations are only meta-data associated with a type, + * the set of annotations on either argument is not taken + * into account when computing whether or not two {@code + * TypeMirror} objects are the same type. In particular, two + * {@code TypeMirror} objects can have different annotations and + * still be considered the same. + * * @param t1 the first type * @param t2 the second type * @return {@code true} if and only if the two types are the same diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/AccessH1/AccessH1.java --- a/test/com/sun/javadoc/AccessH1/AccessH1.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/AccessH1/AccessH1.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2013, 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 @@ -23,7 +23,7 @@ /* * @test - * @bug 4636667 7052425 + * @bug 4636667 7052425 8016549 * @summary Use , and

in proper sequence for accessibility * @author dkramer * @run main AccessH1 @@ -85,7 +85,7 @@ private static final String[][] testArray = { // Test the style sheet { - "h1 {" + LS + " font-size:1.8em;" + LS + + "h1 {" + LS + " font-size:20px;" + LS + "}", TMPDEST_DIR1 + "stylesheet.css" }, diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testAbstractMethod/TestAbstractMethod.java --- a/test/com/sun/javadoc/testAbstractMethod/TestAbstractMethod.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testAbstractMethod/TestAbstractMethod.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testAbstractMethod/pkg/A.java --- a/test/com/sun/javadoc/testAbstractMethod/pkg/A.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testAbstractMethod/pkg/A.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testAbstractMethod/pkg/B.java --- a/test/com/sun/javadoc/testAbstractMethod/pkg/B.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testAbstractMethod/pkg/B.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testAbstractMethod/pkg/C.java --- a/test/com/sun/javadoc/testAbstractMethod/pkg/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testAbstractMethod/pkg/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testAnnotationOptional/pkg/AnnotationOptional.java --- a/test/com/sun/javadoc/testAnnotationOptional/pkg/AnnotationOptional.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testAnnotationOptional/pkg/AnnotationOptional.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java --- a/test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java Thu Jan 02 15:31:24 2014 -0800 @@ -23,7 +23,7 @@ /* * @test - * @bug 6553182 8025416 + * @bug 6553182 8025416 8029504 * @summary This test verifies the -Xdocrootparent option. * @author Bhavesh Patel * @library ../lib/ diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testDocRootLink/pkg1/C1.java --- a/test/com/sun/javadoc/testDocRootLink/pkg1/C1.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testDocRootLink/pkg1/C1.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testDocRootLink/pkg2/C2.java --- a/test/com/sun/javadoc/testDocRootLink/pkg2/C2.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testDocRootLink/pkg2/C2.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testLegacyTaglet/C.java --- a/test/com/sun/javadoc/testLegacyTaglet/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testLegacyTaglet/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testNavigation/pkg/A.java --- a/test/com/sun/javadoc/testNavigation/pkg/A.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testNavigation/pkg/A.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testNavigation/pkg/C.java --- a/test/com/sun/javadoc/testNavigation/pkg/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testNavigation/pkg/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testNavigation/pkg/E.java --- a/test/com/sun/javadoc/testNavigation/pkg/E.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testNavigation/pkg/E.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testNavigation/pkg/I.java --- a/test/com/sun/javadoc/testNavigation/pkg/I.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testNavigation/pkg/I.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/C.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContaineeRegDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContaineeRegDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContaineeRegDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/ContainerRegNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/D.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/D.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/D.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/NonSynthDocContainer.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/NonSynthDocContainer.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/NonSynthDocContainer.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegArryDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegArryDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegArryDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContaineeNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegContainerNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg/RegDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/C.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContaineeNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContaineeNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContaineeNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/ContainerValNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContaineeNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValNotDoc.java --- a/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValNotDoc.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testRepeatedAnnotations/pkg1/RegContainerValNotDoc.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/com/sun/javadoc/testStylesheet/TestStylesheet.java --- a/test/com/sun/javadoc/testStylesheet/TestStylesheet.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/com/sun/javadoc/testStylesheet/TestStylesheet.java Thu Jan 02 15:31:24 2014 -0800 @@ -23,7 +23,7 @@ /* * @test - * @bug 4494033 7028815 7052425 8007338 8023608 8008164 + * @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 * @summary Run tests on doclet stylesheet. * @author jamieh * @library ../lib/ @@ -54,8 +54,8 @@ {BUG_ID + FS + "stylesheet.css", "body {" + NL + " background-color:#ffffff;" + NL + " color:#353833;" + NL + - " font-family:Arial, Helvetica, sans-serif;" + NL + - " font-size:76%;" + NL + " margin:0;" + NL + "}"}, + " font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;" + NL + + " font-size:14px;" + NL + " margin:0;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", "ul {" + NL + " list-style-type:disc;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", @@ -64,49 +64,65 @@ " position:relative;" + NL + " text-align:left;" + NL + " background-repeat:no-repeat;" + NL + - " color:#FFFFFF;" + NL + + " color:#253441;" + NL + " font-weight:bold;" + NL + " clear:none;" + NL + " overflow:hidden;" + NL + " padding:0px;" + NL + + " padding-top:10px;" + NL + + " padding-left:1px;" + NL + " margin:0px;" + NL + + " white-space:pre;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", ".overviewSummary caption span, .memberSummary caption span, .typeSummary caption span," + NL + ".useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {" + NL + " white-space:nowrap;" + NL + - " padding-top:8px;" + NL + - " padding-left:8px;" + NL + + " padding-top:5px;" + NL + + " padding-left:12px;" + NL + + " padding-right:12px;" + NL + + " padding-bottom:7px;" + NL + " display:inline-block;" + NL + " float:left;" + NL + - " background-image:url(resources/titlebar.gif);" + NL + + " background-color:#F8981D;" + NL + + " border: none;" + NL + + " height:16px;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", ".memberSummary caption span.activeTableTab span {" + NL + " white-space:nowrap;" + NL + - " padding-top:8px;" + NL + - " padding-left:8px;" + NL + + " padding-top:5px;" + NL + + " padding-left:12px;" + NL + + " padding-right:12px;" + NL + + " margin-right:3px;" + NL + " display:inline-block;" + NL + " float:left;" + NL + - " background-image:url(resources/activetitlebar.gif);" + NL + + " background-color:#F8981D;" + NL + + " height:16px;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", ".memberSummary caption span.tableTab span {" + NL + " white-space:nowrap;" + NL + - " padding-top:8px;" + NL + - " padding-left:8px;" + NL + + " padding-top:5px;" + NL + + " padding-left:12px;" + NL + + " padding-right:12px;" + NL + + " margin-right:3px;" + NL + " display:inline-block;" + NL + " float:left;" + NL + - " background-image:url(resources/titlebar.gif);" + NL + + " background-color:#4D7A97;" + NL + + " height:16px;" + NL + "}"}, {BUG_ID + FS + "stylesheet.css", ".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {" + NL + " padding-top:0px;" + NL + " padding-left:0px;" + NL + + " padding-right:0px;" + NL + " background-image:none;" + NL + " float:none;" + NL + - " display:inline-block;" + NL + + " display:inline;" + NL + "}"}, + {BUG_ID + FS + "stylesheet.css", + "@import url('resources/fonts/dejavu.css');"}, // Test whether a link to the stylesheet file is inserted properly // in the class documentation. {BUG_ID + FS + "pkg" + FS + "A.html", diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/T6725036.java --- a/test/tools/javac/T6725036.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/T6725036.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/T8029569/VarargsAmbiguityCrashTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/T8029569/VarargsAmbiguityCrashTest.java Thu Jan 02 15:31:24 2014 -0800 @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2013, 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 + * 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. + */ + +/* + * @test + * @bug 8029569 + * @summary internal javac cast exception when resolving varargs ambiguity + * @compile/fail/ref=VarargsAmbiguityCrashTest.out -XDrawDiagnostics VarargsAmbiguityCrashTest.java + */ + +public class VarargsAmbiguityCrashTest { + void m1() { + m2(null, new Exception()); + } + + void m2(Long l) {} + + void m2(Exception... exception) {} + + void m2(Long l, Exception... exception) {} +} diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/T8029569/VarargsAmbiguityCrashTest.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/T8029569/VarargsAmbiguityCrashTest.out Thu Jan 02 15:31:24 2014 -0800 @@ -0,0 +1,2 @@ +VarargsAmbiguityCrashTest.java:33:9: compiler.err.ref.ambiguous: m2, kindname.method, m2(java.lang.Exception...), VarargsAmbiguityCrashTest, kindname.method, m2(java.lang.Long,java.lang.Exception...), VarargsAmbiguityCrashTest +1 error diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedBase.java --- a/test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedBase.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedBase.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedContainer.java --- a/test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedContainer.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedContainer.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/TargetTypes.java --- a/test/tools/javac/annotations/typeAnnotations/TargetTypes.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/TargetTypes.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/api/AnnotatedArrayOrder.java --- a/test/tools/javac/annotations/typeAnnotations/api/AnnotatedArrayOrder.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/api/AnnotatedArrayOrder.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/api/ArrayCreationTree.java --- a/test/tools/javac/annotations/typeAnnotations/api/ArrayCreationTree.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/api/ArrayCreationTree.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/api/ArrayPositionConsistency.java --- a/test/tools/javac/annotations/typeAnnotations/api/ArrayPositionConsistency.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/api/ArrayPositionConsistency.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/classfile/NoTargetAnnotations.java --- a/test/tools/javac/annotations/typeAnnotations/classfile/NoTargetAnnotations.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/classfile/NoTargetAnnotations.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/failures/target/DotClass.java --- a/test/tools/javac/annotations/typeAnnotations/failures/target/DotClass.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/failures/target/DotClass.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/newlocations/Lambda.java --- a/test/tools/javac/annotations/typeAnnotations/newlocations/Lambda.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/newlocations/Lambda.java Thu Jan 02 15:31:24 2014 -0800 @@ -23,8 +23,9 @@ /* * @test - * @bug 8008077 + * @bug 8008077 8029721 * @summary new type annotation location: lambda expressions + * javac crash for annotated parameter type of lambda in a field * @compile Lambda.java * @author Werner Dietl */ @@ -57,6 +58,14 @@ LambdaInt2 getLambda() { return (@TA Object x, @TB Object y) -> { @TA Object l = null; System.out.println("We have: " + (@TB Object) x); }; } + + java.util.function.IntUnaryOperator x = (@TA int y) -> 1; + + static java.util.function.IntUnaryOperator xx = (@TA int y) -> 1; + + java.util.function.IntUnaryOperator foo() { + return (@TA int y) -> 2; + } } @Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/newlocations/Varargs.java --- a/test/tools/javac/annotations/typeAnnotations/newlocations/Varargs.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/newlocations/Varargs.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/Anno.java --- a/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/Anno.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/Anno.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/MyClass.java --- a/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/MyClass.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/MyClass.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/package-info.java --- a/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/package-info.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/packageanno/mypackage/package-info.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassExtends.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassExtends.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassExtends.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassTypeParam.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassTypeParam.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/ClassTypeParam.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/Fields.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/Fields.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/Fields.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/FromSpecification.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/FromSpecification.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/FromSpecification.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java Thu Jan 02 15:31:24 2014 -0800 @@ -23,8 +23,9 @@ /* * @test - * @bug 8008077 + * @bug 8008077 8029721 * @summary Test population of reference info for lambda expressions + * javac crash for annotated parameter type of lambda in a field * @compile -g Driver.java ReferenceInfoUtil.java Lambda.java * @run main Driver Lambda * @author Werner Dietl @@ -285,4 +286,24 @@ " }" + "}"; } + + @TADescriptions({ + @TADescription(annotation = "TA", type = METHOD_FORMAL_PARAMETER, + paramIndex = 0)}) + public String lambdaField1() { + return + "class Test {" + + " java.util.function.IntUnaryOperator field = (@TA int y) -> 1;" + + "}"; + } + + @TADescriptions({ + @TADescription(annotation = "TA", type = METHOD_FORMAL_PARAMETER, + paramIndex = 0)}) + public String lambdaField2() { + return + "class Test {" + + " static java.util.function.IntUnaryOperator field = (@TA int y) -> 1;" + + "}"; + } } diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodParameters.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodParameters.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodParameters.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReceivers.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReceivers.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReceivers.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReturns.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReturns.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReturns.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodTypeParam.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodTypeParam.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodTypeParam.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/RepeatingTypeAnnotations.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/RepeatingTypeAnnotations.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/RepeatingTypeAnnotations.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeCasts.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeCasts.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeCasts.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeTests.java --- a/test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeTests.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/annotations/typeAnnotations/referenceinfos/TypeTests.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/cast/intersection/IntersectionTypeParserTest.java --- a/test/tools/javac/cast/intersection/IntersectionTypeParserTest.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/cast/intersection/IntersectionTypeParserTest.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/cast/intersection/model/Model01.java --- a/test/tools/javac/cast/intersection/model/Model01.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/cast/intersection/model/Model01.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/cast/intersection/model/ModelChecker.java --- a/test/tools/javac/cast/intersection/model/ModelChecker.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/cast/intersection/model/ModelChecker.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/Static01.java --- a/test/tools/javac/defaultMethods/static/Static01.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/Static01.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/Static02.java --- a/test/tools/javac/defaultMethods/static/Static02.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/Static02.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java --- a/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/StaticImport1.java --- a/test/tools/javac/defaultMethods/static/import/StaticImport1.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/StaticImport1.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/StaticImport2.java --- a/test/tools/javac/defaultMethods/static/import/StaticImport2.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/StaticImport2.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/StaticImport3.java --- a/test/tools/javac/defaultMethods/static/import/StaticImport3.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/StaticImport3.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/pkg/A.java --- a/test/tools/javac/defaultMethods/static/import/pkg/A.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/pkg/A.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/pkg/B.java --- a/test/tools/javac/defaultMethods/static/import/pkg/B.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/pkg/B.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/static/import/pkg/C.java --- a/test/tools/javac/defaultMethods/static/import/pkg/C.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/static/import/pkg/C.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java --- a/test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/MessageFile.java --- a/test/tools/javac/diags/MessageFile.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/MessageFile.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/MessageInfo.java --- a/test/tools/javac/diags/MessageInfo.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/MessageInfo.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java --- a/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E1.java --- a/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E1.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E1.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E2.java --- a/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E2.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E2.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/IllegalStaticIntfMethCall.java --- a/test/tools/javac/diags/examples/IllegalStaticIntfMethCall.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/IllegalStaticIntfMethCall.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/KindnameConstructor.java --- a/test/tools/javac/diags/examples/KindnameConstructor.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/KindnameConstructor.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java --- a/test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/NotInProfile.java --- a/test/tools/javac/diags/examples/NotInProfile.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/NotInProfile.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/RepeatableAnnotationsNotSupported.java --- a/test/tools/javac/diags/examples/RepeatableAnnotationsNotSupported.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/RepeatableAnnotationsNotSupported.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/StaticIntfMethodNotSupported.java --- a/test/tools/javac/diags/examples/StaticIntfMethodNotSupported.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/StaticIntfMethodNotSupported.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/diags/examples/WhereIntersection.java --- a/test/tools/javac/diags/examples/WhereIntersection.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/diags/examples/WhereIntersection.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/generics/odersky/BadTest4.java --- a/test/tools/javac/generics/odersky/BadTest4.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/generics/odersky/BadTest4.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/DoubleStaticImport.java --- a/test/tools/javac/lambda/DoubleStaticImport.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/DoubleStaticImport.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/Intersection01.java --- a/test/tools/javac/lambda/Intersection01.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/Intersection01.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/Intersection02.java --- a/test/tools/javac/lambda/Intersection02.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/Intersection02.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaCapture06.java --- a/test/tools/javac/lambda/LambdaCapture06.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/LambdaCapture06.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaConv01.java --- a/test/tools/javac/lambda/LambdaConv01.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/LambdaConv01.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaExpr15.java --- a/test/tools/javac/lambda/LambdaExpr15.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/LambdaExpr15.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaParenGeneric.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/lambda/LambdaParenGeneric.java Thu Jan 02 15:31:24 2014 -0800 @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2013, 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 + * 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. + */ + +/* + * @test + * @bug 8029558 + * @summary VerifyError lambda body is parenthesized generic value + * @author Robert Field + * @run main LambdaParenGeneric + */ + +public class LambdaParenGeneric { + + @FunctionalInterface + public interface FI { + Integer apply(); + } + + public static class Val { + A value; + Val(A v) { value = v; } + } + + public static void main(String[] args) { + FI inc = () -> (new Val(77).value); + System.out.println(inc.apply()); + } +} diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaParenGenericOrig.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/lambda/LambdaParenGenericOrig.java Thu Jan 02 15:31:24 2014 -0800 @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2013, 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 + * 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. + */ + +/* + * @test + * @bug 8029558 + * @summary VerifyError lambda body is parenthesized generic value (originally submitted test) + * @author Dmitrii Afanasyev + * @run main LambdaParenGenericOrig + */ + +public class LambdaParenGenericOrig { + + @FunctionalInterface + public static interface Function1 { + R apply(A input); + } + + @FunctionalInterface + public static interface Function2 { + R apply(A1 input1, A2 input2); + } + + public static void main(String[] args) { + final Function2 add = (x, y) -> x + y; + final Function1 inc = x -> (add.apply(x, 1)); + System.out.println(inc.apply(0)); + } +} diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/LambdaScope05.out --- a/test/tools/javac/lambda/LambdaScope05.out Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/LambdaScope05.out Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ LambdaScope05.java:13:47: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.static.init, kindname.class, LambdaScope05 -LambdaScope05.java:14:40: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.instance.init, kindname.class, LambdaScope05 +LambdaScope05.java:14:40: compiler.err.already.defined: kindname.variable, p, kindname.constructor, LambdaScope05() LambdaScope05.java:17:43: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.static.init, kindname.class, LambdaScope05 LambdaScope05.java:21:43: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.instance.init, kindname.class, LambdaScope05 LambdaScope05.java:25:43: compiler.err.already.defined: kindname.variable, p, kindname.method, m_static() diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/MethodReference25.java --- a/test/tools/javac/lambda/MethodReference25.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/MethodReference25.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/MethodReference26.java --- a/test/tools/javac/lambda/MethodReference26.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/MethodReference26.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/MethodReference59.java --- a/test/tools/javac/lambda/MethodReference59.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/MethodReference59.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/MethodReference60.java --- a/test/tools/javac/lambda/MethodReference60.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/MethodReference60.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/TargetType51.java --- a/test/tools/javac/lambda/TargetType51.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/TargetType51.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/lambdaExecution/InInterface.java --- a/test/tools/javac/lambda/lambdaExecution/InInterface.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/lambdaExecution/InInterface.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/lambdaExpression/LambdaTest6.java --- a/test/tools/javac/lambda/lambdaExpression/LambdaTest6.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/lambdaExpression/LambdaTest6.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/lambdaExpression/SamConversionComboTest.java --- a/test/tools/javac/lambda/lambdaExpression/SamConversionComboTest.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/lambdaExpression/SamConversionComboTest.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/methodReference/BridgeMethod.java --- a/test/tools/javac/lambda/methodReference/BridgeMethod.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/methodReference/BridgeMethod.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/methodReference/SamConversion.java --- a/test/tools/javac/lambda/methodReference/SamConversion.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/methodReference/SamConversion.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/methodReference/SamConversionComboTest.java --- a/test/tools/javac/lambda/methodReference/SamConversionComboTest.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/methodReference/SamConversionComboTest.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambda/typeInference/InferenceTest2b.java --- a/test/tools/javac/lambda/typeInference/InferenceTest2b.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambda/typeInference/InferenceTest2b.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambdaShapes/org/openjdk/tests/separate/Compiler.java --- a/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/Compiler.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/Compiler.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambdaShapes/org/openjdk/tests/separate/SourceModel.java --- a/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/SourceModel.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/SourceModel.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/lambdaShapes/org/openjdk/tests/separate/TestHarness.java --- a/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/TestHarness.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/TestHarness.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/multicatch/Pos05.java --- a/test/tools/javac/multicatch/Pos05.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/multicatch/Pos05.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java --- a/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/resolve/Pos.java --- a/test/tools/javac/resolve/Pos.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/resolve/Pos.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/resolve/ResolveHarness.java --- a/test/tools/javac/resolve/ResolveHarness.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/resolve/ResolveHarness.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/resolve/tests/PrimitiveOverReferenceVarargsAmbiguous.java --- a/test/tools/javac/resolve/tests/PrimitiveOverReferenceVarargsAmbiguous.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/resolve/tests/PrimitiveOverReferenceVarargsAmbiguous.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/warnings/AuxiliaryClass/ClassUsingAnotherAuxiliary.java --- a/test/tools/javac/warnings/AuxiliaryClass/ClassUsingAnotherAuxiliary.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/warnings/AuxiliaryClass/ClassUsingAnotherAuxiliary.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/warnings/AuxiliaryClass/ClassUsingAuxiliary.java --- a/test/tools/javac/warnings/AuxiliaryClass/ClassUsingAuxiliary.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/warnings/AuxiliaryClass/ClassUsingAuxiliary.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javac/warnings/AuxiliaryClass/SelfClassWithAux.java --- a/test/tools/javac/warnings/AuxiliaryClass/SelfClassWithAux.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javac/warnings/AuxiliaryClass/SelfClassWithAux.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/javadoc/api/basic/APITest.java --- a/test/tools/javadoc/api/basic/APITest.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/javadoc/api/basic/APITest.java Thu Jan 02 15:31:24 2014 -0800 @@ -202,12 +202,6 @@ "pkg/package-frame.html", "pkg/package-summary.html", "pkg/package-tree.html", - "resources/background.gif", - "resources/tab.gif", - "resources/activetitlebar_end.gif", - "resources/activetitlebar.gif", - "resources/titlebar_end.gif", - "resources/titlebar.gif", "script.js", "stylesheet.css" )); diff -r b07b8c077482 -r efc18829e3a6 test/tools/jdeps/APIDeps.java --- a/test/tools/jdeps/APIDeps.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/jdeps/APIDeps.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 diff -r b07b8c077482 -r efc18829e3a6 test/tools/jdeps/p/Foo.java --- a/test/tools/jdeps/p/Foo.java Fri Dec 20 07:44:28 2013 -0800 +++ b/test/tools/jdeps/p/Foo.java Thu Jan 02 15:31:24 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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