diff --git a/src/share/classes/sun/misc/resources/Messages.java b/src/share/classes/sun/misc/resources/Messages.java index 56f76bb2876c0068ce79f8b7b00c25b8371558de..23c5b296553d8b596c1cf8f341765b311bf95ec8 100644 --- a/src/share/classes/sun/misc/resources/Messages.java +++ b/src/share/classes/sun/misc/resources/Messages.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages extends java.util.ListResourceBundle { +public final class Messages extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERROR: Invalid version format used in {0} JAR file. Check the documentation for the supported version format."}, + {"optpkg.attributeerror", "ERROR: The required {0} JAR manifest attribute is not set in {1} JAR file."}, + {"optpkg.attributeserror", "ERROR: Some required JAR manifest attributes are not set in {0} JAR file."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERROR: Invalid version format used in {0} JAR file. Check the documentation for the supported version format." }, - { "optpkg.attributeerror", "ERROR: The required {0} JAR manifest attribute is not set in {1} JAR file." }, - { "optpkg.attributeserror", "ERROR: Some required JAR manifest attributes are not set in {0} JAR file." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_de.java b/src/share/classes/sun/misc/resources/Messages_de.java index e2961c52e8444b842a3538dc2a6d277b4fcc1728..84a0d8af2ecd7182011a89c60200210ccb89c4c6 100644 --- a/src/share/classes/sun/misc/resources/Messages_de.java +++ b/src/share/classes/sun/misc/resources/Messages_de.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_de extends java.util.ListResourceBundle { +public final class Messages_de extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERROR: In JAR-Datei {0} wurde ein ung\u00FCltiges Versionsformat verwendet. Pr\u00FCfen Sie in der Dokumentation, welches Versionsformat unterst\u00FCtzt wird."}, + {"optpkg.attributeerror", "ERROR: In JAR-Datei {1} ist das erforderliche JAR-Manifestattribut {0} nicht festgelegt."}, + {"optpkg.attributeserror", "ERROR: In JAR-Datei {0} sind einige erforderliche JAR-Manifestattribute nicht festgelegt."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERROR: In JAR-Datei {0} wurde ein ung\u00FCltiges Versionsformat verwendet. Pr\u00FCfen Sie in der Dokumentation, welches Versionsformat unterst\u00FCtzt wird." }, - { "optpkg.attributeerror", "ERROR: In JAR-Datei {1} ist das erforderliche JAR-Manifestattribut {0} nicht festgelegt." }, - { "optpkg.attributeserror", "ERROR: In JAR-Datei {0} sind einige erforderliche JAR-Manifestattribute nicht festgelegt." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_es.java b/src/share/classes/sun/misc/resources/Messages_es.java index 9e762017a45e4a117220c60e0ef8958b5c8f9a29..297b0b1a1ee202e02f42f803a0e303d0320023b0 100644 --- a/src/share/classes/sun/misc/resources/Messages_es.java +++ b/src/share/classes/sun/misc/resources/Messages_es.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_es extends java.util.ListResourceBundle { +public final class Messages_es extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERROR: el formato del archivo JAR {0} pertenece a una versi\u00F3n no v\u00E1lida. Busque en la documentaci\u00F3n el formato de una versi\u00F3n soportada."}, + {"optpkg.attributeerror", "ERROR: el atributo obligatorio JAR manifest {0} no est\u00E1 definido en el archivo JAR {1}."}, + {"optpkg.attributeserror", "ERROR: algunos atributos obligatorios JAR manifest no est\u00E1n definidos en el archivo JAR {0}."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERROR: el formato del archivo JAR {0} pertenece a una versi\u00F3n no v\u00E1lida. Busque en la documentaci\u00F3n el formato de una versi\u00F3n soportada." }, - { "optpkg.attributeerror", "ERROR: el atributo obligatorio JAR manifest {0} no est\u00E1 definido en el archivo JAR {1}." }, - { "optpkg.attributeserror", "ERROR: algunos atributos obligatorios JAR manifest no est\u00E1n definidos en el archivo JAR {0}." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_fr.java b/src/share/classes/sun/misc/resources/Messages_fr.java index b742b26ef06a18611320d6497e4945245fe9493a..3133ab1f025e45395fffe1c65da149902cc729bc 100644 --- a/src/share/classes/sun/misc/resources/Messages_fr.java +++ b/src/share/classes/sun/misc/resources/Messages_fr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_fr extends java.util.ListResourceBundle { +public final class Messages_fr extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERREUR\u00A0: le format de version utilis\u00E9 pour le fichier JAR {0} n''est pas valide. Pour conna\u00EEtre le format de version pris en charge, consultez la documentation."}, + {"optpkg.attributeerror", "ERREUR\u00A0: l''attribut manifest JAR {0} obligatoire n''est pas d\u00E9fini dans le fichier JAR {1}."}, + {"optpkg.attributeserror", "ERREUR\u00A0: certains attributs manifest JAR obligatoires ne sont pas d\u00E9finis dans le fichier JAR {0}."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERREUR\u00A0: le format de version utilis\u00E9 pour le fichier JAR {0} n''est pas valide. Pour conna\u00EEtre le format de version pris en charge, consultez la documentation." }, - { "optpkg.attributeerror", "ERREUR\u00A0: l''attribut manifest JAR {0} obligatoire n''est pas d\u00E9fini dans le fichier JAR {1}." }, - { "optpkg.attributeserror", "ERREUR\u00A0: certains attributs manifest JAR obligatoires ne sont pas d\u00E9finis dans le fichier JAR {0}." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_it.java b/src/share/classes/sun/misc/resources/Messages_it.java index ee7dd0a33c8afc632476b3e3cfba7ab524149736..9adaf25fd3ba1eae0ec170a83c868817a608de10 100644 --- a/src/share/classes/sun/misc/resources/Messages_it.java +++ b/src/share/classes/sun/misc/resources/Messages_it.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_it extends java.util.ListResourceBundle { +public final class Messages_it extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERRORE: Formato versione non valido nel file JAR {0}. Verificare nella documentazione il formato della versione supportato."}, + {"optpkg.attributeerror", "ERRORE: L''attributo manifest JAR {0} richiesto non \u00E8 impostato nel file JAR {1}."}, + {"optpkg.attributeserror", "ERRORE: Alcuni attributi manifesti JAR obbligatori non sono impostati nel file JAR {0}."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERRORE: Formato versione non valido nel file JAR {0}. Verificare nella documentazione il formato della versione supportato." }, - { "optpkg.attributeerror", "ERRORE: L''attributo manifest JAR {0} richiesto non \u00E8 impostato nel file JAR {1}." }, - { "optpkg.attributeserror", "ERRORE: Alcuni attributi manifesti JAR obbligatori non sono impostati nel file JAR {0}." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_ja.java b/src/share/classes/sun/misc/resources/Messages_ja.java index 4f1455187b44a8d362bb53cb15d3e781029945c9..5c822971e88166c2a754950288a0bdc5927d3927 100644 --- a/src/share/classes/sun/misc/resources/Messages_ja.java +++ b/src/share/classes/sun/misc/resources/Messages_ja.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_ja extends java.util.ListResourceBundle { +public final class Messages_ja extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "\u30A8\u30E9\u30FC: JAR\u30D5\u30A1\u30A4\u30EB{0}\u3067\u7121\u52B9\u306A\u30D0\u30FC\u30B8\u30E7\u30F3\u5F62\u5F0F\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u308B\u30D0\u30FC\u30B8\u30E7\u30F3\u5F62\u5F0F\u306B\u3064\u3044\u3066\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}, + {"optpkg.attributeerror", "\u30A8\u30E9\u30FC: \u5FC5\u8981\u306AJAR\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u5C5E\u6027{0}\u304CJAR\u30D5\u30A1\u30A4\u30EB{1}\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"}, + {"optpkg.attributeserror", "\u30A8\u30E9\u30FC: \u8907\u6570\u306E\u5FC5\u8981\u306AJAR\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u5C5E\u6027\u304CJAR\u30D5\u30A1\u30A4\u30EB{0}\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "\u30A8\u30E9\u30FC: JAR\u30D5\u30A1\u30A4\u30EB{0}\u3067\u7121\u52B9\u306A\u30D0\u30FC\u30B8\u30E7\u30F3\u5F62\u5F0F\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u308B\u30D0\u30FC\u30B8\u30E7\u30F3\u5F62\u5F0F\u306B\u3064\u3044\u3066\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, - { "optpkg.attributeerror", "\u30A8\u30E9\u30FC: \u5FC5\u8981\u306AJAR\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u5C5E\u6027{0}\u304CJAR\u30D5\u30A1\u30A4\u30EB{1}\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002" }, - { "optpkg.attributeserror", "\u30A8\u30E9\u30FC: \u8907\u6570\u306E\u5FC5\u8981\u306AJAR\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u5C5E\u6027\u304CJAR\u30D5\u30A1\u30A4\u30EB{0}\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002" } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_ko.java b/src/share/classes/sun/misc/resources/Messages_ko.java index 53c32fc3f03facfd4e8db6b8c06d0d623e74aab4..5ce1cec73d1a4e4277e733eb0c14b920e2b843aa 100644 --- a/src/share/classes/sun/misc/resources/Messages_ko.java +++ b/src/share/classes/sun/misc/resources/Messages_ko.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_ko extends java.util.ListResourceBundle { +public final class Messages_ko extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "\uC624\uB958: {0} JAR \uD30C\uC77C\uC5D0 \uBD80\uC801\uD569\uD55C \uBC84\uC804 \uD615\uC2DD\uC774 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uBA85\uC11C\uC5D0\uC11C \uC9C0\uC6D0\uB418\uB294 \uBC84\uC804 \uD615\uC2DD\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."}, + {"optpkg.attributeerror", "\uC624\uB958: \uD544\uC694\uD55C {0} JAR manifest \uC18D\uC131\uC774 {1} JAR \uD30C\uC77C\uC5D0 \uC124\uC815\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}, + {"optpkg.attributeserror", "\uC624\uB958: \uD544\uC694\uD55C \uC77C\uBD80 JAR manifest \uC18D\uC131\uC774 {0} JAR \uD30C\uC77C\uC5D0 \uC124\uC815\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "\uC624\uB958: {0} JAR \uD30C\uC77C\uC5D0 \uBD80\uC801\uD569\uD55C \uBC84\uC804 \uD615\uC2DD\uC774 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uBA85\uC11C\uC5D0\uC11C \uC9C0\uC6D0\uB418\uB294 \uBC84\uC804 \uD615\uC2DD\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624." }, - { "optpkg.attributeerror", "\uC624\uB958: \uD544\uC694\uD55C {0} JAR manifest \uC18D\uC131\uC774 {1} JAR \uD30C\uC77C\uC5D0 \uC124\uC815\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." }, - { "optpkg.attributeserror", "\uC624\uB958: \uD544\uC694\uD55C \uC77C\uBD80 JAR manifest \uC18D\uC131\uC774 {0} JAR \uD30C\uC77C\uC5D0 \uC124\uC815\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_pt_BR.java b/src/share/classes/sun/misc/resources/Messages_pt_BR.java index 4781700e06f6d9fa73c4e50f3c9086303812e440..44e0f9f9f830657036bde44875b7bc1e43d1d1b0 100644 --- a/src/share/classes/sun/misc/resources/Messages_pt_BR.java +++ b/src/share/classes/sun/misc/resources/Messages_pt_BR.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_pt_BR extends java.util.ListResourceBundle { +public final class Messages_pt_BR extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "ERRO: formato de vers\u00E3o inv\u00E1lido usado no arquivo JAR {0}. Verifique a documenta\u00E7\u00E3o para obter o formato de vers\u00E3o suportado."}, + {"optpkg.attributeerror", "ERRO: o atributo de manifesto JAR {0} necess\u00E1rio n\u00E3o est\u00E1 definido no arquivo JAR {1}."}, + {"optpkg.attributeserror", "ERRO: alguns atributos de manifesto JAR necess\u00E1rios n\u00E3o est\u00E3o definidos no arquivo JAR {0}."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "ERRO: formato de vers\u00E3o inv\u00E1lido usado no arquivo JAR {0}. Verifique a documenta\u00E7\u00E3o para obter o formato de vers\u00E3o suportado." }, - { "optpkg.attributeerror", "ERRO: o atributo de manifesto JAR {0} necess\u00E1rio n\u00E3o est\u00E1 definido no arquivo JAR {1}." }, - { "optpkg.attributeserror", "ERRO: alguns atributos de manifesto JAR necess\u00E1rios n\u00E3o est\u00E3o definidos no arquivo JAR {0}." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_sv.java b/src/share/classes/sun/misc/resources/Messages_sv.java index a813852caa86aa03e4bc83a97787ef7b77424929..c7ec3920b0deafd1a64dcc3b21409f58cbc74165 100644 --- a/src/share/classes/sun/misc/resources/Messages_sv.java +++ b/src/share/classes/sun/misc/resources/Messages_sv.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_sv extends java.util.ListResourceBundle { +public final class Messages_sv extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "FEL: Ogiltigt versionsformat i {0} JAR-fil. Kontrollera i dokumentationen vilket versionsformat som st\u00F6ds."}, + {"optpkg.attributeerror", "FEL: Obligatoriskt JAR manifest-attribut {0} \u00E4r inte inst\u00E4llt i {1} JAR-filen."}, + {"optpkg.attributeserror", "FEL: Vissa obligatoriska JAR manifest-attribut \u00E4r inte inst\u00E4llda i {0} JAR-filen."} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "FEL: Ogiltigt versionsformat i {0} JAR-fil. Kontrollera i dokumentationen vilket versionsformat som st\u00F6ds." }, - { "optpkg.attributeerror", "FEL: Obligatoriskt JAR manifest-attribut {0} \u00E4r inte inst\u00E4llt i {1} JAR-filen." }, - { "optpkg.attributeserror", "FEL: Vissa obligatoriska JAR manifest-attribut \u00E4r inte inst\u00E4llda i {0} JAR-filen." } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_zh_CN.java b/src/share/classes/sun/misc/resources/Messages_zh_CN.java index d884f74a11490c62612c970d1ea413630ec7667c..46a9049cff9a7506724285d36075ea1dd45ae19c 100644 --- a/src/share/classes/sun/misc/resources/Messages_zh_CN.java +++ b/src/share/classes/sun/misc/resources/Messages_zh_CN.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_zh_CN extends java.util.ListResourceBundle { +public final class Messages_zh_CN extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "\u9519\u8BEF: {0} JAR \u6587\u4EF6\u4E2D\u4F7F\u7528\u7684\u7248\u672C\u683C\u5F0F\u65E0\u6548\u3002\u8BF7\u68C0\u67E5\u6587\u6863\u4EE5\u4E86\u89E3\u652F\u6301\u7684\u7248\u672C\u683C\u5F0F\u3002"}, + {"optpkg.attributeerror", "\u9519\u8BEF: \u5FC5\u8981\u7684{0} JAR \u6E05\u5355\u5C5E\u6027\u672A\u5728{1} JAR \u6587\u4EF6\u4E2D\u8BBE\u7F6E\u3002"}, + {"optpkg.attributeserror", "\u9519\u8BEF: \u67D0\u4E9B\u5FC5\u8981\u7684 JAR \u6E05\u5355\u5C5E\u6027\u672A\u5728{0} JAR \u6587\u4EF6\u4E2D\u8BBE\u7F6E\u3002"} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "\u9519\u8BEF: {0} JAR \u6587\u4EF6\u4E2D\u4F7F\u7528\u7684\u7248\u672C\u683C\u5F0F\u65E0\u6548\u3002\u8BF7\u68C0\u67E5\u6587\u6863\u4EE5\u4E86\u89E3\u652F\u6301\u7684\u7248\u672C\u683C\u5F0F\u3002" }, - { "optpkg.attributeerror", "\u9519\u8BEF: \u5FC5\u8981\u7684{0} JAR \u6E05\u5355\u5C5E\u6027\u672A\u5728{1} JAR \u6587\u4EF6\u4E2D\u8BBE\u7F6E\u3002" }, - { "optpkg.attributeserror", "\u9519\u8BEF: \u67D0\u4E9B\u5FC5\u8981\u7684 JAR \u6E05\u5355\u5C5E\u6027\u672A\u5728{0} JAR \u6587\u4EF6\u4E2D\u8BBE\u7F6E\u3002" } - }; - } diff --git a/src/share/classes/sun/misc/resources/Messages_zh_TW.java b/src/share/classes/sun/misc/resources/Messages_zh_TW.java index 530a7cdef52879f72b5a434eebb0188ccbb452c0..1f414bba50ad43111ca94d28896128c5b00319c2 100644 --- a/src/share/classes/sun/misc/resources/Messages_zh_TW.java +++ b/src/share/classes/sun/misc/resources/Messages_zh_TW.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -32,21 +32,19 @@ package sun.misc.resources; * @author Michael Colburn */ -public class Messages_zh_TW extends java.util.ListResourceBundle { +public final class Messages_zh_TW extends java.util.ListResourceBundle { /** * Returns the contents of this ResourceBundle. *

* @return the contents of this ResourceBundle. */ - public Object[][] getContents() { - return contents; + protected Object[][] getContents() { + return new Object[][]{ + {"optpkg.versionerror", "\u932F\u8AA4: {0} JAR \u6A94\u4F7F\u7528\u4E86\u7121\u6548\u7684\u7248\u672C\u683C\u5F0F\u3002\u8ACB\u6AA2\u67E5\u6587\u4EF6\uFF0C\u4EE5\u7372\u5F97\u652F\u63F4\u7684\u7248\u672C\u683C\u5F0F\u3002"}, + {"optpkg.attributeerror", "\u932F\u8AA4: {1} JAR \u6A94\u4E2D\u672A\u8A2D\u5B9A\u5FC5\u8981\u7684 {0} JAR \u8CC7\u8A0A\u6E05\u55AE\u5C6C\u6027\u3002"}, + {"optpkg.attributeserror", "\u932F\u8AA4: {0} JAR \u6A94\u4E2D\u672A\u8A2D\u5B9A\u67D0\u4E9B\u5FC5\u8981\u7684 JAR \u8CC7\u8A0A\u6E05\u55AE\u5C6C\u6027\u3002"} + }; } - private static final Object[][] contents = { - { "optpkg.versionerror", "\u932F\u8AA4: {0} JAR \u6A94\u4F7F\u7528\u4E86\u7121\u6548\u7684\u7248\u672C\u683C\u5F0F\u3002\u8ACB\u6AA2\u67E5\u6587\u4EF6\uFF0C\u4EE5\u7372\u5F97\u652F\u63F4\u7684\u7248\u672C\u683C\u5F0F\u3002" }, - { "optpkg.attributeerror", "\u932F\u8AA4: {1} JAR \u6A94\u4E2D\u672A\u8A2D\u5B9A\u5FC5\u8981\u7684 {0} JAR \u8CC7\u8A0A\u6E05\u55AE\u5C6C\u6027\u3002" }, - { "optpkg.attributeserror", "\u932F\u8AA4: {0} JAR \u6A94\u4E2D\u672A\u8A2D\u5B9A\u67D0\u4E9B\u5FC5\u8981\u7684 JAR \u8CC7\u8A0A\u6E05\u55AE\u5C6C\u6027\u3002" } - }; - }