diff options
Diffstat (limited to 'java/openjdk7/files/patch-set')
-rw-r--r-- | java/openjdk7/files/patch-set | 89634 |
1 files changed, 73800 insertions, 15834 deletions
diff --git a/java/openjdk7/files/patch-set b/java/openjdk7/files/patch-set index 6748e31712d2..a448ab429cc4 100644 --- a/java/openjdk7/files/patch-set +++ b/java/openjdk7/files/patch-set @@ -1,5 +1,5 @@ ---- .hgtags 2012-08-10 09:07:00.000000000 -0700 -+++ .hgtags 2013-06-22 09:41:03.000000000 -0700 +--- .hgtags 2013-09-06 11:20:33.000000000 -0700 ++++ .hgtags 2014-01-18 12:16:04.000000000 -0800 @@ -123,6 +123,7 @@ 2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146 3ac30b3852876ccad6bd61697b5f9efa91ca7bc6 jdk7u1-b01 @@ -8,90 +8,89 @@ 34451dc0580d5c95d97b95a564e6198f36545d68 jdk7u1-b02 bf735d852f79bdbb3373c777eec3ff27e035e7ba jdk7u1-b03 f66a2bada589f4157789e6f66472954d2f1c114e jdk7u1-b04 -@@ -197,5 +198,79 @@ - 29f6fb1833eb2a696b95e8985126f2d70f511a82 jdk7u6-b21 - 31cdab09d719fe60876c7f3a472386c1455d93e2 jdk7u6-b22 - d1c709f1196a73d1df10d04a221b10e30fd2eb48 jdk7u6-b23 --1ab3edf5061fdde3a6f6510373a92444445af710 jdk7u8-b01 --d7a94c8cbbbfadbd9e2f3e4737eb7deb572dedc9 jdk7u8-b02 -+e4def733cc8c58e83b7cefa7edd89a3e2b793520 jdk7u6-b24 -+f5f546dba006778854e7a81141fc1b44acd257a4 jdk7u6-b30 -+43775eae8df6c874fb3631c86009505cf3821b1f jdk7u6-b31 -+43775eae8df6c874fb3631c86009505cf3821b1f jdk7u7-b10 -+a380c75873bfb578e605d4362edb18c08698cc3e jdk7u7-b30 -+d7f2b3949f9c9ff1115ea61c496d3cd4c62e2759 jdk7u7-b11 -+82c51e6a3bea0dd8feb1bd3033e847dbdc5d9f99 jdk7u7-b31 -+5ca487420f9c2cf6d39acf1e842d13bf8ef0ca07 jdk7u7-b01 -+dbfa9c57853c2dd9cd4e4a139d83b519573d8031 jdk7u7-b02 -+bae912f95f2aa1d22dbc0ff62816b71861965cd6 jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+5ca487420f9c2cf6d39acf1e842d13bf8ef0ca07 jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+dbfa9c57853c2dd9cd4e4a139d83b519573d8031 jdk7u9-b02 -+3159fbe20e2d9501007aae8ca3db58978d754561 jdk7u9-b04 -+d9c8fa0606fdfff242175ce904c525a6fc40d6e5 jdk7u9-b05 -+81f8b620894e275012a1b447f13319b7d2148b28 jdk7u9-b31 -+d247cdeb828f4463b55ea53c4b2d6346f7706c3c jdk7u9-b32 -+d934ce27cddbc9ba7236791f177872491204a41e jdk7u10-b10 -+5a5ee5b70d563d5817b6ec023d275e9b17256459 jdk7u10-b11 -+48b58c2d665c9a1d3598b981e46f87f9bcdd5b46 jdk7u10-b12 -+1b9618b61e29c09b92f83956c613acf36ccabb38 jdk7u10-b13 -+c50e1a044e4fcc1a94b79b42f3629beb07624010 jdk7u10-b14 -+137087461db28f935493940658f31be760098f00 jdk7u10-b15 -+c8a37a49fc90ae31b864544d6d4a9f6137d4995d jdk7u10-b16 -+494e838439db7f0f4e36f7dcfeba06d2bef78c8d jdk7u10-b17 -+dce9058d2151e6b5c84898c13cfd1521a627a296 jdk7u10-b18 -+b5fb925394331313dbe3859fdc408bfd37193476 jdk7u10-b30 -+337ce65c8c356766212812b78f49f5632995987d jdk7u10-b31 -+c2d5141baeda6c9b5bbc83c21eff9c3940fefae4 jdk7u11-b20 -+168aa0f1417b3651a955ae66068dc148b660f829 jdk7u11-b21 -+7c0710ed65b097d415f772ff4fb58c4822890aa3 jdk7u11-b32 -+61cee7a518a4ae05439490ec388c3ab1d1d899f2 jdk7u11-b33 -+c8a37a49fc90ae31b864544d6d4a9f6137d4995d jdk7u11-b03 -+0b418e2ccf9093718609144689d1a8b316ad951f jdk7u11-b04 -+e127e6c94b56f7348df67d9672c16a7dc9c5ec5e jdk7u11-b05 -+f6abff072aabfee866342d9f7f4aac7d13450ddf jdk7u11-b06 -+80a3d0bcd3d4c9e83b75416178bdd60a2d23ebbc jdk7u11-b07 -+e7c55def6796d3c426631b5717084ef122908847 jdk7u11-b08 -+2412f7b8551ede5296cb6e1d6189f40aad9eeffe jdk7u13-b09 -+3b7815df113f8044039739276237b964ee8fa015 jdk7u13-b10 -+527d3cf769ec073d7348e4c31f97c47c943c96b6 jdk7u13-b30 -+3b7815df113f8044039739276237b964ee8fa015 jdk7u13-b20 -+0e52db2d9bb8bc789f6c66f2cfb7cd2d3b0b16c6 jdk7u15-b01 -+0324fca94d073b3aad77658224f17679f25c18b1 jdk7u15-b02 -+25a9d44cebf2a7ac6dd1748c94e00b242403acb1 jdk7u15-b30 -+5c1b2900a65b5ebe9d2a5c9b48903081c8196b04 jdk7u15-b31 -+e7adbfbcd837ad4e9f88db45612e5704b7a249fd jdk7u15-b33 -+f37a75bd39595ba38bdc53ee957c63bbb3cbb12d jdk7u15-b03 -+2412f7b8551ede5296cb6e1d6189f40aad9eeffe jdk7u15-b32 -+0c2b2dae93e7a720bbcc2e13a1913a2264335554 jdk7u17-b01 -+8e49ff2feda30801d7826ca1778eb7b901a7089c jdk7u17-b02 -+933d424580f967ed11eda2bbfd690f985a72df6e jdk7u17-b30 -+790582955edb617b41abbc73cf82544dbf8c1d97 jdk7u17-b31 -+941539a9f6441f053e8e7f31064944b2fc08879f jdk7u17-b32 -+527d3cf769ec073d7348e4c31f97c47c943c96b6 jdk7u21-b01 -+bc264b362dc7b4f2bda34e1a5b87a4f0c2bd4d82 jdk7u21-b02 -+20603c659295a40c7f16259cb08c91475092efed jdk7u21-b03 -+d2b1fdd8ee0affe640c7493ab3ae04fcc1961446 jdk7u21-b04 -+2d6657f92359d1d46b355fd0c99b8aa5f34832e4 jdk7u21-b05 -+14522481739dc6981beb5cc55d543dcc62cda067 jdk7u21-b06 -+0df382e8c17bf817d55fc8759c7f5c9e9d0337f0 jdk7u21-b07 -+1aff32a21aba64c3767e9a72ebf1b8ba490e99ec jdk7u21-b08 -+a2e0099b4cf70be026a7a0ba7918fcd71d57fdce jdk7u21-b09 -+602ad1a5b09fb9136e8bf1b708e0524fbdb35324 jdk7u21-b10 -+fa322ca378324750ea049f2e92357e51eca27ae4 jdk7u21-b11 -+450e8dde919df278fe75ae95e0eb0a6464f5bc41 jdk7u21-b30 -+170520883597f90771aca8251a8d089e7566e4bf jdk7u21-b12 -+50bfbd21bf42f6ae4167226ac45cd79e0ab7758c jdk7u25-b03 -+a94c9aa356bbed13c1e2b4a9a380117ddff1668f jdk7u25-b04 -+29a789ae14dc09a50eb45d3445075642e77490a2 jdk7u25-b05 -+8a7c657b7536006633b5e961d93e2173712a64fa jdk7u25-b06 -+d45374e7c7eeb4e01d9f239e71e8a8aff453d55a jdk7u25-b07 -+b01002577912b89306e88a9973b6f3bc049a2a69 jdk7u25-b08 -+84285f4e0aa2f81b80bc6fbe713d768c0d9a7156 jdk7u25-b09 -+aae1e27d347b71f65f548c12b918ede98d869b7c jdk7u25-b10 ---- corba/.hgtags 2012-08-10 09:09:50.000000000 -0700 -+++ corba/.hgtags 2013-06-22 09:41:22.000000000 -0700 +@@ -300,6 +301,22 @@ + 84285f4e0aa2f81b80bc6fbe713d768c0d9a7156 jdk7u25-b09 + aae1e27d347b71f65f548c12b918ede98d869b7c jdk7u25-b10 + 039f12124903cd0b7633a17a26f6ca281f7aaeae jdk7u25-b11 ++210f464368dba0fc4f8d239654fa7432ad2ed31f jdk7u14-b16 ++f07712232642fc30dcf7c433ff890e7247b5fd0b jdk7u14-b17 ++9e2a9a2c5b240daa4e27ff75d030a77827174753 jdk7u14-b18 ++d9d4dc020cb37142230f6a20d2a75a677c5cd26f jdk7u14-b19 ++d9d4dc020cb37142230f6a20d2a75a677c5cd26f jdk7u14-b19 ++b4b7795ef8047e3d2b2ba48a70c08d9184073100 jdk7u14-b19 ++f413e7a22c198559af5aca28309356e6d4edd78f jdk7u14-b20 ++41686e19d8189a546434a52dd9679e9b6a0a68be jdk7u14-b21 ++3e3177719b43f732239d6d51e96d26ee18440960 jdk7u14-b22 ++8c6e2197930c79f6beafd83181714cc817b83229 jdk7u40-b23 ++5169c92728b54a4b5e9a41071f8bf8701d0fe1fa jdk7u40-b24 ++f89fd7e2800c1c35b6c339f54780d5579bb30991 jdk7u40-b25 ++4ef57f592525d36487ea6eeb2be84d0e9170b26b jdk7u40-b26 ++75167199239375d05b68668023c885c2776fd548 jdk7u40-b27 ++ac751f3867ecffca814b25daf5e19d82d83fc755 jdk7u40-b28 ++dbe42a627813892d1bb59a4240c24f60ef22930a jdk7u40-b29 + 2d02518960053d2b1dcb9aabacd709788e92c549 jdk7u25-b12 + 37c4268341d79b16165bdaf7e1fad489d692bc83 jdk7u25-b13 + 9de1fc3635def64c19c51f272f09b51d8cf0ca98 jdk7u25-b14 +@@ -327,7 +344,7 @@ + ac751f3867ecffca814b25daf5e19d82d83fc755 jdk7u40-b28 + dbe42a627813892d1bb59a4240c24f60ef22930a jdk7u40-b29 + 1c141e6fde911c4974c87e340eb698754607f422 jdk7u40-b30 +-58a2a470aa3bccd3eb3624e68bca9397c8cc26a2 jdk7u40-b31 ++e51f24701c608e57ba7ae69ba28bbc2daab02c4c jdk7u45-b01 + da376fd5e4d68f8a45003a6e175267dc840711cc jdk7u40-b32 + 3fdfe7f1b06354e11e8af51b7c653c8a0adb3987 jdk7u40-b33 + a1ae13479e8767329fa20774b5cea5976aaeb37b jdk7u40-b34 +@@ -341,3 +358,37 @@ + 3af81bfe320c12758234233da6fa27c3c0ffcdc4 jdk7u40-b42 + 1d53bd8fd2a62bcf336727ebec377ef7498dd4a6 jdk7u40-b43 + dc1e099cd62d250b4a997ce694b47fe2f50d2905 jdk7u40-b60 ++6359fa34199c9619dfec0f41d2eb22a4083ce610 jdk7u40-b61 ++a2605cf03226ce2fef7a899ce41521c654300975 jdk7u40-b62 ++07e41ff8674c9438cb1124cf78eed8636ed5d4fa jdk7u45-b02 ++23c983c352a170d7a5fb7d703081daf1816d257a jdk7u45-b03 ++1018a8ab686da6c1be22bec3ab9d01b2dc206333 jdk7u45-b04 ++22e0ca1fa645d0518b514159afafe34335699c11 jdk7u45-b05 ++61343f60f25a1d0deddc1468b2eb948df5275641 jdk7u45-b06 ++24088aaf3f6834e46b486b706fbc6ce1f18814e5 jdk7u45-b07 ++036425509e31070700a3956aaca7c33d583b7a5e jdk7u45-b08 ++b6af2c522a633de1c7b66204fac7104b410ce23c jdk7u45-b09 ++3fedb8c609a0f43bc8084edbecb0435e19dcb9a2 jdk7u45-b10 ++142403d9f1167b8559b49627c7199c84623307da jdk7u45-b11 ++a14018a5fa18092dcca5084656abb797bdb7b5ff jdk7u45-b12 ++4d38e9adeb81df9c24550070df1f358aa9c17477 jdk7u45-b13 ++bab0456ba0520f73ee20814ddf7ea0d596e49abd jdk7u45-b14 ++b4b2584649027b622c188db7a6c3f9cff0e20130 jdk7u45-b15 ++f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u45-b16 ++6fd67e0287a9893ea1f0090fe127f18a7e235148 jdk7u45-b17 ++f0cdb08a4624a623bdd178b04c4bf5a2fa4dc39a jdk7u45-b18 ++82f1f76c44124c31cb1151833fc15c13547ab280 jdk7u45-b30 ++f4373de4b75ba8d7f7a5d9c1f77e7884d9064b7e jdk7u45-b31 ++f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u51-b00 ++c5822e1d1baa9625ee4e54b8e83a9bf529c883fc jdk7u51-b01 ++f750621fb31b8f6462b803b47bbf84f05cd5174a jdk7u51-b02 ++dafd6c301c979ece6493dfb52e09e46bc81b7285 jdk7u51-b03 ++8bc2f477bba4ccecaf46a52877e429342ab9c5bc jdk7u51-b04 ++1604b330bf9629da5cac02af8582717dd431032e jdk7u51-b05 ++15c531ebb19c21a5b565ce887c790d3855b461ef jdk7u51-b06 ++75f0610e93bf6f51b3674fbbbe16f648ceb34d29 jdk7u51-b07 ++467fc49c32dd8e3dd940ad0e5934a65fc7fb60ec jdk7u51-b08 ++73ebe4e4f20e1d5db72c5cd673c65ffa09259982 jdk7u51-b09 ++9868efbea4290f4359a6a54d722f2cb79ef634a9 jdk7u51-b10 ++573c4cfca7dda548463bb84330bddfd07fe1183f jdk7u51-b11 ++df53ec7eb789e7dec375a685dce1fa5cf63618b4 jdk7u51-b12 +--- Makefile 2013-09-06 11:20:33.000000000 -0700 ++++ Makefile 2013-12-01 11:13:37.000000000 -0800 +@@ -264,7 +264,7 @@ + DEBUG_NAME=$(DEBUG_NAME) \ + GENERATE_DOCS=false \ + $(if $(findstring true,$(BUILD_INSTALL)),BUILD_INSTALL_BUNDLES=true,) \ +- CREATE_DEBUGINFO_BUNDLES=false \ ++ CREATE_DEBUGINFO_BUNDLES=true \ + $(BOOT_CYCLE_DEBUG_SETTINGS) \ + generic_build_repo_series + +--- corba/.hgtags 2013-09-06 11:20:46.000000000 -0700 ++++ corba/.hgtags 2014-01-18 12:16:06.000000000 -0800 @@ -123,6 +123,7 @@ 770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146 36f0efbc66ef8ace3cca8aa8d0c88f3334080f8a jdk7u1-b01 @@ -100,405 +99,173 @@ 9515a2d034b4727c11aeea36354a549fbc469c4f jdk7u1-b02 dd71cb354c573c1addcda269a7dd9144bfce9587 jdk7u1-b03 eaee830124aa453627591d8f9eccb39d7e040876 jdk7u1-b04 -@@ -197,5 +198,81 @@ - 353c15c4bc371f2f8258344c988d1403477cc140 jdk7u6-b21 - 793b80c0316fcafa18668bced26acb41af3be07d jdk7u6-b22 - 2a8376123fbb81bc4b2f643ff7cfaf7f87b21c35 jdk7u6-b23 --353c15c4bc371f2f8258344c988d1403477cc140 jdk7u8-b01 --d17ca8d088f7cc0dd42230472f534c8d1e415bcb jdk7u8-b02 -+02512f61591f55d84458d1ea4ce84eecb7324f89 jdk7u6-b24 -+8b20875b3faa01ef56331045de88747df278eaeb jdk7u6-b30 -+d7fe6c13adf9e06d98c061449d171bc06c2ba0a3 jdk7u6-b31 -+d7fe6c13adf9e06d98c061449d171bc06c2ba0a3 jdk7u7-b10 -+496baf62d0550c704505b0ff6f390279f6a569e0 jdk7u7-b30 -+e57e4274a3575f278115cc8ef03c5bdf3c43a7ed jdk7u7-b11 -+06cbc4af754ea8f2e3b7d0b1701d1a69ce9d5075 jdk7u7-b31 -+8737f43e092ea52dd85dcf164736eea3b9b364e6 jdk7u7-b01 -+ec602836c4e173927911673d253bb8baa1e3d170 jdk7u7-b02 -+a163e56c6679d10dc64ec48f35e67c3a5942afba jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+8737f43e092ea52dd85dcf164736eea3b9b364e6 jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+ec602836c4e173927911673d253bb8baa1e3d170 jdk7u9-b02 -+268470f3f0d0d7e9b04c579c551571097f0b0305 jdk7u9-b04 -+a5dced409c4b7f940db80846f6efabac74523b0e jdk7u9-b05 -+b426254b45bcd7cdb38003497fdd4168e366d3cb jdk7u9-b31 -+0fa70374aa257929e2541e57c55c4cdebec91fd4 jdk7u9-b32 -+ba68d4ad02c465a36344a34eba34491466ec17d4 jdk7u10-b10 -+a738921b001a92381bf355a2bb1ecd742ecee352 jdk7u10-b11 -+e52708ecb2c32b366c251e4083fbb37e22a425c3 jdk7u10-b12 -+5cd2ef642635a7d0a79a7c28343b2ddfd0e6aa4a jdk7u10-b13 -+2d53a2c7e4b989ceba356abfc8dc2129269a134f jdk7u10-b14 -+c488cd628db35eb09d8ef9e10ffd00c9a93d0778 jdk7u10-b15 -+64f09d7549d304fbfd3c29b4f148bf44e8e3e979 jdk7u10-b16 -+57c3355153d1624fd98618097c1a82ab3ffc66f8 jdk7u10-b17 -+f2a347637a55fa4de9542a8dcab72ad6fac44d2b jdk7u10-b18 -+22cf8bc2ec47498fe548b308a81be0486dd7e3d0 jdk7u10-b30 -+2723612f5983e7d65490d7d4a3d8577026448736 jdk7u10-b31 -+e7952daece16b27d69cb78f6912407c3bbaf8e83 jdk7u11-b20 -+dff0f0272891b1d53497d9525567959b73476ff9 jdk7u11-b21 -+24f8cb8a0a615686f8baba4d746514bae92f064d jdk7u11-b32 -+4bfef14df261d69dc32e37d189e12e3fa572a83c jdk7u11-b33 -+96a3c68e5741dc9ab5cb0da426511eb15fd29ede jdk7u11-b03 -+1413b173730f4796fca42c89eeb804a5935b0264 jdk7u11-b04 -+5c49a17bc15f4fd4722746788f5130df132cd038 jdk7u11-b05 -+30057c20fbb3caa61857656d05421e56731184f2 jdk7u11-b06 -+9d9440d1fa2dd872c2a2b564fc5fa4d3555afab6 jdk7u11-b07 -+983fac5b27376839142ac5a8770461e4e48c2dc8 jdk7u11-b08 -+b192d148731916e4b1b47b7a3e6b0a1d7ddf3f14 jdk7u13-b09 -+b9ab9b203a41469a274419d26be2c04558b57ce8 jdk7u13-b10 -+f5ef46204dba19679edd7492b221110fd1a0bd33 jdk7u13-b30 -+b9ab9b203a41469a274419d26be2c04558b57ce8 jdk7u13-b20 -+622e370c2d1e8c5f48d8f520f486dc6fcc1239c5 jdk7u15-b01 -+30188388048333e213a839363329ac2cb0cf0e0d jdk7u15-b02 -+7f0e7ce088ff554f64e2c102ae3718ae4d580c34 jdk7u15-b30 -+3714b558333e1089e2649ead8586873abd9c0ed1 jdk7u15-b31 -+f0c038610b6da1a0d4214b730aa6cb17b64d0a3b jdk7u15-b33 -+e5b996dabec6ac6aa12705ce678642605ea9d476 jdk7u15-b03 -+b192d148731916e4b1b47b7a3e6b0a1d7ddf3f14 jdk7u15-b32 -+94e8b9b0e0ef1685e2f2fcc886e08a42a85c8e03 jdk7u17-b01 -+e82d31e1f1189ae6f02d6855f0cd78074599b2e1 jdk7u17-b02 -+d4366e557c4c5af62a94fc9885aed87c99abc848 jdk7u17-b30 -+a6f066dd2cd526da73070d1e46c9b1e1ab1a6756 jdk7u17-b31 -+6401c6b99d2d43ed4f0e2d38dce496069f6e91f8 jdk7u17-b32 -+f5ef46204dba19679edd7492b221110fd1a0bd33 jdk7u21-b01 -+17ecd70a2247ed86a095aae9f1a201fa7feea861 jdk7u21-b02 -+bf0877613aeba816d5f18ea6316d535819f628e9 jdk7u21-b03 -+3e39240d7314e82b3ccff3b2a64413be9c0b6665 jdk7u21-b04 -+f5a291dc9d219f68a2d4bcc72c65c014e9ec3b8b jdk7u21-b05 -+94f2ebfccc5e057169284bb2c858296b235868ea jdk7u21-b06 -+23a57aceeb69e688f8ce8b8361fad3a49cf4ac5f jdk7u21-b07 -+ebedf04bfffe289e8bf9661b38f73ca6c0dad17c jdk7u21-b08 -+b8f92ad1f0cc86d8571a0e23192e667f0ef8e421 jdk7u21-b09 -+b2adfd931a2504948d4fee780e4175122be10484 jdk7u21-b10 -+61e2e2d9cfcea20132b50d8fb7ead66a8a373db7 jdk7u21-b11 -+3c774492beaaff241c654add2c4e683b9ff002f2 jdk7u21-b30 -+fa2a377ce52dfa88fca858d735d78b53f2b5b754 jdk7u21-b12 -+3d0f2d5b1866860f7089b51cca8ca0ca41c04d9c jdk7u25-b01 -+cdbafc5080eeb8ea3fec9fe7d071e0bf96635581 jdk7u25-b02 -+2057de7ee6b17ab3335ec6cd5730f88f4cfe9502 jdk7u25-b03 -+b180f1282ad221bde0d4d865c879c0fa7f8ef4c8 jdk7u25-b04 -+d97e6c162735798fe0c9f1dd582aa1114b6c5447 jdk7u25-b05 -+da9301dac56c26846212db33bb20001652b6ce60 jdk7u25-b06 -+aa2dc8d3bb2cdd726ec97bc2bf130eec46467f28 jdk7u25-b07 -+550d43da7fe2f85bbce88cc94066c589480b1221 jdk7u25-b08 -+161ec4dd450d59e1b8ad136db231925c97ff6205 jdk7u25-b09 -+c9da98e82bb006dccd94a50871d6cdb66fa2d7e7 jdk7u25-b10 ---- corba/make/com/sun/corba/minclude/com_sun_corba_se_impl_orbutil.jmk 2012-08-10 09:09:53.000000000 -0700 -+++ corba/make/com/sun/corba/minclude/com_sun_corba_se_impl_orbutil.jmk 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ +@@ -302,6 +303,22 @@ + 161ec4dd450d59e1b8ad136db231925c97ff6205 jdk7u25-b09 + c9da98e82bb006dccd94a50871d6cdb66fa2d7e7 jdk7u25-b10 + 109386df5b8e259d0af802217769a3c448404e49 jdk7u25-b11 ++38282b734daefcbb8155b7d7ef9664130330ed14 jdk7u14-b16 ++8b1d77697ca4d2a9c29d67fd2ff03aded9b06012 jdk7u14-b17 ++862b43d26e03bbceb3465f93354860e0d17eb324 jdk7u14-b18 ++bfbaab73969d4d978d0280d6ad51bac8c47dbaf8 jdk7u14-b19 ++bfbaab73969d4d978d0280d6ad51bac8c47dbaf8 jdk7u14-b19 ++a921b45a1f9086a7d598a76f920639050386f996 jdk7u14-b19 ++54320e5d9da60df24f0e2c57c011809911dc06e1 jdk7u14-b20 ++fb590ca4de9aaf1f6bca945be040dffc55b5e8d2 jdk7u14-b21 ++e5d89aa2c1a11dba841a646858dda9ea18dc8f57 jdk7u14-b22 ++d85df1552f877a1cc51f43bc07a42a0c48f18e0b jdk7u40-b23 ++d3ab3b19caa02ee85359cfe07b6e0b74eb7b3d74 jdk7u40-b24 ++abfc54516d0b7f9aed34ef175f6bbb93fda4cbb3 jdk7u40-b25 ++be9099c54a35c00d0dfe6beeed8ea5d4ab3cd3fe jdk7u40-b26 ++f745eeabb0eaabe8c0835c175b31f1e1c0f00bd4 jdk7u40-b27 ++c8b9201f88f4ce417df7a40efcb7fef656d94512 jdk7u40-b28 ++1ad0a5a3f7b1e9d95670d733d7e70714050ba6bf jdk7u40-b29 + ef8e6f8305d524f3b448a85f901aadf1adc81fc0 jdk7u25-b12 + eca480919c71072a31f62a61cb3aad30677007e3 jdk7u25-b13 + 577c4dd1a6e9bc1bb2c2e5d5ecbab8eacb4121af jdk7u25-b14 +@@ -343,3 +360,38 @@ + b4a480a039bc19b27bfb5fcbbbf75e651d2718b7 jdk7u40-b42 + e29ea0b297e519010e661603a07bb8d48fa904a2 jdk7u40-b43 + 08737d863a7aa5eb39374b26c9585e1770affe92 jdk7u40-b60 ++504acad3372298a79c231696d805f00f3beb2362 jdk7u40-b61 ++c9c225fb19c3aa6e1242c051833ecc69d00b7aa1 jdk7u40-b62 ++4f54264ca4df2fc50fbb9bb2654dad97776d10ac jdk7u45-b01 ++1a1a1dedf437c50797a49c21a12161a79c761757 jdk7u45-b02 ++3a2cca8c2f209b533af6c1201cc8aee43628e578 jdk7u45-b03 ++4f4f7869bd6585042ad9596426dd1aa0829b8e98 jdk7u45-b04 ++faee62d13040eae3d081f0383843a391ceef1edd jdk7u45-b05 ++435dd0e1ab9ec9cbc83dc5ed260886f6becbef25 jdk7u45-b06 ++2e19615f6045c3f39e39c56c485f7bc1df97e2ce jdk7u45-b07 ++771c5c869d16d2da5668e412f505ad75f8f610c1 jdk7u45-b08 ++a89d69bef3614f618843f5e9a495b12d13597851 jdk7u45-b09 ++fd8a2041b75c4f712f2b08d627388d44a0cf2ee7 jdk7u45-b10 ++55e0d3d9514343f380336b68aa8691a89b2e710b jdk7u45-b11 ++336566c2905a49fc9a6f90f5ecd30517cfcaefff jdk7u45-b12 ++6cadc3dd82a423f6c24460bb1997c0f39159dd93 jdk7u45-b13 ++43e22471d0c29451f282b162864c2d3e494d5871 jdk7u45-b14 ++3d7a52de59f03589d7a9334a6895063ff3331bfc jdk7u45-b15 ++b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u45-b16 ++8b8793f06c56e343962b473bc0fb79f23b8be734 jdk7u45-b17 ++80f65a8f58500ef5d93ddf4426d9c1909b79fadf jdk7u45-b18 ++a15e4a54504471f1e34a494ed66235870722a0f5 jdk7u45-b30 ++b7fb35bbe70d88eced3725b6e9070ad0b5b621ad jdk7u45-b31 ++b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u51-b00 ++8d884cf2e8cce92d532950de2c7283d9804f9e58 jdk7u51-b01 ++327035fbb0433927c1b1af2bc0bcb84e7827f1b9 jdk7u51-b02 ++3c186a6d2b86ec4c6cfb093969d5f4e4a6ef6a98 jdk7u51-b03 ++6969598640b2a4731634669eb1402a6af5772b44 jdk7u51-b04 ++b18c17608d944028724858e1f768fb0a59dc8220 jdk7u51-b05 ++863d69d3dee00e7958ed1014e7600cc08f2655e7 jdk7u51-b06 ++3f6dfcad33acb0251c60facb6b5e8dbff41a4114 jdk7u51-b07 ++00c7d4007a2f22deb05753bbd2d36f0ce43ac786 jdk7u51-b08 ++bb45667f58f57f96c00551db26ab281bd101e892 jdk7u51-b09 ++eecfc296009b81934a329e7ce42a53484093f611 jdk7u51-b10 ++a26d0e8ab1027e70ae1ded8ede0086a0a4a10256 jdk7u51-b11 ++55a509ccc0e4ed49e311c7ecf2ed29a908bc1d6b jdk7u51-b12 +--- corba/make/Makefile 2013-09-06 11:20:46.000000000 -0700 ++++ corba/make/Makefile 2014-01-18 12:16:05.000000000 -0800 +@@ -160,7 +160,7 @@ # --# Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. -+# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. - # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + # CORBA # - # This code is free software; you can redistribute it and/or modify it -@@ -29,10 +29,6 @@ - com/sun/corba/se/impl/orbutil/DenseIntMapImpl.java \ - com/sun/corba/se/impl/orbutil/GetPropertyAction.java \ - com/sun/corba/se/impl/orbutil/HexOutputStream.java \ -- com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java \ -- com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java \ -- com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3.java \ -- com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3_1.java \ - com/sun/corba/se/impl/orbutil/LegacyHookGetFields.java \ - com/sun/corba/se/impl/orbutil/LegacyHookPutFields.java \ - com/sun/corba/se/impl/orbutil/LogKeywords.java \ -@@ -43,21 +39,12 @@ - com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java \ - com/sun/corba/se/impl/orbutil/ORBConstants.java \ - com/sun/corba/se/impl/orbutil/ORBUtility.java \ -- com/sun/corba/se/impl/orbutil/ORBClassLoader.java \ - com/sun/corba/se/impl/orbutil/RepIdDelegator.java \ -- com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3.java \ -- com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3_1.java \ -- com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3.java \ -- com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java \ - com/sun/corba/se/impl/orbutil/RepositoryIdFactory.java \ - com/sun/corba/se/impl/orbutil/RepositoryIdStrings.java \ - com/sun/corba/se/impl/orbutil/RepositoryIdUtility.java \ - com/sun/corba/se/impl/orbutil/RepositoryIdInterface.java \ -- com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3_1.java \ -- com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java \ - com/sun/corba/se/impl/orbutil/StackImpl.java \ -- com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3_1.java \ -- com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3.java \ - com/sun/corba/se/impl/orbutil/closure/Future.java \ - com/sun/corba/se/impl/orbutil/closure/Constant.java \ - com/sun/corba/se/impl/orbutil/concurrent/Sync.java \ ---- corba/src/share/classes/com/sun/corba/se/impl/activation/ServerMain.java 2012-08-10 09:10:11.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/activation/ServerMain.java 2013-03-09 18:08:34.000000000 -0800 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1997, 2012, 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 -@@ -322,9 +322,9 @@ - com.sun.corba.se.spi.activation._ServerImplBase - { - private ORB orb; -- private Method installMethod ; -- private Method uninstallMethod ; -- private Method shutdownMethod ; -+ private transient Method installMethod ; -+ private transient Method uninstallMethod ; -+ private transient Method shutdownMethod ; - private Object methodArgs[] ; - - ServerCallback(ORB orb, Method installMethod, Method uninstallMethod, ---- corba/src/share/classes/com/sun/corba/se/impl/activation/ServerManagerImpl.java 2012-08-10 09:10:12.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/activation/ServerManagerImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2004, 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 -@@ -81,7 +81,6 @@ - - import com.sun.corba.se.impl.oa.poa.BadServerIdHandler; - import com.sun.corba.se.impl.orbutil.ORBConstants; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.impl.orbutil.ORBUtility; - import com.sun.corba.se.impl.util.Utility; - ---- corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java 2012-08-10 09:10:12.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2004, 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 -@@ -33,6 +33,8 @@ - - import java.io.Serializable; - import java.math.BigDecimal; -+import java.security.AccessController; -+import java.security.PrivilegedAction; - import java.util.List ; - import java.util.ArrayList ; +-SUBDIRS = tools javax org sun com ++SUBDIRS = tools sun/rmi javax org sun com + + build: + $(SUBDIRS-loop) +--- corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java 2013-09-06 11:20:47.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java 2014-01-18 12:16:06.000000000 -0800 +@@ -82,11 +82,18 @@ + super((ORB)orb); + } -@@ -504,7 +506,13 @@ - public org.omg.CORBA.portable.OutputStream create_output_stream() - { - //debug.log ("create_output_stream"); -- return new AnyOutputStream(orb); -+ final ORB finalorb = this.orb; -+ return AccessController.doPrivileged(new PrivilegedAction<AnyOutputStream>() { -+ @Override -+ public AnyOutputStream run() { -+ return new AnyOutputStream(finalorb); -+ } -+ }); +- public org.omg.CORBA.portable.InputStream create_input_stream() +- { +- return new AnyInputStream( +- (com.sun.corba.se.impl.encoding.EncapsInputStream) +- super.create_input_stream()); ++ public org.omg.CORBA.portable.InputStream create_input_stream() { ++ final org.omg.CORBA.portable.InputStream is = super ++ .create_input_stream(); ++ AnyInputStream aIS = AccessController ++ .doPrivileged(new PrivilegedAction<AnyInputStream>() { ++ @Override ++ public AnyInputStream run() { ++ return new AnyInputStream( ++ (com.sun.corba.se.impl.encoding.EncapsInputStream) is); ++ } ++ }); ++ return aIS; + } } - /** -@@ -1218,7 +1226,7 @@ - // See bug 4391648 for more info about the tcORB in this - // case. - RepositoryIdStrings repStrs -- = RepositoryIdFactory.getRepIdStringsFactory(tcORB); -+ = RepositoryIdFactory.getRepIdStringsFactory(); - - - // Assertion: c instanceof Serializable? -@@ -1251,7 +1259,7 @@ - // Anything else - // We know that this is a TypeCodeImpl since it is our ORB - classTC = (TypeCodeImpl)ValueUtility.createTypeCodeForClass( -- tcORB, c, ORBUtility.createValueHandler(tcORB)); -+ tcORB, c, ORBUtility.createValueHandler()); - // Intruct classTC to store its buffer - classTC.setCaching(true); - // Update the cache ---- corba/src/share/classes/com/sun/corba/se/impl/corba/TypeCodeImpl.java 2012-08-10 09:10:13.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/corba/TypeCodeImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1996, 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 -@@ -600,7 +600,8 @@ - } - - public static CDROutputStream newOutputStream(ORB orb) { -- TypeCodeOutputStream tcos = new TypeCodeOutputStream((ORB)orb); -+ TypeCodeOutputStream tcos = -+ sun.corba.OutputStreamFactory.newTypeCodeOutputStream(orb); - //if (debug) System.out.println("Created TypeCodeOutputStream " + tcos + - // " with no parent"); - return tcos; ---- corba/src/share/classes/com/sun/corba/se/impl/encoding/CDRInputStream_1_0.java 2012-08-10 09:10:15.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/encoding/CDRInputStream_1_0.java 2013-03-09 18:08:34.000000000 -0800 +--- corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsInputStream.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsInputStream.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2001, 2004, 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 -@@ -269,8 +269,8 @@ +@@ -36,11 +36,10 @@ + import com.sun.corba.se.impl.protocol.giopmsgheaders.Message; - private final void createRepositoryIdHandlers() - { -- repIdUtil = RepositoryIdFactory.getRepIdUtility(orb); -- repIdStrs = RepositoryIdFactory.getRepIdStringsFactory(orb); -+ repIdUtil = RepositoryIdFactory.getRepIdUtility(); -+ repIdStrs = RepositoryIdFactory.getRepIdStringsFactory(); - } - - public GIOPVersion getGIOPVersion() { -@@ -564,10 +564,7 @@ - - checkForNegativeLength(len); - -- if (orb != null && ORBUtility.isLegacyORB((ORB)orb)) -- return legacyReadString(len); -- else -- return internalReadString(len); -+ return internalReadString(len); - } + import com.sun.corba.se.spi.orb.ORB; +- + import com.sun.corba.se.spi.logging.CORBALogDomains; +- + import com.sun.corba.se.impl.logging.ORBUtilSystemException; - private final String internalReadString(int len) { -@@ -588,54 +585,6 @@ - return new String(result, 0, getCharConverter().getNumChars()); ++import sun.corba.EncapsInputStreamFactory; + /** + * Encapsulations are supposed to explicitly define their + * code sets and GIOP version. The original resolution to issue 2784 +@@ -148,7 +147,7 @@ } -- private final String legacyReadString(int len) { -- -- // -- // Workaround for ORBs which send string lengths of -- // zero to mean empty string. -- // -- // -- // IMPORTANT: Do not replace 'new String("")' with "", it may result -- // in a Serialization bug (See serialization.zerolengthstring) and -- // bug id: 4728756 for details -- if (len == 0) -- return new String(""); -- -- len--; -- char[] c = new char[len]; -- -- int n = 0; -- while (n < len) { -- int avail; -- int bytes; -- int wanted; -- -- avail = bbwi.buflen - bbwi.position(); -- if (avail <= 0) { -- grow(1, 1); -- avail = bbwi.buflen - bbwi.position(); -- } -- wanted = len - n; -- bytes = (wanted < avail) ? wanted : avail; -- // Microbenchmarks are showing a loop of ByteBuffer.get(int) being -- // faster than ByteBuffer.get(byte[], int, int). -- for (int i=0; i<bytes; i++) { -- c[n+i] = (char) (bbwi.byteBuffer.get(bbwi.position()+i) & 0xFF); -- } -- bbwi.position(bbwi.position() + bytes); -- n += bytes; -- } -- -- // -- // Skip past terminating null byte -- // -- if (bbwi.position() + 1 > bbwi.buflen) -- alignAndCheck(1, 1); -- bbwi.position(bbwi.position() + 1); -- -- return new String(c); -- } -- - public final String read_string() { - return readStringOrIndirection(false); + public CDRInputStream dup() { +- return new EncapsInputStream(this); ++ return EncapsInputStreamFactory.newEncapsInputStream(this); } -@@ -1045,7 +994,7 @@ - try { - if (valueHandler == null) -- valueHandler = ORBUtility.createValueHandler(orb); -+ valueHandler = ORBUtility.createValueHandler(); - - value = valueHandler.readValue(parent, - indirection, ---- corba/src/share/classes/com/sun/corba/se/impl/encoding/CDROutputStream_1_0.java 2012-08-10 09:10:15.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/encoding/CDROutputStream_1_0.java 2013-03-09 18:08:34.000000000 -0800 + protected CodeSetConversion.BTCConverter createCharBTCConverter() { +--- corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsOutputStream.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/encoding/EncapsOutputStream.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2001, 2004, 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 -@@ -189,18 +189,8 @@ +@@ -39,6 +39,8 @@ + import com.sun.corba.se.impl.protocol.giopmsgheaders.Message; + import com.sun.corba.se.impl.orbutil.ORBConstants; - private final void createRepositoryIdHandlers() - { -- if (orb != null) { -- // Get the appropriate versions based on the ORB version. The -- // ORB versioning info is only in the core ORB. -- repIdUtil -- = RepositoryIdFactory.getRepIdUtility(orb); -- repIdStrs -- = RepositoryIdFactory.getRepIdStringsFactory(orb); -- } else { -- // Get the latest versions -- repIdUtil = RepositoryIdFactory.getRepIdUtility(); -- repIdStrs = RepositoryIdFactory.getRepIdStringsFactory(); -- } -+ repIdUtil = RepositoryIdFactory.getRepIdUtility(); -+ repIdStrs = RepositoryIdFactory.getRepIdStringsFactory(); ++import sun.corba.EncapsInputStreamFactory; ++ + /** + * Encapsulations are supposed to explicitly define their + * code sets and GIOP version. The original resolution to issue 2784 +@@ -107,11 +109,11 @@ + public org.omg.CORBA.portable.InputStream create_input_stream() { + freeInternalCaches(); + +- return new EncapsInputStream(orb(), +- getByteBuffer(), +- getSize(), +- isLittleEndian(), +- getGIOPVersion()); ++ return EncapsInputStreamFactory.newEncapsInputStream(orb(), ++ getByteBuffer(), ++ getSize(), ++ isLittleEndian(), ++ getGIOPVersion()); } - public BufferManagerWrite getBufferManager() -@@ -705,7 +695,7 @@ - private void writeArray(Serializable array, Class clazz) { - - if (valueHandler == null) -- valueHandler = ORBUtility.createValueHandler(orb); //d11638 -+ valueHandler = ORBUtility.createValueHandler(); //d11638 - - // Write value_tag - int indirection = writeValueTag(mustChunk, true, -@@ -768,7 +758,7 @@ - - private void writeRMIIIOPValueType(Serializable object, Class clazz) { - if (valueHandler == null) -- valueHandler = ORBUtility.createValueHandler(orb); //d11638 -+ valueHandler = ORBUtility.createValueHandler(); //d11638 - - Serializable key = object; - ---- corba/src/share/classes/com/sun/corba/se/impl/encoding/IDLJavaSerializationOutputStream.java 2012-08-10 09:10:16.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/encoding/IDLJavaSerializationOutputStream.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 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 -@@ -66,7 +66,7 @@ - * - * @author Ram Jeyaraman - */ --public class IDLJavaSerializationOutputStream extends CDROutputStreamBase { -+final class IDLJavaSerializationOutputStream extends CDROutputStreamBase { - - private ORB orb; - private byte encodingVersion; ---- corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java 2012-08-10 09:10:16.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java 2013-06-22 09:39:21.000000000 -0700 + protected CodeSetConversion.CTBConverter createCharCTBConverter() { +--- corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeInputStream.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeInputStream.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. @@ -506,4813 +273,820 @@ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it -@@ -196,7 +196,8 @@ - } +@@ -64,6 +64,8 @@ + import com.sun.corba.se.impl.encoding.CDROutputStream; + import com.sun.corba.se.impl.encoding.MarshalInputStream; - public TypeCodeOutputStream createEncapsulation(org.omg.CORBA.ORB _orb) { -- TypeCodeOutputStream encap = new TypeCodeOutputStream((ORB)_orb, isLittleEndian()); -+ TypeCodeOutputStream encap = -+ sun.corba.OutputStreamFactory.newTypeCodeOutputStream((ORB)_orb, isLittleEndian()); - encap.setEnclosingOutputStream(this); ++import sun.corba.EncapsInputStreamFactory; ++ + public class TypeCodeInputStream extends EncapsInputStream implements TypeCodeReader + { + private Map typeMap = null; +@@ -157,11 +159,13 @@ + + // create an encapsulation using the marshal buffer + if (is instanceof CDRInputStream) { +- encap = new TypeCodeInputStream((ORB)_orb, encapBuffer, encapBuffer.length, +- ((CDRInputStream)is).isLittleEndian(), +- ((CDRInputStream)is).getGIOPVersion()); ++ encap = EncapsInputStreamFactory.newTypeCodeInputStream((ORB) _orb, ++ encapBuffer, encapBuffer.length, ++ ((CDRInputStream) is).isLittleEndian(), ++ ((CDRInputStream) is).getGIOPVersion()); + } else { +- encap = new TypeCodeInputStream((ORB)_orb, encapBuffer, encapBuffer.length); ++ encap = EncapsInputStreamFactory.newTypeCodeInputStream((ORB) _orb, ++ encapBuffer, encapBuffer.length); + } + encap.setEnclosingInputStream(is); encap.makeEncapsulation(); - //if (TypeCodeImpl.debug) System.out.println("Created TypeCodeOutputStream " + encap + " with parent " + this); -@@ -211,7 +212,8 @@ - - public static TypeCodeOutputStream wrapOutputStream(OutputStream os) { - boolean littleEndian = ((os instanceof CDROutputStream) ? ((CDROutputStream)os).isLittleEndian() : false); -- TypeCodeOutputStream tos = new TypeCodeOutputStream((ORB)os.orb(), littleEndian); -+ TypeCodeOutputStream tos = -+ sun.corba.OutputStreamFactory.newTypeCodeOutputStream((ORB)os.orb(), littleEndian); - tos.setEnclosingOutputStream(os); - //if (TypeCodeImpl.debug) System.out.println("Created TypeCodeOutputStream " + tos + " with parent " + os); - return tos; ---- corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java 2012-08-10 09:10:17.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -155,7 +155,8 @@ - // be versioned. This can be handled once this work is complete. - - // Create output stream with default endianness. -- EncapsOutputStream cdrOut = new EncapsOutputStream( -+ EncapsOutputStream cdrOut = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream( - (com.sun.corba.se.spi.orb.ORB)orb, giopVersion ); - - // This is an encapsulation, so put out the endian: ---- corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2002, 2012, 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 -@@ -77,7 +77,6 @@ - import com.sun.corba.se.impl.logging.ORBUtilSystemException; - import com.sun.corba.se.impl.logging.OMGSystemException; - import com.sun.corba.se.impl.corba.RequestImpl; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.impl.orbutil.ORBConstants; - import com.sun.corba.se.impl.orbutil.ORBUtility; - import com.sun.corba.se.impl.orbutil.StackImpl; ---- corba/src/share/classes/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -86,13 +86,14 @@ - import com.sun.corba.se.impl.encoding.EncapsOutputStream; +--- corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java 2014-01-18 12:16:06.000000000 -0800 +@@ -61,6 +61,8 @@ + import java.math.BigInteger; + import java.nio.ByteBuffer; - import com.sun.corba.se.impl.orbutil.ORBUtility; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; ++import sun.corba.EncapsInputStreamFactory; ++ + public final class TypeCodeOutputStream extends EncapsOutputStream + { + private OutputStream enclosure = null; +@@ -77,9 +79,9 @@ - import com.sun.corba.se.impl.util.RepositoryId; + public org.omg.CORBA.portable.InputStream create_input_stream() + { +- //return new TypeCodeInputStream((ORB)orb(), getByteBuffer(), getIndex(), isLittleEndian()); +- TypeCodeInputStream tcis +- = new TypeCodeInputStream((ORB)orb(), getByteBuffer(), getIndex(), isLittleEndian(), getGIOPVersion()); ++ TypeCodeInputStream tcis = EncapsInputStreamFactory ++ .newTypeCodeInputStream((ORB) orb(), getByteBuffer(), ++ getIndex(), isLittleEndian(), getGIOPVersion()); + //if (TypeCodeImpl.debug) { + //System.out.println("Created TypeCodeInputStream " + tcis + " with no parent"); + //tcis.printBuffer(); +--- corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java 2014-01-18 12:16:06.000000000 -0800 +@@ -33,6 +33,8 @@ + import com.sun.corba.se.spi.ior.iiop.GIOPVersion; + import com.sun.corba.se.spi.logging.CORBALogDomains; - import com.sun.corba.se.impl.logging.InterceptorsSystemException; - import com.sun.corba.se.impl.logging.OMGSystemException; ++import sun.corba.EncapsInputStreamFactory; ++ + import com.sun.corba.se.impl.corba.AnyImpl; + import com.sun.corba.se.impl.encoding.EncapsInputStream; + import com.sun.corba.se.impl.encoding.EncapsOutputStream; +@@ -193,8 +195,9 @@ + // it is turned into a FormatMismatch exception. -+import sun.corba.SharedSecrets; + try { +- EncapsInputStream cdrIn = new EncapsInputStream( orb, data, +- data.length, giopVersion ); ++ EncapsInputStream cdrIn = EncapsInputStreamFactory.newEncapsInputStream( orb, data, ++ data.length, giopVersion ); + - /** - * Implementation of the RequestInfo interface as specified in - * orbos/99-12-02 section 5.4.1. -@@ -452,7 +453,8 @@ - - // Find the read method on the helper class: - String helperClassName = className + "Helper"; -- Class helperClass = ORBClassLoader.loadClass( helperClassName ); -+ Class<?> helperClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass( helperClassName ); - Class[] readParams = new Class[1]; - readParams[0] = org.omg.CORBA.portable.InputStream.class; - Method readMethod = helperClass.getMethod( "read", readParams ); -@@ -512,7 +514,8 @@ - Class exceptionClass = userException.getClass(); - String className = exceptionClass.getName(); - String helperClassName = className + "Helper"; -- Class helperClass = ORBClassLoader.loadClass( helperClassName ); -+ Class<?> helperClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass( helperClassName ); - - // Find insert( Any, class ) method - Class[] insertMethodParams = new Class[2]; -@@ -656,7 +659,8 @@ - // Convert the "core" service context to an - // "IOP" ServiceContext by writing it to a - // CDROutputStream and reading it back. -- EncapsOutputStream out = new EncapsOutputStream(myORB); -+ EncapsOutputStream out = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(myORB); - - context.write( out, GIOPVersion.V1_2 ); - InputStream inputStream = out.create_input_stream(); -@@ -692,8 +696,8 @@ - { - int id = 0 ; - // Convert IOP.service_context to core.ServiceContext: -- EncapsOutputStream outputStream = new EncapsOutputStream( -- myORB ); -+ EncapsOutputStream outputStream = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(myORB); - InputStream inputStream = null; - UnknownServiceContext coreServiceContext = null; - ServiceContextHelper.write( outputStream, service_context ); ---- corba/src/share/classes/com/sun/corba/se/impl/io/FVDCodeBaseImpl.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/FVDCodeBaseImpl.java 2013-03-09 18:08:34.000000000 -0800 + + cdrIn.consumeEndian(); + +--- corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 -@@ -86,7 +86,7 @@ - // default to using the current ORB version in case the - // vhandler is not set - if (vhandler == null) { -- vhandler = new ValueHandlerImpl(false); -+ vhandler = ValueHandlerImpl.getInstance(false); - } - - // Util.getCodebase may return null which would -@@ -120,7 +120,7 @@ - // default to using the current ORB version in case the - // vhandler is not set - if (vhandler == null) { -- vhandler = new ValueHandlerImpl(false); -+ vhandler = ValueHandlerImpl.getInstance(false); - } +@@ -370,7 +370,7 @@ + * @exception IOException Any of the usual Input/Output related exceptions. + * @since JDK1.1 + */ +- public final Object readObjectDelegate() throws IOException ++ public final synchronized Object readObjectDelegate() throws IOException + { + try { - try{ -@@ -161,7 +161,7 @@ - // default to using the current ORB version in case the - // vhandler is not set - if (vhandler == null) { -- vhandler = new ValueHandlerImpl(false); -+ vhandler = ValueHandlerImpl.getInstance(false); +@@ -389,7 +389,7 @@ } - - Stack repIds = new Stack(); ---- corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java 2013-06-22 09:39:21.000000000 -0700 -@@ -300,11 +300,11 @@ - resetStream(); } -- public final void setOrbStream(org.omg.CORBA_2_3.portable.InputStream os) { -+ final void setOrbStream(org.omg.CORBA_2_3.portable.InputStream os) { - orbStream = os; +- final Object simpleReadObject(Class clz, ++ final synchronized Object simpleReadObject(Class clz, + String repositoryID, + com.sun.org.omg.SendingContext.CodeBase sender, + int offset) +@@ -461,7 +461,7 @@ + return obj; } -- public final org.omg.CORBA_2_3.portable.InputStream getOrbStream() { -+ final org.omg.CORBA_2_3.portable.InputStream getOrbStream() { - return orbStream; - } - -@@ -327,11 +327,11 @@ - return (javax.rmi.CORBA.ValueHandler) vhandler; +- public final void simpleSkipObject(String repositoryID, ++ public final synchronized void simpleSkipObject(String repositoryID, + com.sun.org.omg.SendingContext.CodeBase sender) + /* throws OptionalDataException, ClassNotFoundException, IOException */ + { +@@ -559,7 +559,7 @@ + * objects. + * @since JDK1.1 + */ +- public final void defaultReadObjectDelegate() ++ final synchronized void defaultReadObjectDelegate() + /* throws IOException, ClassNotFoundException, NotActiveException */ + { + try { +@@ -988,7 +988,7 @@ + } } -- public final void increaseRecursionDepth(){ -+ final void increaseRecursionDepth(){ - recursionDepth++; +- private Object inputObject(Class clz, ++ private synchronized Object inputObject(Class clz, + String repositoryID, + com.sun.org.omg.SendingContext.CodeBase sender, + int offset) +@@ -1317,7 +1317,7 @@ + * a form of custom marshaling. + * + */ +- private Object inputObjectUsingFVD(Class clz, ++ private synchronized Object inputObjectUsingFVD(Class clz, + String repositoryID, + com.sun.org.omg.SendingContext.CodeBase sender, + int offset) +--- corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java 2014-01-18 12:16:06.000000000 -0800 +@@ -201,7 +201,7 @@ + readObjectState.endDefaultReadObject(this); } -- public final int decreaseRecursionDepth(){ -+ final int decreaseRecursionDepth(){ - return --recursionDepth; - } +- public abstract void defaultReadObjectDelegate(); ++ abstract void defaultReadObjectDelegate(); ---- corba/src/share/classes/com/sun/corba/se/impl/io/IIOPOutputStream.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/IIOPOutputStream.java 2013-06-22 09:39:21.000000000 -0700 + abstract void readFields(java.util.Map fieldToValueMap) + throws java.io.InvalidClassException, java.io.StreamCorruptedException, +--- corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 2000, 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 -@@ -124,19 +124,19 @@ - } - } - -- public final void setOrbStream(org.omg.CORBA_2_3.portable.OutputStream os) { -+ final void setOrbStream(org.omg.CORBA_2_3.portable.OutputStream os) { - orbStream = os; - } - -- public final org.omg.CORBA_2_3.portable.OutputStream getOrbStream() { -+ final org.omg.CORBA_2_3.portable.OutputStream getOrbStream() { - return orbStream; - } - -- public final void increaseRecursionDepth(){ -+ final void increaseRecursionDepth(){ - recursionDepth++; - } - -- public final int decreaseRecursionDepth(){ -+ final int decreaseRecursionDepth(){ - return --recursionDepth; - } +@@ -47,6 +47,8 @@ + import com.sun.corba.se.impl.encoding.EncapsOutputStream ; + import com.sun.corba.se.impl.encoding.EncapsInputStream ; ---- corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java 2013-06-22 09:39:21.000000000 -0700 -@@ -251,7 +251,7 @@ ++import sun.corba.EncapsInputStreamFactory; ++ + /** + * This static utility class contains various utility methods for reading and + * writing CDR encapsulations. +@@ -108,8 +110,8 @@ + static public InputStream getEncapsulationStream( InputStream is ) + { + byte[] data = readOctets( is ) ; +- EncapsInputStream result = new EncapsInputStream( is.orb(), data, +- data.length ) ; ++ EncapsInputStream result = EncapsInputStreamFactory.newEncapsInputStream( is.orb(), data, ++ data.length ) ; + result.consumeEndian() ; + return result ; } - - protected abstract byte getStreamFormatVersion(); -- protected abstract org.omg.CORBA_2_3.portable.InputStream getOrbStream(); -+ abstract org.omg.CORBA_2_3.portable.InputStream getOrbStream(); - - // Description of possible actions - protected static class ReadObjectState { ---- corba/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java 2012-08-10 09:10:18.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java 2013-03-09 18:08:34.000000000 -0800 +--- corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 2000, 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 -@@ -25,7 +25,7 @@ - /* - * Licensed Materials - Property of IBM - * RMI-IIOP v1.0 -- * Copyright IBM Corp. 1998 1999 All Rights Reserved -+ * Copyright IBM Corp. 1998 2012 All Rights Reserved - * - */ - -@@ -56,7 +56,8 @@ - - import java.util.Arrays; - import java.util.Comparator; --import java.util.Hashtable; -+import java.util.concurrent.ConcurrentHashMap; -+import java.util.concurrent.ConcurrentMap; +@@ -49,6 +49,8 @@ + import com.sun.corba.se.impl.logging.IORSystemException ; - import com.sun.corba.se.impl.util.RepositoryId; + import com.sun.corba.se.impl.encoding.EncapsInputStream ; ++import sun.corba.EncapsInputStreamFactory; ++ -@@ -83,8 +84,6 @@ - private static Object noArgsList[] = {}; - private static Class noTypesList[] = {}; + /** Based on the magic and scid, return the appropriate + * ObjectKeyTemplate. Expects to be called with a valid +@@ -217,7 +219,7 @@ + public ObjectKey create( byte[] key ) + { + OctetSeqHolder osh = new OctetSeqHolder() ; +- EncapsInputStream is = new EncapsInputStream( orb, key, key.length ) ; ++ EncapsInputStream is = EncapsInputStreamFactory.newEncapsInputStream( orb, key, key.length ); + + ObjectKeyTemplate oktemp = create( is, fullKey, osh ) ; + if (oktemp == null) +--- corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java 2013-09-06 11:20:48.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java 2014-01-18 12:16:06.000000000 -0800 +@@ -70,6 +70,8 @@ + import com.sun.corba.se.impl.encoding.EncapsInputStream ; + import com.sun.corba.se.impl.encoding.EncapsOutputStream ; + ++import sun.corba.EncapsInputStreamFactory; ++ + import com.sun.corba.se.impl.util.JDKBridge; -- private static Hashtable translatedFields; -- - /** true if represents enum type */ - private boolean isEnum; + import com.sun.corba.se.impl.logging.IORSystemException; +@@ -170,8 +172,8 @@ + throw wrapper.invalidTaggedProfile() ; + } -@@ -384,6 +383,55 @@ - */ +- EncapsInputStream istr = new EncapsInputStream((ORB)orb, profile.profile_data, +- profile.profile_data.length); ++ EncapsInputStream istr = EncapsInputStreamFactory.newEncapsInputStream((ORB)orb, profile.profile_data, ++ profile.profile_data.length); + istr.consumeEndian(); + init( istr ) ; } +--- corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/IDLNameTranslatorImpl.java 2013-09-06 11:20:49.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/IDLNameTranslatorImpl.java 2013-12-01 11:13:38.000000000 -0800 +@@ -905,28 +905,4 @@ -+ private static final class PersistentFieldsValue { -+ private final ConcurrentMap map = new ConcurrentHashMap(); -+ private static final Object NULL_VALUE = -+ (PersistentFieldsValue.class.getName() + ".NULL_VALUE"); -+ -+ PersistentFieldsValue() { } -+ -+ ObjectStreamField[] get(Class type) { -+ Object value = map.get(type); -+ if (value == null) { -+ value = computeValue(type); -+ map.putIfAbsent(type, value); -+ } -+ return ((value == NULL_VALUE) ? null : (ObjectStreamField[])value); -+ } -+ -+ private static Object computeValue(Class<?> type) { -+ try { -+ Field pf = type.getDeclaredField("serialPersistentFields"); -+ int mods = pf.getModifiers(); -+ if (Modifier.isPrivate(mods) && Modifier.isStatic(mods) && -+ Modifier.isFinal(mods)) { -+ pf.setAccessible(true); -+ java.io.ObjectStreamField[] fields = -+ (java.io.ObjectStreamField[])pf.get(type); -+ return translateFields(fields); -+ } -+ } catch (NoSuchFieldException e1) { -+ } catch (IllegalAccessException e2) { -+ } catch (IllegalArgumentException e3) { -+ } catch (ClassCastException e4) { } -+ return NULL_VALUE; -+ } -+ -+ private static ObjectStreamField[] translateFields( -+ java.io.ObjectStreamField[] fields) { -+ ObjectStreamField[] translation = -+ new ObjectStreamField[fields.length]; -+ for (int i = 0; i < fields.length; i++) { -+ translation[i] = new ObjectStreamField(fields[i].getName(), -+ fields[i].getType()); -+ } -+ return translation; -+ } -+ } -+ -+ private static final PersistentFieldsValue persistentFieldsValue = -+ new PersistentFieldsValue(); -+ - /* - * Initialize class descriptor. This method is only invoked on class - * descriptors created via calls to lookupInternal(). This method is kept -@@ -416,35 +464,7 @@ - * If it is declared, use the declared serialPersistentFields. - * Otherwise, extract the fields from the class itself. - */ -- try { -- Field pf = cl.getDeclaredField("serialPersistentFields"); -- // serial bug 7; the serialPersistentFields were not -- // being read and stored as Accessible bit was not set -- pf.setAccessible(true); -- // serial bug 7; need to find if the field is of type -- // java.io.ObjectStreamField -- java.io.ObjectStreamField[] f = -- (java.io.ObjectStreamField[])pf.get(cl); -- int mods = pf.getModifiers(); -- if ((Modifier.isPrivate(mods)) && -- (Modifier.isStatic(mods)) && -- (Modifier.isFinal(mods))) -- { -- fields = (ObjectStreamField[])translateFields((Object[])pf.get(cl)); -- } -- } catch (NoSuchFieldException e) { -- fields = null; -- } catch (IllegalAccessException e) { -- fields = null; -- } catch (IllegalArgumentException e) { -- fields = null; -- } catch (ClassCastException e) { -- /* Thrown if a field serialPersistentField exists -- * but it is not of type ObjectStreamField. -- */ -- fields = null; -- } -- -+ fields = persistentFieldsValue.get(cl); - - if (fields == null) { - /* Get all of the declared fields for this -@@ -641,44 +661,6 @@ - superclass = null; + return contents.toString(); } - -- private static Object[] translateFields(Object objs[]) -- throws NoSuchFieldException { -- try{ -- java.io.ObjectStreamField fields[] = (java.io.ObjectStreamField[])objs; -- Object translation[] = null; - -- if (translatedFields == null) -- translatedFields = new Hashtable(); +- public static void main(String[] args) { - -- translation = (Object[])translatedFields.get(fields); -- -- if (translation != null) -- return translation; -- else { -- Class osfClass = Class.forName("com.sun.corba.se.impl.io.ObjectStreamField"); -- translation = (Object[])java.lang.reflect.Array.newInstance(osfClass, objs.length); -- Object arg[] = new Object[2]; -- Class types[] = {String.class, Class.class}; -- Constructor constructor = osfClass.getDeclaredConstructor(types); -- for (int i = fields.length -1; i >= 0; i--){ -- arg[0] = fields[i].getName(); -- arg[1] = fields[i].getType(); -- -- translation[i] = constructor.newInstance(arg); -- } -- translatedFields.put(fields, translation); +- Class remoteInterface = java.rmi.Remote.class; - +- if( args.length > 0 ) { +- String className = args[0]; +- try { +- remoteInterface = Class.forName(className); +- } catch(Exception e) { +- e.printStackTrace(); +- System.exit(-1); - } -- -- return (Object[])translation; - } -- catch(Throwable t){ -- NoSuchFieldException nsfe = new NoSuchFieldException(); -- nsfe.initCause( t ) ; -- throw nsfe ; +- +- System.out.println("Building name translation for " + remoteInterface); +- try { +- IDLNameTranslator nameTranslator = +- IDLNameTranslatorImpl.get(remoteInterface); +- System.out.println(nameTranslator); +- } catch(IllegalStateException ise) { +- ise.printStackTrace(); - } - } -- - /* - * Set the class this version descriptor matches. - * The base class name and serializable hash must match. -@@ -1555,8 +1537,8 @@ - private boolean hasExternalizableBlockData; - Method writeObjectMethod; - Method readObjectMethod; -- private Method writeReplaceObjectMethod; -- private Method readResolveObjectMethod; -+ private transient Method writeReplaceObjectMethod; -+ private transient Method readResolveObjectMethod; - private Constructor cons ; - - /** ---- corba/src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java 2013-06-22 09:39:21.000000000 -0700 -@@ -179,7 +179,7 @@ - putFields.write(this); - } - -- public abstract org.omg.CORBA_2_3.portable.OutputStream getOrbStream(); -+ abstract org.omg.CORBA_2_3.portable.OutputStream getOrbStream(); + } +--- corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/InvocationHandlerFactoryImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/InvocationHandlerFactoryImpl.java 2013-12-01 11:13:38.000000000 -0800 +@@ -43,6 +43,8 @@ + import com.sun.corba.se.spi.orbutil.proxy.DelegateInvocationHandlerImpl ; + import com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandler ; + import com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandlerImpl ; ++import java.security.AccessController; ++import java.security.PrivilegedAction; - protected abstract void beginOptionalCustomData(); + public class InvocationHandlerFactoryImpl implements InvocationHandlerFactory + { +@@ -114,24 +116,32 @@ + // which extends org.omg.CORBA.Object. This handler delegates all + // calls directly to a DynamicStubImpl, which extends + // org.omg.CORBA.portable.ObjectImpl. +- InvocationHandler dynamicStubHandler = ++ final InvocationHandler dynamicStubHandler = + DelegateInvocationHandlerImpl.create( stub ) ; + + // Create an invocation handler that handles any remote interface + // methods. +- InvocationHandler stubMethodHandler = new StubInvocationHandlerImpl( ++ final InvocationHandler stubMethodHandler = new StubInvocationHandlerImpl( + pm, classData, stub ) ; + + // Create a composite handler that handles the DynamicStub interface + // as well as the remote interfaces. + final CompositeInvocationHandler handler = + new CustomCompositeInvocationHandlerImpl( stub ) ; ++ ++ AccessController.doPrivileged(new PrivilegedAction<Void>() { ++ @Override ++ public Void run() { + handler.addInvocationHandler( DynamicStub.class, + dynamicStubHandler ) ; + handler.addInvocationHandler( org.omg.CORBA.Object.class, + dynamicStubHandler ) ; + handler.addInvocationHandler( Object.class, + dynamicStubHandler ) ; ++ return null; ++ } ++ }); ++ ---- corba/src/share/classes/com/sun/corba/se/impl/io/ValueHandlerImpl.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/ValueHandlerImpl.java 2013-03-09 18:08:34.000000000 -0800 + // If the method passed to invoke is not from DynamicStub or its superclasses, + // it must be from an implemented interface, so we just handle +--- corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. ++ * 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 -@@ -53,7 +53,7 @@ - import com.sun.corba.se.impl.logging.OMGSystemException; - import com.sun.corba.se.impl.logging.UtilSystemException; - --public class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMultiFormat { -+public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMultiFormat { +@@ -25,6 +25,7 @@ - // Property to override our maximum stream format version - public static final String FORMAT_VERSION_PROPERTY -@@ -150,14 +150,22 @@ - writeValueWithVersion(out, value, streamFormatVersion); - } + package com.sun.corba.se.impl.presentation.rmi ; -- public ValueHandlerImpl(){} -+ private ValueHandlerImpl(){} ++import java.io.SerializablePermission; + import java.lang.reflect.InvocationHandler ; + import java.lang.reflect.Proxy ; -- public ValueHandlerImpl(boolean isInputStream) { -+ private ValueHandlerImpl(boolean isInputStream) { - this(); - useHashtables = false; - this.isInputStream = isInputStream; - } +@@ -38,11 +39,18 @@ + { + protected final ClassLoader loader ; -+ static ValueHandlerImpl getInstance() { -+ return new ValueHandlerImpl(); -+ } -+ -+ static ValueHandlerImpl getInstance(boolean isInputStream) { -+ return new ValueHandlerImpl(isInputStream); +- public StubFactoryDynamicBase( PresentationManager.ClassData classData, +- ClassLoader loader ) +- { +- super( classData ) ; ++ private static Void checkPermission() { ++ SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkPermission(new SerializablePermission( ++ "enableSubclassImplementation")); ++ } ++ return null; + } -+ - /** - * Writes the value to the stream using java semantics. - * @param out The stream to write the value to -@@ -458,12 +466,7 @@ - return ObjectStreamClass.lookup(value.getClass()).writeReplace(value); - } -- /** -- * Encapsulates writing of Java char arrays so that the 1.3 subclass -- * can override it without exposing internals across packages. This -- * is a fix for bug 4367783. -- */ -- protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, -+ private void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, - char[] array, - int offset, - int length) -@@ -576,12 +579,7 @@ ++ private StubFactoryDynamicBase(Void unused, ++ PresentationManager.ClassData classData, ClassLoader loader) { ++ super(classData); + // this.loader must not be null, or the newProxyInstance call + // will fail. + if (loader == null) { +@@ -55,5 +63,11 @@ } } -- /** -- * Encapsulates reading of Java char arrays so that the 1.3 subclass -- * can override it without exposing internals across packages. This -- * is a fix for bug 4367783. -- */ -- protected void readCharArray(org.omg.CORBA_2_3.portable.InputStream in, -+ private void readCharArray(org.omg.CORBA_2_3.portable.InputStream in, - char[] array, - int offset, - int length) -@@ -795,7 +793,7 @@ - return RepositoryId.cache.getId(repId).isSequence(); - } - -- protected String getOutputStreamClassName() { -+ private String getOutputStreamClassName() { - return "com.sun.corba.se.impl.io.IIOPOutputStream"; - } - -@@ -843,29 +841,11 @@ - private IIOPOutputStream createOutputStreamBuiltInNoPriv( - final String name - ) throws IOException { -- return -- name.equals( -- IIOPOutputStream -- .class.getName() -- ) ? -- new IIOPOutputStream() : -- -- name.equals( -- com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3 -- .class.getName() -- ) ? -- new com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3() : -- -- name.equals( -- com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3_1 -- .class.getName() -- ) ? -- new com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3_1() : -- -- null; -+ return name.equals(IIOPOutputStream.class.getName()) ? -+ new IIOPOutputStream() : null; - } - -- protected String getInputStreamClassName() { -+ private String getInputStreamClassName() { - return "com.sun.corba.se.impl.io.IIOPInputStream"; - } - -@@ -913,26 +893,8 @@ - private IIOPInputStream createInputStreamBuiltInNoPriv( - final String name - ) throws IOException { -- return -- name.equals( -- IIOPInputStream -- .class.getName() -- ) ? -- new IIOPInputStream() : -- -- name.equals( -- com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3 -- .class.getName() -- ) ? -- new com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3() : -- -- name.equals( -- com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3_1 -- .class.getName() -- ) ? -- new com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3_1() : -- -- null; -+ return name.equals(IIOPInputStream.class.getName()) ? -+ new IIOPInputStream() : null; - } - - /** -@@ -958,12 +920,7 @@ - - } - -- /** -- * Our JDK 1.3 and JDK 1.3.1 behavior subclasses override this. -- * The correct behavior is for a Java char to map to a CORBA wchar, -- * but our older code mapped it to a CORBA char. -- */ -- protected TCKind getJavaCharTCKind() { -+ TCKind getJavaCharTCKind() { - return TCKind.tk_wchar; - } ++ public StubFactoryDynamicBase( PresentationManager.ClassData classData, ++ ClassLoader loader ) ++ { ++ this (checkPermission(), classData, loader); ++ } ++ + public abstract org.omg.CORBA.Object makeStub() ; } ---- corba/src/share/classes/com/sun/corba/se/impl/io/ValueUtility.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/io/ValueUtility.java 2013-06-22 09:39:21.000000000 -0700 +--- corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. ++ * 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 -@@ -93,6 +93,22 @@ - null, // tk_abstract_interface 32 - }; - -+ static { -+ sun.corba.SharedSecrets.setJavaCorbaAccess(new sun.corba.JavaCorbaAccess() { -+ public ValueHandlerImpl newValueHandlerImpl() { -+ return ValueHandlerImpl.getInstance(); -+ } -+ public Class<?> loadClass(String className) throws ClassNotFoundException { -+ if (Thread.currentThread().getContextClassLoader() != null) { -+ return Thread.currentThread().getContextClassLoader(). -+ loadClass(className); -+ } else { -+ return ClassLoader.getSystemClassLoader().loadClass(className); -+ } -+ } -+ }); -+ } -+ - public static String getSignature(ValueMember member) - throws ClassNotFoundException { - ---- corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java 2013-06-22 09:39:21.000000000 -0700 -@@ -128,7 +128,8 @@ - static public void writeEncapsulation( WriteContents obj, - OutputStream os ) - { -- EncapsOutputStream out = new EncapsOutputStream( (ORB)os.orb() ) ; -+ EncapsOutputStream out = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb()); +@@ -25,14 +25,23 @@ - out.putEndian() ; + package com.sun.corba.se.impl.presentation.rmi; ---- corba/src/share/classes/com/sun/corba/se/impl/ior/GenericTaggedProfile.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/GenericTaggedProfile.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -95,7 +95,8 @@ ++import java.security.AccessController; ++import java.security.PrivilegedAction; ++ + import com.sun.corba.se.spi.presentation.rmi.PresentationManager ; - public org.omg.IOP.TaggedProfile getIOPProfile() - { -- EncapsOutputStream os = new EncapsOutputStream( orb ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(orb); - write( os ) ; - InputStream is = (InputStream)(os.create_input_stream()) ; - return org.omg.IOP.TaggedProfileHelper.read( is ) ; ---- corba/src/share/classes/com/sun/corba/se/impl/ior/IORImpl.java 2012-08-10 09:10:19.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/IORImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -213,7 +213,8 @@ - { - StringWriter bs; - -- MarshalOutputStream s = new EncapsOutputStream(factory); -+ MarshalOutputStream s = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(factory); - s.putEndian(); - write( (OutputStream)s ); - bs = new StringWriter(); -@@ -237,7 +238,8 @@ - } - - public org.omg.IOP.IOR getIOPIOR() { -- EncapsOutputStream os = new EncapsOutputStream(factory); -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(factory); - write(os); - InputStream is = (InputStream) (os.create_input_stream()); - return org.omg.IOP.IORHelper.read(is); ---- corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyImpl.java 2012-08-10 09:10:20.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -87,7 +87,8 @@ - - public byte[] getBytes( org.omg.CORBA.ORB orb ) - { -- EncapsOutputStream os = new EncapsOutputStream( (ORB)orb ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb); - write( os ) ; - return os.toByteArray() ; - } ---- corba/src/share/classes/com/sun/corba/se/impl/ior/TaggedComponentFactoryFinderImpl.java 2012-08-10 09:10:21.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/TaggedComponentFactoryFinderImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -61,7 +61,8 @@ - public TaggedComponent create( org.omg.CORBA.ORB orb, - org.omg.IOP.TaggedComponent comp ) + public class StubFactoryFactoryProxyImpl extends StubFactoryFactoryDynamicBase + { + public PresentationManager.StubFactory makeDynamicStubFactory( +- PresentationManager pm, PresentationManager.ClassData classData, +- ClassLoader classLoader ) ++ PresentationManager pm, final PresentationManager.ClassData classData, ++ final ClassLoader classLoader ) { -- EncapsOutputStream os = new EncapsOutputStream( (ORB)orb ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb); - org.omg.IOP.TaggedComponentHelper.write( os, comp ) ; - InputStream is = (InputStream)(os.create_input_stream() ) ; - // Skip the component ID: we just wrote it out above ---- corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java 2012-08-10 09:10:22.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java 2013-06-22 09:39:21.000000000 -0700 +- return new StubFactoryProxyImpl( classData, classLoader ) ; ++ return AccessController ++ .doPrivileged(new PrivilegedAction<StubFactoryProxyImpl>() { ++ @Override ++ public StubFactoryProxyImpl run() { ++ return new StubFactoryProxyImpl(classData, classLoader); ++ } ++ }); + } + } +--- corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2001, 2011, 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 -@@ -247,7 +247,8 @@ +@@ -115,6 +115,7 @@ - public org.omg.IOP.TaggedProfile getIOPProfile() - { -- EncapsOutputStream os = new EncapsOutputStream( orb ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream(orb); - os.write_long( getId() ) ; - write( os ) ; - InputStream is = (InputStream)(os.create_input_stream()) ; ---- corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java 2012-08-10 09:10:22.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -132,8 +132,9 @@ - // Note that this cannot be accomplished with a codec! - - // Use the byte order of the given stream -- OutputStream encapsulatedOS = new EncapsOutputStream( (ORB)os.orb(), -- ((CDROutputStream)os).isLittleEndian() ) ; -+ OutputStream encapsulatedOS = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream( -+ (ORB)os.orb(), ((CDROutputStream)os).isLittleEndian() ) ; - - okeyTemplate.write( id, encapsulatedOS ) ; - EncapsulationUtility.writeOutputStream( encapsulatedOS, os ) ; ---- corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java 2012-08-10 09:10:23.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java 2013-06-22 09:39:21.000000000 -0700 -@@ -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 -@@ -109,9 +109,9 @@ - import com.sun.corba.se.impl.util.Utility; - import com.sun.corba.se.impl.util.IdentityHashtable; - import com.sun.corba.se.impl.util.JDKBridge; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.impl.logging.UtilSystemException; - import com.sun.corba.se.spi.logging.CORBALogDomains; -+import sun.corba.SharedSecrets; + import java.util.concurrent.ConcurrentMap; + import java.util.concurrent.ConcurrentHashMap; ++import sun.corba.EncapsInputStreamFactory; /** - * Provides utility methods that can be used by stubs and ties to -@@ -125,7 +125,8 @@ - // Maps targets to ties. - private static IdentityHashtable exportedServants = new IdentityHashtable(); - -- private static ValueHandlerImpl valueHandlerSingleton = new ValueHandlerImpl(); -+ private static final ValueHandlerImpl valueHandlerSingleton = -+ SharedSecrets.getJavaCorbaAccess().newValueHandlerImpl(); - - private UtilSystemException utilWrapper = UtilSystemException.get( - CORBALogDomains.RPC_ENCODING); -@@ -259,7 +260,7 @@ - return new MarshalException(message,inner); - } else if (ex instanceof ACTIVITY_REQUIRED) { - try { -- Class cl = ORBClassLoader.loadClass( -+ Class<?> cl = SharedSecrets.getJavaCorbaAccess().loadClass( - "javax.activity.ActivityRequiredException"); - Class[] params = new Class[2]; - params[0] = java.lang.String.class; -@@ -275,7 +276,7 @@ - } - } else if (ex instanceof ACTIVITY_COMPLETED) { - try { -- Class cl = ORBClassLoader.loadClass( -+ Class<?> cl = SharedSecrets.getJavaCorbaAccess().loadClass( - "javax.activity.ActivityCompletedException"); - Class[] params = new Class[2]; - params[0] = java.lang.String.class; -@@ -291,7 +292,7 @@ - } - } else if (ex instanceof INVALID_ACTIVITY) { - try { -- Class cl = ORBClassLoader.loadClass( -+ Class<?> cl = SharedSecrets.getJavaCorbaAccess().loadClass( - "javax.activity.InvalidActivityException"); - Class[] params = new Class[2]; - params[0] = java.lang.String.class; ---- corba/src/share/classes/com/sun/corba/se/impl/orb/ORBDataParserImpl.java 2012-08-10 09:10:31.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orb/ORBDataParserImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2002, 2004, 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 -@@ -48,7 +48,6 @@ - - import com.sun.corba.se.impl.encoding.CodeSetComponentInfo ; - import com.sun.corba.se.impl.legacy.connection.USLPort; --import com.sun.corba.se.impl.orbutil.ORBClassLoader ; - import com.sun.corba.se.impl.orbutil.ORBConstants ; - import com.sun.corba.se.impl.logging.ORBUtilSystemException ; - ---- corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2012-08-10 09:10:31.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2013-06-22 09:39:21.000000000 -0700 + * ClientDelegate is the RMI client-side subcontract or representation +@@ -847,8 +848,8 @@ + } + byte[] data = ((UnknownServiceContext)sc).getData(); + EncapsInputStream in = +- new EncapsInputStream((ORB)messageMediator.getBroker(), +- data, data.length); ++ EncapsInputStreamFactory.newEncapsInputStream((ORB)messageMediator.getBroker(), ++ data, data.length); + in.consumeEndian(); + + String msg = +--- corba/src/share/classes/com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. +- * 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 -@@ -152,7 +152,6 @@ - import com.sun.corba.se.impl.oa.poa.BadServerIdHandler; - import com.sun.corba.se.impl.oa.poa.DelegateImpl; - import com.sun.corba.se.impl.oa.poa.POAFactory; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.impl.orbutil.ORBConstants; - import com.sun.corba.se.impl.orbutil.ORBUtility; - import com.sun.corba.se.impl.orbutil.StackImpl; -@@ -551,7 +550,7 @@ - public synchronized org.omg.CORBA.portable.OutputStream create_output_stream() - { - checkShutdownState(); -- return new EncapsOutputStream(this); -+ return sun.corba.OutputStreamFactory.newEncapsOutputStream(this); - } +@@ -36,7 +36,8 @@ + import java.util.Iterator; + import java.rmi.RemoteException; + import java.nio.ByteBuffer; +- ++import java.security.AccessController; ++import java.security.PrivilegedAction; + import javax.rmi.CORBA.Util; + import javax.rmi.CORBA.Tie; - /** -@@ -840,7 +839,7 @@ - // backward compatability 4365188 - CodeBase cb; +@@ -111,6 +112,7 @@ + import com.sun.corba.se.impl.protocol.giopmsgheaders.ProfileAddr; + import com.sun.corba.se.impl.protocol.giopmsgheaders.ReferenceAddr; + import com.sun.corba.se.impl.transport.CorbaContactInfoListIteratorImpl; ++import com.sun.corba.se.impl.protocol.giopmsgheaders.Message; + import com.sun.corba.se.impl.util.JDKBridge; -- ValueHandler vh = ORBUtility.createValueHandler(this); -+ ValueHandler vh = ORBUtility.createValueHandler(); + /** +@@ -156,10 +158,17 @@ + + ByteBufferWithInfo bbwi = cdrOutputObject.getByteBufferWithInfo(); + cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize()); +- +- CDRInputObject cdrInputObject = +- new CDRInputObject(orb, null, bbwi.byteBuffer, +- cdrOutputObject.getMessageHeader()); ++ final ORB inOrb = orb; ++ final ByteBuffer inBuffer = bbwi.byteBuffer; ++ final Message inMsg = cdrOutputObject.getMessageHeader(); ++ CDRInputObject cdrInputObject = AccessController ++ .doPrivileged(new PrivilegedAction<CDRInputObject>() { ++ @Override ++ public CDRInputObject run() { ++ return new CDRInputObject(inOrb, null, inBuffer, ++ inMsg); ++ } ++ }); + messageMediator.setInputObject(cdrInputObject); + cdrInputObject.setMessageMediator(messageMediator); + +@@ -192,9 +201,17 @@ + cdrOutputObject = (CDROutputObject) messageMediator.getOutputObject(); + bbwi = cdrOutputObject.getByteBufferWithInfo(); + cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize()); +- cdrInputObject = +- new CDRInputObject(orb, null, bbwi.byteBuffer, +- cdrOutputObject.getMessageHeader()); ++ final ORB inOrb2 = orb; ++ final ByteBuffer inBuffer2 = bbwi.byteBuffer; ++ final Message inMsg2 = cdrOutputObject.getMessageHeader(); ++ cdrInputObject = AccessController ++ .doPrivileged(new PrivilegedAction<CDRInputObject>() { ++ @Override ++ public CDRInputObject run() { ++ return new CDRInputObject(inOrb2, null, inBuffer2, ++ inMsg2); ++ } ++ }); + messageMediator.setInputObject(cdrInputObject); + cdrInputObject.setMessageMediator(messageMediator); - cb = (CodeBase)vh.getRunTimeCodeBase(); - return ORBUtility.connectAndGetIOR( this, cb ) ; ---- corba/src/share/classes/com/sun/corba/se/impl/orb/ORBSingleton.java 2012-08-10 09:10:31.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orb/ORBSingleton.java 2013-06-22 09:39:21.000000000 -0700 +--- corba/src/share/classes/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 -@@ -149,7 +149,7 @@ - } +@@ -36,6 +36,8 @@ + import org.omg.CosNaming.NamingContextExt ; + import org.omg.CosNaming.NamingContextExtHelper ; - public OutputStream create_output_stream() { -- return new EncapsOutputStream(this); -+ return sun.corba.OutputStreamFactory.newEncapsOutputStream(this); ++import sun.corba.EncapsInputStreamFactory; ++ + import com.sun.corba.se.spi.ior.IOR; + import com.sun.corba.se.spi.ior.IORTemplate; + import com.sun.corba.se.spi.ior.ObjectKey; +@@ -114,8 +116,8 @@ + buf[j] = (byte)((ORBUtility.hexOf(str.charAt(i)) << UN_SHIFT) & 0xF0); + buf[j] |= (byte)(ORBUtility.hexOf(str.charAt(i+1)) & 0x0F); + } +- EncapsInputStream s = new EncapsInputStream(orb, buf, buf.length, +- orb.getORBData().getGIOPVersion()); ++ EncapsInputStream s = EncapsInputStreamFactory.newEncapsInputStream(orb, buf, buf.length, ++ orb.getORBData().getGIOPVersion()); + s.consumeEndian(); + return s.read_Object() ; } - - public TypeCode create_struct_tc(String id, ---- corba/src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java 2012-08-10 09:10:31.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java 2013-06-22 09:39:21.000000000 -0700 +--- corba/src/share/classes/com/sun/corba/se/impl/transport/SelectorImpl.java 2013-09-06 11:20:50.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/impl/transport/SelectorImpl.java 2013-12-01 11:13:38.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. +- * 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 -@@ -78,7 +78,6 @@ - import com.sun.corba.se.impl.legacy.connection.USLPort ; - import com.sun.corba.se.impl.logging.ORBUtilSystemException ; - import com.sun.corba.se.impl.oa.poa.BadServerIdHandler ; --import com.sun.corba.se.impl.orbutil.ORBClassLoader ; - import com.sun.corba.se.impl.orbutil.ORBConstants ; - import com.sun.corba.se.impl.protocol.giopmsgheaders.KeyAddr ; - import com.sun.corba.se.impl.protocol.giopmsgheaders.ProfileAddr ; -@@ -86,6 +85,8 @@ - import com.sun.corba.se.impl.transport.DefaultIORToSocketInfoImpl; - import com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl; - -+import sun.corba.SharedSecrets; -+ - /** Initialize the parser data for the standard ORB parser. This is used both - * to implement ORBDataParserImpl and to provide the basic testing framework - * for ORBDataParserImpl. -@@ -640,8 +641,8 @@ - String param = (String)value ; +@@ -55,7 +55,7 @@ + /** + * @author Harold Carr + */ +-public class SelectorImpl ++class SelectorImpl + extends + Thread + implements +--- corba/src/share/classes/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java 2013-09-06 11:20:51.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java 2014-01-18 12:16:06.000000000 -0800 +@@ -36,6 +36,7 @@ - try { -- Class legacySocketFactoryClass = -- ORBClassLoader.loadClass(param); -+ Class<?> legacySocketFactoryClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass(param); - // For security reasons avoid creating an instance if - // this socket factory class is not one that would fail - // the class cast anyway. -@@ -670,7 +671,8 @@ - String param = (String)value ; + import com.sun.corba.se.spi.logging.CORBALogDomains ; + import com.sun.corba.se.impl.logging.ORBUtilSystemException ; ++import com.sun.corba.se.impl.presentation.rmi.DynamicAccessPermission; - try { -- Class socketFactoryClass = ORBClassLoader.loadClass(param); -+ Class<?> socketFactoryClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass(param); - // For security reasons avoid creating an instance if - // this socket factory class is not one that would fail - // the class cast anyway. -@@ -699,7 +701,8 @@ - String param = (String)value ; + public class CompositeInvocationHandlerImpl implements + CompositeInvocationHandler +@@ -46,11 +47,13 @@ + public void addInvocationHandler( Class interf, + InvocationHandler handler ) + { ++ checkAccess(); + classToInvocationHandler.put( interf, handler ) ; + } - try { -- Class iorToSocketInfoClass = ORBClassLoader.loadClass(param); -+ Class<?> iorToSocketInfoClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass(param); - // For security reasons avoid creating an instance if - // this socket factory class is not one that would fail - // the class cast anyway. -@@ -728,7 +731,8 @@ - String param = (String)value ; + public void setDefaultHandler( InvocationHandler handler ) + { ++ checkAccess(); + defaultHandler = handler ; + } - try { -- Class iiopPrimaryToContactInfoClass = ORBClassLoader.loadClass(param); -+ Class<?> iiopPrimaryToContactInfoClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass(param); - // For security reasons avoid creating an instance if - // this socket factory class is not one that would fail - // the class cast anyway. -@@ -757,8 +761,8 @@ - String param = (String)value ; +@@ -78,4 +81,14 @@ - try { -- Class contactInfoListFactoryClass = -- ORBClassLoader.loadClass(param); -+ Class<?> contactInfoListFactoryClass = -+ SharedSecrets.getJavaCorbaAccess().loadClass(param); - // For security reasons avoid creating an instance if - // this socket factory class is not one that would fail - // the class cast anyway. ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java 2012-08-10 09:10:32.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,57 +0,0 @@ --/* -- * Copyright (c) 2000, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --package com.sun.corba.se.impl.orbutil; -- --import java.io.*; --import java.util.Hashtable; -- --/** -- * Implements legacy behavior from before Ladybird to maintain -- * backwards compatibility. -- */ --public class IIOPInputStream_1_3 extends com.sun.corba.se.impl.io.IIOPInputStream --{ -- // The newer version in the io package correctly reads a wstring instead. -- // This concerns bug 4379597. -- protected String internalReadUTF(org.omg.CORBA.portable.InputStream stream) -- { -- return stream.read_string(); -- } -- -- /** -- * Before JDK 1.3.1_01, the PutField/GetField implementation -- * actually sent a Hashtable. -- */ -- public ObjectInputStream.GetField readFields() -- throws IOException, ClassNotFoundException, NotActiveException { -- Hashtable fields = (Hashtable)readObject(); -- return new LegacyHookGetFields(fields); -- } -- -- public IIOPInputStream_1_3() -- throws java.io.IOException { -- super(); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java 2012-08-10 09:10:32.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,54 +0,0 @@ --/* -- * Copyright (c) 2001, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --/* -- */ --package com.sun.corba.se.impl.orbutil; -- --import java.io.*; --import java.util.Hashtable; -- --/** -- * Implements legacy behavior from Ladybird to maintain -- * backwards compatibility. -- */ --public class IIOPInputStream_1_3_1 extends com.sun.corba.se.impl.io.IIOPInputStream --{ -- public IIOPInputStream_1_3_1() -- throws java.io.IOException { -- super(); -- } -- -- /** -- * Before JDK 1.3.1_01, the PutField/GetField implementation -- * actually sent a Hashtable. -- */ -- public ObjectInputStream.GetField readFields() -- throws IOException, ClassNotFoundException, NotActiveException { -- -- Hashtable fields = (Hashtable)readObject(); -- return new LegacyHookGetFields(fields); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3.java 2012-08-10 09:10:32.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,68 +0,0 @@ --/* -- * Copyright (c) 2000, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --package com.sun.corba.se.impl.orbutil; -- --import java.io.*; -- --/** -- * Implements legacy behavior from before Ladybird to maintain -- * backwards compatibility. -- */ --public class IIOPOutputStream_1_3 extends com.sun.corba.se.impl.io.IIOPOutputStream --{ -- // We can't assume that the superclass's putFields -- // member will be non-private. We must allow -- // the RI to run on JDK 1.3.1 FCS as well as -- // the JDK 1.3.1_01 patch. -- private ObjectOutputStream.PutField putFields_1_3; -- -- // The newer version in the io package correctly writes a wstring instead. -- // This concerns bug 4379597. -- protected void internalWriteUTF(org.omg.CORBA.portable.OutputStream stream, -- String data) -- { -- stream.write_string(data); -- } -- -- public IIOPOutputStream_1_3() -- throws java.io.IOException { -- super(); -- } -- -- /** -- * Before JDK 1.3.1_01, the PutField/GetField implementation -- * actually sent a Hashtable. -- */ -- public ObjectOutputStream.PutField putFields() -- throws IOException { -- putFields_1_3 = new LegacyHookPutFields(); -- return putFields_1_3; -- } -- -- public void writeFields() -- throws IOException { -- putFields_1_3.write(this); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3_1.java 2012-08-10 09:10:32.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,66 +0,0 @@ --/* -- * Copyright (c) 2001, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --/* -- */ --package com.sun.corba.se.impl.orbutil; -- --import java.io.*; --import java.util.Hashtable; -- --/** -- * Implements legacy behavior from Ladybird to maintain -- * backwards compatibility. -- */ --public class IIOPOutputStream_1_3_1 extends com.sun.corba.se.impl.io.IIOPOutputStream --{ -- // We can't assume that the superclass's putFields -- // member will be non-private. We must allow -- // the RI to run on JDK 1.3.1 FCS as well as -- // the JDK 1.3.1_01 patch. -- private ObjectOutputStream.PutField putFields_1_3_1; -- -- public IIOPOutputStream_1_3_1() -- throws java.io.IOException { -- super(); -- } -- -- /** -- * Before JDK 1.3.1_01, the PutField/GetField implementation -- * actually sent a Hashtable. -- */ -- public ObjectOutputStream.PutField putFields() -- throws IOException { -- -- putFields_1_3_1 = new LegacyHookPutFields(); -- return putFields_1_3_1; -- } -- -- public void writeFields() -- throws IOException { -- -- putFields_1_3_1.write(this); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/ORBClassLoader.java 2012-08-10 09:10:33.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/ORBClassLoader.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,47 +0,0 @@ --/* -- * Copyright (c) 2001, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --package com.sun.corba.se.impl.orbutil; -- --/** -- * Based on feedback from bug report 4452016, all class loading -- * in the ORB is isolated here. It is acceptable to use -- * Class.forName only when one is certain that the desired class -- * should come from the core JDK. -- */ --public class ORBClassLoader --{ -- public static Class loadClass(String className) -- throws ClassNotFoundException -- { -- return ORBClassLoader.getClassLoader().loadClass(className); -- } -- -- public static ClassLoader getClassLoader() { -- if (Thread.currentThread().getContextClassLoader() != null) -- return Thread.currentThread().getContextClassLoader(); -- else -- return ClassLoader.getSystemClassLoader(); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/ORBUtility.java 2012-08-10 09:10:33.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/ORBUtility.java 2013-06-22 09:39:21.000000000 -0700 + return handler.invoke( proxy, method, args ) ; + } ++ ++ private static final DynamicAccessPermission perm = new DynamicAccessPermission("access"); ++ private void checkAccess() { ++ final SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkPermission(perm); ++} ++ } ++ ++ private static final long serialVersionUID = 4571178305984833743L; + } +--- corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContexts.java 2013-09-06 11:20:52.000000000 -0700 ++++ corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContexts.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 1999, 2004, 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 -@@ -90,6 +90,8 @@ - import com.sun.corba.se.impl.logging.OMGSystemException ; - import com.sun.corba.se.impl.ior.iiop.JavaSerializationComponent; +@@ -58,6 +58,9 @@ + import com.sun.corba.se.impl.util.Utility ; + import com.sun.corba.se.impl.logging.ORBUtilSystemException ; -+import sun.corba.SharedSecrets; ++import sun.corba.EncapsInputStreamFactory; + - /** - * Handy class full of static functions that don't belong in util.Utility for pure ORB reasons. - */ -@@ -160,45 +162,13 @@ - } ++ + public class ServiceContexts { + private static boolean isDebugging( OutputStream os ) + { +@@ -198,11 +201,11 @@ + // Note: As of Jan 2001, no standard OMG or Sun service contexts + // ship wchar data or are defined as using anything but GIOP 1.0 CDR. + EncapsInputStream eis +- = new EncapsInputStream(orb, +- data, +- data.length, +- giopVersion, +- codeBase); ++ = EncapsInputStreamFactory.newEncapsInputStream(orb, ++ data, ++ data.length, ++ giopVersion, ++ codeBase); + eis.consumeEndian(); + + // Now the input stream passed to a ServiceContext +--- corba/src/share/classes/com/sun/tools/corba/se/idl/idl_ja.prp 2013-09-06 11:20:53.000000000 -0700 ++++ corba/src/share/classes/com/sun/tools/corba/se/idl/idl_ja.prp 2014-01-18 12:16:06.000000000 -0800 +@@ -110,7 +110,7 @@ + ParseException.badCustom=%0 (\u884C%1): forward\u5024\u5BA3\u8A00\u306Fcustom\u3068\u3057\u3066\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002\n%2\n%3 + ParseException.badRepIDAlreadyAssigned=%0 (\u884C%1): \u578B%2\u306B\u306F\u3001\u524D\u306EID\u30D7\u30E9\u30B0\u30DE\u30FB\u30C7\u30A3\u30EC\u30AF\u30C6\u30A3\u30D6\u306E\u30EA\u30DD\u30B8\u30C8\u30EAID\u304C\u3059\u3067\u306B\u5272\u308A\u5F53\u3066\u3089\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4 + ParseException.badRepIDForm=%0 (\u884C%1): \u30EA\u30DD\u30B8\u30C8\u30EAID '%2'\u306E\u5F62\u5F0F\u306F'<format>:<string>'\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4 +-ParseException.badRepIDPrefix=%0 (\u884C%1): \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306B\u306F\u3001'%4'\u3067\u306F\u306A\u304F\u30EA\u30DD\u30B8\u30C8\u30EAID\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9`%3'\u304C\u5FC5\u8981\u3067\u3059\u3002\n%5\n%6 ++ParseException.badRepIDPrefix=%0 (\u884C%1): \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9%2\u306B\u306F\u3001'%4'\u3067\u306F\u306A\u304F\u30EA\u30DD\u30B8\u30C8\u30EAID\u63A5\u982D\u8F9E`%3'\u304C\u5FC5\u8981\u3067\u3059\u3002\n%5\n%6 + ParseException.badState=%0 (\u884C%1): %2\u306F\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u8907\u6570\u306E\u30B9\u30C6\u30FC\u30C8\u30D5\u30EB\u89AA\u304C\u3042\u308A\u307E\u3059\u3002\n%3\n%4 + ParseException.branchLabel=%0 (\u884C%1): case %2\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4 + ParseException.branchName=%0 (\u884C%1): %2\u3068\u3044\u3046\u540D\u524D\u306E\u5206\u5C90\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002\n%3\n%4 +--- corba/src/share/classes/javax/rmi/CORBA/Stub.java 2013-09-06 11:20:53.000000000 -0700 ++++ corba/src/share/classes/javax/rmi/CORBA/Stub.java 2014-01-18 12:16:06.000000000 -0800 +@@ -61,13 +61,11 @@ + private transient StubDelegate stubDelegate = null; + private static Class stubDelegateClass = null; + private static final String StubClassKey = "javax.rmi.CORBA.StubClass"; +- private static final String defaultStubImplName = "com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl"; - /** -- * Creates the correct ValueHandler for the given ORB, -- * querying ORBVersion information. If the ORB or -- * ORBVersion is null, gets the ValueHandler from -- * Util.createValueHandler. -+ * Return default ValueHandler - */ -- public static ValueHandler createValueHandler(ORB orb) { -- -- if (orb == null) -- return Util.createValueHandler(); -- -- ORBVersion version = orb.getORBVersion(); -- -- if (version == null) -- return Util.createValueHandler(); -- -- if (version.equals(ORBVersionFactory.getOLD())) -- return new ValueHandlerImpl_1_3(); -- if (version.equals(ORBVersionFactory.getNEW())) -- return new ValueHandlerImpl_1_3_1(); + static { +- Object stubDelegateInstance = (Object) createDelegateIfSpecified(StubClassKey, defaultStubImplName); ++ Object stubDelegateInstance = createDelegate(StubClassKey); + if (stubDelegateInstance != null) + stubDelegateClass = stubDelegateInstance.getClass(); - -+ public static ValueHandler createValueHandler() { - return Util.createValueHandler(); } - /** -- * Returns true if the given ORB could accurately be determined to be a -- * Kestrel or earlier ORB. Note: If passed the ORBSingleton, this will return -- * false. -- */ -- public static boolean isLegacyORB(ORB orb) -- { -- try { -- ORBVersion currentORB = orb.getORBVersion(); -- return currentORB.equals( ORBVersionFactory.getOLD() ) ; -- } catch (SecurityException se) { -- return false; -- } -- } -- -- /** - * Returns true if it was accurately determined that the remote ORB is - * a foreign (non-JavaSoft) ORB. Note: If passed the ORBSingleton, this - * will return false. -@@ -294,8 +264,8 @@ - { - try { - String name = classNameOf(strm.read_string()); -- SystemException ex -- = (SystemException)ORBClassLoader.loadClass(name).newInstance(); -+ SystemException ex = (SystemException)SharedSecrets. -+ getJavaCorbaAccess().loadClass(name).newInstance(); - ex.minor = strm.read_long(); - ex.completed = CompletionStatus.from_int(strm.read_long()); - return ex; ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java 2012-08-10 09:10:33.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java 2013-03-09 18:08:34.000000000 -0800 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2001, 2012, 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 -@@ -1119,8 +1119,8 @@ - private boolean hasExternalizableBlockData; - Method writeObjectMethod; - Method readObjectMethod; -- private Method writeReplaceObjectMethod; -- private Method readResolveObjectMethod; -+ private transient Method writeReplaceObjectMethod; -+ private transient Method readResolveObjectMethod; - /* - * ObjectStreamClass_1_3_1 that this one was built from. ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3.java 2012-08-10 09:10:33.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,177 +0,0 @@ --/* -- * Copyright (c) 2000, 2004, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import org.omg.CORBA.ORB; --import java.io.Serializable; --import java.util.Hashtable; --import java.net.MalformedURLException; --import com.sun.corba.se.impl.io.TypeMismatchException; --import com.sun.corba.se.impl.util.RepositoryId; -- --/** -- * Delegates to the RepositoryId_1_3 implementation in -- * com.sun.corba.se.impl.orbutil. This is necessary to -- * overcome the fact that many of RepositoryId's methods -- * are static. -- */ --public final class RepIdDelegator_1_3 -- implements RepositoryIdStrings, -- RepositoryIdUtility, -- RepositoryIdInterface --{ -- // RepositoryIdFactory methods -- -- public String createForAnyType(Class type) { -- return RepositoryId_1_3.createForAnyType(type); -- } -- -- public String createForJavaType(Serializable ser) -- throws TypeMismatchException -- { -- return RepositoryId_1_3.createForJavaType(ser); -- } -- -- public String createForJavaType(Class clz) -- throws TypeMismatchException -- { -- return RepositoryId_1_3.createForJavaType(clz); -- } -- -- public String createSequenceRepID(java.lang.Object ser) { -- return RepositoryId_1_3.createSequenceRepID(ser); -- } -- -- public String createSequenceRepID(Class clazz) { -- return RepositoryId_1_3.createSequenceRepID(clazz); -- } -- -- public RepositoryIdInterface getFromString(String repIdString) { -- return new RepIdDelegator_1_3(RepositoryId_1_3.cache.getId(repIdString)); -- } -- -- // RepositoryIdUtility methods -- -- public boolean isChunkedEncoding(int valueTag) { -- return RepositoryId.isChunkedEncoding(valueTag); -- } -- -- public boolean isCodeBasePresent(int valueTag) { -- return RepositoryId.isCodeBasePresent(valueTag); -- } -- -- public String getClassDescValueRepId() { -- return RepositoryId_1_3.kClassDescValueRepID; -- } -- -- public String getWStringValueRepId() { -- return RepositoryId_1_3.kWStringValueRepID; -- } -- -- public int getTypeInfo(int valueTag) { -- return RepositoryId.getTypeInfo(valueTag); -- } -- -- public int getStandardRMIChunkedNoRepStrId() { -- return RepositoryId.kPreComputed_StandardRMIChunked_NoRep; -- } -- -- public int getCodeBaseRMIChunkedNoRepStrId() { -- return RepositoryId.kPreComputed_CodeBaseRMIChunked_NoRep; -- } -- -- public int getStandardRMIChunkedId() { -- return RepositoryId.kPreComputed_StandardRMIChunked; -- } -- -- public int getCodeBaseRMIChunkedId() { -- return RepositoryId.kPreComputed_CodeBaseRMIChunked; -- } -- -- public int getStandardRMIUnchunkedId() { -- return RepositoryId.kPreComputed_StandardRMIUnchunked; -- } -- -- public int getCodeBaseRMIUnchunkedId() { -- return RepositoryId.kPreComputed_CodeBaseRMIUnchunked; -- } -- -- public int getStandardRMIUnchunkedNoRepStrId() { -- return RepositoryId.kPreComputed_StandardRMIUnchunked_NoRep; -- } -- -- public int getCodeBaseRMIUnchunkedNoRepStrId() { -- return RepositoryId.kPreComputed_CodeBaseRMIUnchunked_NoRep; -- } -- -- // RepositoryIdInterface methods -- -- public Class getClassFromType() throws ClassNotFoundException { -- return delegate.getClassFromType(); -- } -- -- public Class getClassFromType(String codebaseURL) -- throws ClassNotFoundException, MalformedURLException -- { -- return delegate.getClassFromType(codebaseURL); -- } -- -- public Class getClassFromType(Class expectedType, -- String codebaseURL) -- throws ClassNotFoundException, MalformedURLException -- { -- return delegate.getClassFromType(expectedType, codebaseURL); -- } -- -- public String getClassName() { -- return delegate.getClassName(); -- } -- -- // Constructor used for factory/utility cases -- public RepIdDelegator_1_3() {} -- -- // Constructor used by getIdFromString. All non-static -- // RepositoryId methods will use the provided delegate. -- private RepIdDelegator_1_3(RepositoryId_1_3 _delegate) { -- this.delegate = _delegate; -- } -- -- private RepositoryId_1_3 delegate = null; -- -- public String toString() { -- if (delegate != null) -- return delegate.toString(); -- else -- return this.getClass().getName(); -- } -- -- public boolean equals(Object obj) { -- if (delegate != null) -- return delegate.equals(obj); -- else -- return super.equals(obj); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3_1.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,177 +0,0 @@ --/* -- * Copyright (c) 2001, 2004, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import org.omg.CORBA.ORB; --import java.io.Serializable; --import java.util.Hashtable; --import java.net.MalformedURLException; --import com.sun.corba.se.impl.io.TypeMismatchException; --import com.sun.corba.se.impl.util.RepositoryId; -- --/** -- * Delegates to the RepositoryId_1_3_1 implementation in -- * com.sun.corba.se.impl.orbutil. This is necessary to -- * overcome the fact that many of RepositoryId's methods -- * are static. -- */ --public final class RepIdDelegator_1_3_1 -- implements RepositoryIdStrings, -- RepositoryIdUtility, -- RepositoryIdInterface --{ -- // RepositoryIdFactory methods -- -- public String createForAnyType(Class type) { -- return RepositoryId_1_3_1.createForAnyType(type); -- } -- -- public String createForJavaType(Serializable ser) -- throws TypeMismatchException -- { -- return RepositoryId_1_3_1.createForJavaType(ser); -- } -- -- public String createForJavaType(Class clz) -- throws TypeMismatchException -- { -- return RepositoryId_1_3_1.createForJavaType(clz); -- } -- -- public String createSequenceRepID(java.lang.Object ser) { -- return RepositoryId_1_3_1.createSequenceRepID(ser); -- } -- -- public String createSequenceRepID(Class clazz) { -- return RepositoryId_1_3_1.createSequenceRepID(clazz); -- } -- -- public RepositoryIdInterface getFromString(String repIdString) { -- return new RepIdDelegator_1_3_1(RepositoryId_1_3_1.cache.getId(repIdString)); -- } -- -- // RepositoryIdUtility methods -- -- public boolean isChunkedEncoding(int valueTag) { -- return RepositoryId.isChunkedEncoding(valueTag); -- } -- -- public boolean isCodeBasePresent(int valueTag) { -- return RepositoryId.isCodeBasePresent(valueTag); -- } -- -- public String getClassDescValueRepId() { -- return RepositoryId_1_3_1.kClassDescValueRepID; -- } -- -- public String getWStringValueRepId() { -- return RepositoryId_1_3_1.kWStringValueRepID; -- } -- -- public int getTypeInfo(int valueTag) { -- return RepositoryId.getTypeInfo(valueTag); -- } -- -- public int getStandardRMIChunkedNoRepStrId() { -- return RepositoryId.kPreComputed_StandardRMIChunked_NoRep; -- } -- -- public int getCodeBaseRMIChunkedNoRepStrId() { -- return RepositoryId.kPreComputed_CodeBaseRMIChunked_NoRep; -- } -- -- public int getStandardRMIChunkedId() { -- return RepositoryId.kPreComputed_StandardRMIChunked; -- } -- -- public int getCodeBaseRMIChunkedId() { -- return RepositoryId.kPreComputed_CodeBaseRMIChunked; -- } -- -- public int getStandardRMIUnchunkedId() { -- return RepositoryId.kPreComputed_StandardRMIUnchunked; -- } -- -- public int getCodeBaseRMIUnchunkedId() { -- return RepositoryId.kPreComputed_CodeBaseRMIUnchunked; -- } -- -- public int getStandardRMIUnchunkedNoRepStrId() { -- return RepositoryId.kPreComputed_StandardRMIUnchunked_NoRep; -- } -- -- public int getCodeBaseRMIUnchunkedNoRepStrId() { -- return RepositoryId.kPreComputed_CodeBaseRMIUnchunked_NoRep; -- } -- -- // RepositoryIdInterface methods -- -- public Class getClassFromType() throws ClassNotFoundException { -- return delegate.getClassFromType(); -- } -- -- public Class getClassFromType(String codebaseURL) -- throws ClassNotFoundException, MalformedURLException -- { -- return delegate.getClassFromType(codebaseURL); -- } -- -- public Class getClassFromType(Class expectedType, -- String codebaseURL) -- throws ClassNotFoundException, MalformedURLException -- { -- return delegate.getClassFromType(expectedType, codebaseURL); -- } -- -- public String getClassName() { -- return delegate.getClassName(); -- } -- -- // Constructor used for factory/utility cases -- public RepIdDelegator_1_3_1() {} -- -- // Constructor used by getIdFromString. All non-static -- // RepositoryId methods will use the provided delegate. -- private RepIdDelegator_1_3_1(RepositoryId_1_3_1 _delegate) { -- this.delegate = _delegate; -- } -- -- private RepositoryId_1_3_1 delegate = null; -- -- public String toString() { -- if (delegate != null) -- return delegate.toString(); -- else -- return this.getClass().getName(); -- } -- -- public boolean equals(Object obj) { -- if (delegate != null) -- return delegate.equals(obj); -- else -- return super.equals(obj); -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,108 +0,0 @@ --/* -- * Copyright (c) 2000, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --/* -- * Licensed Materials - Property of IBM -- * RMI-IIOP v1.0 -- * Copyright IBM Corp. 1998 1999 All Rights Reserved -- * -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import java.util.Stack; --import java.util.Hashtable; --import java.util.EmptyStackException; --import java.util.Enumeration; -- --// Really limited pool - in this case just creating several at a time... --class RepositoryIdPool_1_3 extends Stack { -- -- private static int MAX_CACHE_SIZE = 4; -- private RepositoryIdCache_1_3 cache; -- -- public final synchronized RepositoryId_1_3 popId() { -- -- try { -- return (RepositoryId_1_3)super.pop(); -- } -- catch(EmptyStackException e) { -- increasePool(5); -- return (RepositoryId_1_3)super.pop(); -- } -- -- } -- -- // Pool management -- final void increasePool(int size) { -- //if (cache.size() <= MAX_CACHE_SIZE) -- for (int i = size; i > 0; i--) -- push(new RepositoryId_1_3()); -- /* -- // _REVISIT_ This will not work w/out either thread tracing or weak references. I am -- // betting that thread tracing almost completely negates benefit of reuse. Until either -- // 1.2 only inclusion or proof to the contrary, I'll leave it this way... -- else { -- int numToReclaim = cache.size() / 2; -- Enumeration keys = cache.keys(); -- Enumeration elements = cache.elements(); -- for (int i = numToReclaim; i > 0; i--) { -- Object key = keys.nextElement(); -- Object element = elements.nextElement(); -- -- push(element); -- cache.remove(key); -- } -- } -- */ -- } -- -- final void setCaches(RepositoryIdCache_1_3 cache) { -- this.cache = cache; -- } -- --} -- --public class RepositoryIdCache_1_3 extends Hashtable { -- -- private RepositoryIdPool_1_3 pool = new RepositoryIdPool_1_3(); -- -- public RepositoryIdCache_1_3() { -- pool.setCaches(this); -- } -- -- public final synchronized RepositoryId_1_3 getId(String key) { -- RepositoryId_1_3 repId = (RepositoryId_1_3)super.get(key); -- -- if (repId != null) -- return repId; -- else { -- //repId = pool.popId().init(key); -- repId = new RepositoryId_1_3(key); -- put(key, repId); -- return repId; -- } -- -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3_1.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,102 +0,0 @@ --/* -- * Copyright (c) 2001, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import java.util.Stack; --import java.util.Hashtable; --import java.util.EmptyStackException; --import java.util.Enumeration; -- --// Really limited pool - in this case just creating several at a time... --class RepositoryIdPool_1_3_1 extends Stack { -- -- private static int MAX_CACHE_SIZE = 4; -- private RepositoryIdCache_1_3_1 cache; -- -- public final synchronized RepositoryId_1_3_1 popId() { -- -- try { -- return (RepositoryId_1_3_1)super.pop(); -- } -- catch(EmptyStackException e) { -- increasePool(5); -- return (RepositoryId_1_3_1)super.pop(); -- } -- -- } -- -- // Pool management -- final void increasePool(int size) { -- //if (cache.size() <= MAX_CACHE_SIZE) -- for (int i = size; i > 0; i--) -- push(new RepositoryId_1_3_1()); -- /* -- // _REVISIT_ This will not work w/out either thread tracing or weak references. I am -- // betting that thread tracing almost completely negates benefit of reuse. Until either -- // 1.2 only inclusion or proof to the contrary, I'll leave it this way... -- else { -- int numToReclaim = cache.size() / 2; -- Enumeration keys = cache.keys(); -- Enumeration elements = cache.elements(); -- for (int i = numToReclaim; i > 0; i--) { -- Object key = keys.nextElement(); -- Object element = elements.nextElement(); -- -- push(element); -- cache.remove(key); -- } -- } -- */ -- } -- -- final void setCaches(RepositoryIdCache_1_3_1 cache) { -- this.cache = cache; -- } -- --} -- --public class RepositoryIdCache_1_3_1 extends Hashtable { -- -- private RepositoryIdPool_1_3_1 pool = new RepositoryIdPool_1_3_1(); -- -- public RepositoryIdCache_1_3_1() { -- pool.setCaches(this); -- } -- -- public final synchronized RepositoryId_1_3_1 getId(String key) { -- RepositoryId_1_3_1 repId = (RepositoryId_1_3_1)super.get(key); -- -- if (repId != null) -- return repId; -- else { -- //repId = pool.popId().init(key); -- repId = new RepositoryId_1_3_1(key); -- put(key, repId); -- return repId; -- } -- -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdFactory.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryIdFactory.java 2013-03-09 18:08:34.000000000 -0800 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 2012, 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 -@@ -30,12 +30,6 @@ +@@ -207,7 +205,7 @@ + // are in different packages and the visibility needs to be package for + // security reasons. If you know a better solution how to share this code + // then remove it from PortableRemoteObject. Also in Util.java +- private static Object createDelegateIfSpecified(String classKey, String defaultClassName) { ++ private static Object createDelegate(String classKey) { + String className = (String) + AccessController.doPrivileged(new GetPropertyAction(classKey)); + if (className == null) { +@@ -218,7 +216,7 @@ + } - public abstract class RepositoryIdFactory - { -- private static final RepIdDelegator_1_3 legacyDelegator -- = new RepIdDelegator_1_3(); -- -- private static final RepIdDelegator_1_3_1 ladybirdDelegator -- = new RepIdDelegator_1_3_1(); -- - private static final RepIdDelegator currentDelegator - = new RepIdDelegator(); + if (className == null) { +- className = defaultClassName; ++ return new com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl(); + } -@@ -48,29 +42,6 @@ - } + try { +--- corba/src/share/classes/javax/rmi/CORBA/Util.java 2013-09-06 11:20:53.000000000 -0700 ++++ corba/src/share/classes/javax/rmi/CORBA/Util.java 2014-01-18 12:16:06.000000000 -0800 +@@ -60,14 +60,11 @@ + public class Util { + + // This can only be set at static initialization time (no sync necessary). +- private static javax.rmi.CORBA.UtilDelegate utilDelegate = null; ++ private static final javax.rmi.CORBA.UtilDelegate utilDelegate; + private static final String UtilClassKey = "javax.rmi.CORBA.UtilClass"; +- private static final String defaultUtilImplName = +-"com.sun.corba.se.impl.javax.rmi.CORBA.Util"; - /** -- * Checks the version of the ORB and returns the appropriate -- * RepositoryIdStrings instance. -- */ -- public static RepositoryIdStrings getRepIdStringsFactory(ORB orb) -- { -- if (orb != null) { -- switch (orb.getORBVersion().getORBType()) { -- case ORBVersion.NEWER: -- case ORBVersion.FOREIGN: -- case ORBVersion.JDK1_3_1_01: -- return currentDelegator; -- case ORBVersion.OLD: -- return legacyDelegator; -- case ORBVersion.NEW: -- return ladybirdDelegator; -- default: -- return currentDelegator; -- } -- } else -- return currentDelegator; -- } -- -- /** - * Returns the latest version RepositoryIdUtility instance - */ - public static RepositoryIdUtility getRepIdUtility() -@@ -78,26 +49,4 @@ - return currentDelegator; + static { +- utilDelegate = (javax.rmi.CORBA.UtilDelegate) +- createDelegateIfSpecified(UtilClassKey, defaultUtilImplName); ++ utilDelegate = (javax.rmi.CORBA.UtilDelegate)createDelegate(UtilClassKey); } -- /** -- * Checks the version of the ORB and returns the appropriate -- * RepositoryIdUtility instance. -- */ -- public static RepositoryIdUtility getRepIdUtility(ORB orb) -- { -- if (orb != null) { -- switch (orb.getORBVersion().getORBType()) { -- case ORBVersion.NEWER: -- case ORBVersion.FOREIGN: -- case ORBVersion.JDK1_3_1_01: -- return currentDelegator; -- case ORBVersion.OLD: -- return legacyDelegator; -- case ORBVersion.NEW: -- return ladybirdDelegator; -- default: -- return currentDelegator; -- } -- } else -- return currentDelegator; -- } - } ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,990 +0,0 @@ --/* -- * Copyright (c) 2000, 2012, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --/* -- * Licensed Materials - Property of IBM -- * RMI-IIOP v1.0 -- * Copyright IBM Corp. 1998 1999 All Rights Reserved -- * -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import java.util.StringTokenizer; --import java.util.Hashtable; --import java.io.IOException; --import java.lang.reflect.Method; -- --// Imports for using codebase URL to load class --import java.net.MalformedURLException; --import org.omg.CORBA.portable.ValueBase; --import org.omg.CORBA.portable.IDLEntity; -- --import com.sun.corba.se.impl.util.JDKBridge; --import com.sun.corba.se.impl.util.Utility; --import com.sun.corba.se.impl.util.PackagePrefixChecker; --import com.sun.corba.se.impl.util.IdentityHashtable; --import com.sun.corba.se.impl.io.ObjectStreamClass; -- --import javax.rmi.CORBA.Util; -- --// keeping the original RepositoryId class that was shipped in --// JDK 1.3. It has interoperability bugs -- --public class RepositoryId_1_3 { -- -- // Legal IDL Identifier characters (1 = legal). Note -- // that '.' (2E) is marked as legal even though it is -- // not legal in IDL. This allows us to treat a fully -- // qualified Java name with '.' package separators -- // uniformly, and is safe because that is the only -- // legal use of '.' in a Java name. -- -- public static final RepositoryIdCache_1_3 cache = new RepositoryIdCache_1_3(); -- private static final byte[] IDL_IDENTIFIER_CHARS = { -- -- // 0 1 2 3 4 5 6 7 8 9 a b c d e f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 00-0f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 10-1f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,1,0, // 20-2f -- 1,1,1,1, 1,1,1,1, 1,1,0,0, 0,0,0,0, // 30-3f -- 0,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // 40-4f -- 1,1,1,1, 1,1,1,1, 1,1,1,0, 0,0,0,1, // 50-5f -- 0,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // 60-6f -- 1,1,1,1, 1,1,1,1, 1,1,1,0, 0,0,0,0, // 70-7f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 80-8f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 90-9f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // a0-af -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // b0-bf -- 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // c0-cf -- 0,1,1,1, 1,1,1,0, 1,1,1,1, 1,0,0,1, // d0-df -- 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // e0-ef -- 0,1,1,1, 1,1,1,0, 1,1,1,1, 1,0,0,1, // f0-ff -- }; -- -- private static String defaultServerURL = null; -- private static boolean useCodebaseOnly = false; -- -- static { -- if (defaultServerURL == null) -- defaultServerURL = (String)JDKBridge.getLocalCodebase(); -- useCodebaseOnly = JDKBridge.useCodebaseOnly(); -- -- } -- -- private static IdentityHashtable classToRepStr = new IdentityHashtable(); -- private static IdentityHashtable classIDLToRepStr = new IdentityHashtable(); -- private static IdentityHashtable classSeqToRepStr = new IdentityHashtable(); -- -- private static IdentityHashtable repStrToByteArray = new IdentityHashtable(); -- private static Hashtable repStrToClass = new Hashtable(); -- -- private String repId = null; -- private boolean isSupportedFormat = true; -- private String typeString = null; -- private String versionString = null; -- private boolean isSequence = false; -- private boolean isRMIValueType = false; -- private boolean isIDLType = false; -- private String completeClassName = null; -- private String unqualifiedName = null; -- private String definedInId = null; -- private Class clazz = null; -- private String suid = null, actualSuid = null; -- private long suidLong = ObjectStreamClass.kDefaultUID, actualSuidLong = ObjectStreamClass.kDefaultUID; -- -- // Repository ID fragments -- private static final String kValuePrefix = "RMI:"; -- private static final String kIDLPrefix = "IDL:"; -- private static final String kIDLNamePrefix = "omg.org/"; -- private static final String kIDLClassnamePrefix = "org.omg."; -- private static final String kSequencePrefix = "["; -- private static final String kCORBAPrefix = "CORBA/"; -- private static final String kArrayPrefix = kValuePrefix + kSequencePrefix + kCORBAPrefix; -- private static final int kValuePrefixLength = kValuePrefix.length(); -- private static final int kIDLPrefixLength = kIDLPrefix.length(); -- private static final int kSequencePrefixLength = kSequencePrefix.length(); -- private static final String kInterfaceHashCode = ":0000000000000000"; -- private static final String kInterfaceOnlyHashStr = "0000000000000000"; -- private static final String kExternalizableHashStr = "0000000000000001"; -- -- // Value tag utility methods and constants -- public static final int kInitialValueTag= 0x7fffff00; -- public static final int kNoTypeInfo = 0; -- public static final int kSingleRepTypeInfo = 0x02; -- public static final int kPartialListTypeInfo = 0x06; -- public static final int kChunkedMask = 0x08; -- -- // Public, well known repository IDs -- -- // _REVISIT_ : A table structure with a good search routine for all of this -- // would be more efficient and easier to maintain... -- -- // String -- public static final String kWStringValueVersion = "1.0"; -- public static final String kWStringValueHash = ":"+kWStringValueVersion; -- public static final String kWStringStubValue = "WStringValue"; -- public static final String kWStringTypeStr = "omg.org/CORBA/"+kWStringStubValue; -- public static final String kWStringValueRepID = kIDLPrefix + kWStringTypeStr + kWStringValueHash; -- -- // Any -- public static final String kAnyRepID = kIDLPrefix + "omg.org/CORBA/Any"; -- -- // Class -- public static final String kClassDescValueHash = ":" + Long.toHexString( -- ObjectStreamClass.getSerialVersionUID(javax.rmi.CORBA.ClassDesc.class)); -- public static final String kClassDescStubValue = "ClassDesc"; -- public static final String kClassDescTypeStr = "javax.rmi.CORBA."+kClassDescStubValue; -- public static final String kClassDescValueRepID = kValuePrefix + kClassDescTypeStr + kClassDescValueHash; -- -- // Object -- public static final String kObjectValueHash = ":1.0"; -- public static final String kObjectStubValue = "Object"; -- -- // Sequence -- public static final String kSequenceValueHash = ":1.0"; -- public static final String kPrimitiveSequenceValueHash = ":0000000000000000"; -- -- // Serializable -- public static final String kSerializableValueHash = ":1.0"; -- public static final String kSerializableStubValue = "Serializable"; -- -- // Externalizable -- public static final String kExternalizableValueHash = ":1.0"; -- public static final String kExternalizableStubValue = "Externalizable"; -- -- // Remote (The empty string is used for java.rmi.Remote) -- public static final String kRemoteValueHash = ""; -- public static final String kRemoteStubValue = ""; -- public static final String kRemoteTypeStr = ""; -- public static final String kRemoteValueRepID = ""; -- -- private static final Hashtable kSpecialArrayTypeStrings = new Hashtable(); -- -- static { -- kSpecialArrayTypeStrings.put("CORBA.WStringValue", new StringBuffer(java.lang.String.class.getName())); -- kSpecialArrayTypeStrings.put("javax.rmi.CORBA.ClassDesc", new StringBuffer(java.lang.Class.class.getName())); -- kSpecialArrayTypeStrings.put("CORBA.Object", new StringBuffer(java.rmi.Remote.class.getName())); -- -- } -- -- private static final Hashtable kSpecialCasesRepIDs = new Hashtable(); -- -- static { -- kSpecialCasesRepIDs.put(java.lang.String.class, kWStringValueRepID); -- kSpecialCasesRepIDs.put(java.lang.Class.class, kClassDescValueRepID); -- kSpecialCasesRepIDs.put(java.rmi.Remote.class, kRemoteValueRepID); -- } -- -- private static final Hashtable kSpecialCasesStubValues = new Hashtable(); -- -- static { -- kSpecialCasesStubValues.put(java.lang.String.class, kWStringStubValue); -- kSpecialCasesStubValues.put(java.lang.Class.class, kClassDescStubValue); -- kSpecialCasesStubValues.put(java.lang.Object.class, kObjectStubValue); -- kSpecialCasesStubValues.put(java.io.Serializable.class, kSerializableStubValue); -- kSpecialCasesStubValues.put(java.io.Externalizable.class, kExternalizableStubValue); -- kSpecialCasesStubValues.put(java.rmi.Remote.class, kRemoteStubValue); -- } -- -- -- private static final Hashtable kSpecialCasesVersions = new Hashtable(); -- -- static { -- kSpecialCasesVersions.put(java.lang.String.class, kWStringValueHash); -- kSpecialCasesVersions.put(java.lang.Class.class, kClassDescValueHash); -- kSpecialCasesVersions.put(java.lang.Object.class, kObjectValueHash); -- kSpecialCasesVersions.put(java.io.Serializable.class, kSerializableValueHash); -- kSpecialCasesVersions.put(java.io.Externalizable.class, kExternalizableValueHash); -- kSpecialCasesVersions.put(java.rmi.Remote.class, kRemoteValueHash); -- } -- -- private static final Hashtable kSpecialCasesClasses = new Hashtable(); -- -- static { -- kSpecialCasesClasses.put(kWStringTypeStr, java.lang.String.class); -- kSpecialCasesClasses.put(kClassDescTypeStr, java.lang.Class.class); -- kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class); -- -- kSpecialCasesClasses.put("org.omg.CORBA.WStringValue", java.lang.String.class); -- kSpecialCasesClasses.put("javax.rmi.CORBA.ClassDesc", java.lang.Class.class); -- //kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class); -- } -- -- private static final Hashtable kSpecialCasesArrayPrefix = new Hashtable(); -- -- static { -- kSpecialCasesArrayPrefix.put(java.lang.String.class, kValuePrefix + kSequencePrefix + kCORBAPrefix); -- kSpecialCasesArrayPrefix.put(java.lang.Class.class, kValuePrefix + kSequencePrefix + "javax/rmi/CORBA/"); -- kSpecialCasesArrayPrefix.put(java.lang.Object.class, kValuePrefix + kSequencePrefix + "java/lang/"); -- kSpecialCasesArrayPrefix.put(java.io.Serializable.class, kValuePrefix + kSequencePrefix + "java/io/"); -- kSpecialCasesArrayPrefix.put(java.io.Externalizable.class, kValuePrefix + kSequencePrefix + "java/io/"); -- kSpecialCasesArrayPrefix.put(java.rmi.Remote.class, kValuePrefix + kSequencePrefix + kCORBAPrefix); -- } -- -- private static final Hashtable kSpecialPrimitives = new Hashtable(); -- -- static { -- kSpecialPrimitives.put("int","long"); -- kSpecialPrimitives.put("long","longlong"); -- kSpecialPrimitives.put("byte","octet"); -- } -- -- /** -- * Used to convert ascii to hex. -- */ -- private static final byte ASCII_HEX[] = { -- (byte)'0', -- (byte)'1', -- (byte)'2', -- (byte)'3', -- (byte)'4', -- (byte)'5', -- (byte)'6', -- (byte)'7', -- (byte)'8', -- (byte)'9', -- (byte)'A', -- (byte)'B', -- (byte)'C', -- (byte)'D', -- (byte)'E', -- (byte)'F', -- }; -- -- -- // Interface Rep ID Strings -- public static final String kjava_rmi_Remote = createForAnyType(java.rmi.Remote.class); -- public static final String korg_omg_CORBA_Object = createForAnyType(org.omg.CORBA.Object.class); -- -- // Dummy arguments for getIdFromHelper method -- public static final Class kNoParamTypes[] ={}; -- public static final Object kNoArgs[] = {}; -- -- -- RepositoryId_1_3(){} -- -- RepositoryId_1_3(String aRepId){ -- init(aRepId); -- } -- -- RepositoryId_1_3 init(String aRepId){ -- -- this.repId = aRepId; -- -- // Special case for remote -- if (aRepId.length() == 0) { -- clazz = java.rmi.Remote.class; -- typeString = ""; -- isRMIValueType = true; -- suid = kInterfaceOnlyHashStr; -- return this; -- } -- else if (aRepId.equals(kWStringValueRepID)) { -- clazz = java.lang.String.class; -- typeString = kWStringTypeStr; -- isIDLType = true; -- versionString = kWStringValueVersion; -- return this; -- } -- else { -- -- String repId = convertFromISOLatin1(aRepId); -- -- versionString = repId.substring(repId.indexOf(':', repId.indexOf(':')+1)); -- if (repId.startsWith(kIDLPrefix)) { -- typeString = -- repId.substring(kIDLPrefixLength, repId.indexOf(':', kIDLPrefixLength)); -- isIDLType = true; -- if (typeString.startsWith(kIDLNamePrefix)) -- completeClassName = kIDLClassnamePrefix + -- typeString.substring(kIDLNamePrefix.length()).replace('/','.'); -- else completeClassName = typeString.replace('/','.'); -- -- } -- else if (repId.startsWith(kValuePrefix)) { -- typeString = -- repId.substring(kValuePrefixLength, repId.indexOf(':', kValuePrefixLength)); -- isRMIValueType = true; -- -- if (versionString.indexOf('.') == -1) { -- actualSuid = versionString.substring(1); -- suid = actualSuid; // default if not explicitly specified -- -- if (actualSuid.indexOf(':') != -1){ -- // we have a declared hash also -- int pos = actualSuid.indexOf(':')+1; -- // actualSuid = suid.substring(pos); -- // suid = suid.substring(0, pos-1); -- suid = actualSuid.substring(pos); -- actualSuid = actualSuid.substring(0, pos-1); -- } -- -- } -- else { -- // _REVISIT_ : Special case version failure ? -- } -- } -- else isSupportedFormat = false; -- -- if (typeString.startsWith(kSequencePrefix)) { -- isSequence = true; -- } -- -- -- return this; -- } -- } -- -- public final String getUnqualifiedName() { -- if (unqualifiedName == null){ -- String className = getClassName(); -- int index = (className != null) ? className.lastIndexOf('.') : -1; -- if (index == -1){ -- unqualifiedName = className; -- definedInId = "IDL::1.0"; -- } -- else { -- unqualifiedName = className.substring(index); -- definedInId = "IDL:" + className.substring(0, index).replace('.','/') + ":1.0"; -- } -- } -- -- return unqualifiedName; -- } -- -- public final String getDefinedInId() { -- if (definedInId == null){ -- getUnqualifiedName(); -- } -- -- return definedInId; -- } -- -- public final String getTypeString() { -- return typeString; -- } -- -- public final String getVersionString() { -- return versionString; -- } -- -- public final String getSerialVersionUID() { -- return suid; -- } -- -- public final String getActualSerialVersionUID() { -- return actualSuid; -- } -- public final long getSerialVersionUIDAsLong() { -- return suidLong; -- } -- -- public final long getActualSerialVersionUIDAsLong() { -- return actualSuidLong; -- } -- -- public final boolean isRMIValueType() { -- return isRMIValueType; -- } -- -- public final boolean isIDLType() { -- return isIDLType; -- } -- -- public final String getRepositoryId() { -- return repId; -- } -- -- public static byte[] getByteArray(String repStr) { -- synchronized (repStrToByteArray){ -- return (byte[]) repStrToByteArray.get(repStr); -- } -- } -- -- public static void setByteArray(String repStr, byte[] repStrBytes) { -- synchronized (repStrToByteArray){ -- repStrToByteArray.put(repStr, repStrBytes); -- } -- } -- -- public final boolean isSequence() { -- return isSequence; -- } -- -- public final boolean isSupportedFormat() { -- return isSupportedFormat; -- } -- -- -- // This method will return the classname from the typestring OR if the classname turns out to be -- // a special class "pseudo" name, then the matching real classname is returned. -- public final String getClassName() { -- -- if (isRMIValueType) -- return typeString; -- else if (isIDLType) -- return completeClassName; -- else return null; -- -- } -- -- // This method calls getClazzFromType() and falls back to the repStrToClass -- // cache if no class was found. It's used where any class matching the -- // given repid is an acceptable result. -- public final Class getAnyClassFromType() throws ClassNotFoundException { -- try { -- return getClassFromType(); -- } catch (ClassNotFoundException cnfe) { -- Class clz = (Class)repStrToClass.get(repId); -- if (clz != null) -- return clz; -- else -- throw cnfe; -- } -- } -- -- public final Class getClassFromType() -- throws ClassNotFoundException { -- if (clazz != null) -- return clazz; -- -- Class specialCase = (Class)kSpecialCasesClasses.get(getClassName()); -- -- if (specialCase != null){ -- clazz = specialCase; -- return specialCase; -- } -- else -- { -- try{ -- return Util.loadClass(getClassName(), null, null); -- } -- catch(ClassNotFoundException cnfe){ -- if (defaultServerURL != null) { -- try{ -- return getClassFromType(defaultServerURL); -- } -- catch(MalformedURLException mue){ -- throw cnfe; -- } -- } -- else throw cnfe; -- } -- } -- -- } -- -- public final Class getClassFromType(Class expectedType, String codebase) -- throws ClassNotFoundException { -- if (clazz != null) -- return clazz; -- -- Class specialCase = (Class)kSpecialCasesClasses.get(getClassName()); -- -- if (specialCase != null){ -- clazz = specialCase; -- return specialCase; -- } else { -- ClassLoader expectedTypeClassLoader = (expectedType == null ? null : expectedType.getClassLoader()); -- return loadClassOfType(getClassName(), -- codebase, -- expectedTypeClassLoader, -- expectedType, -- expectedTypeClassLoader); -- } -- -- } -- -- public final Class getClassFromType(String url) -- throws ClassNotFoundException, MalformedURLException { -- return Util.loadClass(getClassName(), url, null); -- } -- -- public final String toString() { -- return repId; -- } -- -- private static String createHashString(java.io.Serializable ser) { -- -- return createHashString(ser.getClass()); -- } -- -- private static String createHashString(java.lang.Class clazz) { -- -- if (clazz.isInterface() || !java.io.Serializable.class.isAssignableFrom(clazz)) -- return kInterfaceHashCode; -- -- -- long actualLong = ObjectStreamClassUtil_1_3.computeStructuralUID(false, clazz); -- String hash = null; -- if (actualLong == 0) -- hash = kInterfaceOnlyHashStr; -- else if (actualLong == 1) -- hash = kExternalizableHashStr; -- else -- hash = Long.toHexString(actualLong).toUpperCase(); -- while(hash.length() < 16){ -- hash = "0" + hash; -- } -- -- long declaredLong = ObjectStreamClassUtil_1_3.computeSerialVersionUID(clazz); -- String declared = null; -- if (declaredLong == 0) -- declared = kInterfaceOnlyHashStr; -- else if (declaredLong == 1) -- declared = kExternalizableHashStr; -- else -- declared = Long.toHexString(declaredLong).toUpperCase(); -- while (declared.length() < 16){ -- declared = "0" + declared; -- } -- hash = hash + ":" + declared; -- -- return ":" + hash; -- } -- -- /** -- * Creates a repository ID for a sequence. This is for expert users only as -- * this method assumes the object passed is an array. If passed an object -- * that is not an array, it will produce a rep id for a sequence of zero -- * length. This would be an error. -- * @param ser The Java object to create a repository ID for -- **/ -- public static String createSequenceRepID(java.lang.Object ser){ -- return createSequenceRepID(ser.getClass()); -- } -- -- /** -- * Creates a repository ID for a sequence. This is for expert users only as -- * this method assumes the object passed is an array. If passed an object -- * that is not an array, it will produce a malformed rep id. -- * @param clazz The Java class to create a repository ID for -- **/ -- public static String createSequenceRepID(java.lang.Class clazz){ -- synchronized (classSeqToRepStr){ -- -- String repid = (String)classSeqToRepStr.get(clazz); -- if (repid != null) -- return repid; -- -- Class originalClazz = clazz; -- -- Class type = null; -- int numOfDims = 0; -- -- while ((type = clazz.getComponentType()) != null) { -- numOfDims++; -- clazz = type; -- } -- -- if (clazz.isPrimitive()) -- repid = kValuePrefix + originalClazz.getName() + kPrimitiveSequenceValueHash; -- else { -- StringBuffer buf = new StringBuffer(); -- buf.append(kValuePrefix); -- while(numOfDims-- > 0) { -- buf.append("["); -- } -- buf.append("L"); -- buf.append(convertToISOLatin1(clazz.getName())); -- buf.append(";"); -- buf.append(createHashString(clazz)); -- repid = buf.toString(); -- } -- classSeqToRepStr.put(originalClazz,repid); -- return repid; -- } -- -- } -- -- -- public static String createForSpecialCase(java.lang.Class clazz){ -- if (clazz.isArray()){ -- return createSequenceRepID(clazz); -- } -- else { -- return (String)kSpecialCasesRepIDs.get(clazz); -- } -- } -- -- public static String createForSpecialCase(java.io.Serializable ser){ -- Class clazz = ser.getClass(); -- if (clazz.isArray()){ -- return createSequenceRepID(ser); -- } -- else -- return createForSpecialCase(clazz); -- } -- -- /** -- * Creates a repository ID for a normal Java Type. -- * @param ser The Java object to create a repository ID for -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser implements the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForJavaType(java.io.Serializable ser) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classToRepStr) { -- String repid = createForSpecialCase(ser); -- if (repid != null) -- return repid; -- Class clazz = ser.getClass(); -- repid = (String)classToRepStr.get(clazz); -- -- if (repid != null) -- return repid; -- -- repid = kValuePrefix + convertToISOLatin1(clazz.getName()) + -- createHashString(clazz); -- -- classToRepStr.put(clazz, repid); -- repStrToClass.put(repid, clazz); -- return repid; -- } -- } -- -- /** -- * Creates a repository ID for a normal Java Type. -- * @param clz The Java class to create a repository ID for -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser implements the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForJavaType(Class clz) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classToRepStr){ -- String repid = createForSpecialCase(clz); -- if (repid != null) -- return repid; -- -- repid = (String)classToRepStr.get(clz); -- if (repid != null) -- return repid; -- -- repid = kValuePrefix + convertToISOLatin1(clz.getName()) + -- createHashString(clz); -- -- classToRepStr.put(clz, repid); -- repStrToClass.put(repid, clz); -- return repid; -- } -- } -- -- /** -- * Creates a repository ID for an IDL Java Type. -- * @param ser The IDL Value object to create a repository ID for -- * @param major The major version number -- * @param minor The minor version number -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser does not implement the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForIDLType(Class ser, int major, int minor) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classIDLToRepStr){ -- String repid = (String)classIDLToRepStr.get(ser); -- if (repid != null) -- return repid; -- -- repid = kIDLPrefix + convertToISOLatin1(ser.getName()).replace('.','/') + -- ":" + major + "." + minor; -- classIDLToRepStr.put(ser, repid); -- return repid; -- } -- } -- -- private static String getIdFromHelper(Class clazz){ -- try { -- Class helperClazz = Utility.loadClassForClass(clazz.getName()+"Helper", null, -- clazz.getClassLoader(), clazz, clazz.getClassLoader()); -- Method idMethod = helperClazz.getDeclaredMethod("id", kNoParamTypes); -- return (String)idMethod.invoke(null, kNoArgs); -- } -- catch(java.lang.ClassNotFoundException cnfe) -- { -- throw new org.omg.CORBA.MARSHAL(cnfe.toString()); -- } -- catch(java.lang.NoSuchMethodException nsme) -- { -- throw new org.omg.CORBA.MARSHAL(nsme.toString()); -- } -- catch(java.lang.reflect.InvocationTargetException ite) -- { -- throw new org.omg.CORBA.MARSHAL(ite.toString()); -- } -- catch(java.lang.IllegalAccessException iae) -- { -- throw new org.omg.CORBA.MARSHAL(iae.toString()); -- } -- } -- -- /** -- * Createa a repository ID for the type if it is either a java type -- * or an IDL type. -- * @param type The type to create rep. id for -- * @return The rep. id. -- **/ -- public static String createForAnyType(Class type) { -- try{ -- if (type.isArray()) -- return createSequenceRepID(type); -- else if (IDLEntity.class.isAssignableFrom(type)) -- { -- try{ -- return getIdFromHelper(type); -- } -- catch(Throwable t) { -- return createForIDLType(type, 1, 0); -- } -- } -- else return createForJavaType(type); -- } -- catch(com.sun.corba.se.impl.io.TypeMismatchException e){ -- return null; -- } -- -- } -- -- public static boolean isAbstractBase(Class clazz) { -- return (clazz.isInterface() && -- IDLEntity.class.isAssignableFrom(clazz) && -- (!ValueBase.class.isAssignableFrom(clazz)) && -- (!org.omg.CORBA.Object.class.isAssignableFrom(clazz))); -- -- } -- -- /** -- * Convert strings with illegal IDL identifier characters. -- * <p> -- * Section 5.5.7 of OBV spec. -- */ -- private static String convertToISOLatin1 (String name) { -- -- int length = name.length(); -- if (length == 0) { -- return name; -- } -- StringBuffer buffer = null; -- -- for (int i = 0; i < length; i++) { -- -- char c = name.charAt(i); -- -- if (c > 255 || IDL_IDENTIFIER_CHARS[c] == 0) { -- -- // We gotta convert. Have we already started? -- -- if (buffer == null) { -- -- // No, so get set up... -- -- buffer = new StringBuffer(name.substring(0,i)); -- } -- -- // Convert the character into the IDL escape syntax... -- buffer.append( -- "\\U" + -- (char)ASCII_HEX[(c & 0xF000) >>> 12] + -- (char)ASCII_HEX[(c & 0x0F00) >>> 8] + -- (char)ASCII_HEX[(c & 0x00F0) >>> 4] + -- (char)ASCII_HEX[(c & 0x000F)]); -- -- } else { -- if (buffer != null) { -- buffer.append(c); -- } -- } -- } -- -- if (buffer != null) { -- name = buffer.toString(); -- } -- -- return name; -- } -- -- /** -- * Convert strings with ISO Latin 1 escape sequences back to original strings. -- * <p> -- * Section 5.5.7 of OBV spec. -- */ -- private static String convertFromISOLatin1 (String name) { -- -- int index = -1; -- StringBuffer buf = new StringBuffer(name); -- -- while ((index = buf.toString().indexOf("\\U")) != -1){ -- String str = "0000" + buf.toString().substring(index+2, index+6); -- -- // Convert Hexadecimal -- byte[] buffer = new byte[(str.length() - 4) / 2]; -- for (int i=4, j=0; i < str.length(); i +=2, j++) { -- buffer[j] = (byte)((ORBUtility.hexOf(str.charAt(i)) << 4) & 0xF0); -- buffer[j] |= (byte)((ORBUtility.hexOf(str.charAt(i+1)) << 0) & 0x0F); -- } -- buf = new StringBuffer(delete(buf.toString(), index, index+6)); -- buf.insert(index, (char)buffer[1]); -- } -- -- return buf.toString(); -- -- -- } -- -- private static String delete(String str, int from, int to) -- { -- return str.substring(0, from) + str.substring(to, str.length()); -- } -- -- private static String replace(String target, String arg, String source) + private Util(){} +@@ -338,9 +335,7 @@ + // are in different packages and the visibility needs to be package for + // security reasons. If you know a better solution how to share this code + // then remove it from PortableRemoteObject. Also in Stub.java +- private static Object createDelegateIfSpecified(String classKey, +- String defaultClassName) - { -- int i = 0; -- i = target.indexOf(arg); -- -- while(i != -1) -- { -- String left = target.substring(0, i); -- String right = target.substring(i+arg.length()); -- target = new String(left+source+right); -- i = target.indexOf(arg); -- } -- return target; -- } -- -- /* -- * Load a class and check that it is assignable to a given type. -- * @param className the class name. -- * @param remoteCodebase the codebase to use. May be null. -- * @param loader the class loader of last resort. May be null. -- * @param expectedType the expected type. May be null. -- * @return the loaded class. -- */ -- private Class loadClassOfType (String className, -- String remoteCodebase, -- ClassLoader loader, -- Class expectedType, -- ClassLoader expectedTypeClassLoader) -- throws ClassNotFoundException { -- -- Class loadedClass = null; -- -- try { -- //Sequence finding of the stubs according to spec -- try{ -- //If-else is put here for speed up of J2EE. -- //According to the OMG spec, the if clause is not dead code. -- //It can occur if some compiler has allowed generation -- //into org.omg.stub hierarchy for non-offending -- //classes. This will encourage people to -- //produce non-offending class stubs in their own hierarchy. -- if(!PackagePrefixChecker -- .hasOffendingPrefix(PackagePrefixChecker -- .withoutPackagePrefix(className))){ -- loadedClass = Util.loadClass -- (PackagePrefixChecker.withoutPackagePrefix(className), -- remoteCodebase, -- loader); -- } else { -- loadedClass = Util.loadClass -- (className, -- remoteCodebase, -- loader); -- } -- } catch (ClassNotFoundException cnfe) { -- loadedClass = Util.loadClass -- (className, -- remoteCodebase, -- loader); -- } -- if (expectedType == null) -- return loadedClass; -- } catch (ClassNotFoundException cnfe) { -- if (expectedType == null) -- throw cnfe; -- } -- -- // If no class was not loaded, or if the loaded class is not of the -- // correct type, make a further attempt to load the correct class -- // using the classloader of the expected type. -- // _REVISIT_ Is this step necessary, or should the Util,loadClass -- // algorithm always produce a valid class if the setup is correct? -- // Does the OMG standard algorithm need to be changed to include -- // this step? -- if (loadedClass == null || !expectedType.isAssignableFrom(loadedClass)) { -- if (expectedType.getClassLoader() != expectedTypeClassLoader) -- throw new IllegalArgumentException("expectedTypeClassLoader not class loader of expectedType."); -- -- if (expectedTypeClassLoader != null) -- loadedClass = expectedTypeClassLoader.loadClass(className); -- else -- loadedClass = ORBClassLoader.loadClass(className); -- } -- -- return loadedClass; -- } -- -- /** -- * Checks to see if the FullValueDescription should be retrieved. -- * @exception Throws IOException if suids do not match or if the repositoryID -- * is not an RMIValueType -- */ -- public static boolean useFullValueDescription(Class clazz, String repositoryID) -- throws IOException{ -- -- String clazzRepIDStr = createForAnyType(clazz); -- -- if (clazzRepIDStr.equals(repositoryID)) -- return false; -- -- RepositoryId_1_3 targetRepid; -- RepositoryId_1_3 clazzRepid; -- -- synchronized(cache) { -- // to avoid race condition where multiple threads could be -- // accessing this method, and their access to the cache may -- // be interleaved giving unexpected results -- -- targetRepid = cache.getId(repositoryID); -- clazzRepid = cache.getId(clazzRepIDStr); -- } -- -- if ((targetRepid.isRMIValueType()) && (clazzRepid.isRMIValueType())){ -- if (!targetRepid.getSerialVersionUID().equals(clazzRepid.getSerialVersionUID())) { -- -- String mssg = "Mismatched serialization UIDs : Source (Rep. ID" + -- clazzRepid + ") = " + -- clazzRepid.getSerialVersionUID() + " whereas Target (Rep. ID " + repositoryID + -- ") = " + targetRepid.getSerialVersionUID(); -- throw new IOException(mssg); -- } else { -- return true; -- } -- } else { -- -- throw new IOException("The repository ID is not of an RMI value type (Expected ID = " + clazzRepIDStr + "; Received ID = " + repositoryID +")"); -- } -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java 2012-08-10 09:10:34.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,1065 +0,0 @@ --/* -- * Copyright (c) 2001, 2012, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ -- --/* -- */ --package com.sun.corba.se.impl.orbutil; -- --import java.util.StringTokenizer; --import java.util.Hashtable; --import java.io.IOException; --import java.lang.reflect.Method; --import java.net.MalformedURLException; --import org.omg.CORBA.portable.ValueBase; --import org.omg.CORBA.portable.IDLEntity; -- --//d11638 files in the same package, therefore remove their reference --//import com.sun.corba.se.impl.util.JDKBridge; --//import com.sun.corba.se.impl.util.IdentityHashtable; --import com.sun.corba.se.impl.util.JDKBridge; --import com.sun.corba.se.impl.util.Utility; --import com.sun.corba.se.impl.util.PackagePrefixChecker; --import com.sun.corba.se.impl.util.IdentityHashtable; -- --import javax.rmi.CORBA.Util; -- --/** -- * Because all methods in RepositoryId are static, we have -- * to duplicate all of this code, freezing it in its 1.3.1 -- * form for backwards compatibility. -- * -- * For security reasons, we can't expose enough of -- * io/ObjectStreamClass, so it has to be duplicated in -- * orbutil. -- */ --public class RepositoryId_1_3_1 { -- -- // Legal IDL Identifier characters (1 = legal). Note -- // that '.' (2E) is marked as legal even though it is -- // not legal in IDL. This allows us to treat a fully -- // qualified Java name with '.' package separators -- // uniformly, and is safe because that is the only -- // legal use of '.' in a Java name. -- -- private static final byte[] IDL_IDENTIFIER_CHARS = { -- -- // 0 1 2 3 4 5 6 7 8 9 a b c d e f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 00-0f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 10-1f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,1,0, // 20-2f -- 1,1,1,1, 1,1,1,1, 1,1,0,0, 0,0,0,0, // 30-3f -- 0,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // 40-4f -- 1,1,1,1, 1,1,1,1, 1,1,1,0, 0,0,0,1, // 50-5f -- 0,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // 60-6f -- 1,1,1,1, 1,1,1,1, 1,1,1,0, 0,0,0,0, // 70-7f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 80-8f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // 90-9f -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // a0-af -- 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, // b0-bf -- 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // c0-cf -- 0,1,1,1, 1,1,1,0, 1,1,1,1, 1,0,0,1, // d0-df -- 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, // e0-ef -- 0,1,1,1, 1,1,1,0, 1,1,1,1, 1,0,0,1, // f0-ff -- }; -- -- -- private static final long serialVersionUID = 123456789L; -- -- private static String defaultServerURL = null; -- private static boolean useCodebaseOnly = false; -- -- static { -- if (defaultServerURL == null) -- defaultServerURL = (String)JDKBridge.getLocalCodebase(); -- useCodebaseOnly = JDKBridge.useCodebaseOnly(); -- -- } -- -- private static IdentityHashtable classToRepStr = new IdentityHashtable(); -- private static IdentityHashtable classIDLToRepStr = new IdentityHashtable(); -- private static IdentityHashtable classSeqToRepStr = new IdentityHashtable(); -- -- private static IdentityHashtable repStrToByteArray = new IdentityHashtable(); -- private static Hashtable repStrToClass = new Hashtable(); -- -- private String repId = null; -- private boolean isSupportedFormat = true; -- private String typeString = null; -- private String versionString = null; -- private boolean isSequence = false; -- private boolean isRMIValueType = false; -- private boolean isIDLType = false; -- private String completeClassName = null; -- private String unqualifiedName = null; -- private String definedInId = null; -- private Class clazz = null; -- private String suid = null, actualSuid = null; -- private long suidLong = ObjectStreamClass_1_3_1.kDefaultUID, actualSuidLong = ObjectStreamClass_1_3_1.kDefaultUID; -- -- // Repository ID fragments -- private static final String kSequenceKeyword = "seq"; -- private static final String kValuePrefix = "RMI:"; -- private static final String kIDLPrefix = "IDL:"; -- private static final String kIDLNamePrefix = "omg.org/"; -- private static final String kIDLClassnamePrefix = "org.omg."; -- private static final String kSequencePrefix = "["; -- private static final String kCORBAPrefix = "CORBA/"; -- private static final String kArrayPrefix = kValuePrefix + kSequencePrefix + kCORBAPrefix; -- private static final int kValuePrefixLength = kValuePrefix.length(); -- private static final int kIDLPrefixLength = kIDLPrefix.length(); -- private static final int kSequencePrefixLength = kSequencePrefix.length(); -- private static final String kInterfaceHashCode = ":0000000000000000"; -- private static final String kInterfaceOnlyHashStr = "0000000000000000"; -- private static final String kExternalizableHashStr = "0000000000000001"; -- -- // Value tag utility methods and constants -- public static final int kInitialValueTag= 0x7fffff00; -- public static final int kNoTypeInfo = 0; -- public static final int kSingleRepTypeInfo = 0x02; -- public static final int kPartialListTypeInfo = 0x06; -- public static final int kChunkedMask = 0x08; -- public static final int kPreComputed_StandardRMIUnchunked = RepositoryId_1_3_1.computeValueTag(false, RepositoryId_1_3_1.kSingleRepTypeInfo, false); -- public static final int kPreComputed_CodeBaseRMIUnchunked = RepositoryId_1_3_1.computeValueTag(true, RepositoryId_1_3_1.kSingleRepTypeInfo, false); -- public static final int kPreComputed_StandardRMIChunked = RepositoryId_1_3_1.computeValueTag(false, RepositoryId_1_3_1.kSingleRepTypeInfo, true); -- public static final int kPreComputed_CodeBaseRMIChunked = RepositoryId_1_3_1.computeValueTag(true, RepositoryId_1_3_1.kSingleRepTypeInfo, true); -- -- public static final int kPreComputed_StandardRMIUnchunked_NoRep = RepositoryId_1_3_1.computeValueTag(false, RepositoryId_1_3_1.kNoTypeInfo, false); -- public static final int kPreComputed_CodeBaseRMIUnchunked_NoRep = RepositoryId_1_3_1.computeValueTag(true, RepositoryId_1_3_1.kNoTypeInfo, false); -- public static final int kPreComputed_StandardRMIChunked_NoRep = RepositoryId_1_3_1.computeValueTag(false, RepositoryId_1_3_1.kNoTypeInfo, true); -- public static final int kPreComputed_CodeBaseRMIChunked_NoRep = RepositoryId_1_3_1.computeValueTag(true, RepositoryId_1_3_1.kNoTypeInfo, true); -- -- // Public, well known repository IDs -- -- // _REVISIT_ : A table structure with a good search routine for all of this -- // would be more efficient and easier to maintain... -- -- // String -- public static final String kWStringValueVersion = "1.0"; -- public static final String kWStringValueHash = ":"+kWStringValueVersion; -- public static final String kWStringStubValue = "WStringValue"; -- public static final String kWStringTypeStr = "omg.org/CORBA/"+kWStringStubValue; -- public static final String kWStringValueRepID = kIDLPrefix + kWStringTypeStr + kWStringValueHash; -- -- // Any -- public static final String kAnyRepID = kIDLPrefix + "omg.org/CORBA/Any"; -- -- // Class -- // Anita4: convert to uppercase -- public static final String kClassDescValueHash = ":" + -- Long.toHexString( -- ObjectStreamClass_1_3_1.getActualSerialVersionUID(javax.rmi.CORBA.ClassDesc.class)).toUpperCase() + ":" + -- Long.toHexString( -- ObjectStreamClass_1_3_1.getSerialVersionUID(javax.rmi.CORBA.ClassDesc.class)).toUpperCase(); -- public static final String kClassDescStubValue = "ClassDesc"; -- public static final String kClassDescTypeStr = "javax.rmi.CORBA."+kClassDescStubValue; -- public static final String kClassDescValueRepID = kValuePrefix + kClassDescTypeStr + kClassDescValueHash; -- -- // Object -- public static final String kObjectValueHash = ":1.0"; -- public static final String kObjectStubValue = "Object"; -- -- // Sequence -- public static final String kSequenceValueHash = ":1.0"; -- public static final String kPrimitiveSequenceValueHash = ":0000000000000000"; -- -- // Serializable -- public static final String kSerializableValueHash = ":1.0"; -- public static final String kSerializableStubValue = "Serializable"; -- -- // Externalizable -- public static final String kExternalizableValueHash = ":1.0"; -- public static final String kExternalizableStubValue = "Externalizable"; -- -- // Remote (The empty string is used for java.rmi.Remote) -- public static final String kRemoteValueHash = ""; -- public static final String kRemoteStubValue = ""; -- public static final String kRemoteTypeStr = ""; -- public static final String kRemoteValueRepID = ""; -- -- private static final Hashtable kSpecialArrayTypeStrings = new Hashtable(); -- -- static { -- kSpecialArrayTypeStrings.put("CORBA.WStringValue", new StringBuffer(java.lang.String.class.getName())); -- kSpecialArrayTypeStrings.put("javax.rmi.CORBA.ClassDesc", new StringBuffer(java.lang.Class.class.getName())); -- kSpecialArrayTypeStrings.put("CORBA.Object", new StringBuffer(java.rmi.Remote.class.getName())); -- -- } -- -- private static final Hashtable kSpecialCasesRepIDs = new Hashtable(); -- -- static { -- kSpecialCasesRepIDs.put(java.lang.String.class, kWStringValueRepID); -- kSpecialCasesRepIDs.put(java.lang.Class.class, kClassDescValueRepID); -- kSpecialCasesRepIDs.put(java.rmi.Remote.class, kRemoteValueRepID); -- } -- -- private static final Hashtable kSpecialCasesStubValues = new Hashtable(); -- -- static { -- kSpecialCasesStubValues.put(java.lang.String.class, kWStringStubValue); -- kSpecialCasesStubValues.put(java.lang.Class.class, kClassDescStubValue); -- kSpecialCasesStubValues.put(java.lang.Object.class, kObjectStubValue); -- kSpecialCasesStubValues.put(java.io.Serializable.class, kSerializableStubValue); -- kSpecialCasesStubValues.put(java.io.Externalizable.class, kExternalizableStubValue); -- kSpecialCasesStubValues.put(java.rmi.Remote.class, kRemoteStubValue); -- } -- -- -- private static final Hashtable kSpecialCasesVersions = new Hashtable(); -- -- static { -- kSpecialCasesVersions.put(java.lang.String.class, kWStringValueHash); -- kSpecialCasesVersions.put(java.lang.Class.class, kClassDescValueHash); -- kSpecialCasesVersions.put(java.lang.Object.class, kObjectValueHash); -- kSpecialCasesVersions.put(java.io.Serializable.class, kSerializableValueHash); -- kSpecialCasesVersions.put(java.io.Externalizable.class, kExternalizableValueHash); -- kSpecialCasesVersions.put(java.rmi.Remote.class, kRemoteValueHash); -- } -- -- private static final Hashtable kSpecialCasesClasses = new Hashtable(); -- -- static { -- kSpecialCasesClasses.put(kWStringTypeStr, java.lang.String.class); -- kSpecialCasesClasses.put(kClassDescTypeStr, java.lang.Class.class); -- kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class); -- -- kSpecialCasesClasses.put("org.omg.CORBA.WStringValue", java.lang.String.class); -- kSpecialCasesClasses.put("javax.rmi.CORBA.ClassDesc", java.lang.Class.class); -- //kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class); -- } -- -- private static final Hashtable kSpecialCasesArrayPrefix = new Hashtable(); -- -- static { -- kSpecialCasesArrayPrefix.put(java.lang.String.class, kValuePrefix + kSequencePrefix + kCORBAPrefix); -- kSpecialCasesArrayPrefix.put(java.lang.Class.class, kValuePrefix + kSequencePrefix + "javax/rmi/CORBA/"); -- kSpecialCasesArrayPrefix.put(java.lang.Object.class, kValuePrefix + kSequencePrefix + "java/lang/"); -- kSpecialCasesArrayPrefix.put(java.io.Serializable.class, kValuePrefix + kSequencePrefix + "java/io/"); -- kSpecialCasesArrayPrefix.put(java.io.Externalizable.class, kValuePrefix + kSequencePrefix + "java/io/"); -- kSpecialCasesArrayPrefix.put(java.rmi.Remote.class, kValuePrefix + kSequencePrefix + kCORBAPrefix); -- } -- -- private static final Hashtable kSpecialPrimitives = new Hashtable(); -- -- static { -- kSpecialPrimitives.put("int","long"); -- kSpecialPrimitives.put("long","longlong"); -- kSpecialPrimitives.put("byte","octet"); -- } -- -- /** -- * Used to convert ascii to hex. -- */ -- private static final byte ASCII_HEX[] = { -- (byte)'0', -- (byte)'1', -- (byte)'2', -- (byte)'3', -- (byte)'4', -- (byte)'5', -- (byte)'6', -- (byte)'7', -- (byte)'8', -- (byte)'9', -- (byte)'A', -- (byte)'B', -- (byte)'C', -- (byte)'D', -- (byte)'E', -- (byte)'F', -- }; -- -- -- // bug fix for 4328952; to eliminate possibility of overriding this -- // in a subclass. -- public static final RepositoryIdCache_1_3_1 cache = new RepositoryIdCache_1_3_1(); -- -- // Interface Rep ID Strings -- public static final String kjava_rmi_Remote = createForAnyType(java.rmi.Remote.class); -- public static final String korg_omg_CORBA_Object = createForAnyType(org.omg.CORBA.Object.class); -- -- // Dummy arguments for getIdFromHelper method -- public static final Class kNoParamTypes[] ={}; -- public static final Object kNoArgs[] = {}; -- -- -- // To create a RepositoryID, use code similar to the following: -- // RepositoryId.cache.getId( id ); -- -- RepositoryId_1_3_1(){} -- -- RepositoryId_1_3_1(String aRepId){ -- init(aRepId); -- } -- -- RepositoryId_1_3_1 init(String aRepId){ -- -- this.repId = aRepId; -- -- // Special case for remote -- if (aRepId.length() == 0) { -- clazz = java.rmi.Remote.class; -- typeString = ""; -- isRMIValueType = true; -- suid = kInterfaceOnlyHashStr; -- return this; -- } -- else if (aRepId.equals(kWStringValueRepID)) { -- clazz = java.lang.String.class; -- typeString = kWStringTypeStr; -- isIDLType = true; -- // fix where Attempting to obtain a FullValueDescription -- // for an RMI value type with a String field causes an exception. -- completeClassName = "java.lang.String"; -- versionString = kWStringValueVersion; -- return this; -- } -- else { -- -- String repId = convertFromISOLatin1(aRepId); -- -- versionString = repId.substring(repId.indexOf(':', repId.indexOf(':')+1)); -- if (repId.startsWith(kIDLPrefix)) { -- typeString = -- repId.substring(kIDLPrefixLength, repId.indexOf(':', kIDLPrefixLength)); -- isIDLType = true; -- if (typeString.startsWith(kIDLNamePrefix)) -- completeClassName = kIDLClassnamePrefix + -- typeString.substring(kIDLNamePrefix.length()).replace('/','.'); -- else completeClassName = typeString.replace('/','.'); -- -- } -- else if (repId.startsWith(kValuePrefix)) { -- typeString = -- repId.substring(kValuePrefixLength, repId.indexOf(':', kValuePrefixLength)); -- isRMIValueType = true; -- -- if (versionString.indexOf('.') == -1) { -- actualSuid = versionString.substring(1); -- suid = actualSuid; // default if not explicitly specified -- -- if (actualSuid.indexOf(':') != -1){ -- // we have a declared hash also -- int pos = actualSuid.indexOf(':')+1; -- // actualSuid = suid.substring(pos); -- // suid = suid.substring(0, pos-1); -- suid = actualSuid.substring(pos); -- actualSuid = actualSuid.substring(0, pos-1); -- } -- -- } -- else { -- // _REVISIT_ : Special case version failure ? -- } -- } -- else isSupportedFormat = false; -- -- if (typeString.startsWith(kSequencePrefix)) { -- isSequence = true; -- } -- -- -- return this; -- } -- } -- -- public final String getUnqualifiedName() { -- if (unqualifiedName == null){ -- String className = getClassName(); -- int index = className.lastIndexOf('.'); -- if (index == -1){ -- unqualifiedName = className; -- definedInId = "IDL::1.0"; -- } -- else { -- unqualifiedName = className.substring(index); -- definedInId = "IDL:" + className.substring(0, index).replace('.','/') + ":1.0"; -- } -- } -- -- return unqualifiedName; -- } -- -- public final String getDefinedInId() { -- if (definedInId == null){ -- getUnqualifiedName(); -- } -- -- return definedInId; -- } -- -- public final String getTypeString() { -- return typeString; -- } -- -- public final String getVersionString() { -- return versionString; -- } -- -- public final String getSerialVersionUID() { -- return suid; -- } -- -- public final String getActualSerialVersionUID() { -- return actualSuid; -- } -- public final long getSerialVersionUIDAsLong() { -- return suidLong; -- } -- -- public final long getActualSerialVersionUIDAsLong() { -- return actualSuidLong; -- } -- -- public final boolean isRMIValueType() { -- return isRMIValueType; -- } -- -- public final boolean isIDLType() { -- return isIDLType; -- } -- -- public final String getRepositoryId() { -- return repId; -- } -- -- public static byte[] getByteArray(String repStr) { -- synchronized (repStrToByteArray){ -- return (byte[]) repStrToByteArray.get(repStr); -- } -- } -- -- public static void setByteArray(String repStr, byte[] repStrBytes) { -- synchronized (repStrToByteArray){ -- repStrToByteArray.put(repStr, repStrBytes); -- } -- } -- -- public final boolean isSequence() { -- return isSequence; -- } -- -- public final boolean isSupportedFormat() { -- return isSupportedFormat; -- } -- -- -- // This method will return the classname from the typestring OR if the classname turns out to be -- // a special class "pseudo" name, then the matching real classname is returned. -- public final String getClassName() { -- -- if (isRMIValueType) -- return typeString; -- else if (isIDLType) -- return completeClassName; -- else return null; -- -- } -- -- // This method calls getClazzFromType() and falls back to the repStrToClass -- // cache if no class was found. It's used where any class matching the -- // given repid is an acceptable result. -- public final Class getAnyClassFromType() throws ClassNotFoundException { -- try { -- return getClassFromType(); -- } catch (ClassNotFoundException cnfe) { -- Class clz = (Class)repStrToClass.get(repId); -- if (clz != null) -- return clz; -- else -- throw cnfe; -- } -- } -- -- public final Class getClassFromType() -- throws ClassNotFoundException { -- if (clazz != null) -- return clazz; -- -- Class specialCase = (Class)kSpecialCasesClasses.get(getClassName()); -- -- if (specialCase != null){ -- clazz = specialCase; -- return specialCase; -- } -- else -- { -- try{ -- return Util.loadClass(getClassName(), null, null); -- } -- catch(ClassNotFoundException cnfe){ -- if (defaultServerURL != null) { -- try{ -- return getClassFromType(defaultServerURL); -- } -- catch(MalformedURLException mue){ -- throw cnfe; -- } -- } -- else throw cnfe; -- } -- } -- -- } -- -- public final Class getClassFromType(Class expectedType, String codebase) -- throws ClassNotFoundException { -- if (clazz != null) -- return clazz; -- -- Class specialCase = (Class)kSpecialCasesClasses.get(getClassName()); -- -- if (specialCase != null){ -- clazz = specialCase; -- return specialCase; -- } else { -- ClassLoader expectedTypeClassLoader = (expectedType == null ? null : expectedType.getClassLoader()); -- return loadClassOfType(getClassName(), -- codebase, -- expectedTypeClassLoader, -- expectedType, -- expectedTypeClassLoader); -- } -- -- } -- -- public final Class getClassFromType(String url) -- throws ClassNotFoundException, MalformedURLException { -- return Util.loadClass(getClassName(), url, null); -- } -- -- public final String toString() { -- return repId; -- } -- -- /** -- * Checks to see if the FullValueDescription should be retrieved. -- * @exception Throws IOException if suids do not match or if the repositoryID -- * is not an RMIValueType -- */ -- public static boolean useFullValueDescription(Class clazz, String repositoryID) -- throws IOException{ -- -- String clazzRepIDStr = createForAnyType(clazz); -- -- if (clazzRepIDStr.equals(repositoryID)) -- return false; -- -- RepositoryId_1_3_1 targetRepid; -- RepositoryId_1_3_1 clazzRepid; -- -- synchronized(cache) { -- // to avoid race condition where multiple threads could be -- // accessing this method, and their access to the cache may -- // be interleaved giving unexpected results -- -- targetRepid = cache.getId(repositoryID); -- clazzRepid = cache.getId(clazzRepIDStr); -- } -- //ObjectStreamClass osc = ObjectStreamClass.lookup(clazz); -- -- if ((targetRepid.isRMIValueType()) && (clazzRepid.isRMIValueType())){ -- if (!targetRepid.getSerialVersionUID().equals(clazzRepid.getSerialVersionUID())) { -- -- String mssg = "Mismatched serialization UIDs : Source (Rep. ID" + -- clazzRepid + ") = " + -- clazzRepid.getSerialVersionUID() + " whereas Target (Rep. ID " + repositoryID + -- ") = " + targetRepid.getSerialVersionUID(); -- //com.sun.corba.se.impl.io.ValueUtility.log("RepositoryId",mssg); -- throw new IOException(mssg); -- } -- else { -- return true; -- } -- } -- else { -- -- throw new IOException("The repository ID is not of an RMI value type (Expected ID = " + clazzRepIDStr + "; Received ID = " + repositoryID +")"); -- } -- } -- -- private static String createHashString(java.io.Serializable ser) { -- -- return createHashString(ser.getClass()); -- } -- -- private static String createHashString(java.lang.Class clazz) { -- -- if (clazz.isInterface() || !java.io.Serializable.class.isAssignableFrom(clazz)) -- return kInterfaceHashCode; -- -- //ObjectStreamClass osc = ObjectStreamClass.lookup(clazz); -- -- long actualLong = ObjectStreamClass_1_3_1.getActualSerialVersionUID(clazz); -- String hash = null; -- if (actualLong == 0) -- hash = kInterfaceOnlyHashStr; -- else if (actualLong == 1) -- hash = kExternalizableHashStr; -- else -- hash = Long.toHexString(actualLong).toUpperCase(); -- while(hash.length() < 16){ -- hash = "0" + hash; -- } -- -- long declaredLong = ObjectStreamClass_1_3_1.getSerialVersionUID(clazz); -- String declared = null; -- if (declaredLong == 0) -- declared = kInterfaceOnlyHashStr; -- else if (declaredLong == 1) -- declared = kExternalizableHashStr; -- else -- declared = Long.toHexString(declaredLong).toUpperCase(); -- while (declared.length() < 16){ -- declared = "0" + declared; -- } -- hash = hash + ":" + declared; -- -- return ":" + hash; -- } -- -- /** -- * Creates a repository ID for a sequence. This is for expert users only as -- * this method assumes the object passed is an array. If passed an object -- * that is not an array, it will produce a rep id for a sequence of zero -- * length. This would be an error. -- * @param ser The Java object to create a repository ID for -- **/ -- public static String createSequenceRepID(java.lang.Object ser){ -- return createSequenceRepID(ser.getClass()); -- } -- -- /** -- * Creates a repository ID for a sequence. This is for expert users only as -- * this method assumes the object passed is an array. If passed an object -- * that is not an array, it will produce a malformed rep id. -- * @param clazz The Java class to create a repository ID for -- **/ -- public static String createSequenceRepID(java.lang.Class clazz){ -- synchronized (classSeqToRepStr){ -- -- String repid = (String)classSeqToRepStr.get(clazz); -- if (repid != null) -- return repid; -- -- Class originalClazz = clazz; -- -- Class type = null; -- int numOfDims = 0; -- -- while ((type = clazz.getComponentType()) != null) { -- numOfDims++; -- clazz = type; -- } -- -- if (clazz.isPrimitive()) -- repid = kValuePrefix + originalClazz.getName() + kPrimitiveSequenceValueHash; -- else { -- StringBuffer buf = new StringBuffer(); -- buf.append(kValuePrefix); -- while(numOfDims-- > 0) { -- buf.append("["); -- } -- buf.append("L"); -- buf.append(convertToISOLatin1(clazz.getName())); -- buf.append(";"); -- buf.append(createHashString(clazz)); -- repid = buf.toString(); -- } -- classSeqToRepStr.put(originalClazz,repid); -- return repid; -- } -- -- } -- -- -- public static String createForSpecialCase(java.lang.Class clazz){ -- if (clazz.isArray()){ -- return createSequenceRepID(clazz); -- } -- else { -- return (String)kSpecialCasesRepIDs.get(clazz); -- } -- } -- -- public static String createForSpecialCase(java.io.Serializable ser){ -- Class clazz = ser.getClass(); -- if (clazz.isArray()){ -- return createSequenceRepID(ser); -- } -- else -- return createForSpecialCase(clazz); -- } -- -- /** -- * Creates a repository ID for a normal Java Type. -- * @param ser The Java object to create a repository ID for -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser implements the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForJavaType(java.io.Serializable ser) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classToRepStr) { -- String repid = createForSpecialCase(ser); -- if (repid != null) -- return repid; -- Class clazz = ser.getClass(); -- repid = (String)classToRepStr.get(clazz); -- -- if (repid != null) -- return repid; -- -- repid = kValuePrefix + convertToISOLatin1(clazz.getName()) + -- createHashString(clazz); -- -- classToRepStr.put(clazz, repid); -- repStrToClass.put(repid, clazz); -- return repid; -- } -- } -- -- /** -- * Creates a repository ID for a normal Java Type. -- * @param clz The Java class to create a repository ID for -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser implements the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForJavaType(Class clz) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classToRepStr){ -- String repid = createForSpecialCase(clz); -- if (repid != null) -- return repid; -- -- repid = (String)classToRepStr.get(clz); -- if (repid != null) -- return repid; -- -- repid = kValuePrefix + convertToISOLatin1(clz.getName()) + -- createHashString(clz); -- -- classToRepStr.put(clz, repid); -- repStrToClass.put(repid, clz); -- return repid; -- } -- } -- -- /** -- * Creates a repository ID for an IDL Java Type. -- * @param ser The IDL Value object to create a repository ID for -- * @param major The major version number -- * @param minor The minor version number -- * @exception com.sun.corba.se.impl.io.TypeMismatchException if ser does not implement the -- * org.omg.CORBA.portable.IDLEntity interface which indicates it is an IDL Value type. -- **/ -- public static String createForIDLType(Class ser, int major, int minor) -- throws com.sun.corba.se.impl.io.TypeMismatchException -- { -- synchronized (classIDLToRepStr){ -- String repid = (String)classIDLToRepStr.get(ser); -- if (repid != null) -- return repid; -- -- repid = kIDLPrefix + convertToISOLatin1(ser.getName()).replace('.','/') + -- ":" + major + "." + minor; -- classIDLToRepStr.put(ser, repid); -- return repid; -- } -- } -- -- private static String getIdFromHelper(Class clazz){ -- try { -- Class helperClazz = Utility.loadClassForClass(clazz.getName()+"Helper", null, -- clazz.getClassLoader(), clazz, clazz.getClassLoader()); -- Method idMethod = helperClazz.getDeclaredMethod("id", kNoParamTypes); -- return (String)idMethod.invoke(null, kNoArgs); -- } -- catch(java.lang.ClassNotFoundException cnfe) -- { -- throw new org.omg.CORBA.MARSHAL(cnfe.toString()); -- } -- catch(java.lang.NoSuchMethodException nsme) -- { -- throw new org.omg.CORBA.MARSHAL(nsme.toString()); -- } -- catch(java.lang.reflect.InvocationTargetException ite) -- { -- throw new org.omg.CORBA.MARSHAL(ite.toString()); -- } -- catch(java.lang.IllegalAccessException iae) -- { -- throw new org.omg.CORBA.MARSHAL(iae.toString()); -- } -- } -- -- /** -- * Createa a repository ID for the type if it is either a java type -- * or an IDL type. -- * @param type The type to create rep. id for -- * @return The rep. id. -- **/ -- public static String createForAnyType(Class type) { -- try{ -- if (type.isArray()) -- return createSequenceRepID(type); -- else if (IDLEntity.class.isAssignableFrom(type)) -- { -- try{ -- return getIdFromHelper(type); -- } -- catch(Throwable t) { -- return createForIDLType(type, 1, 0); -- } -- } -- else return createForJavaType(type); -- } -- catch(com.sun.corba.se.impl.io.TypeMismatchException e){ -- return null; -- } -- -- } -- -- public static boolean isAbstractBase(Class clazz) { -- return (clazz.isInterface() && -- IDLEntity.class.isAssignableFrom(clazz) && -- (!ValueBase.class.isAssignableFrom(clazz)) && -- (!org.omg.CORBA.Object.class.isAssignableFrom(clazz))); -- -- } -- -- public static boolean isAnyRequired(Class clazz) { -- return ((clazz == java.lang.Object.class) || -- (clazz == java.io.Serializable.class) || -- (clazz == java.io.Externalizable.class)); -- } -- -- public static long fromHex(String hexNumber) { -- if (hexNumber.startsWith("0x")) -- return Long.valueOf(hexNumber.substring(2), 16).longValue(); -- else return Long.valueOf(hexNumber, 16).longValue(); -- } -- -- /** -- * Convert strings with illegal IDL identifier characters. -- * <p> -- * Section 5.5.7 of OBV spec. -- */ -- private static String convertToISOLatin1 (String name) { -- -- int length = name.length(); -- if (length == 0) { -- return name; -- } -- StringBuffer buffer = null; -- -- for (int i = 0; i < length; i++) { -- -- char c = name.charAt(i); -- -- if (c > 255 || IDL_IDENTIFIER_CHARS[c] == 0) { -- -- // We gotta convert. Have we already started? -- -- if (buffer == null) { -- -- // No, so get set up... -- -- buffer = new StringBuffer(name.substring(0,i)); -- } -- -- // Convert the character into the IDL escape syntax... -- buffer.append( -- "\\U" + -- (char)ASCII_HEX[(c & 0xF000) >>> 12] + -- (char)ASCII_HEX[(c & 0x0F00) >>> 8] + -- (char)ASCII_HEX[(c & 0x00F0) >>> 4] + -- (char)ASCII_HEX[(c & 0x000F)]); -- -- } else { -- if (buffer != null) { -- buffer.append(c); -- } -- } -- } -- -- if (buffer != null) { -- name = buffer.toString(); -- } -- -- return name; -- } -- -- /** -- * Convert strings with ISO Latin 1 escape sequences back to original strings. -- * <p> -- * Section 5.5.7 of OBV spec. -- */ -- private static String convertFromISOLatin1 (String name) { -- -- int index = -1; -- StringBuffer buf = new StringBuffer(name); -- -- while ((index = buf.toString().indexOf("\\U")) != -1){ -- String str = "0000" + buf.toString().substring(index+2, index+6); -- -- // Convert Hexadecimal -- byte[] buffer = new byte[(str.length() - 4) / 2]; -- for (int i=4, j=0; i < str.length(); i +=2, j++) { -- buffer[j] = (byte)((ORBUtility.hexOf(str.charAt(i)) << 4) & 0xF0); -- buffer[j] |= (byte)((ORBUtility.hexOf(str.charAt(i+1)) << 0) & 0x0F); -- } -- buf = new StringBuffer(delete(buf.toString(), index, index+6)); -- buf.insert(index, (char)buffer[1]); -- } -- -- return buf.toString(); -- -- -- } -- -- private static String delete(String str, int from, int to) -- { -- return str.substring(0, from) + str.substring(to, str.length()); -- } -- -- private static String replace(String target, String arg, String source) -- { -- int i = 0; -- i = target.indexOf(arg); -- -- while(i != -1) -- { -- String left = target.substring(0, i); -- String right = target.substring(i+arg.length()); -- target = new String(left+source+right); -- i = target.indexOf(arg); -- } -- return target; -- } -- -- public static int computeValueTag(boolean codeBasePresent, int typeInfo, boolean chunkedEncoding){ -- int value_tag = kInitialValueTag; -- -- if (codeBasePresent) -- value_tag = value_tag | 0x00000001; -- -- value_tag = value_tag | typeInfo; -- -- if (chunkedEncoding) -- value_tag = value_tag | kChunkedMask; -- -- return value_tag; -- } -- -- public static boolean isCodeBasePresent(int value_tag){ -- return ((value_tag & 0x00000001) == 1); -- } -- -- public static int getTypeInfo(int value_tag){ -- return (value_tag & 0x00000006); -- } -- -- public static boolean isChunkedEncoding(int value_tag){ -- return ((value_tag & kChunkedMask) != 0); -- } -- -- public static String getServerURL(){ -- return defaultServerURL; -- } -- -- /* -- * Load a class and check that it is assignable to a given type. -- * @param className the class name. -- * @param remoteCodebase the codebase to use. May be null. -- * @param loader the class loader of last resort. May be null. -- * @param expectedType the expected type. May be null. -- * @return the loaded class. -- */ -- private Class loadClassOfType (String className, -- String remoteCodebase, -- ClassLoader loader, -- Class expectedType, -- ClassLoader expectedTypeClassLoader) -- throws ClassNotFoundException { -- -- Class loadedClass = null; -- -- try { -- //Sequence finding of the stubs according to spec -- try{ -- //If-else is put here for speed up of J2EE. -- //According to the OMG spec, the if clause is not dead code. -- //It can occur if some compiler has allowed generation -- //into org.omg.stub hierarchy for non-offending -- //classes. This will encourage people to -- //produce non-offending class stubs in their own hierarchy. -- if(!PackagePrefixChecker -- .hasOffendingPrefix(PackagePrefixChecker -- .withoutPackagePrefix(className))){ -- loadedClass = Util.loadClass -- (PackagePrefixChecker.withoutPackagePrefix(className), -- remoteCodebase, -- loader); -- } else { -- loadedClass = Util.loadClass -- (className, -- remoteCodebase, -- loader); -- } -- } catch (ClassNotFoundException cnfe) { -- loadedClass = Util.loadClass -- (className, -- remoteCodebase, -- loader); -- } -- if (expectedType == null) -- return loadedClass; -- } catch (ClassNotFoundException cnfe) { -- if (expectedType == null) -- throw cnfe; -- } -- -- // If no class was not loaded, or if the loaded class is not of the -- // correct type, make a further attempt to load the correct class -- // using the classloader of the expected type. -- // _REVISIT_ Is this step necessary, or should the Util,loadClass -- // algorithm always produce a valid class if the setup is correct? -- // Does the OMG standard algorithm need to be changed to include -- // this step? -- if (loadedClass == null || !expectedType.isAssignableFrom(loadedClass)) { -- if (expectedType.getClassLoader() != expectedTypeClassLoader) -- throw new IllegalArgumentException("expectedTypeClassLoader not class loader of expectedType."); -- -- if (expectedTypeClassLoader != null) -- loadedClass = expectedTypeClassLoader.loadClass(className); -- else -- loadedClass = Class.forName(className); -- } -- -- return loadedClass; -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3.java 2012-08-10 09:10:35.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,251 +0,0 @@ --/* -- * Copyright (c) 2000, 2003, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --/* -- * Licensed Materials - Property of IBM -- * RMI-IIOP v1.0 -- * Copyright IBM Corp. 1998 1999 All Rights Reserved -- * -- */ -- --package com.sun.corba.se.impl.orbutil; -- --import javax.rmi.CORBA.Util; --import javax.rmi.PortableRemoteObject; -- --import java.util.Hashtable; --import java.util.Stack; --import java.io.IOException; --import java.util.EmptyStackException; -- --import com.sun.corba.se.impl.util.Utility; --import com.sun.corba.se.impl.io.IIOPInputStream; --import com.sun.corba.se.impl.io.IIOPOutputStream; --import com.sun.corba.se.impl.util.RepositoryId; --import com.sun.corba.se.impl.util.Utility; -- --import org.omg.CORBA.TCKind; --import org.omg.CORBA.MARSHAL; --import org.omg.CORBA.CompletionStatus; --import org.omg.CORBA.portable.IndirectionException; --import com.sun.org.omg.SendingContext.CodeBase; -- --import java.security.AccessController; --import java.security.PrivilegedAction; -- --/** -- * This class overrides behavior of our current ValueHandlerImpl to -- * provide backwards compatibility with JDK 1.3.0. -- */ --public class ValueHandlerImpl_1_3 extends com.sun.corba.se.impl.io.ValueHandlerImpl { -- -- public ValueHandlerImpl_1_3(){ -- super(); -- } -- -- public ValueHandlerImpl_1_3(boolean isInputStream) { -- super(isInputStream); -- } -- -- /** -- * Writes the value to the stream using java semantics. -- * @param out The stream to write the value to -- * @param value The value to be written to the stream -- **/ -- public void writeValue(org.omg.CORBA.portable.OutputStream _out, java.io.Serializable value) { -- super.writeValue(_out, value); -- } -- -- /** -- * Reads a value from the stream using java semantics. -- * @param in The stream to read the value from -- * @param clazz The type of the value to be read in -- * @param sender The sending context runtime -- **/ -- public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream _in, -- int offset, -- java.lang.Class clazz, -- String repositoryID, -- org.omg.SendingContext.RunTime _sender) -- { -- return super.readValue(_in, offset, clazz, repositoryID, _sender); -- } -- -- /** -- * Returns the repository ID for the given RMI value Class. -- * @param clz The class to return a repository ID for. -- * @return the repository ID of the Class. -- **/ -- public java.lang.String getRMIRepositoryID(java.lang.Class clz) { -- return RepositoryId_1_3.createForJavaType(clz); -- } -- -- /** -- * Indicates whether the given Class performs custom or -- * default marshaling. -- * @param clz The class to test for custom marshaling. -- * @return True if the class performs custom marshaling, false -- * if it does not. -- **/ -- public boolean isCustomMarshaled(java.lang.Class clz) { -- return super.isCustomMarshaled(clz); -- } -- -- /** -- * Returns the CodeBase for this ValueHandler. This is used by -- * the ORB runtime. The server sends the service context containing -- * the IOR for this CodeBase on the first GIOP reply. The clients -- * do the same on the first GIOP request. -- * @return the SendingContext.CodeBase of this ValueHandler. -- **/ -- public org.omg.SendingContext.RunTime getRunTimeCodeBase() { -- return super.getRunTimeCodeBase(); -- } -- -- /** -- * If the value contains a writeReplace method then the result -- * is returned. Otherwise, the value itself is returned. -- * @return the true value to marshal on the wire. -- **/ -- public java.io.Serializable writeReplace(java.io.Serializable value) { -- return super.writeReplace(value); -- } -- -- // methods supported for backward compatability so that the appropriate -- // Rep-id calculations take place based on the ORB version -- -- /** -- * Returns a boolean of whether or not RepositoryId indicates -- * FullValueDescriptor. -- * used for backward compatability -- */ -- -- public boolean useFullValueDescription(Class clazz, String repositoryID) -- throws IOException -- -- { -- return RepositoryId_1_3.useFullValueDescription(clazz, repositoryID); -- } -- -- public String getClassName(String id) -- { -- RepositoryId_1_3 repID = RepositoryId_1_3.cache.getId(id); -- return repID.getClassName(); -- } -- -- public Class getClassFromType(String id) -- throws ClassNotFoundException -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.getClassFromType(); -- } -- -- public Class getAnyClassFromType(String id) -- throws ClassNotFoundException -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.getAnyClassFromType(); -- } -- -- public String createForAnyType(Class cl) -- { -- return RepositoryId_1_3.createForAnyType(cl); -- } -- -- public String getDefinedInId(String id) -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.getDefinedInId(); -- } -- -- public String getUnqualifiedName(String id) -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.getUnqualifiedName(); -- } -- -- public String getSerialVersionUID(String id) -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.getSerialVersionUID(); -- } -- -- public boolean isAbstractBase(Class clazz) -- { -- return RepositoryId_1_3.isAbstractBase(clazz); -- } -- -- public boolean isSequence(String id) -- { -- RepositoryId_1_3 repId = RepositoryId_1_3.cache.getId(id); -- return repId.isSequence(); -- } -- -- /** -- * Preserves the incorrect 1.3 behavior which truncates Java chars in -- * arrays to 8-bit CORBA chars. Bug 4367783. This enables us to -- * continue interoperating with our legacy ORBs. If this goes into -- * Ladybird, then Ladybird and Kestrel will interoperate as long as -- * people don't use chars greater than 8-bits. -- */ -- protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, -- char[] array, -- int offset, -- int length) -- { -- out.write_char_array(array, offset, length); -- } -- -- /** -- * Preserves the incorrect 1.3 behavior which truncates Java chars in -- * arrays to 8-bit CORBA chars. Bug 4367783. This enables us to -- * continue interoperating with our legacy ORBs. If this goes into -- * Ladybird, then Ladybird and Kestrel will interoperate as long as -- * people don't use chars greater than 8-bits. -- */ -- protected void readCharArray(org.omg.CORBA_2_3.portable.InputStream in, -- char[] array, -- int offset, -- int length) -- { -- in.read_char_array(array, offset, length); -- } -- -- protected final String getOutputStreamClassName() { -- return "com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3"; -- } -- -- protected final String getInputStreamClassName() { -- return "com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3"; -- } -- -- /** -- * Our JDK 1.3 and JDK 1.3.1 behavior subclasses override this. -- * The correct behavior is for a Java char to map to a CORBA wchar, -- * but our older code mapped it to a CORBA char. -- */ -- protected TCKind getJavaCharTCKind() { -- return TCKind.tk_char; -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3_1.java 2012-08-10 09:10:35.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3_1.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,77 +0,0 @@ --/* -- * Copyright (c) 2001, 2002, 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. Oracle designates this -- * particular file as subject to the "Classpath" exception as provided -- * by Oracle in the LICENSE file that accompanied this code. -- * -- * 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. -- */ --package com.sun.corba.se.impl.orbutil; -- --import org.omg.CORBA.TCKind; -- --/** -- * This class overrides behavior of our current ValueHandlerImpl to -- * provide backwards compatibility with JDK 1.3.1. -- */ --public class ValueHandlerImpl_1_3_1 -- extends com.sun.corba.se.impl.io.ValueHandlerImpl --{ -- public ValueHandlerImpl_1_3_1() {} -- -- public ValueHandlerImpl_1_3_1(boolean isInputStream) { -- super(isInputStream); -- } -- -- /** -- * Our JDK 1.3 and JDK 1.3.1 behavior subclasses override this. -- * The correct behavior is for a Java char to map to a CORBA wchar, -- * but our older code mapped it to a CORBA char. -- */ -- protected TCKind getJavaCharTCKind() { -- return TCKind.tk_char; -- } -- -- /** -- * RepositoryId_1_3_1 performs an incorrect repId calculation -- * when using serialPersistentFields and one of the fields no longer -- * exists on the class itself. -- */ -- public boolean useFullValueDescription(Class clazz, String repositoryID) -- throws java.io.IOException -- { -- return RepositoryId_1_3_1.useFullValueDescription(clazz, repositoryID); -- } -- -- /** -- * Installs the legacy IIOPOutputStream_1_3_1 which does -- * PutFields/GetFields incorrectly. Bug 4407244. -- */ -- protected final String getOutputStreamClassName() { -- return "com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3_1"; -- } -- -- /** -- * Installs the legacy IIOPInputStream_1_3_1 which does -- * PutFields/GetFields incorrectly. Bug 4407244. -- */ -- protected final String getInputStreamClassName() { -- return "com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3_1"; -- } --} ---- corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java 2012-08-10 09:10:41.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -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 -@@ -1794,8 +1794,7 @@ - - if (msg.getGIOPVersion().lessThan(GIOPVersion.V1_2)) { - // locate msgs 1.0 & 1.1 :=> grow, -- // REVISIT - build from factory -- outputObject = new CDROutputObject( -+ outputObject = sun.corba.OutputStreamFactory.newCDROutputObject( - (ORB) messageMediator.getBroker(), - this, - GIOPVersion.V1_0, -@@ -1804,8 +1803,7 @@ - ORBConstants.STREAM_FORMAT_VERSION_1); - } else { - // 1.2 :=> stream -- // REVISIT - build from factory -- outputObject = new CDROutputObject( -+ outputObject = sun.corba.OutputStreamFactory.newCDROutputObject( - (ORB) messageMediator.getBroker(), - messageMediator, - reply, -@@ -1959,7 +1957,8 @@ - ReplyMessage.NEEDS_ADDRESSING_MODE, - null, null); - // REVISIT: via acceptor factory. -- CDROutputObject outputObject = new CDROutputObject( -+ CDROutputObject outputObject = -+ sun.corba.OutputStreamFactory.newCDROutputObject( - (ORB)messageMediator.getBroker(), - this, - messageMediator.getGIOPVersion(), -@@ -2126,7 +2125,7 @@ - ex.printStackTrace(pw); - pw.flush(); // NOTE: you must flush or baos will be empty. - EncapsOutputStream encapsOutputStream = -- new EncapsOutputStream((ORB)mediator.getBroker()); -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)mediator.getBroker()); - encapsOutputStream.putEndian(); - encapsOutputStream.write_wstring(baos.toString()); - UnknownServiceContext serviceContext = -@@ -2203,12 +2202,11 @@ - // REVISIT = do not use null. - // - if (messageMediator.getConnection() == null) { -- // REVISIT - needs factory - replyOutputObject = -- new CDROutputObject(orb, messageMediator, -- messageMediator.getReplyHeader(), -- messageMediator.getStreamFormatVersion(), -- BufferManagerFactory.GROW); -+ sun.corba.OutputStreamFactory.newCDROutputObject(orb, -+ messageMediator, messageMediator.getReplyHeader(), -+ messageMediator.getStreamFormatVersion(), -+ BufferManagerFactory.GROW); - } else { - replyOutputObject = messageMediator.getConnection().getAcceptor() - .createOutputObject(messageMediator.getBroker(), messageMediator); ---- corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_2.java 2012-08-10 09:10:43.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_2.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -41,7 +41,6 @@ - - import com.sun.corba.se.impl.orbutil.ORBUtility; - import com.sun.corba.se.impl.orbutil.ORBConstants; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - - import com.sun.corba.se.spi.logging.CORBALogDomains ; - import com.sun.corba.se.impl.logging.ORBUtilSystemException ; ---- corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java 2012-08-10 09:10:45.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -60,9 +60,10 @@ - import com.sun.corba.se.impl.logging.ORBUtilSystemException ; - import com.sun.corba.se.impl.orbutil.ORBUtility; - import com.sun.corba.se.impl.orbutil.ORBConstants; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.impl.protocol.AddressingDispositionException; ++ private static Object createDelegate(String classKey) { + String className = (String) + AccessController.doPrivileged(new GetPropertyAction(classKey)); + if (className == null) { +@@ -351,7 +346,7 @@ + } -+import sun.corba.SharedSecrets; -+ - /** - * This class acts as the base class for the various GIOP message types. This - * also serves as a factory to create various message types. We currently -@@ -909,7 +910,8 @@ - SystemException sysEx = null; + if (className == null) { +- className = defaultClassName; ++ return new com.sun.corba.se.impl.javax.rmi.CORBA.Util(); + } try { -- Class clazz = ORBClassLoader.loadClass(exClassName); -+ Class<?> clazz = -+ SharedSecrets.getJavaCorbaAccess().loadClass(exClassName); - if (message == null) { - sysEx = (SystemException) clazz.newInstance(); - } else { ---- corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_0.java 2012-08-10 09:10:46.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_0.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -37,7 +37,6 @@ - import com.sun.corba.se.spi.servicecontext.ServiceContexts; - import com.sun.corba.se.spi.ior.iiop.GIOPVersion; - import com.sun.corba.se.impl.orbutil.ORBUtility; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.spi.ior.IOR; - import com.sun.corba.se.impl.encoding.CDRInputStream; +--- corba/src/share/classes/javax/rmi/PortableRemoteObject.java 2013-09-06 11:20:53.000000000 -0700 ++++ corba/src/share/classes/javax/rmi/PortableRemoteObject.java 2014-01-18 12:16:06.000000000 -0800 +@@ -65,17 +65,14 @@ + */ + public class PortableRemoteObject { ---- corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_1.java 2012-08-10 09:10:46.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_1.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -37,7 +37,6 @@ - import com.sun.corba.se.spi.servicecontext.ServiceContexts; - import com.sun.corba.se.spi.ior.iiop.GIOPVersion; - import com.sun.corba.se.impl.orbutil.ORBUtility; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; - import com.sun.corba.se.spi.ior.IOR; - import com.sun.corba.se.impl.encoding.CDRInputStream; +- private static javax.rmi.CORBA.PortableRemoteObjectDelegate proDelegate = null; ++ private static final javax.rmi.CORBA.PortableRemoteObjectDelegate proDelegate; ---- corba/src/share/classes/com/sun/corba/se/impl/transport/CorbaContactInfoBase.java 2012-08-10 09:10:48.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/transport/CorbaContactInfoBase.java 2013-06-22 09:39:21.000000000 -0700 -@@ -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 -@@ -214,7 +214,7 @@ - messageMediator; + private static final String PortableRemoteObjectClassKey = + "javax.rmi.CORBA.PortableRemoteObjectClass"; - OutputObject outputObject = -- new CDROutputObject(orb, messageMediator, -+ sun.corba.OutputStreamFactory.newCDROutputObject(orb, messageMediator, - corbaMessageMediator.getRequestHeader(), - corbaMessageMediator.getStreamFormatVersion()); +- private static final String defaultPortableRemoteObjectImplName = +- "com.sun.corba.se.impl.javax.rmi.PortableRemoteObject"; +- + static { + proDelegate = (javax.rmi.CORBA.PortableRemoteObjectDelegate) +- createDelegateIfSpecified(PortableRemoteObjectClassKey); ++ createDelegate(PortableRemoteObjectClassKey); + } ---- corba/src/share/classes/com/sun/corba/se/impl/transport/SharedCDRContactInfoImpl.java 2012-08-10 09:10:50.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/transport/SharedCDRContactInfoImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -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 -@@ -134,7 +134,7 @@ - messageMediator; - // NOTE: GROW. - OutputObject outputObject = -- new CDROutputObject(orb, messageMediator, -+ sun.corba.OutputStreamFactory.newCDROutputObject(orb, messageMediator, - corbaMessageMediator.getRequestHeader(), - corbaMessageMediator.getStreamFormatVersion(), - BufferManagerFactory.GROW); ---- corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelAcceptorImpl.java 2012-08-10 09:10:50.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelAcceptorImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2001, 2010, 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 -@@ -534,9 +534,9 @@ - { - CorbaMessageMediator corbaMessageMediator = (CorbaMessageMediator) - messageMediator; -- return new CDROutputObject((ORB) broker, corbaMessageMediator, -- corbaMessageMediator.getReplyHeader(), -- corbaMessageMediator.getStreamFormatVersion()); -+ return sun.corba.OutputStreamFactory.newCDROutputObject((ORB) broker, -+ corbaMessageMediator, corbaMessageMediator.getReplyHeader(), -+ corbaMessageMediator.getStreamFormatVersion()); - } - - //////////////////////////////////////////////////// ---- corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java 2012-08-10 09:10:50.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2001, 2010, 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 -@@ -1588,8 +1588,8 @@ - { - // REVISIT: See comments in CDROutputObject constructor. - CDROutputObject outputObject = -- new CDROutputObject((ORB)orb, null, giopVersion, this, msg, -- ORBConstants.STREAM_FORMAT_VERSION_1); -+ sun.corba.OutputStreamFactory.newCDROutputObject((ORB)orb, null, giopVersion, -+ this, msg, ORBConstants.STREAM_FORMAT_VERSION_1); - msg.write(outputObject); - - outputObject.writeTo(this); ---- corba/src/share/classes/com/sun/corba/se/spi/ior/TaggedComponentBase.java 2012-08-10 09:10:59.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/spi/ior/TaggedComponentBase.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 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 -@@ -42,7 +42,8 @@ - public org.omg.IOP.TaggedComponent getIOPComponent( - org.omg.CORBA.ORB orb ) - { -- EncapsOutputStream os = new EncapsOutputStream( (ORB)orb ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb); - write( os ) ; - InputStream is = (InputStream)(os.create_input_stream() ) ; - return org.omg.IOP.TaggedComponentHelper.read( is ) ; ---- corba/src/share/classes/com/sun/corba/se/spi/orb/ORB.java 2012-08-10 09:11:09.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/spi/orb/ORB.java 2013-06-22 09:39:21.000000000 -0700 + /** +@@ -181,7 +178,7 @@ + // are in different packages and the visibility needs to be package for + // security reasons. If you know a better solution how to share this code + // then remove it from here. +- private static Object createDelegateIfSpecified(String classKey) { ++ private static Object createDelegate(String classKey) { + String className = (String) + AccessController.doPrivileged(new GetPropertyAction(classKey)); + if (className == null) { +@@ -191,7 +188,7 @@ + } + } + if (className == null) { +- className = defaultPortableRemoteObjectImplName; ++ return new com.sun.corba.se.impl.javax.rmi.PortableRemoteObject(); + } + + try { +--- corba/src/share/classes/org/omg/CORBA/ORB.java 2013-09-06 11:20:54.000000000 -0700 ++++ corba/src/share/classes/org/omg/CORBA/ORB.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1995, 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 -@@ -97,7 +97,8 @@ - - import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl ; - --import com.sun.corba.se.impl.orbutil.ORBClassLoader ; -+import sun.awt.AppContext; -+import sun.corba.SharedSecrets; +@@ -174,15 +174,6 @@ + private static final String ORBSingletonClassKey = "org.omg.CORBA.ORBSingletonClass"; - public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB - implements Broker, TypeCodeFactory -@@ -173,14 +174,7 @@ - - protected MonitoringManager monitoringManager; - -- // There is only one instance of the PresentationManager -- // that is shared between all ORBs. This is necessary -- // because RMI-IIOP requires the PresentationManager in -- // places where no ORB is available, so the PresentationManager -- // must be global. It is initialized here as well. -- protected static PresentationManager globalPM = null ; -- -- static { -+ private static PresentationManager setupPresentationManager() { - staticWrapper = ORBUtilSystemException.get( - CORBALogDomains.RPC_PRESENTATION ) ; - -@@ -207,7 +201,7 @@ - - try { - // First try the configured class name, if any -- Class cls = ORBClassLoader.loadClass( className ) ; -+ Class<?> cls = SharedSecrets.getJavaCorbaAccess().loadClass( className ) ; - sff = (PresentationManager.StubFactoryFactory)cls.newInstance() ; - } catch (Exception exc) { - // Use the default. Log the error as a warning. -@@ -218,12 +212,13 @@ - return sff ; - } - } -- ) ; -+ ); - -- globalPM = new PresentationManagerImpl( useDynamicStub ) ; -- globalPM.setStubFactoryFactory( false, -+ PresentationManager pm = new PresentationManagerImpl( useDynamicStub ) ; -+ pm.setStubFactoryFactory( false, - PresentationDefaults.getStaticStubFactoryFactory() ) ; -- globalPM.setStubFactoryFactory( true, dynamicStubFactoryFactory ) ; -+ pm.setStubFactoryFactory( true, dynamicStubFactoryFactory ) ; -+ return pm; + // +- // The last resort fallback ORB implementation classes in case +- // no ORB implementation class is dynamically configured through +- // properties or applet parameters. Change these values to +- // vendor-specific class names. +- // +- private static final String defaultORB = "com.sun.corba.se.impl.orb.ORBImpl"; +- private static final String defaultORBSingleton = "com.sun.corba.se.impl.orb.ORBSingleton"; +- +- // + // The global instance of the singleton ORB implementation which + // acts as a factory for typecodes for generated Helper classes. + // TypeCodes should be immutable since they may be shared across +@@ -294,10 +285,12 @@ + String className = getSystemProperty(ORBSingletonClassKey); + if (className == null) + className = getPropertyFromFile(ORBSingletonClassKey); +- if (className == null) +- className = defaultORBSingleton; +- +- singleton = create_impl(className); ++ if ((className == null) || ++ (className.equals("com.sun.corba.se.impl.orb.ORBSingleton"))) { ++ singleton = new com.sun.corba.se.impl.orb.ORBSingleton(); ++ } else { ++ singleton = create_impl(className); ++ } + } + return singleton; } +@@ -347,10 +340,13 @@ + className = getSystemProperty(ORBClassKey); + if (className == null) + className = getPropertyFromFile(ORBClassKey); +- if (className == null) +- className = defaultORB; ++ if ((className == null) || ++ (className.equals("com.sun.corba.se.impl.orb.ORBImpl"))) { ++ orb = new com.sun.corba.se.impl.orb.ORBImpl(); ++ } else { ++ orb = create_impl(className); ++ } - public void destroy() { -@@ -234,11 +229,19 @@ - byteBufferPool = null; +- orb = create_impl(className); + orb.set_parameters(args, props); + return orb; } - -- /** Get the single instance of the PresentationManager -+ /** -+ * Returns the Presentation Manager for the current thread group, using the ThreadGroup-specific -+ * AppContext to hold it. Creates and records one if needed. - */ - public static PresentationManager getPresentationManager() - { -- return globalPM ; -+ AppContext ac = AppContext.getAppContext(); -+ PresentationManager pm = (PresentationManager) ac.get(PresentationManager.class); -+ if (pm == null) { -+ pm = setupPresentationManager(); -+ ac.put(PresentationManager.class, pm); +@@ -375,10 +371,13 @@ + className = getSystemProperty(ORBClassKey); + if (className == null) + className = getPropertyFromFile(ORBClassKey); +- if (className == null) +- className = defaultORB; ++ if ((className == null) || ++ (className.equals("com.sun.corba.se.impl.orb.ORBImpl"))) { ++ orb = new com.sun.corba.se.impl.orb.ORBImpl(); ++ } else { ++ orb = create_impl(className); + } -+ return pm; - } - /** Get the appropriate StubFactoryFactory. This -@@ -248,8 +251,9 @@ - public static PresentationManager.StubFactoryFactory - getStubFactoryFactory() - { -- boolean useDynamicStubs = globalPM.useDynamicStubs() ; -- return globalPM.getStubFactoryFactory( useDynamicStubs ) ; -+ PresentationManager gPM = getPresentationManager(); -+ boolean useDynamicStubs = gPM.useDynamicStubs() ; -+ return gPM.getStubFactoryFactory( useDynamicStubs ) ; +- orb = create_impl(className); + orb.set_parameters(app, props); + return orb; } - - protected ORB() -@@ -543,6 +547,7 @@ - public abstract ThreadPoolManager getThreadPoolManager(); - - public abstract CopierManager getCopierManager() ; -+ - } - - // End of file. ---- corba/src/share/classes/com/sun/corba/se/spi/orb/OperationFactory.java 2012-08-10 09:11:10.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/spi/orb/OperationFactory.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2002, 2010, 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 -@@ -35,9 +35,10 @@ - import com.sun.corba.se.spi.logging.CORBALogDomains ; - - import com.sun.corba.se.impl.logging.ORBUtilSystemException ; --import com.sun.corba.se.impl.orbutil.ORBClassLoader ; - import com.sun.corba.se.impl.orbutil.ObjectUtility ; - -+import sun.corba.SharedSecrets; -+ - /** This is a static factory class for commonly used operations - * for property parsing. The following operations are supported: - * <ul> -@@ -247,7 +248,8 @@ - String className = getString( value ) ; - - try { -- Class result = ORBClassLoader.loadClass( className ) ; -+ Class<?> result = -+ SharedSecrets.getJavaCorbaAccess().loadClass( className ) ; - return result ; - } catch (Exception exc) { - ORBUtilSystemException wrapper = ORBUtilSystemException.get( ---- corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContext.java 2012-08-10 09:11:11.000000000 -0700 -+++ corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ServiceContext.java 2013-06-22 09:39:21.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 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 -@@ -92,7 +92,8 @@ - */ - public void write(OutputStream s, GIOPVersion gv) throws SystemException - { -- EncapsOutputStream os = new EncapsOutputStream( (ORB)(s.orb()), gv ) ; -+ EncapsOutputStream os = -+ sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)(s.orb()), gv); - os.putEndian() ; - writeData( os ) ; - byte[] data = os.toByteArray() ; ---- corba/src/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java 2012-08-10 09:11:49.000000000 -0700 -+++ corba/src/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java 2013-06-22 09:39:21.000000000 -0700 +--- corba/src/share/classes/org/omg/CORBA_2_3/portable/InputStream.java 2013-09-06 11:20:55.000000000 -0700 ++++ corba/src/share/classes/org/omg/CORBA_2_3/portable/InputStream.java 2014-01-18 12:16:06.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved. @@ -5329,13 +1103,15 @@ +import java.security.PrivilegedAction; + /** - * OutputStream provides interface for writing of all of the mapped IDL type - * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines -@@ -43,6 +47,40 @@ + * InputStream provides for the reading of all of the mapped IDL types + * from the stream. It extends org.omg.CORBA.portable.InputStream. This +@@ -43,6 +47,43 @@ - public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream { + public abstract class InputStream extends org.omg.CORBA.portable.InputStream { -+ private static final String ALLOW_SUBCLASS_PROP = "jdk.corba.allowOutputStreamSubclass"; ++ ++ private static final String ALLOW_SUBCLASS_PROP = "jdk.corba.allowInputStreamSubclass"; ++ + private static final boolean allowSubclass = AccessController.doPrivileged( + new PrivilegedAction<Boolean>() { + @Override @@ -5355,7 +1131,8 @@ + } + return null; + } -+ private OutputStream(Void ignore) { } ++ ++ private InputStream(Void ignore) { } + + /** + * Create a new instance of this class. @@ -5365,18 +1142,18 @@ + * is not granted or jdk.corba.allowOutputStreamSubclass system + * property is either not set or is set to 'false' + */ -+ public OutputStream() { ++ public InputStream() { + this(checkPermission()); + } + /** - * Marshals a value type to the output stream. - * @param value is the acutal value to write ---- corba/src/share/classes/sun/corba/JavaCorbaAccess.java 1969-12-31 16:00:00.000000000 -0800 -+++ corba/src/share/classes/sun/corba/JavaCorbaAccess.java 2013-06-22 09:39:21.000000000 -0700 -@@ -0,0 +1,33 @@ + * Unmarshalls a value type from the input stream. + * @return the value type unmarshalled from the input stream +--- corba/src/share/classes/sun/corba/EncapsInputStreamFactory.java 1969-12-31 16:00:00.000000000 -0800 ++++ corba/src/share/classes/sun/corba/EncapsInputStreamFactory.java 2014-01-18 12:16:06.000000000 -0800 +@@ -0,0 +1,153 @@ +/* -+ * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. ++ * 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 @@ -5399,232 +1176,290 @@ + * or visit www.oracle.com if you need additional information or have any + * questions. + */ -+ +package sun.corba; + -+import com.sun.corba.se.impl.io.ValueHandlerImpl; -+ -+public interface JavaCorbaAccess { -+ public ValueHandlerImpl newValueHandlerImpl(); -+ public Class<?> loadClass(String className) throws ClassNotFoundException; -+} ---- corba/src/share/classes/sun/corba/OutputStreamFactory.java 1969-12-31 16:00:00.000000000 -0800 -+++ corba/src/share/classes/sun/corba/OutputStreamFactory.java 2013-06-22 09:39:21.000000000 -0700 -@@ -0,0 +1,149 @@ -+/* -+ * 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. Oracle designates this -+ * particular file as subject to the "Classpath" exception as provided -+ * by Oracle in the LICENSE file that accompanied this code. -+ * -+ * 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. -+ */ ++import java.nio.ByteBuffer; ++import java.security.AccessController; ++import java.security.PrivilegedAction; + -+package sun.corba; + -+import com.sun.corba.se.impl.corba.AnyImpl; -+import com.sun.corba.se.impl.encoding.BufferManagerWrite; -+import com.sun.corba.se.impl.encoding.CDROutputObject; -+import com.sun.corba.se.impl.encoding.EncapsOutputStream; -+import com.sun.corba.se.impl.encoding.TypeCodeOutputStream; ++import com.sun.corba.se.impl.encoding.EncapsInputStream; ++import com.sun.corba.se.impl.encoding.TypeCodeInputStream; +import com.sun.corba.se.impl.protocol.giopmsgheaders.Message; -+ +import com.sun.corba.se.pept.protocol.MessageMediator; -+ -+import com.sun.corba.se.spi.orb.ORB; -+import com.sun.corba.se.spi.transport.CorbaConnection; +import com.sun.corba.se.spi.ior.iiop.GIOPVersion; -+import com.sun.corba.se.spi.protocol.CorbaMessageMediator; -+ -+import java.security.AccessController; -+import java.security.PrivilegedAction; ++import com.sun.corba.se.spi.orb.ORB; ++import com.sun.org.omg.SendingContext.CodeBase; + -+public final class OutputStreamFactory { ++public class EncapsInputStreamFactory { + -+ private OutputStreamFactory() { ++ public static EncapsInputStream newEncapsInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] buf, final int size, ++ final boolean littleEndian, final GIOPVersion version) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(orb, buf, size, ++ littleEndian, version); ++ } ++ }); + } + -+ public static TypeCodeOutputStream newTypeCodeOutputStream( -+ final ORB orb) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<TypeCodeOutputStream>() { -+ @Override -+ public TypeCodeOutputStream run() { -+ return new TypeCodeOutputStream(orb); -+ } -+ }); ++ public static EncapsInputStream newEncapsInputStream( ++ final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer, ++ final int size, final boolean littleEndian, ++ final GIOPVersion version) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(orb, byteBuffer, size, ++ littleEndian, version); ++ } ++ }); + } + -+ public static TypeCodeOutputStream newTypeCodeOutputStream( -+ final ORB orb, final boolean littleEndian) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<TypeCodeOutputStream>() { -+ @Override -+ public TypeCodeOutputStream run() { -+ return new TypeCodeOutputStream(orb, littleEndian); -+ } -+ }); ++ public static EncapsInputStream newEncapsInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] data, final int size) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(orb, data, size); ++ } ++ }); + } + -+ public static EncapsOutputStream newEncapsOutputStream( -+ final ORB orb) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<EncapsOutputStream>() { -+ @Override -+ public EncapsOutputStream run() { -+ return new EncapsOutputStream( -+ (com.sun.corba.se.spi.orb.ORB)orb); -+ } -+ }); ++ public static EncapsInputStream newEncapsInputStream( ++ final EncapsInputStream eis) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(eis); ++ } ++ }); + } + -+ public static EncapsOutputStream newEncapsOutputStream( -+ final ORB orb, final GIOPVersion giopVersion) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<EncapsOutputStream>() { -+ @Override -+ public EncapsOutputStream run() { -+ return new EncapsOutputStream( -+ (com.sun.corba.se.spi.orb.ORB)orb, giopVersion); -+ } -+ }); ++ public static EncapsInputStream newEncapsInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] data, final int size, ++ final GIOPVersion version) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(orb, data, size, version); ++ } ++ }); + } + -+ public static EncapsOutputStream newEncapsOutputStream( -+ final ORB orb, final boolean isLittleEndian) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<EncapsOutputStream>() { -+ @Override -+ public EncapsOutputStream run() { -+ return new EncapsOutputStream( -+ (com.sun.corba.se.spi.orb.ORB)orb, isLittleEndian); -+ } -+ }); ++ public static EncapsInputStream newEncapsInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] data, final int size, ++ final GIOPVersion version, final CodeBase codeBase) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<EncapsInputStream>() { ++ @Override ++ public EncapsInputStream run() { ++ return new EncapsInputStream(orb, data, size, version, ++ codeBase); ++ } ++ }); + } + -+ public static CDROutputObject newCDROutputObject( -+ final ORB orb, final MessageMediator messageMediator, -+ final Message header, final byte streamFormatVersion) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<CDROutputObject>() { -+ @Override -+ public CDROutputObject run() { -+ return new CDROutputObject(orb, messageMediator, -+ header, streamFormatVersion); -+ } -+ }); ++ public static TypeCodeInputStream newTypeCodeInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] buf, final int size, ++ final boolean littleEndian, final GIOPVersion version) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() { ++ @Override ++ public TypeCodeInputStream run() { ++ return new TypeCodeInputStream(orb, buf, size, ++ littleEndian, version); ++ } ++ }); + } + -+ public static CDROutputObject newCDROutputObject( -+ final ORB orb, final MessageMediator messageMediator, -+ final Message header, final byte streamFormatVersion, -+ final int strategy) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<CDROutputObject>() { -+ @Override -+ public CDROutputObject run() { -+ return new CDROutputObject(orb, messageMediator, -+ header, streamFormatVersion, strategy); -+ } -+ }); ++ public static TypeCodeInputStream newTypeCodeInputStream( ++ final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer, ++ final int size, final boolean littleEndian, ++ final GIOPVersion version) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() { ++ @Override ++ public TypeCodeInputStream run() { ++ return new TypeCodeInputStream(orb, byteBuffer, size, ++ littleEndian, version); ++ } ++ }); + } + -+ public static CDROutputObject newCDROutputObject( -+ final ORB orb, final CorbaMessageMediator mediator, -+ final GIOPVersion giopVersion, final CorbaConnection connection, -+ final Message header, final byte streamFormatVersion) { -+ return AccessController.doPrivileged( -+ new PrivilegedAction<CDROutputObject>() { -+ @Override -+ public CDROutputObject run() { -+ return new CDROutputObject(orb, mediator, -+ giopVersion, connection, header, streamFormatVersion); -+ } -+ }); ++ public static TypeCodeInputStream newTypeCodeInputStream( ++ final org.omg.CORBA.ORB orb, final byte[] data, final int size) { ++ return AccessController ++ .doPrivileged(new PrivilegedAction<TypeCodeInputStream>() { ++ @Override ++ public TypeCodeInputStream run() { ++ return new TypeCodeInputStream(orb, data, size); ++ } ++ }); + } -+ +} ---- corba/src/share/classes/sun/corba/SharedSecrets.java 1969-12-31 16:00:00.000000000 -0800 -+++ corba/src/share/classes/sun/corba/SharedSecrets.java 2013-03-09 18:08:34.000000000 -0800 -@@ -0,0 +1,60 @@ -+/* -+ * Copyright (c) 2012, 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. Oracle designates this -+ * particular file as subject to the "Classpath" exception as provided -+ * by Oracle in the LICENSE file that accompanied this code. -+ * -+ * 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. -+ */ +--- corba/src/share/classes/sun/rmi/rmic/iiop/StubGenerator.java 2013-09-06 11:20:56.000000000 -0700 ++++ corba/src/share/classes/sun/rmi/rmic/iiop/StubGenerator.java 2013-12-01 11:13:38.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 +@@ -34,6 +34,9 @@ + + import java.io.File; + import java.io.IOException; ++import java.io.SerializablePermission; ++import java.security.AccessController; ++import java.security.PrivilegedAction; + import java.util.Vector; + import java.util.Hashtable; + import java.util.Enumeration; +@@ -49,6 +52,7 @@ + import com.sun.corba.se.impl.util.PackagePrefixChecker; + import sun.rmi.rmic.Main; + + -+package sun.corba; + /** + * An IIOP stub/tie generator for rmic. + * +@@ -78,6 +82,7 @@ + protected boolean castArray = false; + protected Hashtable transactionalObjects = new Hashtable() ; + protected boolean POATie = false ; ++ protected boolean emitPermissionCheck = false; + + /** + * Default constructor for Main to use. +@@ -193,6 +198,9 @@ + } else if (argv[i].equals("-standardPackage")) { + standardPackage = true; + argv[i] = null; ++ } else if (argv[i].equals("-emitPermissionCheck")) { ++ emitPermissionCheck = true; ++ argv[i] = null; + } else if (arg.equals("-xstubbase")) { + argv[i] = null; + if (++i < argv.length && argv[i] != null && !argv[i].startsWith("-")) { +@@ -390,9 +398,22 @@ + + writePackageAndImports(p); + ++// generate ++// import java.security.AccessController; ++// import java.security.PrivilegedAction; ++// import java.io.SerializablePermission; ++ if (emitPermissionCheck) { ++ p.pln("import java.security.AccessController;"); ++ p.pln("import java.security.PrivilegedAction;"); ++ p.pln("import java.io.SerializablePermission;"); ++ p.pln(); ++ p.pln(); ++ } + -+import com.sun.corba.se.impl.io.ValueUtility; -+import sun.misc.Unsafe; + // Declare the stub class; implement all remote interfaces. + + p.p("public class " + currentClass); + -+import java.security.AccessController; + p.p(" extends " + getName(stubBaseClass)); + p.p(" implements "); + if (remoteInterfaces.length > 0) { +@@ -422,6 +443,56 @@ + writeIds( p, theType, false ); + p.pln(); + ++ if (emitPermissionCheck) { + -+/** A repository of "shared secrets", which are a mechanism for -+ calling implementation-private methods in another package without -+ using reflection. A package-private class implements a public -+ interface and provides the ability to call package-private methods -+ within that package; the object implementing that interface is -+ provided through a third package to which access is restricted. -+ This framework avoids the primary disadvantage of using reflection -+ for this purpose, namely the loss of compile-time checking. */ -+ -+// SharedSecrets cloned in corba repo to avoid build issues -+public class SharedSecrets { -+ private static final Unsafe unsafe = Unsafe.getUnsafe(); -+ private static JavaCorbaAccess javaCorbaAccess; -+ -+ public static JavaCorbaAccess getJavaCorbaAccess() { -+ if (javaCorbaAccess == null) { -+ // Ensure ValueUtility is initialized; we know that that class -+ // provides the shared secret -+ unsafe.ensureClassInitialized(ValueUtility.class); -+ } -+ return javaCorbaAccess; -+ } ++ // produce the following generated code ++ // private static Void checkPermission() { ++ // SecurityManager sm = System.getSecurityManager(); ++ // if (sm != null) { ++ // sm.checkPermission(new SerializablePermission( ++ // "enableSubclassImplementation")); // testing ++ // } ++ // return null; ++ // } ++ // ++ // private _XXXXXX_Stub(Void ignore) { ++ // } ++ // ++ // public _XXXXXX_Stub() { ++ // this(checkPermission()); ++ // } ++ // where XXXXXX is the name of the remote interface + -+ public static void setJavaCorbaAccess(JavaCorbaAccess access) { -+ javaCorbaAccess = access; -+ } ++ p.pln(); ++ p.plnI("private static Void checkPermission() {"); ++ p.plnI("SecurityManager sm = System.getSecurityManager();"); ++ p.pln("if (sm != null) {"); ++ p.pI(); ++ p.plnI("sm.checkPermission(new SerializablePermission("); ++ p.plnI("\"enableSubclassImplementation\"));"); ++ p.pO(); ++ p.pO(); ++ p.pOln("}"); ++ p.pln("return null;"); ++ p.pO(); ++ p.pOln("}"); ++ p.pln(); ++ p.pO(); + -+} ---- hotspot/.hgtags 2012-08-10 09:20:36.000000000 -0700 -+++ hotspot/.hgtags 2013-04-28 16:29:15.000000000 -0700 ++ p.pI(); ++ p.pln("private " + currentClass + "(Void ignore) { }"); ++ p.pln(); ++ ++ p.plnI("public " + currentClass + "() { "); ++ p.pln("this(checkPermission());"); ++ p.pOln("}"); ++ p.pln(); ++ } ++ ++ if (!emitPermissionCheck) { ++ p.pI(); ++ } ++ + // Write the _ids() method... + + p.plnI("public String[] _ids() { "); +@@ -815,7 +886,6 @@ + CompoundType theType) throws IOException { + + // Wtite the method declaration and opening brace... +- + String methodName = method.getName(); + String methodIDLName = method.getIDLName(); + +@@ -1631,7 +1701,7 @@ + + // Write data members... + p.pln(); +- p.pln("private " + getName(theType) + " target = null;"); ++ p.pln("volatile private " + getName(theType) + " target = null;"); + p.pln(); + + // Write the ids... +@@ -1695,6 +1765,10 @@ + + if (remoteMethods.length > 0) { + p.plnI("try {"); ++ p.pln(getName(theType) + " target = this.target;"); ++ p.plnI("if (target == null) {"); ++ p.pln("throw new java.io.IOException();"); ++ p.pOln("}"); + p.plnI(idExtInputStream + " "+in+" = "); + p.pln("(" + idExtInputStream + ") "+_in+";"); + p.pO(); +--- hotspot/.hgtags 2013-09-06 11:21:49.000000000 -0700 ++++ hotspot/.hgtags 2014-01-18 12:16:16.000000000 -0800 @@ -182,6 +182,7 @@ 38fa55e5e79232d48f1bb8cf27d88bc094c9375a hs21-b16 81d815b05abb564aa1f4100ae13491c949b9a07e jdk7-b147 @@ -5633,80 +1468,83 @@ 9b0ca45cd756d538c4c30afab280a91868eee1a5 jdk7u2-b01 0cc8a70952c368e06de2adab1f2649a408f5e577 jdk8-b01 31e253c1da429124bb87570ab095d9bc89850d0a jdk8-b02 -@@ -318,5 +319,69 @@ - 02a6c89432d724119565f9ba25672829b136fc5f jdk7u6-b21 - a79d86eef6ac995a1fc35554f082f3a61abe9ae0 jdk7u6-b22 - df57f6208cb76b4e8d1a0bd0eea3d2ad577cb79b jdk7u6-b23 --02a6c89432d724119565f9ba25672829b136fc5f jdk7u8-b01 --528502f930967f70c320472a002418f1e38029e0 jdk7u8-b02 -+b03c2687fb16514652e79261ad68d2c601dcee62 jdk7u6-b24 -+cffde29ea7cc8647f17002a4d0e94065dcd82839 jdk7u6-b30 -+7566374c3c89b7d99be9bcdb9342283a3bea6930 jdk7u6-b31 -+f7933fecea9aa494e4032e17ff07e5fcec4b5961 jdk7u7-b10 -+eeef33dc4b40f9ba50c4c9b1ac61b30f0f2523bf jdk7u7-b30 -+f1551c70c7f598b7049bcc33e530fc738a81c7a4 jdk7u7-b11 -+6b9db7216dd4b7846faf372f19566a418c8e391f jdk7u7-b31 -+b66bb0e3224ff15259361a5b501bf8fa6b346113 jdk7u7-b01 -+ca6943c94e6075fc28353d52ac6ea52c80aef9bb jdk7u7-b02 -+e043d96d767d8ba4d74d53c477af8e07b78b6128 jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+b66bb0e3224ff15259361a5b501bf8fa6b346113 jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+ca6943c94e6075fc28353d52ac6ea52c80aef9bb jdk7u9-b02 -+ed42837374ac730ddaf2fd28814017c665634a8b jdk7u9-b04 -+da4aa289ac100017f850ed4d492e8054db6a1e28 jdk7u9-b05 -+8eaa45ed5f804199c0823b409dc37f72e808926f jdk7u9-b31 -+ea83168282c8c3a9f4a8ca723cc86972a3188d58 jdk7u9-b32 -+d2e25680db9d4209b3f0f51e5c848284cedea508 jdk7u10-b10 -+d37fd995683ab5bc2d941648ce7bf8bd194732f2 jdk7u10-b11 -+f26f3d92e6d9ef7842b2d785f92439dbb15e670e jdk7u10-b12 -+58881c615a5179bcea69148d0b3eb47a1f1a7de8 jdk7u10-b13 -+cdbf4d442b56ece8ac521c65b59087682e5ae918 jdk7u10-b14 -+63e8b49b329e4b50547b13f5c732665bed535732 jdk7u10-b15 -+1cb34ef50bddc334c8538cf85d8612383debc74f jdk7u10-b16 -+5c154a591de987d515f5b102a988bcf96d439f53 jdk7u10-b17 -+78c7e1b4a006342230e04fbb73f637834207abef jdk7u10-b18 -+c6b78bbaf6976197ead9d5aa3f65e0224cd13541 jdk7u10-b30 -+07f7daeb261073a4a2946d988979ee65ba8ed753 jdk7u10-b31 -+25a92b94ad538963d009bf8a53ce548e13f55c82 jdk7u11-b20 -+7a2cf85fc36e845db9ccb2a22af195c70af33bdf jdk7u11-b21 -+06b5c3f663b81f11da2080a91d215a96ae431f84 jdk7u11-b32 -+abb5b690122caabf09f93958c747358cc22f8a59 jdk7u11-b33 -+db7028c8a953f46225fceb6148f97de87c784dda jdk7u11-b03 -+4d418a1b8be04220f504cf414b47877821a22a26 jdk7u11-b04 -+f71032f398a3baea567710ba7161c64b94495cac jdk7u11-b05 -+0cbce123c9027d531e585fd81fbc361c5f8407f1 jdk7u11-b06 -+94bf1e3dafef3cc06d3f97f81d304313ccd999ee jdk7u11-b07 -+2b543aa340e4a75671fe05803fcee08bf3e136db jdk7u11-b08 -+34a7b6dda06e2ff6f7e9ad563e3fc3ecd8993579 jdk7u13-b09 -+e0e52e35e0c53a84daadae95f626e36fd74f3eba jdk7u13-b10 -+be57a8d7a1a75971c3b1e7777dcacd20f3d33264 jdk7u13-b30 -+e0e52e35e0c53a84daadae95f626e36fd74f3eba jdk7u13-b20 -+5fbe0cae3a2a78a73946cfd08c56a64860f1afd9 jdk7u15-b01 -+30d72c9abb560bc424d16d96bfd396ccd3c62cbc jdk7u15-b02 -+221c64550c5b4411d78b63820835de1a8cd0c118 jdk7u15-b30 -+0b905a04f573565515aa8614085099abd73dcac4 jdk7u15-b31 -+8b349f332a66ebe5982b5680c85f903efb03da8e jdk7u15-b33 -+5b55cef461b034766f05a46640caa123aa4247d4 jdk7u15-b03 -+34a7b6dda06e2ff6f7e9ad563e3fc3ecd8993579 jdk7u15-b32 -+a4dfda7a2655209abb170b2fa4914dbbba89bcd3 jdk7u17-b01 -+0d82bf449a610602b6e9ddcc9e076839d5351449 jdk7u17-b02 -+7b357c079370e2fd324c229f2e24c982915c80a0 jdk7u17-b30 -+22b6fd616cfe61774525a944f162bf5e7c418f03 jdk7u17-b31 -+be57a8d7a1a75971c3b1e7777dcacd20f3d33264 jdk7u21-b01 -+5119d89c7cc844190c0799dca85710e7592d42e7 jdk7u21-b02 -+ad14169fb640ca532193cca0fd6e14910f226075 jdk7u21-b03 -+c954aab38a7f8f62e33ae5103494576f67fc36d9 jdk7u21-b04 -+0e8e9d990d91dc0f8b8807bb82c090de3264c809 jdk7u21-b05 -+beeb3d6b76f06d9f60c31d6c5b9e04d82f01ad79 jdk7u21-b06 -+663b5c744e82d1c884048cd9b38f625e52004773 jdk7u21-b07 -+87e9bb582938552180b024dd99bc5166816f3921 jdk7u21-b08 -+1f195ee7856aecb6527bc5c957f66e1960e51a12 jdk7u21-b09 -+d4a4c2bd389abcd80c25d20e0ffb7d5cee356715 jdk7u21-b10 -+d07dafb51e1d75f110a3c506c250d995235acca6 jdk7u21-b11 -+a977dedec81c346247631ead6f3364c76949d67a jdk7u21-b30 ---- hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2012-08-10 09:21:14.000000000 -0700 -+++ hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2013-04-28 16:29:16.000000000 -0700 +@@ -476,6 +477,24 @@ + 8386245b59c3e82b7c728b7d3832ea342c62615d jdk7u21-b50 + c5e4585a045fe165d067ec0e98af42eace20c5f8 jdk7u21-b12 + 00dbf9fa12ec6b1ba15d9a9a12495f50e10837bf jdk7u21-b31 ++bf2d84c5103d98db1697b50071a649ea23c4e33d jdk7u25-b01 ++07119340f80f77dfcb03fa568641e80b43d4be74 jdk7u25-b02 ++655bea6843fb7beabd8d9eeda59572c0c7055b85 jdk7u25-b03 ++96a4e612195c0d753be24cf38fea0ee8ce30edcf jdk7u25-b04 ++7151c26b838828a20cb28595ef1f70403d1868cf jdk7u25-b05 ++fbb5f6083dd00ca7417e4a45311f33918bb2a5f0 jdk7u25-b06 ++83abf4b2fc8a5bb7226177c5e4334bd0bfd7a8df jdk7u25-b07 ++525252cd9fca4869c3fd81bc61299a85e73ff9c7 jdk7u25-b08 ++706a255a8404b7e41579cea278df6bb87c314567 jdk7u25-b09 ++402184622f60a2ba35479bdf124a8d4694835406 jdk7u25-b10 ++cca49a35bf83664456af112482ffb3a7465d21fa jdk7u25-b11 ++7ca68c0674df72fdd784de337c049404d2b5b0c3 jdk7u25-b12 ++3e145a686fedd9eefdcb6b714241200ed236b41d jdk7u25-b13 ++4fafaf293aa5666e8c9f5ca1d96c3f752305f586 jdk7u25-b14 ++40acb370626fbc439e4cfed8854960a83a376fba jdk7u25-b15 ++97a3ebd62052410e0709035f40032d3f2113ed86 jdk7u25-b30 ++b80a290e6e3011097273525c4f352c70b9857464 jdk7u25-b16 ++273e8afccd6ef9e10e9fe121f7b323755191f3cc jdk7u25-b32 + e3d2c238e29c421c3b5c001e400acbfb30790cfc jdk7u14-b14 + 860ae068f4dff62a77c8315f0335b7e935087e86 hs24-b34 + 12619005c5e29be6e65f0dc9891ca19d9ffb1aaa jdk7u14-b15 +@@ -550,3 +569,38 @@ + b8d8caf6df744d5342b5d284376a005e86c0b108 hs24-b56 + eceae04782438987cd747e1c76e4085f50b43a18 jdk7u40-b43 + af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60 ++efaa26fb6de2ecb8506fb8b785a429d040e96768 jdk7u40-b61 ++df6f37a7311d35072a07c1425a7aadee469a09b6 jdk7u40-b62 ++5fb434aa203c32b4551167b922a70e79831ffdf4 jdk7u45-b01 ++f2039061ba49de742ae88cc3123fd1237965d665 jdk7u45-b02 ++d6fd3f84a30ce82a37fc39b6e5e9d73bd8054ab2 jdk7u45-b03 ++7f16aa9067386aeb3668336aa6cd63ef3dc4f44a jdk7u45-b04 ++b4fe146b820b47d8b59bbb9dc9d43221436ed0ae jdk7u45-b05 ++63efa616e54dd3545e16a5aa1917662548b18ee5 jdk7u45-b06 ++f6748e6123b6745497d69addffdff38e224a77c5 jdk7u45-b07 ++06bcab9ef18355dccc87401fc24dbd5f15615db0 jdk7u45-b08 ++996b6863b3b2468cece20d7a6f571f9ec1b7830c jdk7u45-b09 ++bcaf889eea9e64d30f8c3aefdcdc2c2ee29406f2 jdk7u45-b10 ++7ca907428850dc2aa99ee4a906446e479dbeb392 jdk7u45-b11 ++ed1505510ea0e94b17f968cdb3e8aba13c99d543 jdk7u45-b12 ++89f99af7a7bbdadb5b8cf781c7d899c22df64b71 jdk7u45-b13 ++718d1e9223dd0359d9ccef81fb82c32215702fe8 jdk7u45-b14 ++9ad76a08e5edfe24e95eef84e15fef261bff1abf jdk7u45-b15 ++429884602206fcf5314c8b953c06d54d337558ca jdk7u45-b16 ++0c0dc384915cafd9bfaa2fe5792a629a22d1b990 jdk7u45-b17 ++12374864c655a2cefb0d65caaacf215d5365ec5f jdk7u45-b18 ++3677c8cc3c89c0fa608f485b84396e4cf755634b jdk7u45-b30 ++520b7b3d9153c1407791325946b07c5c222cf0d6 jdk7u45-b31 ++429884602206fcf5314c8b953c06d54d337558ca jdk7u51-b00 ++68f03ff066f2341b89b52a6d6e21ae09de008351 jdk7u51-b01 ++67910a581eca113847c5320c49436a9816c5d5c6 jdk7u51-b02 ++4138fb11955a528e5ee5448d9c6c8e88e0e268b2 jdk7u51-b03 ++683458c333ced92d515daa1b9bcdb5be679e535a jdk7u51-b04 ++ed2db7a82229e7adbfe8a8166bf98f3ef4a09be5 jdk7u51-b05 ++fec027762cf37d033d82d5b3725020f40c771690 jdk7u51-b06 ++f673c581ebf91073b5bbdbdc5e4d4407910fa006 jdk7u51-b07 ++b0a355aae00427e74cc0b89697c7c7f6fb520176 jdk7u51-b08 ++4f56f2e206fd878809f70ca06f4bc21563a7c530 jdk7u51-b09 ++1b7aaef3df78970c9a5ef5cc353ca927241555ee jdk7u51-b10 ++1f11dff734af98f5bf11d4fceeda221ab1416971 jdk7u51-b11 ++dee2a38ef6b26534c44c550ef4da2c3146c612c2 jdk7u51-b12 +--- hotspot/agent/src/os/bsd/ps_proc.c 2013-09-06 11:21:50.000000000 -0700 ++++ hotspot/agent/src/os/bsd/ps_proc.c 2014-01-18 12:16:15.000000000 -0800 +@@ -131,7 +131,7 @@ + + static bool ptrace_continue(pid_t pid, int signal) { + // pass the signal to the process so we don't swallow it +- if (ptrace(PTRACE_CONT, pid, NULL, signal) < 0) { ++ if (ptrace(PT_CONTINUE, pid, NULL, signal) < 0) { + print_debug("ptrace(PTRACE_CONT, ..) failed for %d\n", pid); + return false; + } +--- hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2013-09-06 11:21:51.000000000 -0700 ++++ hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2014-01-18 12:16:15.000000000 -0800 @@ -33,6 +33,7 @@ import sun.jvm.hotspot.debugger.remote.*; import sun.jvm.hotspot.debugger.windbg.*; @@ -5715,8 +1553,8 @@ import sun.jvm.hotspot.memory.*; import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.runtime.*; ---- hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2012-08-10 09:21:38.000000000 -0700 -+++ hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2013-09-06 11:21:52.000000000 -0700 ++++ hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2014-01-18 12:16:15.000000000 -0800 @@ -35,6 +35,7 @@ import sun.jvm.hotspot.debugger.windbg.*; import sun.jvm.hotspot.debugger.linux.*; @@ -5725,8 +1563,8 @@ import sun.jvm.hotspot.debugger.remote.*; import sun.jvm.hotspot.livejvm.*; import sun.jvm.hotspot.memory.*; ---- hotspot/make/bsd/Makefile 2012-08-10 09:22:55.000000000 -0700 -+++ hotspot/make/bsd/Makefile 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/make/bsd/Makefile 2013-09-06 11:21:59.000000000 -0700 ++++ hotspot/make/bsd/Makefile 2014-01-18 12:16:15.000000000 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. @@ -5756,8 +1594,8 @@ # Synonyms for win32-like targets. compiler2: jvmg product ---- hotspot/make/bsd/makefiles/buildtree.make 2012-08-10 09:22:57.000000000 -0700 -+++ hotspot/make/bsd/makefiles/buildtree.make 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/make/bsd/makefiles/buildtree.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/buildtree.make 2014-01-18 12:16:15.000000000 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. @@ -5765,7 +1603,7 @@ # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it -@@ -242,6 +242,16 @@ +@@ -253,6 +253,16 @@ echo "$(call gamma-path,commonsrc,os/posix/vm)"; \ [ -n "$(CFLAGS_BROWSE)" ] && \ echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ @@ -5782,7 +1620,7 @@ [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \ echo && \ echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ -@@ -359,7 +369,7 @@ +@@ -382,7 +392,7 @@ $(QUIETLY) ( \ $(BUILDTREE_COMMENT); \ echo "JDK=${JAVA_HOME}"; \ @@ -5791,241 +1629,8 @@ .dbxrc: $(BUILDTREE_MAKE) @echo Creating $@ ... ---- hotspot/make/bsd/makefiles/defs.make 2012-08-10 09:22:57.000000000 -0700 -+++ hotspot/make/bsd/makefiles/defs.make 2013-04-28 16:29:16.000000000 -0700 -@@ -86,7 +86,7 @@ - VM_PLATFORM = bsd_i486 - HS_ARCH = x86 - # We have to reset ARCH to i386 since SRCARCH relies on it -- ARCH = i386 -+ ARCH = i386 - endif - endif - -@@ -124,6 +124,107 @@ - HS_ARCH = ppc - endif - -+# determine if HotSpot is being built in JDK6 or earlier version -+JDK6_OR_EARLIER=0 -+ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1" -+ # if the longer variable names (newer build style) are set, then check those -+ ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1" -+ JDK6_OR_EARLIER=1 -+ endif -+else -+ # the longer variables aren't set so check the shorter variable names -+ ifeq "$(shell expr \( '$(JDK_MAJOR_VER)' = 1 \& '$(JDK_MINOR_VER)' \< 7 \))" "1" -+ JDK6_OR_EARLIER=1 -+ endif -+endif -+ -+ifeq ($(JDK6_OR_EARLIER),0) -+ # Full Debug Symbols is supported on JDK7 or newer. -+ # The Full Debug Symbols (FDS) default for BUILD_FLAVOR == product -+ # builds is enabled with debug info files ZIP'ed to save space. For -+ # BUILD_FLAVOR != product builds, FDS is always enabled, after all a -+ # debug build without debug info isn't very useful. -+ # The ZIP_DEBUGINFO_FILES option only has meaning when FDS is enabled. -+ # -+ # If you invoke a build with FULL_DEBUG_SYMBOLS=0, then FDS will be -+ # disabled for a BUILD_FLAVOR == product build. -+ # -+ # Note: Use of a different variable name for the FDS override option -+ # versus the FDS enabled check is intentional (FULL_DEBUG_SYMBOLS -+ # versus ENABLE_FULL_DEBUG_SYMBOLS). For auto build systems that pass -+ # in options via environment variables, use of distinct variables -+ # prevents strange behaviours. For example, in a BUILD_FLAVOR != -+ # product build, the FULL_DEBUG_SYMBOLS environment variable will be -+ # 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If -+ # the same variable name is used, then different values can be picked -+ # up by different parts of the build. Just to be clear, we only need -+ # two variable names because the incoming option value can be -+ # overridden in some situations, e.g., a BUILD_FLAVOR != product -+ # build. -+ -+ ifeq ($(BUILD_FLAVOR), product) -+ FULL_DEBUG_SYMBOLS ?= 1 -+ ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS) -+ else -+ # debug variants always get Full Debug Symbols (if available) -+ ENABLE_FULL_DEBUG_SYMBOLS = 1 -+ endif -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)") -+ # since objcopy is optional, we set ZIP_DEBUGINFO_FILES later -+ -+ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ # Default OBJCOPY comes from GNU Binutils on Linux: -+ DEF_OBJCOPY=/usr/bin/objcopy -+ ifdef CROSS_COMPILE_ARCH -+ # don't try to generate .debuginfo files when cross compiling -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: cross compiling for ARCH $(CROSS_COMPILE_ARCH)," \ -+ "skipping .debuginfo generation.") -+ OBJCOPY= -+ else -+ OBJCOPY=$(shell test -x $(DEF_OBJCOPY) && echo $(DEF_OBJCOPY)) -+ ifneq ($(ALT_OBJCOPY),) -+ _JUNK_ := $(shell echo >&2 "INFO: ALT_OBJCOPY=$(ALT_OBJCOPY)") -+ OBJCOPY=$(shell test -x $(ALT_OBJCOPY) && echo $(ALT_OBJCOPY)) -+ endif -+ endif -+ else -+ OBJCOPY= -+ endif -+ -+ ifeq ($(OBJCOPY),) -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: no objcopy cmd found so cannot create .debuginfo files.") -+ ENABLE_FULL_DEBUG_SYMBOLS=0 -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)") -+ else -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: $(OBJCOPY) cmd found so will create .debuginfo files.") -+ -+ # Library stripping policies for .debuginfo configs: -+ # all_strip - strips everything from the library -+ # min_strip - strips most stuff from the library; leaves minimum symbols -+ # no_strip - does not strip the library at all -+ # -+ # Oracle security policy requires "all_strip". A waiver was granted on -+ # 2011.09.01 that permits using "min_strip" in the Java JDK and Java JRE. -+ # -+ # Currently, STRIP_POLICY is only used when Full Debug Symbols is enabled. -+ # -+ STRIP_POLICY ?= min_strip -+ -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)") -+ -+ ZIP_DEBUGINFO_FILES ?= 1 -+ -+ _JUNK_ := $(shell \ -+ echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)") -+ endif -+endif -+ - JDK_INCLUDE_SUBDIR=bsd - - # Library suffix -@@ -141,18 +242,39 @@ - - # client and server subdirectories have symbolic links to ../libjsig.so - EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX) -+ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ ifeq ($(ZIP_DEBUGINFO_FILES),1) -+ EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.diz -+ else -+ EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.debuginfo -+ endif -+endif - EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server - EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client - - ifndef BUILD_CLIENT_ONLY - EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt - EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX) -+ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ ifeq ($(ZIP_DEBUGINFO_FILES),1) -+ EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.diz -+ else -+ EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.debuginfo -+ endif -+ endif - endif - - ifneq ($(ZERO_BUILD), true) - ifeq ($(ARCH_DATA_MODEL), 32) - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) -+ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ ifeq ($(ZIP_DEBUGINFO_FILES),1) -+ EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.diz -+ else -+ EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.debuginfo -+ endif -+ endif - endif - endif - -@@ -164,6 +286,15 @@ - $(EXPORT_LIB_DIR)/sa-jdi.jar - ADD_SA_BINARIES/universal = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ - $(EXPORT_LIB_DIR)/sa-jdi.jar -+ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ ifeq ($(ZIP_DEBUGINFO_FILES),1) -+ ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz -+ ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz -+ else -+ ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo -+ ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo -+ endif -+endif - ADD_SA_BINARIES/ppc = - ADD_SA_BINARIES/ia64 = - ADD_SA_BINARIES/arm = ---- hotspot/make/bsd/makefiles/gcc.make 2012-08-10 09:22:57.000000000 -0700 -+++ hotspot/make/bsd/makefiles/gcc.make 2013-04-28 16:29:16.000000000 -0700 -@@ -1,5 +1,5 @@ - # --# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. -+# Copyright (c) 1999, 2012, 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 -@@ -124,7 +124,11 @@ - ARCHFLAG/ia64 = - ARCHFLAG/sparc = -m32 -mcpu=v9 - ARCHFLAG/sparcv9 = -m64 -mcpu=v9 -+ARCHFLAG/arm = -fsigned-char - ARCHFLAG/zero = $(ZERO_ARCHFLAG) -+ifndef E500V2 -+ARCHFLAG/ppc = -mcpu=powerpc -+endif - - # Darwin-specific build flags - ifeq ($(OS_VENDOR), Darwin) -@@ -285,6 +289,26 @@ - DEBUG_CFLAGS += -gstabs - endif - -+ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ FASTDEBUG_CFLAGS/ia64 = -g -+ FASTDEBUG_CFLAGS/amd64 = -g -+ FASTDEBUG_CFLAGS/arm = -g -+ FASTDEBUG_CFLAGS/ppc = -g -+ FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) -+ ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) -+ FASTDEBUG_CFLAGS += -gstabs -+ endif -+ -+ OPT_CFLAGS/ia64 = -g -+ OPT_CFLAGS/amd64 = -g -+ OPT_CFLAGS/arm = -g -+ OPT_CFLAGS/ppc = -g -+ OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH)) -+ ifeq ($(OPT_CFLAGS/$(BUILDARCH)),) -+ OPT_CFLAGS += -gstabs -+ endif -+endif -+ - # DEBUG_BINARIES overrides everything, use full -g debug information - ifeq ($(DEBUG_BINARIES), true) - DEBUG_CFLAGS = -g -@@ -302,3 +326,9 @@ - ifdef MINIMIZE_RAM_USAGE - CFLAGS += -DMINIMIZE_RAM_USAGE - endif -+ -+ifdef CROSS_COMPILE_ARCH -+ STRIP = $(ALT_COMPILER_PATH)/strip -+else -+ STRIP = strip -+endif ---- hotspot/make/bsd/makefiles/jsig.make 2012-08-10 09:22:58.000000000 -0700 -+++ hotspot/make/bsd/makefiles/jsig.make 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/make/bsd/makefiles/jsig.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/jsig.make 2014-01-18 12:16:15.000000000 -0800 @@ -36,9 +36,16 @@ LIBJSIG_G = lib$(JSIG_G).so endif @@ -6078,8 +1683,8 @@ $(QUIETLY) cp -f $(LIBJSIG) $(DEST_JSIG) && echo "Done" .PHONY: install_jsig ---- hotspot/make/bsd/makefiles/launcher.make 2012-08-10 09:22:58.000000000 -0700 -+++ hotspot/make/bsd/makefiles/launcher.make 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/make/bsd/makefiles/launcher.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/launcher.make 2014-01-18 12:16:15.000000000 -0800 @@ -50,7 +50,7 @@ LIBS_LAUNCHER += $(STATIC_STDCXX) $(LIBS) else @@ -6089,78 +1694,488 @@ # The gamma launcher runs the JDK from $JAVA_HOME, overriding the JVM with a # freshly built JVM at ./libjvm.{so|dylib}. This is accomplished by setting ---- hotspot/make/bsd/makefiles/mapfile-vers-debug 2012-08-10 09:22:58.000000000 -0700 -+++ hotspot/make/bsd/makefiles/mapfile-vers-debug 2013-04-28 16:29:16.000000000 -0700 -@@ -221,6 +221,7 @@ - JVM_SetArrayElement; - JVM_SetClassSigners; - JVM_SetLength; -+ JVM_SetNativeThreadName; - JVM_SetPrimitiveArrayElement; - JVM_SetProtectionDomain; - JVM_SetSockOpt; -@@ -244,24 +245,6 @@ - JVM_Yield; - JVM_handle_bsd_signal; - -- # Old reflection routines -- # These do not need to be present in the product build in JDK 1.4 -- # but their code has not been removed yet because there will not -- # be a substantial code savings until JVM_InvokeMethod and -- # JVM_NewInstanceFromConstructor can also be removed; see -- # reflectionCompat.hpp. -- JVM_GetClassConstructor; -- JVM_GetClassConstructors; -- JVM_GetClassField; -- JVM_GetClassFields; -- JVM_GetClassMethod; -- JVM_GetClassMethods; -- JVM_GetField; -- JVM_GetPrimitiveField; -- JVM_NewInstance; -- JVM_SetField; -- JVM_SetPrimitiveField; -- - # debug JVM - JVM_AccessVMBooleanFlag; - JVM_AccessVMIntFlag; ---- hotspot/make/bsd/makefiles/mapfile-vers-product 2012-08-10 09:22:58.000000000 -0700 -+++ hotspot/make/bsd/makefiles/mapfile-vers-product 2013-04-28 16:29:16.000000000 -0700 -@@ -221,6 +221,7 @@ - JVM_SetArrayElement; - JVM_SetClassSigners; - JVM_SetLength; +--- hotspot/make/bsd/makefiles/mapfile-vers-product 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/mapfile-vers-product 2014-01-18 23:49:25.000000000 -0800 +@@ -1,5 +1,5 @@ + # +-# Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. ++# Copyright (c) 2002, 2011, 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 +@@ -19,235 +19,247 @@ + # 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. ++# + # +-# +-# Only used for OSX/Darwin builds + + # Define public interface. +- # _JNI +- _JNI_CreateJavaVM +- _JNI_GetCreatedJavaVMs +- _JNI_GetDefaultJavaVMInitArgs +- +- # _JVM +- _JVM_Accept +- _JVM_ActiveProcessorCount +- _JVM_AllocateNewArray +- _JVM_AllocateNewObject +- _JVM_ArrayCopy +- _JVM_AssertionStatusDirectives +- _JVM_Available +- _JVM_Bind +- _JVM_ClassDepth +- _JVM_ClassLoaderDepth +- _JVM_Clone +- _JVM_Close +- _JVM_CX8Field +- _JVM_CompileClass +- _JVM_CompileClasses +- _JVM_CompilerCommand +- _JVM_Connect +- _JVM_ConstantPoolGetClassAt +- _JVM_ConstantPoolGetClassAtIfLoaded +- _JVM_ConstantPoolGetDoubleAt +- _JVM_ConstantPoolGetFieldAt +- _JVM_ConstantPoolGetFieldAtIfLoaded +- _JVM_ConstantPoolGetFloatAt +- _JVM_ConstantPoolGetIntAt +- _JVM_ConstantPoolGetLongAt +- _JVM_ConstantPoolGetMethodAt +- _JVM_ConstantPoolGetMethodAtIfLoaded +- _JVM_ConstantPoolGetMemberRefInfoAt +- _JVM_ConstantPoolGetSize +- _JVM_ConstantPoolGetStringAt +- _JVM_ConstantPoolGetUTF8At +- _JVM_CountStackFrames +- _JVM_CurrentClassLoader +- _JVM_CurrentLoadedClass +- _JVM_CurrentThread +- _JVM_CurrentTimeMillis +- _JVM_DefineClass +- _JVM_DefineClassWithSource +- _JVM_DefineClassWithSourceCond +- _JVM_DesiredAssertionStatus +- _JVM_DisableCompiler +- _JVM_DoPrivileged +- _JVM_DTraceGetVersion +- _JVM_DTraceActivate +- _JVM_DTraceIsProbeEnabled +- _JVM_DTraceIsSupported +- _JVM_DTraceDispose +- _JVM_DumpAllStacks +- _JVM_DumpThreads +- _JVM_EnableCompiler +- _JVM_Exit +- _JVM_FillInStackTrace +- _JVM_FindClassFromClass +- _JVM_FindClassFromClassLoader +- _JVM_FindClassFromBootLoader +- _JVM_FindLibraryEntry +- _JVM_FindLoadedClass +- _JVM_FindPrimitiveClass +- _JVM_FindSignal +- _JVM_FreeMemory +- _JVM_GC +- _JVM_GetAllThreads +- _JVM_GetArrayElement +- _JVM_GetArrayLength +- _JVM_GetCPClassNameUTF +- _JVM_GetCPFieldClassNameUTF +- _JVM_GetCPFieldModifiers +- _JVM_GetCPFieldNameUTF +- _JVM_GetCPFieldSignatureUTF +- _JVM_GetCPMethodClassNameUTF +- _JVM_GetCPMethodModifiers +- _JVM_GetCPMethodNameUTF +- _JVM_GetCPMethodSignatureUTF +- _JVM_GetCallerClass +- _JVM_GetClassAccessFlags +- _JVM_GetClassAnnotations +- _JVM_GetClassCPEntriesCount +- _JVM_GetClassCPTypes +- _JVM_GetClassConstantPool +- _JVM_GetClassContext +- _JVM_GetClassDeclaredConstructors +- _JVM_GetClassDeclaredFields +- _JVM_GetClassDeclaredMethods +- _JVM_GetClassFieldsCount +- _JVM_GetClassInterfaces +- _JVM_GetClassLoader +- _JVM_GetClassMethodsCount +- _JVM_GetClassModifiers +- _JVM_GetClassName +- _JVM_GetClassNameUTF +- _JVM_GetClassSignature +- _JVM_GetClassSigners +- _JVM_GetComponentType +- _JVM_GetDeclaredClasses +- _JVM_GetDeclaringClass +- _JVM_GetEnclosingMethodInfo +- _JVM_GetFieldAnnotations +- _JVM_GetFieldIxModifiers +- _JVM_GetHostName +- _JVM_GetInheritedAccessControlContext +- _JVM_GetInterfaceVersion +- _JVM_GetLastErrorString +- _JVM_GetManagement +- _JVM_GetMethodAnnotations +- _JVM_GetMethodDefaultAnnotationValue +- _JVM_GetMethodIxArgsSize +- _JVM_GetMethodIxByteCode +- _JVM_GetMethodIxByteCodeLength +- _JVM_GetMethodIxExceptionIndexes +- _JVM_GetMethodIxExceptionTableEntry +- _JVM_GetMethodIxExceptionTableLength +- _JVM_GetMethodIxExceptionsCount +- _JVM_GetMethodIxLocalsCount +- _JVM_GetMethodIxMaxStack +- _JVM_GetMethodIxModifiers +- _JVM_GetMethodIxNameUTF +- _JVM_GetMethodIxSignatureUTF +- _JVM_GetMethodParameterAnnotations +- _JVM_GetPrimitiveArrayElement +- _JVM_GetProtectionDomain +- _JVM_GetSockName +- _JVM_GetSockOpt +- _JVM_GetStackAccessControlContext +- _JVM_GetStackTraceDepth +- _JVM_GetStackTraceElement +- _JVM_GetSystemPackage +- _JVM_GetSystemPackages +- _JVM_GetThreadStateNames +- _JVM_GetThreadStateValues +- _JVM_GetVersionInfo +- _JVM_Halt +- _JVM_HoldsLock +- _JVM_IHashCode +- _JVM_InitAgentProperties +- _JVM_InitProperties +- _JVM_InitializeCompiler +- _JVM_InitializeSocketLibrary +- _JVM_InternString +- _JVM_Interrupt +- _JVM_InvokeMethod +- _JVM_IsArrayClass +- _JVM_IsConstructorIx +- _JVM_IsInterface +- _JVM_IsInterrupted +- _JVM_IsNaN +- _JVM_IsPrimitiveClass +- _JVM_IsSameClassPackage +- _JVM_IsSilentCompiler +- _JVM_IsSupportedJNIVersion +- _JVM_IsThreadAlive +- _JVM_LatestUserDefinedLoader +- _JVM_Listen +- _JVM_LoadClass0 +- _JVM_LoadLibrary +- _JVM_Lseek +- _JVM_MaxObjectInspectionAge +- _JVM_MaxMemory +- _JVM_MonitorNotify +- _JVM_MonitorNotifyAll +- _JVM_MonitorWait +- _JVM_NanoTime +- _JVM_NativePath +- _JVM_NewArray +- _JVM_NewInstanceFromConstructor +- _JVM_NewMultiArray +- _JVM_OnExit +- _JVM_Open +- _JVM_PrintStackTrace +- _JVM_RaiseSignal +- _JVM_RawMonitorCreate +- _JVM_RawMonitorDestroy +- _JVM_RawMonitorEnter +- _JVM_RawMonitorExit +- _JVM_Read +- _JVM_Recv +- _JVM_RecvFrom +- _JVM_RegisterSignal +- _JVM_ReleaseUTF +- _JVM_ResolveClass +- _JVM_ResumeThread +- _JVM_Send +- _JVM_SendTo +- _JVM_SetArrayElement +- _JVM_SetClassSigners +- _JVM_SetLength +- _JVM_SetNativeThreadName +- _JVM_SetPrimitiveArrayElement +- _JVM_SetProtectionDomain +- _JVM_SetSockOpt +- _JVM_SetThreadPriority +- _JVM_Sleep +- _JVM_Socket +- _JVM_SocketAvailable +- _JVM_SocketClose +- _JVM_SocketShutdown +- _JVM_StartThread +- _JVM_StopThread +- _JVM_SuspendThread +- _JVM_SupportsCX8 +- _JVM_Sync +- _JVM_Timeout +- _JVM_TotalMemory +- _JVM_TraceInstructions +- _JVM_TraceMethodCalls +- _JVM_UnloadLibrary +- _JVM_Write +- _JVM_Yield +- _JVM_handle_bsd_signal ++ ++SUNWprivate_1.1 { ++ global: ++ # JNI ++ JNI_CreateJavaVM; ++ JNI_GetCreatedJavaVMs; ++ JNI_GetDefaultJavaVMInitArgs; ++ ++ # JVM ++ JVM_Accept; ++ JVM_ActiveProcessorCount; ++ JVM_AllocateNewArray; ++ JVM_AllocateNewObject; ++ JVM_ArrayCopy; ++ JVM_AssertionStatusDirectives; ++ JVM_Available; ++ JVM_Bind; ++ JVM_ClassDepth; ++ JVM_ClassLoaderDepth; ++ JVM_Clone; ++ JVM_Close; ++ JVM_CX8Field; ++ JVM_CompileClass; ++ JVM_CompileClasses; ++ JVM_CompilerCommand; ++ JVM_Connect; ++ JVM_ConstantPoolGetClassAt; ++ JVM_ConstantPoolGetClassAtIfLoaded; ++ JVM_ConstantPoolGetDoubleAt; ++ JVM_ConstantPoolGetFieldAt; ++ JVM_ConstantPoolGetFieldAtIfLoaded; ++ JVM_ConstantPoolGetFloatAt; ++ JVM_ConstantPoolGetIntAt; ++ JVM_ConstantPoolGetLongAt; ++ JVM_ConstantPoolGetMethodAt; ++ JVM_ConstantPoolGetMethodAtIfLoaded; ++ JVM_ConstantPoolGetMemberRefInfoAt; ++ JVM_ConstantPoolGetSize; ++ JVM_ConstantPoolGetStringAt; ++ JVM_ConstantPoolGetUTF8At; ++ JVM_CountStackFrames; ++ JVM_CurrentClassLoader; ++ JVM_CurrentLoadedClass; ++ JVM_CurrentThread; ++ JVM_CurrentTimeMillis; ++ JVM_DefineClass; ++ JVM_DefineClassWithSource; ++ JVM_DefineClassWithSourceCond; ++ JVM_DesiredAssertionStatus; ++ JVM_DisableCompiler; ++ JVM_DoPrivileged; ++ JVM_DTraceGetVersion; ++ JVM_DTraceActivate; ++ JVM_DTraceIsProbeEnabled; ++ JVM_DTraceIsSupported; ++ JVM_DTraceDispose; ++ JVM_DumpAllStacks; ++ JVM_DumpThreads; ++ JVM_EnableCompiler; ++ JVM_Exit; ++ JVM_FillInStackTrace; ++ JVM_FindClassFromClass; ++ JVM_FindClassFromClassLoader; ++ JVM_FindClassFromBootLoader; ++ JVM_FindLibraryEntry; ++ JVM_FindLoadedClass; ++ JVM_FindPrimitiveClass; ++ JVM_FindSignal; ++ JVM_FreeMemory; ++ JVM_GC; ++ JVM_GetAllThreads; ++ JVM_GetArrayElement; ++ JVM_GetArrayLength; ++ JVM_GetCPClassNameUTF; ++ JVM_GetCPFieldClassNameUTF; ++ JVM_GetCPFieldModifiers; ++ JVM_GetCPFieldNameUTF; ++ JVM_GetCPFieldSignatureUTF; ++ JVM_GetCPMethodClassNameUTF; ++ JVM_GetCPMethodModifiers; ++ JVM_GetCPMethodNameUTF; ++ JVM_GetCPMethodSignatureUTF; ++ JVM_GetCallerClass; ++ JVM_GetClassAccessFlags; ++ JVM_GetClassAnnotations; ++ JVM_GetClassCPEntriesCount; ++ JVM_GetClassCPTypes; ++ JVM_GetClassConstantPool; ++ JVM_GetClassContext; ++ JVM_GetClassDeclaredConstructors; ++ JVM_GetClassDeclaredFields; ++ JVM_GetClassDeclaredMethods; ++ JVM_GetClassFieldsCount; ++ JVM_GetClassInterfaces; ++ JVM_GetClassLoader; ++ JVM_GetClassMethodsCount; ++ JVM_GetClassModifiers; ++ JVM_GetClassName; ++ JVM_GetClassNameUTF; ++ JVM_GetClassSignature; ++ JVM_GetClassSigners; ++ JVM_GetComponentType; ++ JVM_GetDeclaredClasses; ++ JVM_GetDeclaringClass; ++ JVM_GetEnclosingMethodInfo; ++ JVM_GetFieldAnnotations; ++ JVM_GetFieldIxModifiers; ++ JVM_GetHostName; ++ JVM_GetInheritedAccessControlContext; ++ JVM_GetInterfaceVersion; ++ JVM_GetLastErrorString; ++ JVM_GetManagement; ++ JVM_GetMethodAnnotations; ++ JVM_GetMethodDefaultAnnotationValue; ++ JVM_GetMethodIxArgsSize; ++ JVM_GetMethodIxByteCode; ++ JVM_GetMethodIxByteCodeLength; ++ JVM_GetMethodIxExceptionIndexes; ++ JVM_GetMethodIxExceptionTableEntry; ++ JVM_GetMethodIxExceptionTableLength; ++ JVM_GetMethodIxExceptionsCount; ++ JVM_GetMethodIxLocalsCount; ++ JVM_GetMethodIxMaxStack; ++ JVM_GetMethodIxModifiers; ++ JVM_GetMethodIxNameUTF; ++ JVM_GetMethodIxSignatureUTF; ++ JVM_GetMethodParameterAnnotations; ++ JVM_GetPrimitiveArrayElement; ++ JVM_GetProtectionDomain; ++ JVM_GetSockName; ++ JVM_GetSockOpt; ++ JVM_GetStackAccessControlContext; ++ JVM_GetStackTraceDepth; ++ JVM_GetStackTraceElement; ++ JVM_GetSystemPackage; ++ JVM_GetSystemPackages; ++ JVM_GetThreadStateNames; ++ JVM_GetThreadStateValues; ++ JVM_GetVersionInfo; ++ JVM_Halt; ++ JVM_HoldsLock; ++ JVM_IHashCode; ++ JVM_InitAgentProperties; ++ JVM_InitProperties; ++ JVM_InitializeCompiler; ++ JVM_InitializeSocketLibrary; ++ JVM_InternString; ++ JVM_Interrupt; ++ JVM_InvokeMethod; ++ JVM_IsArrayClass; ++ JVM_IsConstructorIx; ++ JVM_IsInterface; ++ JVM_IsInterrupted; ++ JVM_IsNaN; ++ JVM_IsPrimitiveClass; ++ JVM_IsSameClassPackage; ++ JVM_IsSilentCompiler; ++ JVM_IsSupportedJNIVersion; ++ JVM_IsThreadAlive; ++ JVM_LatestUserDefinedLoader; ++ JVM_Listen; ++ JVM_LoadClass0; ++ JVM_LoadLibrary; ++ JVM_Lseek; ++ JVM_MaxObjectInspectionAge; ++ JVM_MaxMemory; ++ JVM_MonitorNotify; ++ JVM_MonitorNotifyAll; ++ JVM_MonitorWait; ++ JVM_NanoTime; ++ JVM_NativePath; ++ JVM_NewArray; ++ JVM_NewInstanceFromConstructor; ++ JVM_NewMultiArray; ++ JVM_OnExit; ++ JVM_Open; ++ JVM_PrintStackTrace; ++ JVM_RaiseSignal; ++ JVM_RawMonitorCreate; ++ JVM_RawMonitorDestroy; ++ JVM_RawMonitorEnter; ++ JVM_RawMonitorExit; ++ JVM_Read; ++ JVM_Recv; ++ JVM_RecvFrom; ++ JVM_RegisterSignal; ++ JVM_ReleaseUTF; ++ JVM_ResolveClass; ++ JVM_ResumeThread; ++ JVM_Send; ++ JVM_SendTo; ++ JVM_SetArrayElement; ++ JVM_SetClassSigners; ++ JVM_SetLength; + JVM_SetNativeThreadName; - JVM_SetPrimitiveArrayElement; - JVM_SetProtectionDomain; - JVM_SetSockOpt; -@@ -244,24 +245,6 @@ - JVM_Yield; - JVM_handle_bsd_signal; - -- # Old reflection routines -- # These do not need to be present in the product build in JDK 1.4 -- # but their code has not been removed yet because there will not -- # be a substantial code savings until JVM_InvokeMethod and -- # JVM_NewInstanceFromConstructor can also be removed; see -- # reflectionCompat.hpp. -- JVM_GetClassConstructor; -- JVM_GetClassConstructors; -- JVM_GetClassField; -- JVM_GetClassFields; -- JVM_GetClassMethod; -- JVM_GetClassMethods; -- JVM_GetField; -- JVM_GetPrimitiveField; -- JVM_NewInstance; -- JVM_SetField; -- JVM_SetPrimitiveField; -- ++ JVM_SetPrimitiveArrayElement; ++ JVM_SetProtectionDomain; ++ JVM_SetSockOpt; ++ JVM_SetThreadPriority; ++ JVM_Sleep; ++ JVM_Socket; ++ JVM_SocketAvailable; ++ JVM_SocketClose; ++ JVM_SocketShutdown; ++ JVM_StartThread; ++ JVM_StopThread; ++ JVM_SuspendThread; ++ JVM_SupportsCX8; ++ JVM_Sync; ++ JVM_Timeout; ++ JVM_TotalMemory; ++ JVM_TraceInstructions; ++ JVM_TraceMethodCalls; ++ JVM_UnloadLibrary; ++ JVM_Write; ++ JVM_Yield; ++ JVM_handle_bsd_signal; + # miscellaneous functions - jio_fprintf; - jio_printf; ---- hotspot/make/bsd/makefiles/ppc.make 2012-08-10 09:22:58.000000000 -0700 -+++ hotspot/make/bsd/makefiles/ppc.make 2013-04-28 16:29:16.000000000 -0700 +- _jio_fprintf +- _jio_printf +- _jio_snprintf +- _jio_vfprintf +- _jio_vsnprintf ++ jio_fprintf; ++ jio_printf; ++ jio_snprintf; ++ jio_vfprintf; ++ jio_vsnprintf; ++ fork1; ++ numa_warn; ++ numa_error; ++ ++ # Needed because there is no JVM interface for this. ++ sysThreadAvailableStackWithSlack; + + # This is for Forte Analyzer profiling support. +- _AsyncGetCallTrace ++ AsyncGetCallTrace; ++ ++ # INSERT VTABLE SYMBOLS HERE + +- # INSERT VTABLE SYMBOLS HERE ++ local: ++ *; ++}; + +--- hotspot/make/bsd/makefiles/ppc.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/ppc.make 2014-01-18 12:16:15.000000000 -0800 @@ -28,3 +28,6 @@ # Must also specify if CPU is big endian CFLAGS += -DVM_BIG_ENDIAN @@ -6168,8 +2183,8 @@ +ifdef E500V2 +ASFLAGS += -Wa,-mspe -Wa,--defsym -Wa,E500V2=1 +endif ---- hotspot/make/bsd/makefiles/saproc.make 2012-08-10 09:22:59.000000000 -0700 -+++ hotspot/make/bsd/makefiles/saproc.make 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/make/bsd/makefiles/saproc.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/bsd/makefiles/saproc.make 2014-01-18 12:16:15.000000000 -0800 @@ -36,6 +36,11 @@ LIBSAPROC_G = lib$(SAPROC_G).so endif @@ -6226,146 +2241,86 @@ cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"; \ fi ---- hotspot/make/bsd/makefiles/vm.make 2012-08-10 09:22:59.000000000 -0700 -+++ hotspot/make/bsd/makefiles/vm.make 2013-04-28 16:29:16.000000000 -0700 -@@ -1,5 +1,5 @@ - # --# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. -+# Copyright (c) 1999, 2012, 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 -@@ -60,10 +60,16 @@ - # The order is important for the precompiled headers to work. - INCLUDES += $(PRECOMPILED_HEADER_DIR:%=-I%) $(Src_Dirs_I:%=-I%) - --ifeq (${VERSION}, debug) -+# SYMFLAG is used by {jsig,saproc}.make -+ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ # always build with debug info when we can create .debuginfo files - SYMFLAG = -g - else -- SYMFLAG = -+ ifeq (${VERSION}, debug) -+ SYMFLAG = -g -+ else -+ SYMFLAG = -+ endif - endif - - # HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined -@@ -100,9 +106,11 @@ - CXXFLAGS += -DDEFAULT_LIBPATH="\"$(DEFAULT_LIBPATH)\"" - endif - --ifndef JAVASE_EMBEDDED -+ifndef JAVASE_EMBEDDED -+ifneq (${ARCH},arm) - CFLAGS += -DINCLUDE_TRACE - endif -+endif - - # CFLAGS_WARN holds compiler options to suppress/enable warnings. - CFLAGS += $(CFLAGS_WARN/BYFILE) -@@ -145,6 +153,11 @@ - LIBJVM_G = lib$(JVM)$(G_SUFFIX).so - endif - -+LIBJVM_DEBUGINFO = lib$(JVM).debuginfo -+LIBJVM_DIZ = lib$(JVM).diz -+LIBJVM_G_DEBUGINFO = lib$(JVM)$(G_SUFFIX).debuginfo -+LIBJVM_G_DIZ = lib$(JVM)$(G_SUFFIX).diz -+ - SPECIAL_PATHS:=adlc c1 gc_implementation opto shark libadt - - SOURCE_PATHS=\ -@@ -155,11 +168,13 @@ - SOURCE_PATHS+=$(HS_COMMON_SRC)/cpu/$(Platform_arch)/vm - SOURCE_PATHS+=$(HS_COMMON_SRC)/os_cpu/$(Platform_os_arch)/vm - --ifndef JAVASE_EMBEDDED -+ifndef JAVASE_EMBEDDED -+ifneq (${ARCH},arm) - SOURCE_PATHS+=$(shell if [ -d $(HS_ALT_SRC)/share/vm/jfr ]; then \ - find $(HS_ALT_SRC)/share/vm/jfr -type d; \ - fi) - endif -+endif - - CORE_PATHS=$(foreach path,$(SOURCE_PATHS),$(call altsrc,$(path)) $(path)) - CORE_PATHS+=$(GENERATED)/jvmtifiles -@@ -316,11 +331,38 @@ - rm -f $@.1; ln -s $@ $@.1; \ - [ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \ - } -+ifeq ($(CROSS_COMPILE_ARCH),) -+ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) -+ $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJVM_DEBUGINFO) -+ $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DEBUGINFO) $@ -+ ifeq ($(STRIP_POLICY),all_strip) -+ $(QUIETLY) $(STRIP) $@ -+ else -+ ifeq ($(STRIP_POLICY),min_strip) -+ $(QUIETLY) $(STRIP) -S $@ -+ # implied else here is no stripping at all -+ endif -+ endif -+ $(QUIETLY) [ -f $(LIBJVM_G_DEBUGINFO) ] || ln -s $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO) -+ ifeq ($(ZIP_DEBUGINFO_FILES),1) -+ $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO) -+ $(RM) $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO) -+ [ -f $(LIBJVM_G_DIZ) ] || { ln -s $(LIBJVM_DIZ) $(LIBJVM_G_DIZ); } -+ endif -+ endif -+endif - --DEST_JVM = $(JDK_LIBDIR)/$(VM_SUBDIR)/$(LIBJVM) -+DEST_SUBDIR = $(JDK_LIBDIR)/$(VM_SUBDIR) -+DEST_JVM = $(DEST_SUBDIR)/$(LIBJVM) -+DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO) -+DEST_JVM_DIZ = $(DEST_SUBDIR)/$(LIBJVM_DIZ) - - install_jvm: $(LIBJVM) - @echo "Copying $(LIBJVM) to $(DEST_JVM)" -+ $(QUIETLY) test -f $(LIBJVM_DEBUGINFO) && \ -+ cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO) -+ $(QUIETLY) test -f $(LIBJVM_DIZ) && \ -+ cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ) - $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done" - - #---------------------------------------------------------------------- ---- hotspot/make/hotspot_version 2012-08-10 09:23:01.000000000 -0700 -+++ hotspot/make/hotspot_version 2013-04-28 16:29:12.000000000 -0700 -@@ -31,11 +31,11 @@ - # - - # Don't put quotes (fail windows build). --HOTSPOT_VM_COPYRIGHT=Copyright 2012 -+HOTSPOT_VM_COPYRIGHT=Copyright 2013 +--- hotspot/make/hotspot_version 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/hotspot_version 2014-01-18 12:16:13.000000000 -0800 +@@ -34,8 +34,8 @@ + HOTSPOT_VM_COPYRIGHT=Copyright 2013 - HS_MAJOR_VER=23 --HS_MINOR_VER=2 --HS_BUILD_NUMBER=09 -+HS_MINOR_VER=21 -+HS_BUILD_NUMBER=01 + HS_MAJOR_VER=24 +-HS_MINOR_VER=0 +-HS_BUILD_NUMBER=56 ++HS_MINOR_VER=51 ++HS_BUILD_NUMBER=03 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 ---- hotspot/make/solaris/makefiles/defs.make 2012-08-10 09:23:12.000000000 -0700 -+++ hotspot/make/solaris/makefiles/defs.make 2013-04-28 16:29:16.000000000 -0700 -@@ -194,8 +194,8 @@ +--- hotspot/make/solaris/makefiles/defs.make 2013-09-06 11:22:00.000000000 -0700 ++++ hotspot/make/solaris/makefiles/defs.make 2014-01-18 12:16:15.000000000 -0800 +@@ -221,8 +221,8 @@ endif - ifeq ($(ARCH_DATA_MODEL), 32) + ifeq ($(JVM_VARIANT_CLIENT),true) EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.$(LIBRARY_SUFFIX) + EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) + EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.$(LIBRARY_SUFFIX) EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.$(LIBRARY_SUFFIX) - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX) - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.$(LIBRARY_SUFFIX) ---- hotspot/src/cpu/sparc/vm/globals_sparc.hpp 2012-08-10 09:23:56.000000000 -0700 -+++ hotspot/src/cpu/sparc/vm/globals_sparc.hpp 2013-04-28 16:29:16.000000000 -0700 + ifeq ($(ARCH_DATA_MODEL),32) + EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX) +--- hotspot/make/windows/makefiles/compile.make 2013-09-06 11:22:01.000000000 -0700 ++++ hotspot/make/windows/makefiles/compile.make 2013-12-01 11:14:01.000000000 -0800 +@@ -172,6 +172,7 @@ + PRODUCT_OPT_OPTION = /O2 /Oy- + FASTDEBUG_OPT_OPTION = /O2 /Oy- + DEBUG_OPT_OPTION = /Od ++SAFESEH_FLAG = /SAFESEH + !endif + + !if "$(COMPILER_NAME)" == "VS2005" +@@ -190,6 +191,7 @@ + !if "x$(MT)" == "x" + MT=mt.exe + !endif ++SAFESEH_FLAG = /SAFESEH + !endif + + !if "$(COMPILER_NAME)" == "VS2008" +@@ -203,6 +205,7 @@ + !if "x$(MT)" == "x" + MT=mt.exe + !endif ++SAFESEH_FLAG = /SAFESEH + !endif + + !if "$(COMPILER_NAME)" == "VS2010" +@@ -216,9 +219,11 @@ + !if "x$(MT)" == "x" + MT=mt.exe + !endif +-!if "$(BUILDARCH)" == "i486" +-LD_FLAGS = /SAFESEH $(LD_FLAGS) ++SAFESEH_FLAG = /SAFESEH + !endif ++ ++!if "$(BUILDARCH)" == "i486" ++LD_FLAGS = $(SAFESEH_FLAG) $(LD_FLAGS) + !endif + + # If NO_OPTIMIZATIONS is defined in the environment, turn everything off +--- hotspot/make/windows/makefiles/sa.make 2013-09-06 11:22:01.000000000 -0700 ++++ hotspot/make/windows/makefiles/sa.make 2013-12-01 11:14:01.000000000 -0800 +@@ -107,6 +107,9 @@ + !if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1" + SA_LFLAGS = $(SA_LFLAGS) -map -debug + !endif ++!if "$(BUILDARCH)" == "i486" ++SA_LFLAGS = $(SAFESEH_FLAG) $(SA_LFLAGS) ++!endif + + # Note that we do not keep sawindbj.obj around as it would then + # get included in the dumpbin command in build_vm_def.sh +--- hotspot/src/cpu/sparc/vm/globals_sparc.hpp 2013-09-06 11:22:02.000000000 -0700 ++++ hotspot/src/cpu/sparc/vm/globals_sparc.hpp 2014-01-18 12:16:15.000000000 -0800 @@ -71,7 +71,11 @@ define_pd_global(bool, RewriteBytecodes, true); define_pd_global(bool, RewriteFrequentPairs, true); @@ -6378,139 +2333,27 @@ // GC Ergo Flags define_pd_global(intx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread ---- hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp 2012-08-10 09:23:58.000000000 -0700 -+++ hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp 2013-03-03 08:48:48.000000000 -0800 -@@ -698,6 +698,17 @@ - if (arg_slots.is_constant() && arg_slots.as_constant() == 0) - return; - -+ // We have to insert at least one word, so bang the stack. -+ if (UseStackBanging) { -+ // Save G3_method_handle since bang_stack_with_offset uses it as a temp register -+ __ mov(G3_method_handle, temp_reg); -+ int frame_size = (arg_slots.is_constant() ? -1 * arg_slots.as_constant() * wordSize : 0); -+ if (frame_size <= 0) -+ frame_size = 256 * Interpreter::stackElementSize; // conservative -+ __ generate_stack_overflow_check(frame_size); -+ __ mov(temp_reg, G3_method_handle); -+ } -+ - assert_different_registers(argslot_reg, temp_reg, temp2_reg, temp3_reg, - (!arg_slots.is_register() ? Gargs : arg_slots.as_register())); - -@@ -1702,6 +1713,14 @@ - "copied argument(s) must fall within current frame"); - } - -+ if (UseStackBanging) { -+ // Save G3_method_handle since bang_stack_with_offset uses it as a temp register -+ __ mov(G3_method_handle, O3_scratch); -+ // Bang the stack before pushing args. -+ int frame_size = 256 * Interpreter::stackElementSize; // conservative -+ __ generate_stack_overflow_check(frame_size + sizeof(RicochetFrame)); -+ __ mov(O3_scratch, G3_method_handle); -+ } - // insert location is always the bottom of the argument list: - __ neg(O1_stack_move); - push_arg_slots(_masm, O0_argslot, O1_stack_move, O2_scratch, O3_scratch); -@@ -2118,6 +2137,18 @@ - // The return handler will further cut back the stack when it takes - // down the RF. Perhaps there is a way to streamline this further. - -+ if (UseStackBanging) { -+ // Save G3_method_handle since bang_stack_with_offset uses it as a temp register -+ __ mov(G3_method_handle, O4_scratch); -+ // Bang the stack before recursive call. -+ // Even if slots == 0, we are inside a RicochetFrame. -+ int frame_size = collect_count.is_constant() ? collect_count.as_constant() * wordSize : -1; -+ if (frame_size < 0) { -+ frame_size = 256 * Interpreter::stackElementSize; // conservative -+ } -+ __ generate_stack_overflow_check(frame_size + sizeof(RicochetFrame)); -+ __ mov(O4_scratch, G3_method_handle); -+ } - // State during recursive call: - // ... keep1 | dest | dest=42 | keep3 | RF... | collect | bounce_pc | - __ jump_to_method_handle_entry(G3_method_handle, O1_scratch); ---- hotspot/src/cpu/x86/vm/methodHandles_x86.cpp 2012-08-10 09:24:07.000000000 -0700 -+++ hotspot/src/cpu/x86/vm/methodHandles_x86.cpp 2013-03-03 08:48:48.000000000 -0800 -@@ -691,6 +691,14 @@ - if (VerifyMethodHandles) - verify_stack_move(_masm, arg_slots, -1); - -+ // We have to insert at least one word, so bang the stack. -+ if (UseStackBanging) { -+ int frame_size = (arg_slots.is_constant() ? -1 * arg_slots.as_constant() * wordSize : 0); -+ if (frame_size <= 0) -+ frame_size = 256 * Interpreter::stackElementSize; // conservative -+ __ generate_stack_overflow_check(frame_size); -+ } -+ - // Make space on the stack for the inserted argument(s). - // Then pull down everything shallower than rax_argslot. - // The stacked return address gets pulled down with everything else. -@@ -1769,6 +1777,11 @@ - "copied argument(s) must fall within current frame"); - } - -+ if (UseStackBanging) { -+ // Bang the stack before pushing args. -+ int frame_size = 256 * Interpreter::stackElementSize; // conservative -+ __ generate_stack_overflow_check(frame_size + sizeof(RicochetFrame)); -+ } - // insert location is always the bottom of the argument list: - Address insert_location = __ argument_address(constant(0)); - int pre_arg_words = insert_location.disp() / wordSize; // return PC is pushed -@@ -2206,6 +2219,15 @@ - // The return handler will further cut back the stack when it takes - // down the RF. Perhaps there is a way to streamline this further. - -+ if (UseStackBanging) { -+ // Bang the stack before recursive call. -+ // Even if slots == 0, we are inside a RicochetFrame. -+ int frame_size = collect_count.is_constant() ? collect_count.as_constant() * wordSize : -1; -+ if (frame_size < 0) { -+ frame_size = 256 * Interpreter::stackElementSize; // conservative -+ } -+ __ generate_stack_overflow_check(frame_size + sizeof(RicochetFrame)); -+ } - // State during recursive call: - // ... keep1 | dest | dest=42 | keep3 | RF... | collect | bounce_pc | - __ jump_to_method_handle_entry(rcx_recv, rdx_temp); -@@ -2366,10 +2388,15 @@ - // case in a 32-bit version of the VM) we have to save 'rsi' - // on the stack because later on (at 'L_array_is_empty') 'rsi' - // will be overwritten. -- { if (rsi_temp == saved_last_sp) __ push(saved_last_sp); } -+ if (rsi_temp == saved_last_sp) { -+ __ push(saved_last_sp); -+ // Need to re-push return PC to keep it on stack top. -+ __ lea(saved_last_sp, ExternalAddress(SharedRuntime::ricochet_blob()->bounce_addr()).addr()); -+ __ push(saved_last_sp); -+ } - // Also prepare a handy macro which restores 'rsi' if required. - #define UNPUSH_RSI \ -- { if (rsi_temp == saved_last_sp) __ pop(saved_last_sp); } -+ { if (rsi_temp == saved_last_sp) { __ pop(saved_last_sp); __ pop(saved_last_sp); } } - - __ jmp(L_array_is_empty); - __ bind(L_skip); -@@ -2382,7 +2409,12 @@ - // called in the case of a null pointer exception will not be - // confused by the extra value on the stack (it expects the - // return pointer on top of the stack) -- { if (rsi_temp == saved_last_sp) __ push(saved_last_sp); } -+ if (rsi_temp == saved_last_sp) { -+ __ push(saved_last_sp); -+ // Need to re-push return PC to keep it on stack top. -+ __ lea(saved_last_sp, ExternalAddress(SharedRuntime::ricochet_blob()->bounce_addr()).addr()); -+ __ push(saved_last_sp); -+ } - - // Check the array type. - Register rbx_klass = rbx_temp; +--- hotspot/src/os/bsd/vm/attachListener_bsd.cpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/bsd/vm/attachListener_bsd.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -460,14 +460,14 @@ + + void AttachListener::vm_start() { + char fn[UNIX_PATH_MAX]; +- struct stat64 st; ++ struct stat st; + int ret; + + int n = snprintf(fn, UNIX_PATH_MAX, "%s/.java_pid%d", + os::get_temp_directory(), os::current_process_id()); + assert(n < (int)UNIX_PATH_MAX, "java_pid file name buffer overflow"); + +- RESTARTABLE(::stat64(fn, &st), ret); ++ RESTARTABLE(::stat(fn, &st), ret); + if (ret == 0) { + ret = ::unlink(fn); + if (ret == -1) { --- hotspot/src/os/bsd/vm/decoder_bsd.cpp 1969-12-31 16:00:00.000000000 -0800 -+++ hotspot/src/os/bsd/vm/decoder_bsd.cpp 2013-04-28 16:29:16.000000000 -0700 ++++ hotspot/src/os/bsd/vm/decoder_bsd.cpp 2014-01-18 12:16:15.000000000 -0800 @@ -0,0 +1,46 @@ +/* + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. @@ -6558,9 +2401,91 @@ + return false; +} + ---- hotspot/src/os/bsd/vm/os_bsd.cpp 2012-08-10 09:24:18.000000000 -0700 -+++ hotspot/src/os/bsd/vm/os_bsd.cpp 2013-04-28 16:29:16.000000000 -0700 -@@ -2341,14 +2341,14 @@ +--- hotspot/src/os/bsd/vm/os_bsd.cpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/bsd/vm/os_bsd.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -187,6 +187,8 @@ + static int SR_signum = SIGUSR2; + sigset_t SR_sigset; + ++// Declarations ++static void unpackTime(timespec* absTime, bool isAbsolute, jlong time); + + //////////////////////////////////////////////////////////////////////////////// + // utility functions +@@ -355,7 +357,11 @@ + * since it returns a 64 bit value) + */ + mib[0] = CTL_HW; ++#ifdef HW_MEMSIZE + mib[1] = HW_MEMSIZE; ++#else ++ mib[1] = HW_USERMEM; ++#endif + len = sizeof(mem_val); + if (sysctl(mib, 2, &mem_val, &len, NULL, 0) != -1) { + assert(len == sizeof(mem_val), "unexpected data size"); +@@ -971,13 +977,14 @@ + #endif + + #ifdef __APPLE__ +-static uint64_t locate_unique_thread_id() { ++static uint64_t locate_unique_thread_id(mach_port_t mach_thread_port) { + // Additional thread_id used to correlate threads in SA + thread_identifier_info_data_t m_ident_info; + mach_msg_type_number_t count = THREAD_IDENTIFIER_INFO_COUNT; + +- thread_info(::mach_thread_self(), THREAD_IDENTIFIER_INFO, ++ thread_info(mach_thread_port, THREAD_IDENTIFIER_INFO, + (thread_info_t) &m_ident_info, &count); ++ + return m_ident_info.thread_id; + } + #endif +@@ -1009,9 +1016,14 @@ + + #ifdef _ALLBSD_SOURCE + #ifdef __APPLE__ +- // thread_id is mach thread on macos +- osthread->set_thread_id(::mach_thread_self()); +- osthread->set_unique_thread_id(locate_unique_thread_id()); ++ // thread_id is mach thread on macos, which pthreads graciously caches and provides for us ++ mach_port_t thread_id = ::pthread_mach_thread_np(::pthread_self()); ++ guarantee(thread_id != 0, "thread id missing from pthreads"); ++ osthread->set_thread_id(thread_id); ++ ++ uint64_t unique_thread_id = locate_unique_thread_id(thread_id); ++ guarantee(unique_thread_id != 0, "unique thread id was not found"); ++ osthread->set_unique_thread_id(unique_thread_id); + #else + // thread_id is pthread_id on BSD + osthread->set_thread_id(::pthread_self()); +@@ -1207,8 +1219,14 @@ + // Store pthread info into the OSThread + #ifdef _ALLBSD_SOURCE + #ifdef __APPLE__ +- osthread->set_thread_id(::mach_thread_self()); +- osthread->set_unique_thread_id(locate_unique_thread_id()); ++ // thread_id is mach thread on macos, which pthreads graciously caches and provides for us ++ mach_port_t thread_id = ::pthread_mach_thread_np(::pthread_self()); ++ guarantee(thread_id != 0, "just checking"); ++ osthread->set_thread_id(thread_id); ++ ++ uint64_t unique_thread_id = locate_unique_thread_id(thread_id); ++ guarantee(unique_thread_id != 0, "just checking"); ++ osthread->set_unique_thread_id(unique_thread_id); + #else + osthread->set_thread_id(::pthread_self()); + #endif +@@ -1830,7 +1848,7 @@ + + intx os::current_thread_id() { + #ifdef __APPLE__ +- return (intx)::mach_thread_self(); ++ return (intx)::pthread_mach_thread_np(::pthread_self()); + #else + return (intx)::pthread_self(); + #endif +@@ -2381,14 +2399,14 @@ } void os::print_os_info_brief(outputStream* st) { @@ -6577,7 +2502,7 @@ os::Posix::print_uname_info(st); -@@ -2357,10 +2357,6 @@ +@@ -2397,10 +2415,6 @@ os::Posix::print_load_average(st); } @@ -6588,7 +2513,7 @@ void os::print_memory_info(outputStream* st) { st->print("Memory:"); -@@ -2377,6 +2373,7 @@ +@@ -2417,6 +2431,7 @@ st->print("(" UINT64_FORMAT "k free)", os::available_memory() >> 10); #ifndef _ALLBSD_SOURCE @@ -6596,7 +2521,7 @@ st->print(", swap " UINT64_FORMAT "k", ((jlong)si.totalswap * si.mem_unit) >> 10); st->print("(" UINT64_FORMAT "k free)", -@@ -2384,12 +2381,22 @@ +@@ -2424,12 +2439,22 @@ #endif st->cr(); @@ -6619,7 +2544,7 @@ // Taken from /usr/include/bits/siginfo.h Supposed to be architecture specific // but they're the same for all the bsd arch that we support // and they're the same for solaris but there's no common place to put this. -@@ -2532,6 +2539,25 @@ +@@ -2575,6 +2600,25 @@ len = strlen(buf); jrelib_p = buf + len; @@ -6645,7 +2570,7 @@ // Add the appropriate library subdir snprintf(jrelib_p, buflen-len, "/jre/lib"); if (0 != access(buf, F_OK)) { -@@ -2561,6 +2587,7 @@ +@@ -2604,6 +2648,7 @@ if (rp == NULL) return; } @@ -6653,10 +2578,35 @@ } } } -@@ -2817,7 +2844,11 @@ +@@ -2707,10 +2752,14 @@ + bool timedwait(unsigned int sec, int nsec); + private: + jlong currenttime() const; +- semaphore_t _semaphore; ++ os_semaphore_t _semaphore; + }; + ++#if defined(__FreeBSD__) && __FreeBSD__ > 8 ++Semaphore::Semaphore() : _semaphore() { ++#else + Semaphore::Semaphore() : _semaphore(0) { ++#endif + SEM_INIT(_semaphore, 0); + } + +@@ -2775,7 +2824,7 @@ + + bool Semaphore::timedwait(unsigned int sec, int nsec) { + struct timespec ts; +- jlong endtime = unpackTime(&ts, false, (sec * NANOSECS_PER_SEC) + nsec); ++ unpackTime(&ts, false, (sec * NANOSECS_PER_SEC) + nsec); + + while (1) { + int result = sem_timedwait(&_semaphore, &ts); +@@ -2996,7 +3045,11 @@ } - void os::free_memory(char *addr, size_t bytes, size_t alignment_hint) { + void os::pd_free_memory(char *addr, size_t bytes, size_t alignment_hint) { +#if !defined(__APPLE__) && !defined(__FreeBSD__) + commit_memory(addr, bytes, alignment_hint, false); +#else @@ -6665,8 +2615,16 @@ } void os::numa_make_global(char *addr, size_t bytes) { ---- hotspot/src/os/bsd/vm/os_bsd.hpp 2012-08-10 09:24:18.000000000 -0700 -+++ hotspot/src/os/bsd/vm/os_bsd.hpp 2013-04-28 16:29:16.000000000 -0700 +@@ -3829,6 +3882,7 @@ + return OS_OK; + #elif defined(__FreeBSD__) + int ret = pthread_setprio(thread->osthread()->pthread_id(), newpri); ++ return (ret == 0) ? OS_OK : OS_ERR; + #elif defined(__APPLE__) || defined(__NetBSD__) + struct sched_param sp; + int policy; +--- hotspot/src/os/bsd/vm/os_bsd.hpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/bsd/vm/os_bsd.hpp 2014-01-18 12:16:15.000000000 -0800 @@ -103,6 +103,12 @@ static bool hugetlbfs_sanity_check(bool warn, size_t page_size); @@ -6680,8 +2638,8 @@ public: static void init_thread_fpu_state(); ---- hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2012-08-10 09:24:18.000000000 -0700 -+++ hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2014-01-18 12:16:15.000000000 -0800 @@ -31,10 +31,22 @@ # include "atomic_bsd_x86.inline.hpp" # include "orderAccess_bsd_x86.inline.hpp" @@ -6705,8 +2663,8 @@ // System includes ---- hotspot/src/os/bsd/vm/thread_bsd.inline.hpp 2012-08-10 09:24:18.000000000 -0700 -+++ hotspot/src/os/bsd/vm/thread_bsd.inline.hpp 2013-04-28 16:29:16.000000000 -0700 +--- hotspot/src/os/bsd/vm/thread_bsd.inline.hpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/bsd/vm/thread_bsd.inline.hpp 2014-01-18 12:16:15.000000000 -0800 @@ -34,11 +34,26 @@ # include "orderAccess_bsd_x86.inline.hpp" # include "prefetch_bsd_x86.inline.hpp" @@ -6734,57 +2692,56 @@ // Contains inlined functions for class Thread and ThreadLocalStorage ---- hotspot/src/os/posix/vm/os_posix.cpp 2012-08-10 09:24:20.000000000 -0700 -+++ hotspot/src/os/posix/vm/os_posix.cpp 2013-04-28 16:29:16.000000000 -0700 -@@ -75,6 +75,47 @@ - return; +--- hotspot/src/os/linux/vm/os_linux.cpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/linux/vm/os_linux.cpp 2014-01-18 12:16:16.000000000 -0800 +@@ -2696,6 +2696,14 @@ + alignment_hint, exec, strerror(err), err); } -+// Multiple threads can race in this code, and can remap over each other with MAP_FIXED, -+// so on posix, unmap the section at the start and at the end of the chunk that we mapped -+// rather than unmapping and remapping the whole chunk to get requested alignment. -+char* os::reserve_memory_aligned(size_t size, size_t alignment) { -+ assert((alignment & (os::vm_allocation_granularity() - 1)) == 0, -+ "Alignment must be a multiple of allocation granularity (page size)"); -+ assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned"); -+ -+ size_t extra_size = size + alignment; -+ assert(extra_size >= size, "overflow, size is too large to allow alignment"); -+ -+ char* extra_base = os::reserve_memory(extra_size, NULL, alignment); -+ -+ if (extra_base == NULL) { -+ return NULL; -+ } -+ -+ // Do manual alignment -+ char* aligned_base = (char*) align_size_up((uintptr_t) extra_base, alignment); -+ -+ // [ | | ] -+ // ^ extra_base -+ // ^ extra_base + begin_offset == aligned_base -+ // extra_base + begin_offset + size ^ -+ // extra_base + extra_size ^ -+ // |<>| == begin_offset -+ // end_offset == |<>| -+ size_t begin_offset = aligned_base - extra_base; -+ size_t end_offset = (extra_base + extra_size) - (aligned_base + size); -+ -+ if (begin_offset > 0) { -+ os::release_memory(extra_base, begin_offset); -+ } -+ -+ if (end_offset > 0) { -+ os::release_memory(extra_base + begin_offset + size, end_offset); -+ } -+ -+ return aligned_base; ++static void warn_fail_commit_memory(char* addr, size_t size, ++ size_t alignment_hint, bool exec, ++ int err, const char* msg) { ++ warning("INFO: os::commit_memory(" PTR_FORMAT ", " SIZE_FORMAT ++ ", " SIZE_FORMAT ", %d) failed; error='%s' (errno=%d); %s", addr, size, ++ alignment_hint, exec, strerror(err), err, msg); +} + - void os::Posix::print_load_average(outputStream* st) { - st->print("load average:"); - double loadavg[3]; -@@ -110,11 +151,19 @@ + // NOTE: Linux kernel does not really reserve the pages for us. + // All it does is to check if there are enough free pages + // left at the time of mmap(). This could be a potential +@@ -2746,6 +2754,8 @@ + #define MADV_HUGEPAGE 14 + #endif + ++volatile jint os::Linux::num_largepage_commit_fails = 0; ++ + int os::Linux::commit_memory_impl(char* addr, size_t size, + size_t alignment_hint, bool exec) { + int err; +@@ -2770,7 +2780,9 @@ + // from the loss. For now, we just issue a warning and we don't + // call vm_exit_out_of_memory(). This issue is being tracked by + // JBS-8007074. +- warn_fail_commit_memory(addr, size, alignment_hint, exec, err); ++ Atomic::inc(&os::Linux::num_largepage_commit_fails); ++ warn_fail_commit_memory(addr, size, alignment_hint, exec, err, ++ "Cannot allocate large pages, falling back to regular pages"); + // vm_exit_out_of_memory(size, "committing reserved memory."); + } + // Fall through and try to use small pages +--- hotspot/src/os/linux/vm/os_linux.hpp 2013-09-06 11:22:03.000000000 -0700 ++++ hotspot/src/os/linux/vm/os_linux.hpp 2014-01-18 12:16:13.000000000 -0800 +@@ -100,6 +100,7 @@ + + public: + static bool _stack_is_executable; ++ static volatile jint num_largepage_commit_fails; + static void *dlopen_helper(const char *name, char *ebuf, int ebuflen); + static void *dll_load_in_vmthread(const char *name, char *ebuf, int ebuflen); + +--- hotspot/src/os/posix/vm/os_posix.cpp 2013-09-06 11:22:04.000000000 -0700 ++++ hotspot/src/os/posix/vm/os_posix.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -173,11 +173,19 @@ if (rlim.rlim_cur == RLIM_INFINITY) st->print("infinity"); else st->print("%d", rlim.rlim_cur); @@ -6804,58 +2761,8 @@ } void os::Posix::print_uname_info(outputStream* st) { ---- hotspot/src/os/windows/vm/os_windows.cpp 2012-08-10 09:24:30.000000000 -0700 -+++ hotspot/src/os/windows/vm/os_windows.cpp 2013-04-28 16:29:12.000000000 -0700 -@@ -2941,6 +2941,36 @@ - } - } - -+// Multiple threads can race in this code but it's not possible to unmap small sections of -+// virtual space to get requested alignment, like posix-like os's. -+// Windows prevents multiple thread from remapping over each other so this loop is thread-safe. -+char* os::reserve_memory_aligned(size_t size, size_t alignment) { -+ assert((alignment & (os::vm_allocation_granularity() - 1)) == 0, -+ "Alignment must be a multiple of allocation granularity (page size)"); -+ assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned"); -+ -+ size_t extra_size = size + alignment; -+ assert(extra_size >= size, "overflow, size is too large to allow alignment"); -+ -+ char* aligned_base = NULL; -+ -+ do { -+ char* extra_base = os::reserve_memory(extra_size, NULL, alignment); -+ if (extra_base == NULL) { -+ return NULL; -+ } -+ // Do manual alignment -+ aligned_base = (char*) align_size_up((uintptr_t) extra_base, alignment); -+ -+ os::release_memory(extra_base, extra_size); -+ -+ aligned_base = os::reserve_memory(size, aligned_base); -+ -+ } while (aligned_base == NULL); -+ -+ return aligned_base; -+} -+ - char* os::reserve_memory(size_t bytes, char* addr, size_t alignment_hint) { - assert((size_t)addr % os::vm_allocation_granularity() == 0, - "reserve alignment"); ---- hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp 2012-08-10 09:24:32.000000000 -0700 -+++ hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp 2013-04-28 16:29:17.000000000 -0700 -@@ -52,7 +52,7 @@ - /* Posix Thread IDs */ \ - /**********************/ \ - \ -- declare_unsigned_integer_type(thread_t) \ -+ declare_unsigned_integer_type(OS_THREAD_ID_TYPE) \ - declare_unsigned_integer_type(pthread_t) \ - \ - /* This must be the last entry, and must be present */ \ ---- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp 2012-08-10 09:24:33.000000000 -0700 -+++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp 2013-04-28 16:29:17.000000000 -0700 +--- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp 2013-09-06 11:22:04.000000000 -0700 ++++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp 2014-01-18 12:16:15.000000000 -0800 @@ -24,7 +24,7 @@ */ @@ -6865,681 +2772,256 @@ # include <pthread_np.h> /* For pthread_attr_get_np */ #endif ---- hotspot/src/share/vm/compiler/compilerOracle.cpp 2012-08-10 09:26:19.000000000 -0700 -+++ hotspot/src/share/vm/compiler/compilerOracle.cpp 2013-03-03 08:48:48.000000000 -0800 -@@ -575,7 +575,7 @@ - char token[1024]; - int pos = 0; - int c = getc(stream); -- while(c != EOF) { -+ while(c != EOF && pos < (int)(sizeof(token)-1)) { - if (c == '\n') { - token[pos++] = '\0'; - parse_from_line(token); -@@ -596,7 +596,7 @@ - int pos = 0; - const char* sp = str; - int c = *sp++; -- while (c != '\0') { -+ while (c != '\0' && pos < (int)(sizeof(token)-1)) { - if (c == '\n') { - token[pos++] = '\0'; - parse_line(token); ---- hotspot/src/share/vm/interpreter/linkResolver.cpp 2012-08-10 09:27:05.000000000 -0700 -+++ hotspot/src/share/vm/interpreter/linkResolver.cpp 2013-04-28 16:29:17.000000000 -0700 -@@ -712,7 +712,7 @@ - - if (check_access && - // a) check if ACC_SUPER flag is set for the current class -- current_klass->is_super() && -+ (current_klass->is_super() || !AllowNonVirtualCalls) && - // b) check if the method class is a superclass of the current class (superclass relation is not reflexive!) - current_klass->is_subtype_of(method_klass()) && current_klass() != method_klass() && - // c) check if the method is not <init> ---- hotspot/src/share/vm/oops/cpCacheOop.cpp 2012-08-10 09:27:18.000000000 -0700 -+++ hotspot/src/share/vm/oops/cpCacheOop.cpp 2013-04-28 16:29:13.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 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 -@@ -470,6 +470,24 @@ - return false; - } - -+// a constant pool cache entry should never contain old or obsolete methods -+bool ConstantPoolCacheEntry::check_no_old_or_obsolete_entries() { -+ if (is_vfinal()) { -+ // virtual and final so _f2 contains method ptr instead of vtable index -+ methodOop m = (methodOop)_f2; -+ // Return false if _f2 refers to an old or an obsolete method. -+ // _f2 == NULL || !m->is_method() are just as unexpected here. -+ return (m != NULL && m->is_method() && !m->is_old() && !m->is_obsolete()); -+ } else if ((oop)_f1 == NULL || !((oop)_f1)->is_method()) { -+ // _f1 == NULL || !_f1->is_method() are OK here -+ return true; -+ } -+ -+ methodOop m = (methodOop)_f1; -+ // return false if _f1 refers to an old or an obsolete method -+ return (!m->is_old() && !m->is_obsolete()); -+} -+ - bool ConstantPoolCacheEntry::is_interesting_method_entry(klassOop k) { - if (!is_method_entry()) { - // not a method entry so not interesting by default -@@ -492,7 +510,7 @@ - } - - assert(m != NULL && m->is_method(), "sanity check"); -- if (m == NULL || !m->is_method() || m->method_holder() != k) { -+ if (m == NULL || !m->is_method() || (k != NULL && m->method_holder() != k)) { - // robustness for above sanity checks or method is not in - // the interesting class - return false; -@@ -577,3 +595,22 @@ - } - } - } -+ -+// the constant pool cache should never contain old or obsolete methods -+bool constantPoolCacheOopDesc::check_no_old_or_obsolete_entries() { -+ for (int i = 1; i < length(); i++) { -+ if (entry_at(i)->is_interesting_method_entry(NULL) && -+ !entry_at(i)->check_no_old_or_obsolete_entries()) { -+ return false; -+ } -+ } -+ return true; -+} -+ -+void constantPoolCacheOopDesc::dump_cache() { -+ for (int i = 1; i < length(); i++) { -+ if (entry_at(i)->is_interesting_method_entry(NULL)) { -+ entry_at(i)->print(tty, i); -+ } -+ } -+} ---- hotspot/src/share/vm/oops/cpCacheOop.hpp 2012-08-10 09:27:18.000000000 -0700 -+++ hotspot/src/share/vm/oops/cpCacheOop.hpp 2013-04-28 16:29:13.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1998, 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 -@@ -298,6 +298,7 @@ - // group don't print the klass name. - bool adjust_method_entry(methodOop old_method, methodOop new_method, - bool * trace_name_printed); -+ bool check_no_old_or_obsolete_entries(); - bool is_interesting_method_entry(klassOop k); - bool is_field_entry() const { return (_flags & (1 << hotSwapBit)) == 0; } - bool is_method_entry() const { return (_flags & (1 << hotSwapBit)) != 0; } -@@ -405,6 +406,8 @@ - // group don't print the klass name. - void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, - int methods_length, bool * trace_name_printed); -+ bool check_no_old_or_obsolete_entries(); -+ void dump_cache(); - }; - - #endif // SHARE_VM_OOPS_CPCACHEOOP_HPP ---- hotspot/src/share/vm/oops/klassVtable.cpp 2012-08-10 09:27:23.000000000 -0700 -+++ hotspot/src/share/vm/oops/klassVtable.cpp 2013-04-28 16:29:13.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2011, 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 -@@ -640,11 +640,37 @@ - new_method->name()->as_C_string(), - new_method->signature()->as_C_string())); - } -+ // cannot 'break' here; see for-loop comment above. - } - } - } - } - -+// a vtable should never contain old or obsolete methods -+bool klassVtable::check_no_old_or_obsolete_entries() { -+ for (int i = 0; i < length(); i++) { -+ methodOop m = unchecked_method_at(i); -+ if (m != NULL && (m->is_old() || m->is_obsolete())) { -+ return false; -+ } -+ } -+ return true; -+} -+ -+void klassVtable::dump_vtable() { -+ tty->print_cr("vtable dump --"); -+ for (int i = 0; i < length(); i++) { -+ methodOop m = unchecked_method_at(i); -+ if (m != NULL) { -+ tty->print(" (%5d) ", i); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } -+ } -+} -+ - // CDS/RedefineClasses support - clear vtables so they can be reinitialized - void klassVtable::clear_vtable() { - for (int i = 0; i < _length; i++) table()[i].clear(); -@@ -994,13 +1020,42 @@ - new_method->name()->as_C_string(), - new_method->signature()->as_C_string())); - } -- break; -+ // cannot 'break' here; see for-loop comment above. - } - ime++; - } - } - } - -+// an itable should never contain old or obsolete methods -+bool klassItable::check_no_old_or_obsolete_entries() { -+ itableMethodEntry* ime = method_entry(0); -+ for (int i = 0; i < _size_method_table; i++) { -+ methodOop m = ime->method(); -+ if (m != NULL && (m->is_old() || m->is_obsolete())) { -+ return false; -+ } -+ ime++; -+ } -+ return true; -+} -+ -+void klassItable::dump_itable() { -+ itableMethodEntry* ime = method_entry(0); -+ tty->print_cr("itable dump --"); -+ for (int i = 0; i < _size_method_table; i++) { -+ methodOop m = ime->method(); -+ if (m != NULL) { -+ tty->print(" (%5d) ", i); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } -+ ime++; -+ } -+} -+ - - // Setup - class InterfaceVisiterClosure : public StackObj { -@@ -1287,33 +1342,6 @@ - tty->print_cr("%6d bytes total", total); - } - --bool klassVtable::check_no_old_entries() { -- // Check that there really is no entry -- for (int i = 0; i < length(); i++) { -- methodOop m = unchecked_method_at(i); -- if (m != NULL) { -- if (m->is_old()) { -- return false; -- } -- } -- } -- return true; --} -- --void klassVtable::dump_vtable() { -- tty->print_cr("vtable dump --"); -- for (int i = 0; i < length(); i++) { -- methodOop m = unchecked_method_at(i); -- if (m != NULL) { -- tty->print(" (%5d) ", i); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- } -- } --} -- - int klassItable::_total_classes; // Total no. of classes with itables - long klassItable::_total_size; // Total no. of bytes used for itables - ---- hotspot/src/share/vm/oops/klassVtable.hpp 2012-08-10 09:27:23.000000000 -0700 -+++ hotspot/src/share/vm/oops/klassVtable.hpp 2013-04-28 16:29:13.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2011, 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 -@@ -98,6 +98,8 @@ - // group don't print the klass name. - void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, - int methods_length, bool * trace_name_printed); -+ bool check_no_old_or_obsolete_entries(); -+ void dump_vtable(); - - // Garbage collection - void oop_follow_contents(); -@@ -118,11 +120,6 @@ - void verify(outputStream* st, bool force = false); - static void print_statistics() PRODUCT_RETURN; - --#ifndef PRODUCT -- bool check_no_old_entries(); -- void dump_vtable(); --#endif -- - protected: - friend class vtableEntry; - private: -@@ -292,6 +289,8 @@ - // group don't print the klass name. - void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, - int methods_length, bool * trace_name_printed); -+ bool check_no_old_or_obsolete_entries(); -+ void dump_itable(); - - // Garbage collection - void oop_follow_contents(); ---- hotspot/src/share/vm/oops/methodOop.cpp 2012-08-10 09:27:25.000000000 -0700 -+++ hotspot/src/share/vm/oops/methodOop.cpp 2013-04-28 16:29:13.000000000 -0700 -@@ -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 -@@ -1346,10 +1346,6 @@ - } - - --//----------------------------------------------------------------------------------- --// Non-product code -- --#ifndef PRODUCT - class SignatureTypePrinter : public SignatureTypeNames { - private: - outputStream* _st; -@@ -1386,6 +1382,10 @@ - } - - -+//----------------------------------------------------------------------------------- -+// Non-product code -+ -+#ifndef PRODUCT - void methodOopDesc::print_codes_on(outputStream* st) const { - print_codes_on(0, code_size(), st); - } ---- hotspot/src/share/vm/oops/methodOop.hpp 2012-08-10 09:27:26.000000000 -0700 -+++ hotspot/src/share/vm/oops/methodOop.hpp 2013-04-28 16:29:13.000000000 -0700 -@@ -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 -@@ -703,8 +703,8 @@ - static bool has_unloaded_classes_in_signature(methodHandle m, TRAPS); - - // Printing -- void print_short_name(outputStream* st) /*PRODUCT_RETURN*/; // prints as klassname::methodname; Exposed so field engineers can debug VM -- void print_name(outputStream* st) PRODUCT_RETURN; // prints as "virtual void foo(int)" -+ void print_short_name(outputStream* st); // prints as klassname::methodname; Exposed so field engineers can debug VM -+ void print_name(outputStream* st); // prints as "virtual void foo(int)"; exposed for TraceRedefineClasses - - // Helper routine used for method sorting - static void sort_methods(objArrayOop methods, ---- hotspot/src/share/vm/opto/library_call.cpp 2012-08-10 09:27:37.000000000 -0700 -+++ hotspot/src/share/vm/opto/library_call.cpp 2013-04-28 16:29:13.000000000 -0700 -@@ -3931,7 +3931,8 @@ - } - } - } -- else if (method->is_method_handle_adapter()) { -+ -+ if (method->is_method_handle_adapter()) { - // This is an internal adapter frame from the MethodHandleCompiler -- skip it - return true; +--- hotspot/src/share/vm/classfile/classFileParser.cpp 2013-09-06 11:22:10.000000000 -0700 ++++ hotspot/src/share/vm/classfile/classFileParser.cpp 2013-12-01 11:14:01.000000000 -0800 +@@ -2028,8 +2028,8 @@ + } + if (lvt_cnt == max_lvt_cnt) { + max_lvt_cnt <<= 1; +- REALLOC_RESOURCE_ARRAY(u2, localvariable_table_length, lvt_cnt, max_lvt_cnt); +- REALLOC_RESOURCE_ARRAY(u2*, localvariable_table_start, lvt_cnt, max_lvt_cnt); ++ localvariable_table_length = REALLOC_RESOURCE_ARRAY(u2, localvariable_table_length, lvt_cnt, max_lvt_cnt); ++ localvariable_table_start = REALLOC_RESOURCE_ARRAY(u2*, localvariable_table_start, lvt_cnt, max_lvt_cnt); + } + localvariable_table_start[lvt_cnt] = + parse_localvariable_table(code_length, +@@ -2058,8 +2058,8 @@ + // Parse local variable type table + if (lvtt_cnt == max_lvtt_cnt) { + max_lvtt_cnt <<= 1; +- REALLOC_RESOURCE_ARRAY(u2, localvariable_type_table_length, lvtt_cnt, max_lvtt_cnt); +- REALLOC_RESOURCE_ARRAY(u2*, localvariable_type_table_start, lvtt_cnt, max_lvtt_cnt); ++ localvariable_type_table_length = REALLOC_RESOURCE_ARRAY(u2, localvariable_type_table_length, lvtt_cnt, max_lvtt_cnt); ++ localvariable_type_table_start = REALLOC_RESOURCE_ARRAY(u2*, localvariable_type_table_start, lvtt_cnt, max_lvtt_cnt); + } + localvariable_type_table_start[lvtt_cnt] = + parse_localvariable_table(code_length, +@@ -4051,9 +4051,8 @@ + for (int index = 0; index < num_methods; index++) { + methodOop m = (methodOop)methods->obj_at(index); + +- // skip private, static and <init> methods +- if ((!m->is_private()) && +- (!m->is_static()) && ++ // skip static and <init> methods ++ if ((!m->is_static()) && + (m->name() != vmSymbols::object_initializer_name())) { + + Symbol* name = m->name(); +--- hotspot/src/share/vm/gc_implementation/shared/gcTraceSend.cpp 2013-09-06 11:22:12.000000000 -0700 ++++ hotspot/src/share/vm/gc_implementation/shared/gcTraceSend.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -109,7 +109,7 @@ + if (e.should_commit()) { + e.set_gcId(_shared_gc_info.id()); + e.set_data(to_trace_struct(pf_info)); +- e.set_thread(pf_info.thread()->thread_id()); ++ e.set_thread((uint64_t) pf_info.thread()->thread_id()); + e.commit(); } -@@ -5476,4 +5477,3 @@ - push(result); - return true; } -- ---- hotspot/src/share/vm/opto/loopTransform.cpp 2012-08-10 09:27:38.000000000 -0700 -+++ hotspot/src/share/vm/opto/loopTransform.cpp 2013-03-03 08:48:48.000000000 -0800 -@@ -2733,6 +2733,8 @@ - result_mem = new (C, 1) ProjNode(call,TypeFunc::Memory); - _igvn.register_new_node_with_optimizer(result_mem); - -+/* Disable following optimization until proper fix (add missing checks). -+ - // If this fill is tightly coupled to an allocation and overwrites - // the whole body, allow it to take over the zeroing. - AllocateNode* alloc = AllocateNode::Ideal_allocation(base, this); -@@ -2756,6 +2758,7 @@ - #endif - } - } -+*/ - - // Redirect the old control and memory edges that are outside the loop. - Node* exit = head->loopexit()->proj_out(0); ---- hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp 2012-08-10 09:27:50.000000000 -0700 -+++ hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp 2013-04-28 16:29:14.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2003, 2011, 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 -@@ -129,8 +129,15 @@ - // See jvmtiExport.hpp for detailed explanation. - JvmtiExport::set_has_redefined_a_class(); - --#ifdef ASSERT -- SystemDictionary::classes_do(check_class, thread); -+// check_class() is optionally called for product bits, but is -+// always called for non-product bits. -+#ifdef PRODUCT -+ if (RC_TRACE_ENABLED(0x00004000)) { -+#endif -+ RC_TRACE_WITH_THREAD(0x00004000, thread, ("calling check_class")); -+ SystemDictionary::classes_do(check_class, thread); -+#ifdef PRODUCT -+ } - #endif +--- hotspot/src/share/vm/prims/methodHandles.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/prims/methodHandles.cpp 2014-01-18 12:16:13.000000000 -0800 +@@ -175,30 +175,32 @@ } -@@ -3366,76 +3373,116 @@ + oop MethodHandles::init_method_MemberName(oop mname_oop, methodOop m, bool do_dispatch, +- klassOop receiver_limit) { ++ klassOop resolved_klass) { + AccessFlags mods = m->access_flags(); + int flags = (jushort)( mods.as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS ); + int vmindex = methodOopDesc::nonvirtual_vtable_index; // implies never any dispatch +- klassOop mklass = m->method_holder(); +- if (receiver_limit == NULL) +- receiver_limit = mklass; ++ bool is_itable_call = false; ++ klassOop m_klass = m->method_holder(); ++ // resolved_klass is a copy of CallInfo::resolved_klass, if available ++ if (resolved_klass == NULL) ++ resolved_klass = m_klass; + if (m->is_initializer()) { + flags |= IS_CONSTRUCTOR | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT); + } else if (mods.is_static()) { + flags |= IS_METHOD | (JVM_REF_invokeStatic << REFERENCE_KIND_SHIFT); +- } else if (receiver_limit != mklass && +- !Klass::cast(receiver_limit)->is_subtype_of(mklass)) { ++ } else if (resolved_klass != m_klass && ++ !Klass::cast(resolved_klass)->is_subtype_of(m_klass)) { + return NULL; // bad receiver limit +- } else if (Klass::cast(receiver_limit)->is_interface() && +- Klass::cast(mklass)->is_interface()) { ++ } else if (Klass::cast(resolved_klass)->is_interface() && ++ Klass::cast(m_klass)->is_interface()) { + flags |= IS_METHOD | (JVM_REF_invokeInterface << REFERENCE_KIND_SHIFT); +- receiver_limit = mklass; // ignore passed-in limit; interfaces are interconvertible + vmindex = klassItable::compute_itable_index(m); +- } else if (mklass != receiver_limit && Klass::cast(mklass)->is_interface()) { ++ is_itable_call = true; ++ } else if (m_klass != resolved_klass && Klass::cast(m_klass)->is_interface()) { + flags |= IS_METHOD | (JVM_REF_invokeVirtual << REFERENCE_KIND_SHIFT); + // it is a miranda method, so m->vtable_index is not what we want + ResourceMark rm; +- klassVtable* vt = instanceKlass::cast(receiver_limit)->vtable(); ++ klassVtable* vt = instanceKlass::cast(resolved_klass)->vtable(); + vmindex = vt->index_of_miranda(m->name(), m->signature()); + } else if (!do_dispatch || m->can_be_statically_bound()) { + flags |= IS_METHOD | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT); +@@ -207,10 +209,36 @@ + vmindex = m->vtable_index(); } - } --#ifndef PRODUCT - void VM_RedefineClasses::check_class(klassOop k_oop, - oop initiating_loader, TRAPS) { - Klass *k = k_oop->klass_part(); - if (k->oop_is_instance()) { - HandleMark hm(THREAD); - instanceKlass *ik = (instanceKlass *) k; -+ bool no_old_methods = true; // be optimistic -+ ResourceMark rm(THREAD); - -- if (ik->vtable_length() > 0) { -- ResourceMark rm(THREAD); -- if (!ik->vtable()->check_no_old_entries()) { -- tty->print_cr("klassVtable::check_no_old_entries failure -- OLD method found -- class: %s", ik->signature_name()); -+ // a vtable should never contain old or obsolete methods -+ if (ik->vtable_length() > 0 && -+ !ik->vtable()->check_no_old_or_obsolete_entries()) { -+ if (RC_TRACE_ENABLED(0x00004000)) { -+ RC_TRACE_WITH_THREAD(0x00004000, THREAD, -+ ("klassVtable::check_no_old_or_obsolete_entries failure" -+ " -- OLD or OBSOLETE method found -- class: %s", -+ ik->signature_name())); - ik->vtable()->dump_vtable(); ++ if (vmindex >= 0 && !is_itable_call) { ++ if (Klass::cast(m_klass)->is_interface()) { ++ // This is a vtable call to an interface method (abstract "miranda method"). ++ // The vtable index is meaningless without a class (not interface) receiver type, so get one. ++ // (LinkResolver should help us figure this out.) ++ KlassHandle m_klass_non_interface = resolved_klass; ++ if (m_klass_non_interface->is_interface()) { ++ m_klass_non_interface = SystemDictionary::Object_klass(); ++#ifdef ASSERT ++ { ResourceMark rm; ++ methodOop m2 = m_klass_non_interface->vtable()->method_at(vmindex); ++ assert(m->name() == m2->name() && m->signature() == m2->signature(), ++ err_msg("at %d, %s != %s", vmindex, ++ m->name_and_sig_as_C_string(), m2->name_and_sig_as_C_string())); ++ } ++#endif //ASSERT + } -+ no_old_methods = false; -+ } -+ -+ // an itable should never contain old or obsolete methods -+ if (ik->itable_length() > 0 && -+ !ik->itable()->check_no_old_or_obsolete_entries()) { -+ if (RC_TRACE_ENABLED(0x00004000)) { -+ RC_TRACE_WITH_THREAD(0x00004000, THREAD, -+ ("klassItable::check_no_old_or_obsolete_entries failure" -+ " -- OLD or OBSOLETE method found -- class: %s", -+ ik->signature_name())); -+ ik->itable()->dump_itable(); ++ if (!m->is_public()) { ++ assert(m->is_public(), "virtual call must be to public interface method"); ++ return NULL; // elicit an error later in product build + } -+ no_old_methods = false; ++ assert(Klass::cast(resolved_klass)->is_subtype_of(m_klass_non_interface()), "virtual call must be type-safe"); ++ m_klass = m_klass_non_interface(); + } ++ } + -+ // the constant pool cache should never contain old or obsolete methods -+ if (ik->constants() != NULL && -+ ik->constants()->cache() != NULL && -+ !ik->constants()->cache()->check_no_old_or_obsolete_entries()) { -+ if (RC_TRACE_ENABLED(0x00004000)) { -+ RC_TRACE_WITH_THREAD(0x00004000, THREAD, -+ ("cp-cache::check_no_old_or_obsolete_entries failure" -+ " -- OLD or OBSOLETE method found -- class: %s", -+ ik->signature_name())); -+ ik->constants()->cache()->dump_cache(); -+ } -+ no_old_methods = false; + java_lang_invoke_MemberName::set_flags(mname_oop, flags); + java_lang_invoke_MemberName::set_vmtarget(mname_oop, m); + java_lang_invoke_MemberName::set_vmindex(mname_oop, vmindex); // vtable/itable index +- java_lang_invoke_MemberName::set_clazz(mname_oop, Klass::cast(receiver_limit)->java_mirror()); ++ java_lang_invoke_MemberName::set_clazz(mname_oop, Klass::cast(m_klass)->java_mirror()); + // Note: name and type can be lazily computed by resolve_MemberName, + // if Java code needs them as resolved String and MethodType objects. + // The clazz must be eagerly stored, because it provides a GC +@@ -571,7 +599,7 @@ + // An unresolved member name is a mere symbolic reference. + // Resolving it plants a vmtarget/vmindex in it, + // which refers dirctly to JVM internals. +-Handle MethodHandles::resolve_MemberName(Handle mname, TRAPS) { ++Handle MethodHandles::resolve_MemberName(Handle mname, KlassHandle caller, TRAPS) { + Handle empty; + assert(java_lang_invoke_MemberName::is_instance(mname()), ""); + +@@ -650,21 +678,49 @@ + if (ref_kind == JVM_REF_invokeStatic) { + //do_dispatch = false; // no need, since statics are never dispatched + LinkResolver::resolve_static_call(result, +- defc, name, type, KlassHandle(), false, false, THREAD); ++ defc, name, type, caller, caller.not_null(), false, THREAD); + } else if (ref_kind == JVM_REF_invokeInterface) { + LinkResolver::resolve_interface_call(result, Handle(), defc, +- defc, name, type, KlassHandle(), false, false, THREAD); ++ defc, name, type, caller, caller.not_null(), false, THREAD); + } else if (mh_invoke_id != vmIntrinsics::_none) { + assert(!is_signature_polymorphic_static(mh_invoke_id), ""); + LinkResolver::resolve_handle_call(result, +- defc, name, type, KlassHandle(), THREAD); ++ defc, name, type, caller, THREAD); + } else if (ref_kind == JVM_REF_invokeSpecial) { + do_dispatch = false; // force non-virtual linkage + LinkResolver::resolve_special_call(result, +- defc, name, type, KlassHandle(), false, THREAD); ++ defc, name, type, caller, caller.not_null(), THREAD); ++ // CR 8029533: ++ // As a corner case, invokespecial can return a method *below* its resolved_klass. ++ // Since method search *starts* at the resolved_klass, the eventual ++ // method is almost always in a supertype *above* the resolved_klass. ++ // This pattern breaks when an invokespecial "over-reaches" beyond an ++ // immediate super to a method overridden by a super class. ++ // In that case, the selected method will be below the resolved_klass. ++ // (This is the behavior enabled by the famous ACC_SUPER classfile flag.) ++ // ++ // Downstream of this code, we make assumptions about resolved_klass being below m. ++ // (See init_method_MemberName, the comment "bad receiver limit".) ++ // We basically want to patch result._resolved_klass to be m.method_holder(). ++ // The simplest way to get this happier outcome is to re-resolve. ++ if (!HAS_PENDING_EXCEPTION && ++ caller.not_null() && ++ result.resolved_method().not_null()) { ++ // this is the m_klass value that will be checked later: ++ klassOop m_klass = result.resolved_method()->method_holder(); ++ if (m_klass != result.resolved_klass()() && ++ Klass::cast(m_klass)->is_subtype_of(result.resolved_klass()())) { ++ KlassHandle adjusted_defc(THREAD, m_klass); ++ LinkResolver::resolve_special_call(result, ++ adjusted_defc, name, type, caller, caller.not_null(), THREAD); ++ assert(HAS_PENDING_EXCEPTION // if there is something like an OOM, pass it up to caller ++ || result.resolved_method()->method_holder() == adjusted_defc(), ++ "same method, different resolved_klass"); ++ } ++ } + } else if (ref_kind == JVM_REF_invokeVirtual) { + LinkResolver::resolve_virtual_call(result, Handle(), defc, +- defc, name, type, KlassHandle(), false, false, THREAD); ++ defc, name, type, caller, caller.not_null(), false, THREAD); + } else { + assert(false, err_msg("ref_kind=%d", ref_kind)); + } +@@ -681,7 +737,7 @@ + assert(!HAS_PENDING_EXCEPTION, ""); + if (name == vmSymbols::object_initializer_name()) { + LinkResolver::resolve_special_call(result, +- defc, name, type, KlassHandle(), false, THREAD); ++ defc, name, type, caller, caller.not_null(), THREAD); + } else { + break; // will throw after end of switch + } +@@ -1025,7 +1081,12 @@ + if (VerifyMethodHandles && caller_jh != NULL && + java_lang_invoke_MemberName::clazz(mname()) != NULL) { + klassOop reference_klass = java_lang_Class::as_klassOop(java_lang_invoke_MemberName::clazz(mname())); +- if (reference_klass != NULL) { ++ if (reference_klass != NULL && Klass::cast(reference_klass)->oop_is_objArray()) { ++ reference_klass = objArrayKlass::cast(reference_klass)->bottom_klass(); + } + -+ if (!no_old_methods) { -+ if (RC_TRACE_ENABLED(0x00004000)) { - dump_methods(); -- assert(false, "OLD method found"); -+ } else { -+ tty->print_cr("INFO: use the '-XX:TraceRedefineClasses=16384' option " -+ "to see more info about the following guarantee() failure."); - } -+ guarantee(false, "OLD and/or OBSOLETE method(s) found"); ++ // Reflection::verify_class_access can only handle instance classes. ++ if (reference_klass != NULL && Klass::cast(reference_klass)->oop_is_instance()) { + // Emulate LinkResolver::check_klass_accessability. + klassOop caller = java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(caller_jh)); + if (!Reflection::verify_class_access(caller, +@@ -1036,7 +1097,11 @@ } } - } - - void VM_RedefineClasses::dump_methods() { -- int j; -- tty->print_cr("_old_methods --"); -- for (j = 0; j < _old_methods->length(); ++j) { -- methodOop m = (methodOop) _old_methods->obj_at(j); -- tty->print("%4d (%5d) ", j, m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- } -- tty->print_cr("_new_methods --"); -- for (j = 0; j < _new_methods->length(); ++j) { -- methodOop m = (methodOop) _new_methods->obj_at(j); -- tty->print("%4d (%5d) ", j, m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- } -- tty->print_cr("_matching_(old/new)_methods --"); -- for (j = 0; j < _matching_methods_length; ++j) { -- methodOop m = _matching_old_methods[j]; -- tty->print("%4d (%5d) ", j, m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- m = _matching_new_methods[j]; -- tty->print(" (%5d) ", m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->cr(); -- } -- tty->print_cr("_deleted_methods --"); -- for (j = 0; j < _deleted_methods_length; ++j) { -- methodOop m = _deleted_methods[j]; -- tty->print("%4d (%5d) ", j, m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- } -- tty->print_cr("_added_methods --"); -- for (j = 0; j < _added_methods_length; ++j) { -- methodOop m = _added_methods[j]; -- tty->print("%4d (%5d) ", j, m->vtable_index()); -- m->access_flags().print_on(tty); -- tty->print(" -- "); -- m->print_name(tty); -- tty->cr(); -- } -+ int j; -+ RC_TRACE(0x00004000, ("_old_methods --")); -+ for (j = 0; j < _old_methods->length(); ++j) { -+ methodOop m = (methodOop) _old_methods->obj_at(j); -+ RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } -+ RC_TRACE(0x00004000, ("_new_methods --")); -+ for (j = 0; j < _new_methods->length(); ++j) { -+ methodOop m = (methodOop) _new_methods->obj_at(j); -+ RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } -+ RC_TRACE(0x00004000, ("_matching_(old/new)_methods --")); -+ for (j = 0; j < _matching_methods_length; ++j) { -+ methodOop m = _matching_old_methods[j]; -+ RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ m = _matching_new_methods[j]; -+ RC_TRACE_NO_CR(0x00004000, (" (%5d) ", m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->cr(); -+ } -+ RC_TRACE(0x00004000, ("_deleted_methods --")); -+ for (j = 0; j < _deleted_methods_length; ++j) { -+ methodOop m = _deleted_methods[j]; -+ RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } -+ RC_TRACE(0x00004000, ("_added_methods --")); -+ for (j = 0; j < _added_methods_length; ++j) { -+ methodOop m = _added_methods[j]; -+ RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); -+ m->access_flags().print_on(tty); -+ tty->print(" -- "); -+ m->print_name(tty); -+ tty->cr(); -+ } - } --#endif ---- hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp 2012-08-10 09:27:50.000000000 -0700 -+++ hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp 2013-04-28 16:29:14.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2003, 2011, 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 -@@ -478,9 +478,8 @@ - void flush_dependent_code(instanceKlassHandle k_h, TRAPS); - -- static void check_class(klassOop k_oop, oop initiating_loader, TRAPS) PRODUCT_RETURN; -- -- static void dump_methods() PRODUCT_RETURN; -+ static void check_class(klassOop k_oop, oop initiating_loader, TRAPS); -+ static void dump_methods(); +- Handle resolved = MethodHandles::resolve_MemberName(mname, CHECK_NULL); ++ KlassHandle caller(THREAD, ++ caller_jh == NULL ? (klassOop) NULL : ++ java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(caller_jh))); ++ Handle resolved = MethodHandles::resolve_MemberName(mname, caller, CHECK_NULL); ++ + if (resolved.is_null()) { + int flags = java_lang_invoke_MemberName::flags(mname()); + int ref_kind = (flags >> REFERENCE_KIND_SHIFT) & REFERENCE_KIND_MASK; +--- hotspot/src/share/vm/prims/methodHandles.hpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/prims/methodHandles.hpp 2014-01-18 12:16:13.000000000 -0800 +@@ -51,12 +51,12 @@ public: - VM_RedefineClasses(jint class_count, ---- hotspot/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp 2012-08-10 09:27:50.000000000 -0700 -+++ hotspot/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp 2013-04-28 16:29:14.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2003, 2010, 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 -@@ -54,7 +54,7 @@ - // 0x00000800 | 2048 - previous class breakpoint mgmt - // 0x00001000 | 4096 - detect calls to obsolete methods - // 0x00002000 | 8192 - fail a guarantee() in addition to detection --// 0x00004000 | 16384 - unused -+// 0x00004000 | 16384 - detect old/obsolete methods in metadata - // 0x00008000 | 32768 - old/new method matching/add/delete - // 0x00010000 | 65536 - impl details: CP size info - // 0x00020000 | 131072 - impl details: CP merge pass info -@@ -82,6 +82,13 @@ - tty->print_cr args; \ - } while (0) - -+#define RC_TRACE_NO_CR(level, args) \ -+ if ((TraceRedefineClasses & level) != 0) { \ -+ ResourceMark rm; \ -+ tty->print("RedefineClasses-0x%x: ", level); \ -+ tty->print args; \ -+ } while (0) -+ - #define RC_TRACE_WITH_THREAD(level, thread, args) \ - if ((TraceRedefineClasses & level) != 0) { \ - ResourceMark rm(thread); \ ---- hotspot/src/share/vm/prims/methodHandles.cpp 2012-08-10 09:27:52.000000000 -0700 -+++ hotspot/src/share/vm/prims/methodHandles.cpp 2013-04-28 16:29:14.000000000 -0700 -@@ -645,6 +645,13 @@ - } - } - methodHandle m = result.resolved_method(); -+ KlassHandle mklass = m->method_holder(); -+ KlassHandle receiver_limit = result.resolved_klass(); -+ if (receiver_limit.is_null() || -+ // ignore passed-in limit; interfaces are interconvertible -+ receiver_limit->is_interface() && mklass->is_interface()) { -+ receiver_limit = mklass; -+ } - oop vmtarget = NULL; - int vmindex = methodOopDesc::nonvirtual_vtable_index; - if (defc->is_interface()) { -@@ -665,6 +672,7 @@ - java_lang_invoke_MemberName::set_vmtarget(mname(), vmtarget); - java_lang_invoke_MemberName::set_vmindex(mname(), vmindex); - java_lang_invoke_MemberName::set_modifiers(mname(), mods); -+ java_lang_invoke_MemberName::set_clazz(mname(), receiver_limit->java_mirror()); - DEBUG_ONLY(KlassHandle junk1; int junk2); - assert(decode_MemberName(mname(), junk1, junk2) == result.resolved_method(), - "properly stored for later decoding"); ---- hotspot/src/share/vm/runtime/arguments.cpp 2012-08-10 09:27:53.000000000 -0700 -+++ hotspot/src/share/vm/runtime/arguments.cpp 2013-04-28 16:29:17.000000000 -0700 -@@ -829,6 +829,9 @@ - } else { - jio_fprintf(defaultStream::error_stream(), "%s", locked_message_buf); - } -+ } else { -+ jio_fprintf(defaultStream::error_stream(), -+ "Unrecognized VM option '%s'\n", argname); - } - - // allow for commandline "commenting out" options like -XX:#+Verbose -@@ -857,7 +860,7 @@ - bool result = true; - - int c = getc(stream); -- while(c != EOF) { -+ while(c != EOF && pos < (int)(sizeof(token)-1)) { - if (in_white_space) { - if (in_comment) { - if (c == '\n') in_comment = false; ---- hotspot/src/share/vm/runtime/atomic.cpp 2012-08-10 09:27:53.000000000 -0700 -+++ hotspot/src/share/vm/runtime/atomic.cpp 2013-04-28 16:29:17.000000000 -0700 + // working with member names +- static Handle resolve_MemberName(Handle mname, TRAPS); // compute vmtarget/vmindex from name/type ++ static Handle resolve_MemberName(Handle mname, KlassHandle caller, TRAPS); // compute vmtarget/vmindex from name/type + static void expand_MemberName(Handle mname, int suppress, TRAPS); // expand defc/name/type if missing + static Handle new_MemberName(TRAPS); // must be followed by init_MemberName + static oop init_MemberName(oop mname_oop, oop target_oop); // compute vmtarget/vmindex from target + static oop init_method_MemberName(oop mname_oop, methodOop m, bool do_dispatch, +- klassOop receiver_limit); ++ klassOop resolved_klass); + static oop init_field_MemberName(oop mname_oop, klassOop field_holder, + AccessFlags mods, oop type, oop name, + intptr_t offset, bool is_setter = false); +--- hotspot/src/share/vm/runtime/atomic.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/atomic.cpp 2014-01-18 12:16:15.000000000 -0800 @@ -54,6 +54,12 @@ #ifdef TARGET_OS_ARCH_windows_x86 # include "atomic_windows_x86.inline.hpp" @@ -7553,22 +3035,110 @@ #ifdef TARGET_OS_ARCH_linux_arm # include "atomic_linux_arm.inline.hpp" #endif ---- hotspot/src/share/vm/runtime/globals.hpp 2012-08-10 09:27:59.000000000 -0700 -+++ hotspot/src/share/vm/runtime/globals.hpp 2013-04-28 16:29:17.000000000 -0700 -@@ -3902,7 +3902,10 @@ - product(bool, UseVMInterruptibleIO, false, \ - "(Unstable, Solaris-specific) Thread interrupt before or with " \ - "EINTR for I/O operations results in OS_INTRPT. The default value"\ -- " of this flag is true for JDK 6 and earlier") -+ " of this flag is true for JDK 6 and earlier") \ -+ \ -+ product(bool, AllowNonVirtualCalls, false, \ -+ "Obey the ACC_SUPER flag and allow invokenonvirtual calls") +--- hotspot/src/share/vm/runtime/mutexLocker.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/mutexLocker.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -133,13 +133,15 @@ + + Mutex* Management_lock = NULL; + Monitor* Service_lock = NULL; +-Mutex* Stacktrace_lock = NULL; ++Monitor* PeriodicTask_lock = NULL; + +-Monitor* JfrQuery_lock = NULL; ++#ifdef INCLUDE_TRACE ++Mutex* JfrStacktrace_lock = NULL; + Monitor* JfrMsg_lock = NULL; + Mutex* JfrBuffer_lock = NULL; + Mutex* JfrStream_lock = NULL; +-Monitor* PeriodicTask_lock = NULL; ++Mutex* JfrThreadGroups_lock = NULL; ++#endif - /* - * Macros for factoring of globals ---- hotspot/src/share/vm/runtime/os.hpp 2012-08-10 09:28:05.000000000 -0700 -+++ hotspot/src/share/vm/runtime/os.hpp 2013-04-28 16:29:17.000000000 -0700 + #define MAX_NUM_MUTEX 128 + static Monitor * _mutex_array[MAX_NUM_MUTEX]; +@@ -215,7 +217,6 @@ + def(Patching_lock , Mutex , special, true ); // used for safepointing and code patching. + def(ObjAllocPost_lock , Monitor, special, false); + def(Service_lock , Monitor, special, true ); // used for service thread operations +- def(Stacktrace_lock , Mutex, special, true ); // used for JFR stacktrace database + def(JmethodIdCreation_lock , Mutex , leaf, true ); // used for creating jmethodIDs. + + def(SystemDictionary_lock , Monitor, leaf, true ); // lookups done by VM thread +@@ -278,12 +279,17 @@ + def(MethodCompileQueue_lock , Monitor, nonleaf+4, true ); + def(Debug2_lock , Mutex , nonleaf+4, true ); + def(Debug3_lock , Mutex , nonleaf+4, true ); +- def(CompileThread_lock , Monitor, nonleaf+5, false ); ++ def(CompileThread_lock , Monitor, nonleaf+5, false); ++ def(PeriodicTask_lock , Monitor, nonleaf+5, true); + ++#ifdef INCLUDE_TRACE + def(JfrMsg_lock , Monitor, leaf, true); + def(JfrBuffer_lock , Mutex, nonleaf+1, true); ++ def(JfrThreadGroups_lock , Mutex, nonleaf+1, true); + def(JfrStream_lock , Mutex, nonleaf+2, true); +- def(PeriodicTask_lock , Monitor, nonleaf+5, true); ++ def(JfrStacktrace_lock , Mutex, special, true ); ++#endif ++ + } + + GCMutexLocker::GCMutexLocker(Monitor * mutex) { +--- hotspot/src/share/vm/runtime/mutexLocker.hpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/mutexLocker.hpp 2014-01-18 12:16:15.000000000 -0800 +@@ -135,13 +135,15 @@ + + extern Mutex* Management_lock; // a lock used to serialize JVM management + extern Monitor* Service_lock; // a lock used for service thread operation +-extern Mutex* Stacktrace_lock; // used to guard access to the stacktrace table ++extern Monitor* PeriodicTask_lock; // protects the periodic task structure + +-extern Monitor* JfrQuery_lock; // protects JFR use ++#ifdef INCLUDE_TRACE ++extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table + extern Monitor* JfrMsg_lock; // protects JFR messaging + extern Mutex* JfrBuffer_lock; // protects JFR buffer operations + extern Mutex* JfrStream_lock; // protects JFR stream access +-extern Monitor* PeriodicTask_lock; // protects the periodic task structure ++extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups ++#endif + + // A MutexLocker provides mutual exclusion with respect to a given mutex + // for the scope which contains the locker. The lock is an OS lock, not +--- hotspot/src/share/vm/runtime/objectMonitor.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/objectMonitor.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -1684,7 +1684,7 @@ + } + iterator->_notified = 1 ; + Thread * Self = THREAD; +- iterator->_notifier_tid = Self->osthread()->thread_id(); ++ iterator->_notifier_tid = (jlong) Self->osthread()->thread_id(); + + ObjectWaiter * List = _EntryList ; + if (List != NULL) { +@@ -1810,7 +1810,7 @@ + guarantee (iterator->_notified == 0, "invariant") ; + iterator->_notified = 1 ; + Thread * Self = THREAD; +- iterator->_notifier_tid = Self->osthread()->thread_id(); ++ iterator->_notifier_tid = (jlong) Self->osthread()->thread_id(); + if (Policy != 4) { + iterator->TState = ObjectWaiter::TS_ENTER ; + } +--- hotspot/src/share/vm/runtime/os.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/os.cpp 2014-01-18 12:16:16.000000000 -0800 +@@ -1139,9 +1139,6 @@ + "%/lib/jce.jar:" + "%/lib/charsets.jar:" + "%/lib/jfr.jar:" +-#ifdef __APPLE__ +- "%/lib/JObjC.jar:" +-#endif + "%/classes"; + char* sysclasspath = format_boot_path(classpath_format, home, home_len, fileSep, pathSep); + if (sysclasspath == NULL) return false; +--- hotspot/src/share/vm/runtime/os.hpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/os.hpp 2014-01-18 12:16:15.000000000 -0800 @@ -30,6 +30,9 @@ #include "runtime/extendedPC.hpp" #include "runtime/handles.hpp" @@ -7578,16 +3148,8 @@ +#endif #ifdef TARGET_OS_FAMILY_linux # include "jvm_linux.h" - #endif -@@ -233,6 +236,7 @@ - static int vm_allocation_granularity(); - static char* reserve_memory(size_t bytes, char* addr = 0, - size_t alignment_hint = 0); -+ static char* reserve_memory_aligned(size_t size, size_t alignment); - static char* attempt_reserve_memory_at(size_t bytes, char* addr); - static void split_reserved_memory(char *base, size_t size, - size_t split, bool realloc); -@@ -694,8 +698,8 @@ + # include <setjmp.h> +@@ -755,8 +758,8 @@ # include "os_windows.hpp" #endif #ifdef TARGET_OS_FAMILY_bsd @@ -7597,91 +3159,99 @@ #endif #ifdef TARGET_OS_ARCH_linux_x86 # include "os_linux_x86.hpp" ---- hotspot/src/share/vm/runtime/thread.cpp 2012-08-10 09:28:14.000000000 -0700 -+++ hotspot/src/share/vm/runtime/thread.cpp 2013-04-28 16:29:17.000000000 -0700 -@@ -3555,6 +3555,9 @@ - os::dll_build_name(buffer, sizeof(buffer), Arguments::get_dll_dir(), name); - library = os::dll_load(buffer, ebuf, sizeof ebuf); - #ifdef KERNEL -+ -+ // Dead code, KERNEL is never built in JDK7 or later. This code will be removed in a future update release. -+ - // Download instrument dll - if (library == NULL && strcmp(name, "instrument") == 0) { - char *props = Arguments::get_kernel_properties(); ---- hotspot/src/share/vm/runtime/virtualspace.cpp 2012-08-10 09:28:16.000000000 -0700 -+++ hotspot/src/share/vm/runtime/virtualspace.cpp 2013-04-28 16:29:17.000000000 -0700 -@@ -340,20 +340,9 @@ - if ((((size_t)base + noaccess_prefix) & (alignment - 1)) != 0) { - // Base not aligned, retry - if (!os::release_memory(base, size)) fatal("os::release_memory failed"); -- // Reserve size large enough to do manual alignment and -- // increase size to a multiple of the desired alignment -+ // Make sure that size is aligned - size = align_size_up(size, alignment); -- size_t extra_size = size + alignment; -- do { -- char* extra_base = os::reserve_memory(extra_size, NULL, alignment); -- if (extra_base == NULL) return; -- // Do manual alignement -- base = (char*) align_size_up((uintptr_t) extra_base, alignment); -- assert(base >= extra_base, "just checking"); -- // Re-reserve the region at the aligned base address. -- os::release_memory(extra_base, extra_size); -- base = os::reserve_memory(size, base); -- } while (base == NULL); -+ base = os::reserve_memory_aligned(size, alignment); - - if (requested_address != 0 && - failed_to_reserve_as_requested(base, requested_address, size, false)) { ---- hotspot/src/share/vm/utilities/accessFlags.cpp 2012-08-10 09:28:53.000000000 -0700 -+++ hotspot/src/share/vm/utilities/accessFlags.cpp 2013-04-28 16:29:15.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2010, 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 -@@ -59,8 +59,6 @@ - } while(f != old_flags); - } - --#ifndef PRODUCT -- - void AccessFlags::print_on(outputStream* st) const { - if (is_public ()) st->print("public " ); - if (is_private ()) st->print("private " ); -@@ -79,8 +77,6 @@ - if (is_obsolete ()) st->print("{obsolete} " ); - } +--- hotspot/src/share/vm/runtime/reflection.cpp 2013-09-06 11:22:15.000000000 -0700 ++++ hotspot/src/share/vm/runtime/reflection.cpp 2014-01-18 12:16:14.000000000 -0800 +@@ -460,7 +460,7 @@ + // doesn't have a classloader. + if ((current_class == NULL) || + (current_class == new_class) || +- (instanceKlass::cast(new_class)->is_public()) || ++ (Klass::cast(new_class)->is_public()) || + is_same_class_package(current_class, new_class)) { + return true; + } +--- hotspot/src/share/vm/runtime/vmThread.cpp 2013-09-06 11:22:16.000000000 -0700 ++++ hotspot/src/share/vm/runtime/vmThread.cpp 2014-01-18 12:16:15.000000000 -0800 +@@ -390,7 +390,7 @@ + // Only write caller thread information for non-concurrent vm operations. + // For concurrent vm operations, the thread id is set to 0 indicating thread is unknown. + // This is because the caller thread could have exited already. +- event.set_caller(is_concurrent ? 0 : op->calling_thread()->osthread()->thread_id()); ++ event.set_caller(is_concurrent ? 0 : (uint64_t) op->calling_thread()->osthread()->thread_id()); + event.commit(); + } --#endif -- - void accessFlags_init() { - assert(sizeof(AccessFlags) == sizeof(jint), "just checking size of flags"); - } ---- hotspot/src/share/vm/utilities/accessFlags.hpp 2012-08-10 09:28:53.000000000 -0700 -+++ hotspot/src/share/vm/utilities/accessFlags.hpp 2013-04-28 16:29:15.000000000 -0700 +--- hotspot/src/share/vm/services/gcNotifier.cpp 2013-09-06 11:22:16.000000000 -0700 ++++ hotspot/src/share/vm/services/gcNotifier.cpp 2014-01-18 12:16:14.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. +- * 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 -@@ -233,7 +233,7 @@ - inline friend AccessFlags accessFlags_from(jint flags); +@@ -209,11 +209,11 @@ + GCNotificationRequest *request = getRequest(); + if (request != NULL) { + NotificationMark nm(request); +- Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, THREAD); ++ Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, CHECK); + +- Handle objName = java_lang_String::create_from_platform_dependent_str(request->gcManager->name(), CHECK); +- Handle objAction = java_lang_String::create_from_platform_dependent_str(request->gcAction, CHECK); +- Handle objCause = java_lang_String::create_from_platform_dependent_str(request->gcCause, CHECK); ++ Handle objName = java_lang_String::create_from_str(request->gcManager->name(), CHECK); ++ Handle objAction = java_lang_String::create_from_str(request->gcAction, CHECK); ++ Handle objCause = java_lang_String::create_from_str(request->gcCause, CHECK); + + klassOop k = Management::sun_management_GarbageCollectorImpl_klass(CHECK); + instanceKlassHandle gc_mbean_klass(THREAD, k); +--- hotspot/src/share/vm/trace/tracetypes.xml 2013-09-06 11:22:17.000000000 -0700 ++++ hotspot/src/share/vm/trace/tracetypes.xml 2014-01-18 12:16:15.000000000 -0800 +@@ -60,7 +60,7 @@ + <types> + <content_types> + <content_type id="Thread" hr_name="Thread" +- type="U4" builtin_type="OSTHREAD"> ++ type="thread_id_t" builtin_type="OSTHREAD"> + <value type="UTF8" field="name" label="Thread name"/> + </content_type> + +@@ -294,8 +294,8 @@ + type="u8" sizeop="sizeof(u8)"/> + + <!-- OS Thread ID --> +- <primary_type symbol="OSTHREAD" datatype="U4" contenttype="OSTHREAD" +- type="u4" sizeop="sizeof(u4)"/> ++ <primary_type symbol="OSTHREAD" datatype="U8" contenttype="OSTHREAD" ++ type="u8" sizeop="sizeof(u8)"/> + + <!-- VM Thread ID Note: changed from U2 to U8 for hotspot --> + <primary_type symbol="VMTHREAD" datatype="U8" contenttype="VMTHREAD" +--- hotspot/src/share/vm/utilities/vmError.cpp 2013-09-06 11:22:17.000000000 -0700 ++++ hotspot/src/share/vm/utilities/vmError.cpp 2014-01-18 12:16:16.000000000 -0800 +@@ -698,6 +698,18 @@ + st->cr(); + } - // Printing/debugging -- void print_on(outputStream* st) const PRODUCT_RETURN; -+ void print_on(outputStream* st) const; - }; ++#ifdef LINUX ++ STEP(193, "(printing large pages allocation errors)") ++ ++ if (_verbose) { ++ jint largepage_failures = os::Linux::num_largepage_commit_fails; ++ if (largepage_failures > 0) { ++ st->print_cr("Large page allocation failures have occurred " INT32_FORMAT " times", largepage_failures); ++ st->cr(); ++ } ++ } ++#endif ++ + STEP(195, "(printing code cache information)" ) - inline AccessFlags accessFlags_from(jint flags) { ---- hotspot/test/compiler/5091921/Test7005594.sh 2012-08-10 09:28:58.000000000 -0700 -+++ hotspot/test/compiler/5091921/Test7005594.sh 2013-04-28 16:29:17.000000000 -0700 -@@ -71,6 +71,9 @@ + if (_verbose && Universe::is_fully_initialized()) { +--- hotspot/test/compiler/5091921/Test7005594.sh 2013-09-06 11:22:17.000000000 -0700 ++++ hotspot/test/compiler/5091921/Test7005594.sh 2014-01-18 12:16:15.000000000 -0800 +@@ -60,6 +60,9 @@ # Windows/MKS MEM=`"$ROOTDIR/mksnt/sysinf" memory -v | grep "Total Physical Memory: " | sed 's/Total Physical Memory: *//g'` MEM="$(($machine_memory / 1024))" @@ -7691,118 +3261,2429 @@ else echo "Unable to determine amount of physical memory on the machine" fi ---- hotspot/test/compiler/7158807/Test7158807.java 1969-12-31 16:00:00.000000000 -0800 -+++ hotspot/test/compiler/7158807/Test7158807.java 2013-03-03 08:48:48.000000000 -0800 -@@ -0,0 +1,66 @@ +--- hotspot/test/runtime/7110720/Test7110720.sh 2013-09-06 11:22:20.000000000 -0700 ++++ hotspot/test/runtime/7110720/Test7110720.sh 2014-01-18 12:16:15.000000000 -0800 +@@ -28,7 +28,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | Darwin | *BSD ) + FS="/" + RM=/bin/rm + CP=/bin/cp +--- hotspot/test/runtime/7158800/Test7158800.sh 1969-12-31 16:00:00.000000000 -0800 ++++ hotspot/test/runtime/7158800/Test7158800.sh 2014-01-18 12:16:15.000000000 -0800 +@@ -0,0 +1,91 @@ ++#!/bin/sh ++# ++# Copyright (c) 2012, 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. ++# ++# ++# Run test for InternTest.java ++# ++ ++if [ "${TESTSRC}" = "" ] ++then TESTSRC=. ++fi ++ ++if [ "${TESTJAVA}" = "" ] ++then ++ PARENT=`dirname \`which java\`` ++ TESTJAVA=`dirname ${PARENT}` ++ echo "TESTJAVA not set, selecting " ${TESTJAVA} ++ echo "If this is incorrect, try setting the variable manually." ++fi ++ ++if [ "${TESTCLASSES}" = "" ] ++then ++ echo "TESTCLASSES not set. Test cannot execute. Failed." ++ exit 1 ++fi ++ ++# set platform-dependent variables ++OS=`uname -s` ++case "$OS" in ++ SunOS | Linux | *BSD ) ++ NULL=/dev/null ++ PS=":" ++ FS="/" ++ ;; ++ Windows_* ) ++ NULL=NUL ++ PS=";" ++ FS="\\" ++ ;; ++ * ) ++ echo "Unrecognized system!" ++ exit 1; ++ ;; ++esac ++ ++JEMMYPATH=${CPAPPEND} ++CLASSPATH=.${PS}${TESTCLASSES}${PS}${JEMMYPATH} ; export CLASSPATH ++ ++THIS_DIR=`pwd` ++ ++${TESTJAVA}${FS}bin${FS}java -fullversion ++ ++${TESTJAVA}${FS}bin${FS}javac -d . ${TESTSRC}${FS}InternTest.java ++ ++cp ${TESTSRC}${FS}badstrings.txt . ++ ++${TESTJAVA}${FS}bin${FS}java -XX:+PrintStringTableStatistics -XX:+TraceSafepointCleanupTime InternTest bad > test.out 2>&1 & ++C_PID=$! ++ ++sleep 60 ++ ++ps | grep ${C_PID} | grep -v grep ++ ++if [ $? = 0 ] ++then ++ kill -9 ${C_PID} ++ echo "Test Failed" ++ exit 1 ++else ++ echo "Test Passed" ++ exit 0 ++fi +--- jaxp/.hgtags 2013-09-06 11:22:52.000000000 -0700 ++++ jaxp/.hgtags 2014-01-18 12:16:08.000000000 -0800 +@@ -123,6 +123,7 @@ + bcd31fa1e3c6f51b4fdd427ef905188cdac57164 jdk7-b146 + 067fb18071e3872698f6218724958bd0cebf30a3 jdk7u1-b01 + fc268cd1dd5d2e903ccd4b0275e1f9c2461ed30c jdk7-b147 ++3170972bd3928a331c4c64a5c0c9632077fb399a 7u0 + 104ca42e1e7ca66b074a4619ce6420f15d8f454d jdk7u1-b02 + 64e323faadf65018c1ffc8bb9c97f7b664e87347 jdk7u1-b03 + 2256c20e66857f80cacda14ffdbc0979c929d7f8 jdk7u1-b04 +@@ -302,6 +303,22 @@ + 5952538d55e624132f97400332a50b71880c874c jdk7u25-b09 + aa00dd983dd0f5b07269d0648a0325e9b3e0d957 jdk7u25-b10 + 0fb6d76bcd2e8d54d0a69e1c3d2a85d84b3e17a4 jdk7u25-b11 ++7b47e1a26f7cbb8d8d22ea165f2d7fbbbd354c77 jdk7u14-b16 ++77ac1ef42b2fd47cc87b9800f63efdd4cf2fa05d jdk7u14-b17 ++d47975f80a24b55410fa2e2c5f50f3405d83fe73 jdk7u14-b18 ++331e489ecb7b19fa98c60324f7ce5d168284a8c8 jdk7u14-b19 ++331e489ecb7b19fa98c60324f7ce5d168284a8c8 jdk7u14-b19 ++c3c9f04cf10c2fe576b208f6a8ca3777b1d31145 jdk7u14-b19 ++5e1fee011646b4a3ff29b7b9cdc208e0a0577cb4 jdk7u14-b20 ++d1c8bb1cbc9183fc994b5fedf26886ceda0d59f9 jdk7u14-b21 ++d1c6afebdfe28eb07eb2d03a6911a0f33b619165 jdk7u14-b22 ++0e4c549d3635122145ac88bad7b98716976ca49e jdk7u40-b23 ++d17acb2ee133811baa8eae3436a8c191fc433da1 jdk7u40-b24 ++52bcce690998b4ad91abddae118847f4358c6110 jdk7u40-b25 ++cd764ada36b50e2096ba35b4c27ca8f83b3db964 jdk7u40-b26 ++7626b3fbc822fd4efd5ba3b5fc18f2fef5749597 jdk7u40-b27 ++9186b6efd2b2eafa7fee5be1b043f59f25db12a6 jdk7u40-b28 ++740942c76fb668a04bf89feccf069f6958651d54 jdk7u40-b29 + 5e87aee78c91efa65bd5aeb37bcc1c1c637a7f0c jdk7u25-b12 + 83b80c094befd08cbac4247d9b8f12c6a039f23f jdk7u25-b13 + 68cc0d2a49f09b5c611b2775f2e66de1022bdedc jdk7u25-b14 +@@ -343,3 +360,38 @@ + 66363323f14d85d4ab28e883a3323b9d72dea5fd jdk7u40-b42 + c0bd71414ea513f54f23965936a837fca093ac91 jdk7u40-b43 + 91bc4534851265291bb3b16452a0968d6909979f jdk7u40-b60 ++c500d4ec41ff2117eabfa33e640b6df2f21deb3d jdk7u40-b61 ++9e3f8ab9d17be6b1a4a097fcc5bc5412013d3e86 jdk7u40-b62 ++1a7e2024963d3a8d6cde209de0967ac43418b82a jdk7u45-b01 ++72b314bf2ee171bec2157f737ba3bf77fbdf1118 jdk7u45-b02 ++399c58bf22ad35a3527a286123497615100746b2 jdk7u45-b03 ++e66ea9257ba8a77fc64f6f2924584b183767d82b jdk7u45-b04 ++3a6dce39c05c254aba9f3ae57c035bf3facfe8b9 jdk7u45-b05 ++a7b1dcabdebbdbf40040a1c6f8411d2f8d25bb37 jdk7u45-b06 ++abb39bc40bcc91c7f8ebc2867e98f302d9bc8417 jdk7u45-b07 ++72295e1b27e61751cc323b5e4d6781bf7afae0a4 jdk7u45-b08 ++255d92f5ed98915a025484360963d7d09bd77313 jdk7u45-b09 ++28a18e725bb39d47e920ef910f435321fb891a88 jdk7u45-b10 ++3d3b4da34d583e86a3b90b8f69927a37d40f5b57 jdk7u45-b11 ++2ac5c9749223f205cd081ecd0028b2f3ea13f8f8 jdk7u45-b12 ++18a009fdfba2bbc5036f96cbefffcdefe9580bb1 jdk7u45-b13 ++d577bae705f208661733e09a4875d79255897b7b jdk7u45-b14 ++daadec741c9bc5067897eb8803123d0af6c5ebc3 jdk7u45-b15 ++0a8b95184728548be4b20876e05f76e0262e4195 jdk7u45-b16 ++2586d303503b5bb6fd39dc0ce572d6e858caf41c jdk7u45-b17 ++4beb90ab48f7fd46c7a9afbe66f8cccb230699ba jdk7u45-b18 ++a456c78a50e201a65c9f63565c8291b84a4fbd32 jdk7u45-b30 ++3c34f244296e98d8ebb94973c752f3395612391a jdk7u45-b31 ++0a8b95184728548be4b20876e05f76e0262e4195 jdk7u51-b00 ++2450ace952f45202e5a3fd4f6a8356a196fe029e jdk7u51-b01 ++68def851cc6b17944756f1986734b323d8569571 jdk7u51-b02 ++0df316a3b3111427500a86f3282293dd566ae936 jdk7u51-b03 ++42be8e6266ab1733a890b21cf6cd6c2e1a48972d jdk7u51-b04 ++0655a95d16094971df14171e1c5f841c3a6bd081 jdk7u51-b05 ++13a15fc9b6bf7ac065958e038648fbe9952fd9fa jdk7u51-b06 ++8e4523e579bf86e514b9c82843b440cb79606b41 jdk7u51-b07 ++783ceae9b7369168216d5344475d92de910351e8 jdk7u51-b08 ++7875c882a7516366147bffcaaea550c4089f2fc7 jdk7u51-b09 ++65798d05674dc9453c5935c018d012b11c8697f8 jdk7u51-b10 ++70b5691c44d2830efd4301856e6223fa43894462 jdk7u51-b11 ++807946db29f42477e8d8390be01c7e27280bc85c jdk7u51-b12 +--- jaxp/src/com/sun/org/apache/xalan/internal/XalanConstants.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/XalanConstants.java 2013-12-01 11:13:41.000000000 -0800 +@@ -39,33 +39,138 @@ + // + // Constants + // +- // Oracle Feature: ++ //Xerces security manager ++ public static final String SECURITY_MANAGER = ++ "http://apache.org/xml/properties/security-manager"; ++ ++ // ++ // Implementation limits: API properties ++ // ++ /** Oracle JAXP property prefix ("http://www.oracle.com/xml/jaxp/properties/"). */ ++ public static final String ORACLE_JAXP_PROPERTY_PREFIX = ++ "http://www.oracle.com/xml/jaxp/properties/"; + /** +- * <p>Use Service Mechanism</p> +- * +- * <ul> +- * <li> ++ * JDK entity expansion limit; Note that the existing system property ++ * "entityExpansionLimit" with no prefix is still observed ++ */ ++ public static final String JDK_ENTITY_EXPANSION_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "entityExpansionLimit"; ++ ++ /** ++ * JDK element attribute limit; Note that the existing system property ++ * "elementAttributeLimit" with no prefix is still observed ++ */ ++ public static final String JDK_ELEMENT_ATTRIBUTE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "elementAttributeLimit"; ++ ++ /** ++ * JDK maxOccur limit; Note that the existing system property ++ * "maxOccurLimit" with no prefix is still observed ++ */ ++ public static final String JDK_MAX_OCCUR_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxOccurLimit"; ++ ++ /** ++ * JDK total entity size limit ++ */ ++ public static final String JDK_TOTAL_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "totalEntitySizeLimit"; ++ ++ /** ++ * JDK maximum general entity size limit ++ */ ++ public static final String JDK_GENEAL_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxGeneralEntitySizeLimit"; ++ /** ++ * JDK maximum parameter entity size limit ++ */ ++ public static final String JDK_PARAMETER_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxParameterEntitySizeLimit"; ++ /** ++ * JDK maximum XML name limit ++ */ ++ public static final String JDK_XML_NAME_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxXMLNameLimit"; ++ /** ++ * JDK property indicating whether the parser shall print out entity ++ * count information ++ * Value: a string "yes" means print, "no" or any other string means not. ++ */ ++ public static final String JDK_ENTITY_COUNT_INFO = ++ ORACLE_JAXP_PROPERTY_PREFIX + "getEntityCountInfo"; ++ ++ // ++ // Implementation limits: corresponding System Properties of the above ++ // API properties ++ // ++ /** ++ * JDK entity expansion limit; Note that the existing system property ++ * "entityExpansionLimit" with no prefix is still observed ++ */ ++ public static final String SP_ENTITY_EXPANSION_LIMIT = "jdk.xml.entityExpansionLimit"; ++ ++ /** ++ * JDK element attribute limit; Note that the existing system property ++ * "elementAttributeLimit" with no prefix is still observed ++ */ ++ public static final String SP_ELEMENT_ATTRIBUTE_LIMIT = "jdk.xml.elementAttributeLimit"; ++ ++ /** ++ * JDK maxOccur limit; Note that the existing system property ++ * "maxOccurLimit" with no prefix is still observed ++ */ ++ public static final String SP_MAX_OCCUR_LIMIT = "jdk.xml.maxOccurLimit"; ++ ++ /** ++ * JDK total entity size limit ++ */ ++ public static final String SP_TOTAL_ENTITY_SIZE_LIMIT = "jdk.xml.totalEntitySizeLimit"; ++ ++ /** ++ * JDK maximum general entity size limit ++ */ ++ public static final String SP_GENEAL_ENTITY_SIZE_LIMIT = "jdk.xml.maxGeneralEntitySizeLimit"; ++ /** ++ * JDK maximum parameter entity size limit ++ */ ++ public static final String SP_PARAMETER_ENTITY_SIZE_LIMIT = "jdk.xml.maxParameterEntitySizeLimit"; ++ /** ++ * JDK maximum XML name limit ++ */ ++ public static final String SP_XML_NAME_LIMIT = "jdk.xml.maxXMLNameLimit"; ++ ++ //legacy System Properties ++ public final static String ENTITY_EXPANSION_LIMIT = "entityExpansionLimit"; ++ public static final String ELEMENT_ATTRIBUTE_LIMIT = "elementAttributeLimit" ; ++ public final static String MAX_OCCUR_LIMIT = "maxOccurLimit"; ++ ++ /** ++ * A string "yes" that can be used for properties such as getEntityCountInfo ++ */ ++ public static final String JDK_YES = "yes"; ++ ++ // Oracle Feature: ++ /** ++ * <p>Use Service Mechanism</p> ++ * ++ * <ul> ++ * <li> + * {@code true} instruct an object to use service mechanism to + * find a service implementation. This is the default behavior. + * </li> + * <li> + * {@code false} instruct an object to skip service mechanism and + * use the default implementation for that service. +- * </li> +- * </ul> +- */ +- ++ * </li> ++ * </ul> ++ */ + public static final String ORACLE_FEATURE_SERVICE_MECHANISM = "http://www.oracle.com/feature/use-service-mechanism"; + +- /** Oracle JAXP property prefix ("http://www.oracle.com/xml/jaxp/properties/"). */ +- public static final String ORACLE_JAXP_PROPERTY_PREFIX = +- "http://www.oracle.com/xml/jaxp/properties/"; + + //System Properties corresponding to ACCESS_EXTERNAL_* properties + public static final String SP_ACCESS_EXTERNAL_STYLESHEET = "javax.xml.accessExternalStylesheet"; + public static final String SP_ACCESS_EXTERNAL_DTD = "javax.xml.accessExternalDTD"; + +- + //all access keyword + public static final String ACCESS_EXTERNAL_ALL = "all"; + +--- jaxp/src/com/sun/org/apache/xalan/internal/lib/ExsltStrings.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/lib/ExsltStrings.java 2014-01-18 12:16:08.000000000 -0800 +@@ -52,6 +52,8 @@ + */ + public class ExsltStrings extends ExsltBase + { ++ static final String JDK_DEFAULT_DOM = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"; ++ + /** + * The str:align function aligns a string within another string. + * <p> +@@ -225,7 +227,7 @@ + token = str.substring(fromIndex); + } + +- Document doc = DocumentHolder.m_doc; ++ Document doc = getDocument(); + synchronized (doc) + { + Element element = doc.createElement("token"); +@@ -289,7 +291,7 @@ + { + StringTokenizer lTokenizer = new StringTokenizer(toTokenize, delims); + +- Document doc = DocumentHolder.m_doc; ++ Document doc = getDocument(); + synchronized (doc) + { + while (lTokenizer.hasMoreTokens()) +@@ -305,7 +307,7 @@ + else + { + +- Document doc = DocumentHolder.m_doc; ++ Document doc = getDocument(); + synchronized (doc) + { + for (int i = 0; i < toTokenize.length(); i++) +@@ -327,31 +329,23 @@ + { + return tokenize(toTokenize, " \t\n\r"); + } ++ + /** +- * This class is not loaded until first referenced (see Java Language +- * Specification by Gosling/Joy/Steele, section 12.4.1) +- * +- * The static members are created when this class is first referenced, as a +- * lazy initialization not needing checking against null or any +- * synchronization. +- * ++ * @return an instance of DOM Document + */ +- private static class DocumentHolder +- { +- // Reuse the Document object to reduce memory usage. +- private static final Document m_doc; +- static { +- try +- { +- m_doc =DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); +- } +- +- catch(ParserConfigurationException pce) +- { +- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); ++ private static Document getDocument() ++ { ++ try ++ { ++ if (System.getSecurityManager() == null) { ++ return DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); ++ } else { ++ return DocumentBuilderFactory.newInstance(JDK_DEFAULT_DOM, null).newDocumentBuilder().newDocument(); + } +- ++ } ++ catch(ParserConfigurationException pce) ++ { ++ throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); + } + } +- + } +--- jaxp/src/com/sun/org/apache/xalan/internal/lib/Extensions.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/lib/Extensions.java 2014-01-18 12:16:08.000000000 -0800 +@@ -56,6 +56,7 @@ + */ + public class Extensions + { ++ static final String JDK_DEFAULT_DOM = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"; + /** + * Constructor Extensions + * +@@ -114,23 +115,14 @@ + + // This no longer will work right since the DTM. + // Document myDoc = myProcessor.getContextNode().getOwnerDocument(); +- try +- { +- DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); +- DocumentBuilder db = dbf.newDocumentBuilder(); +- Document myDoc = db.newDocument(); ++ Document myDoc = getDocument(); + +- Text textNode = myDoc.createTextNode(textNodeValue); +- DocumentFragment docFrag = myDoc.createDocumentFragment(); ++ Text textNode = myDoc.createTextNode(textNodeValue); ++ DocumentFragment docFrag = myDoc.createDocumentFragment(); + +- docFrag.appendChild(textNode); ++ docFrag.appendChild(textNode); + +- return new NodeSet(docFrag); +- } +- catch(ParserConfigurationException pce) +- { +- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); +- } ++ return new NodeSet(docFrag); + } + } + +@@ -249,8 +241,7 @@ + public static NodeList tokenize(String toTokenize, String delims) + { + +- Document doc = DocumentHolder.m_doc; +- ++ Document doc = getDocument(); + + StringTokenizer lTokenizer = new StringTokenizer(toTokenize, delims); + NodeSet resultSet = new NodeSet(); +@@ -308,17 +299,7 @@ + public static Node checkEnvironment(ExpressionContext myContext) + { + +- Document factoryDocument; +- try +- { +- DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); +- DocumentBuilder db = dbf.newDocumentBuilder(); +- factoryDocument = db.newDocument(); +- } +- catch(ParserConfigurationException pce) +- { +- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); +- } ++ Document factoryDocument = getDocument(); + + Node resultNode = null; + try +@@ -391,30 +372,21 @@ + } + + /** +- * This class is not loaded until first referenced (see Java Language +- * Specification by Gosling/Joy/Steele, section 12.4.1) +- * +- * The static members are created when this class is first referenced, as a +- * lazy initialization not needing checking against null or any +- * synchronization. +- * ++ * @return an instance of DOM Document + */ +- private static class DocumentHolder +- { +- // Reuse the Document object to reduce memory usage. +- private static final Document m_doc; +- static ++ private static Document getDocument() ++ { ++ try + { +- try +- { +- m_doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); +- } +- +- catch(ParserConfigurationException pce) +- { +- throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); ++ if (System.getSecurityManager() == null) { ++ return DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); ++ } else { ++ return DocumentBuilderFactory.newInstance(JDK_DEFAULT_DOM, null).newDocumentBuilder().newDocument(); + } +- ++ } ++ catch(ParserConfigurationException pce) ++ { ++ throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(pce); + } + } + } +--- jaxp/src/com/sun/org/apache/xalan/internal/utils/XMLSecurityManager.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxp/src/com/sun/org/apache/xalan/internal/utils/XMLSecurityManager.java 2013-12-01 11:13:41.000000000 -0800 +@@ -0,0 +1,449 @@ +/* -+ * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. -+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS 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. ++ * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. + * -+ * 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). ++ * The contents of this file are subject to the terms of either the GNU ++ * General Public License Version 2 only ("GPL") or the Common Development ++ * and Distribution License("CDDL") (collectively, the "License"). You ++ * may not use this file except in compliance with the License. You can ++ * obtain a copy of the License at ++ * https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html ++ * or packager/legal/LICENSE.txt. See the License for the specific ++ * language governing permissions and limitations under the License. + * -+ * 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. ++ * When distributing the software, include this License Header Notice in each ++ * file and include the License file at packager/legal/LICENSE.txt. + * -+ * 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. ++ * GPL Classpath Exception: ++ * Oracle designates this particular file as subject to the "Classpath" ++ * exception as provided by Oracle in the GPL Version 2 section of the License ++ * file that accompanied this code. + * ++ * Modifications: ++ * If applicable, add the following below the License Header, with the fields ++ * enclosed by brackets [] replaced by your own identifying information: ++ * "Portions Copyright [year] [name of copyright owner]" ++ * ++ * Contributor(s): ++ * If you wish your version of this file to be governed by only the CDDL or ++ * only the GPL Version 2, indicate your decision by adding "[Contributor] ++ * elects to include this software in this distribution under the [CDDL or GPL ++ * Version 2] license." If you don't indicate a single choice of license, a ++ * recipient has the option to distribute your version of this file under ++ * either the CDDL, the GPL Version 2 or to extend the choice of license to ++ * its licensees as provided above. However, if you add GPL Version 2 code ++ * and therefore, elected the GPL Version 2 license, then the option applies ++ * only if the new code is made subject to such option by the copyright ++ * holder. + */ ++package com.sun.org.apache.xalan.internal.utils; ++ ++import com.sun.org.apache.xalan.internal.XalanConstants; ++ + +/** -+ * @test -+ * @bug 7158807 -+ * @summary Revise stack management with volatile call sites -+ * @author Marc Schonefeld ++ * This class is not the same as that in Xerces. It is used to manage the ++ * state of corresponding Xerces properties and pass the values over to ++ * the Xerces Security Manager. ++ * ++ * @author Joe Wang Oracle Corp. + * -+ * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss248k Test7158807 + */ ++public final class XMLSecurityManager { + -+import java.lang.invoke.MethodHandle; -+import java.lang.invoke.MethodType; -+import java.lang.invoke.VolatileCallSite; ++ /** ++ * States of the settings of a property, in the order: default value, value ++ * set by FEATURE_SECURE_PROCESSING, jaxp.properties file, jaxp system ++ * properties, and jaxp api properties ++ */ ++ public static enum State { ++ //this order reflects the overriding order ++ ++ DEFAULT("default"), FSP("FEATURE_SECURE_PROCESSING"), ++ JAXPDOTPROPERTIES("jaxp.properties"), SYSTEMPROPERTY("system property"), ++ APIPROPERTY("property"); ++ ++ final String literal; ++ State(String literal) { ++ this.literal = literal; ++ } ++ ++ String literal() { ++ return literal; ++ } ++ } + -+public class Test7158807 { + /** -+ * @param args the command line arguments ++ * Limits managed by the security manager + */ -+ public static void main(String[] args) throws Throwable { -+ for (int i = 0; i < 25600; i++) { -+ MethodType mt = MethodType.methodType(java.lang.String.class); -+ System.out.println(mt); -+ MethodType mt3 = null; -+ try { -+ mt3 = MethodType.genericMethodType(i); -+ } catch (IllegalArgumentException e) { -+ System.out.println("Passed"); -+ System.exit(95); ++ public static enum Limit { ++ ++ ENTITY_EXPANSION_LIMIT(XalanConstants.JDK_ENTITY_EXPANSION_LIMIT, ++ XalanConstants.SP_ENTITY_EXPANSION_LIMIT, 0, 64000), ++ MAX_OCCUR_NODE_LIMIT(XalanConstants.JDK_MAX_OCCUR_LIMIT, ++ XalanConstants.SP_MAX_OCCUR_LIMIT, 0, 5000), ++ ELEMENT_ATTRIBUTE_LIMIT(XalanConstants.JDK_ELEMENT_ATTRIBUTE_LIMIT, ++ XalanConstants.SP_ELEMENT_ATTRIBUTE_LIMIT, 0, 10000), ++ TOTAL_ENTITY_SIZE_LIMIT(XalanConstants.JDK_TOTAL_ENTITY_SIZE_LIMIT, ++ XalanConstants.SP_TOTAL_ENTITY_SIZE_LIMIT, 0, 50000000), ++ GENEAL_ENTITY_SIZE_LIMIT(XalanConstants.JDK_GENEAL_ENTITY_SIZE_LIMIT, ++ XalanConstants.SP_GENEAL_ENTITY_SIZE_LIMIT, 0, 0), ++ PARAMETER_ENTITY_SIZE_LIMIT(XalanConstants.JDK_PARAMETER_ENTITY_SIZE_LIMIT, ++ XalanConstants.SP_PARAMETER_ENTITY_SIZE_LIMIT, 0, 1000000); ++ ++ final String apiProperty; ++ final String systemProperty; ++ final int defaultValue; ++ final int secureValue; ++ ++ Limit(String apiProperty, String systemProperty, int value, int secureValue) { ++ this.apiProperty = apiProperty; ++ this.systemProperty = systemProperty; ++ this.defaultValue = value; ++ this.secureValue = secureValue; ++ } ++ ++ public boolean equalsAPIPropertyName(String propertyName) { ++ return (propertyName == null) ? false : apiProperty.equals(propertyName); ++ } ++ ++ public boolean equalsSystemPropertyName(String propertyName) { ++ return (propertyName == null) ? false : systemProperty.equals(propertyName); ++ } ++ ++ public String apiProperty() { ++ return apiProperty; ++ } ++ ++ String systemProperty() { ++ return systemProperty; ++ } ++ ++ int defaultValue() { ++ return defaultValue; ++ } ++ ++ int secureValue() { ++ return secureValue; ++ } ++ } ++ ++ /** ++ * Map old property names with the new ones ++ */ ++ public static enum NameMap { ++ ++ ENTITY_EXPANSION_LIMIT(XalanConstants.SP_ENTITY_EXPANSION_LIMIT, ++ XalanConstants.ENTITY_EXPANSION_LIMIT), ++ MAX_OCCUR_NODE_LIMIT(XalanConstants.SP_MAX_OCCUR_LIMIT, ++ XalanConstants.MAX_OCCUR_LIMIT), ++ ELEMENT_ATTRIBUTE_LIMIT(XalanConstants.SP_ELEMENT_ATTRIBUTE_LIMIT, ++ XalanConstants.ELEMENT_ATTRIBUTE_LIMIT); ++ final String newName; ++ final String oldName; ++ ++ NameMap(String newName, String oldName) { ++ this.newName = newName; ++ this.oldName = oldName; ++ } ++ ++ String getOldName(String newName) { ++ if (newName.equals(this.newName)) { ++ return oldName; ++ } ++ return null; ++ } ++ } ++ /** ++ * Values of the properties ++ */ ++ private final int[] values; ++ /** ++ * States of the settings for each property ++ */ ++ private State[] states; ++ /** ++ * States that determine if properties are set explicitly ++ */ ++ private boolean[] isSet; ++ ++ ++ /** ++ * Index of the special entityCountInfo property ++ */ ++ private int indexEntityCountInfo = 10000; ++ private String printEntityCountInfo = ""; ++ ++ /** ++ * Default constructor. Establishes default values for known security ++ * vulnerabilities. ++ */ ++ public XMLSecurityManager() { ++ this(false); ++ } ++ ++ /** ++ * Instantiate Security Manager in accordance with the status of ++ * secure processing ++ * @param secureProcessing ++ */ ++ public XMLSecurityManager(boolean secureProcessing) { ++ values = new int[Limit.values().length]; ++ states = new State[Limit.values().length]; ++ isSet = new boolean[Limit.values().length]; ++ for (Limit limit : Limit.values()) { ++ if (secureProcessing) { ++ values[limit.ordinal()] = limit.secureValue(); ++ states[limit.ordinal()] = State.FSP; ++ } else { ++ values[limit.ordinal()] = limit.defaultValue(); ++ states[limit.ordinal()] = State.DEFAULT; + } -+ System.out.println(i+":"); ++ } ++ //read system properties or jaxp.properties ++ readSystemProperties(); ++ } ++ ++ /** ++ * Setting FEATURE_SECURE_PROCESSING explicitly ++ */ ++ public void setSecureProcessing(boolean secure) { ++ for (Limit limit : Limit.values()) { ++ if (secure) { ++ setLimit(limit.ordinal(), State.FSP, limit.secureValue()); ++ } else { ++ setLimit(limit.ordinal(), State.FSP, limit.defaultValue()); ++ } ++ } ++ } ++ ++ /** ++ * Set limit by property name and state ++ * @param propertyName property name ++ * @param state the state of the property ++ * @param value the value of the property ++ * @return true if the property is managed by the security manager; false ++ * if otherwise. ++ */ ++ public boolean setLimit(String propertyName, State state, Object value) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ setLimit(index, state, value); ++ return true; ++ } ++ return false; ++ } ++ ++ /** ++ * Set the value for a specific limit. ++ * ++ * @param limit the limit ++ * @param state the state of the property ++ * @param value the value of the property ++ */ ++ public void setLimit(Limit limit, State state, int value) { ++ setLimit(limit.ordinal(), state, value); ++ } ++ ++ /** ++ * Set the value of a property by its index ++ * ++ * @param index the index of the property ++ * @param state the state of the property ++ * @param value the value of the property ++ */ ++ public void setLimit(int index, State state, Object value) { ++ if (index == indexEntityCountInfo) { ++ //if it's explicitly set, it's treated as yes no matter the value ++ printEntityCountInfo = (String)value; ++ } else { ++ int temp = 0; + try { -+ VolatileCallSite vcs = new VolatileCallSite(mt3); -+ System.out.println(vcs); -+ MethodHandle mh = vcs.dynamicInvoker(); -+ vcs.setTarget(mh); -+ // System.out.println(mh); -+ mh.invoke(mt, mh); -+ } catch (Throwable e) { ++ temp = Integer.parseInt((String) value); ++ if (temp < 0) { ++ temp = 0; ++ } ++ } catch (NumberFormatException e) {} ++ setLimit(index, state, temp); } ++ } ++ ++ /** ++ * Set the value of a property by its index ++ * ++ * @param index the index of the property ++ * @param state the state of the property ++ * @param value the value of the property ++ */ ++ public void setLimit(int index, State state, int value) { ++ if (index == indexEntityCountInfo) { ++ //if it's explicitly set, it's treated as yes no matter the value ++ printEntityCountInfo = XalanConstants.JDK_YES; ++ } else { ++ //only update if it shall override ++ if (state.compareTo(states[index]) >= 0) { ++ values[index] = value; ++ states[index] = state; ++ isSet[index] = true; ++ } ++ } ++ } ++ ++ ++ /** ++ * Return the value of the specified property. ++ * ++ * @param propertyName the property name ++ * @return the value of the property as a string. If a property is managed ++ * by this manager, its value shall not be null. ++ */ ++ public String getLimitAsString(String propertyName) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ return getLimitValueByIndex(index); ++ } ++ ++ return null; ++ } ++ ++ /** ++ * Return the value of a property by its ordinal ++ * ++ * @param limit the property ++ * @return value of a property ++ */ ++ public String getLimitValueAsString(Limit limit) { ++ return Integer.toString(values[limit.ordinal()]); ++ } ++ ++ /** ++ * Return the value of the specified property ++ * ++ * @param limit the property ++ * @return the value of the property ++ */ ++ public int getLimit(Limit limit) { ++ return values[limit.ordinal()]; ++ } ++ ++ /** ++ * Return the value of a property by its ordinal ++ * ++ * @param index the index of a property ++ * @return value of a property ++ */ ++ public int getLimitByIndex(int index) { ++ return values[index]; ++ } ++ /** ++ * Return the value of a property by its index ++ * ++ * @param index the index of a property ++ * @return limit of a property as a string ++ */ ++ public String getLimitValueByIndex(int index) { ++ if (index == indexEntityCountInfo) { ++ return printEntityCountInfo; ++ } ++ ++ return Integer.toString(values[index]); ++ } ++ /** ++ * Return the state of the limit property ++ * ++ * @param limit the limit ++ * @return the state of the limit property ++ */ ++ public State getState(Limit limit) { ++ return states[limit.ordinal()]; ++ } ++ ++ /** ++ * Return the state of the limit property ++ * ++ * @param limit the limit ++ * @return the state of the limit property ++ */ ++ public String getStateLiteral(Limit limit) { ++ return states[limit.ordinal()].literal(); ++ } ++ ++ /** ++ * Get the index by property name ++ * ++ * @param propertyName property name ++ * @return the index of the property if found; return -1 if not ++ */ ++ public int getIndex(String propertyName) { ++ for (Limit limit : Limit.values()) { ++ if (limit.equalsAPIPropertyName(propertyName)) { ++ //internally, ordinal is used as index ++ return limit.ordinal(); ++ } ++ } ++ //special property to return entity count info ++ if (propertyName.equals(XalanConstants.JDK_ENTITY_COUNT_INFO)) { ++ return indexEntityCountInfo; ++ } ++ return -1; ++ } ++ ++ /** ++ * Indicate if a property is set explicitly ++ * @param index ++ * @return ++ */ ++ public boolean isSet(int index) { ++ return isSet[index]; ++ } ++ ++ public boolean printEntityCountInfo() { ++ return printEntityCountInfo.equals(XalanConstants.JDK_YES); ++ } ++ /** ++ * Read from system properties, or those in jaxp.properties ++ */ ++ private void readSystemProperties() { ++ ++ for (Limit limit : Limit.values()) { ++ if (!getSystemProperty(limit, limit.systemProperty())) { ++ //if system property is not found, try the older form if any ++ for (NameMap nameMap : NameMap.values()) { ++ String oldName = nameMap.getOldName(limit.systemProperty()); ++ if (oldName != null) { ++ getSystemProperty(limit, oldName); ++ } ++ } ++ } ++ } ++ ++ } ++ ++ /** ++ * Read from system properties, or those in jaxp.properties ++ * ++ * @param property the type of the property ++ * @param sysPropertyName the name of system property ++ */ ++ private boolean getSystemProperty(Limit limit, String sysPropertyName) { ++ try { ++ String value = SecuritySupport.getSystemProperty(sysPropertyName); ++ if (value != null && !value.equals("")) { ++ values[limit.ordinal()] = Integer.parseInt(value); ++ states[limit.ordinal()] = State.SYSTEMPROPERTY; ++ return true; ++ } ++ ++ value = SecuritySupport.readJAXPProperty(sysPropertyName); ++ if (value != null && !value.equals("")) { ++ values[limit.ordinal()] = Integer.parseInt(value); ++ states[limit.ordinal()] = State.JAXPDOTPROPERTIES; ++ return true; + } ++ } catch (NumberFormatException e) { ++ //invalid setting ++ throw new NumberFormatException("Invalid setting for system property: " + limit.systemProperty()); + } ++ return false; + } +} +--- jaxp/src/com/sun/org/apache/xalan/internal/utils/XMLSecurityPropertyManager.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/utils/XMLSecurityPropertyManager.java 2013-12-01 11:13:41.000000000 -0800 +@@ -94,6 +94,23 @@ + } + + /** ++ * Set limit by property name and state ++ * @param propertyName property name ++ * @param state the state of the property ++ * @param value the value of the property ++ * @return true if the property is managed by the security property manager; ++ * false if otherwise. ++ */ ++ public boolean setValue(String propertyName, State state, Object value) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ setValue(index, state, (String)value); ++ return true; ++ } ++ return false; ++ } + ---- hotspot/test/gc/6941923/test6941923.sh 2012-08-10 09:29:15.000000000 -0700 -+++ hotspot/test/gc/6941923/test6941923.sh 2013-04-28 16:29:17.000000000 -0700 -@@ -9,7 +9,7 @@ - ## skip on windows - OS=`uname -s` - case "$OS" in -- SunOS | Linux ) -+ SunOS | Linux | *BSD ) - NULL=/dev/null - PS=":" - FS="/" ---- hotspot/test/runtime/7020373/Test7020373.sh 2012-08-10 09:29:17.000000000 -0700 -+++ hotspot/test/runtime/7020373/Test7020373.sh 2013-04-28 16:29:17.000000000 -0700 -@@ -32,7 +32,7 @@ - # set platform-dependent variables - OS=`uname -s` - case "$OS" in -- SunOS | Linux ) -+ SunOS | Linux | *BSD | Darwin ) - NULL=/dev/null - PS=":" - FS="/" ---- hotspot/test/runtime/7110720/Test7110720.sh 2012-08-10 09:29:18.000000000 -0700 -+++ hotspot/test/runtime/7110720/Test7110720.sh 2013-04-28 16:29:17.000000000 -0700 -@@ -37,7 +37,7 @@ - # set platform-dependent variables - OS=`uname -s` - case "$OS" in -- SunOS | Linux ) -+ SunOS | Linux | *BSD ) - FS="/" - RM=/bin/rm - CP=/bin/cp ---- hotspot/test/runtime/7158800/BadUtf8.java 2012-08-10 09:29:18.000000000 -0700 -+++ hotspot/test/runtime/7158800/BadUtf8.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,1254 +0,0 @@ ++ /** + * Set the value for a specific property. + * + * @param property the property +@@ -121,6 +138,22 @@ + states[index] = state; + } + } ++ ++ /** ++ * Return the value of the specified property ++ * ++ * @param propertyName the property name ++ * @return the value of the property as a string ++ */ ++ public String getValue(String propertyName) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ return getValueByIndex(index); ++ } ++ ++ return null; ++ } ++ + /** + * Return the value of the specified property + * +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Import.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Import.java 2013-12-01 11:13:41.000000000 -0800 +@@ -86,7 +86,7 @@ + if (input == null) { + docToLoad = SystemIDResolver.getAbsoluteURI(docToLoad, currLoadedDoc); + String accessError = SecuritySupport.checkAccess(docToLoad, +- xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), ++ (String)xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), + XalanConstants.ACCESS_EXTERNAL_ALL); + + if (accessError != null) { +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Include.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Include.java 2013-12-01 11:13:41.000000000 -0800 +@@ -87,7 +87,7 @@ + if (input == null) { + docToLoad = SystemIDResolver.getAbsoluteURI(docToLoad, currLoadedDoc); + String accessError = SecuritySupport.checkAccess(docToLoad, +- xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), ++ (String)xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), + XalanConstants.ACCESS_EXTERNAL_ALL); + + if (accessError != null) { +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Parser.java 2013-09-06 11:22:55.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Parser.java 2013-12-01 11:13:41.000000000 -0800 +@@ -28,6 +28,7 @@ + import com.sun.org.apache.xalan.internal.utils.FactoryImpl; + import com.sun.org.apache.xalan.internal.utils.ObjectFactory; + import com.sun.org.apache.xalan.internal.utils.SecuritySupport; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodType; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type; +@@ -487,6 +488,20 @@ + } + + final XMLReader reader = parser.getXMLReader(); ++ try { ++ XMLSecurityManager securityManager = ++ (XMLSecurityManager)_xsltc.getProperty(XalanConstants.SECURITY_MANAGER); ++ for (XMLSecurityManager.Limit limit : XMLSecurityManager.Limit.values()) { ++ reader.setProperty(limit.apiProperty(), securityManager.getLimitValueAsString(limit)); ++ } ++ if (securityManager.printEntityCountInfo()) { ++ parser.setProperty(XalanConstants.JDK_ENTITY_COUNT_INFO, XalanConstants.JDK_YES); ++ } ++ } catch (SAXException se) { ++ System.err.println("Warning: " + reader.getClass().getName() + ": " ++ + se.getMessage()); ++ } ++ + return(parse(reader, input)); + } + catch (ParserConfigurationException e) { +@@ -565,7 +580,7 @@ + } + path = SystemIDResolver.getAbsoluteURI(path); + String accessError = SecuritySupport.checkAccess(path, +- _xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), ++ (String)_xsltc.getProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET), + XalanConstants.ACCESS_EXTERNAL_ALL); + if (accessError != null) { + ErrorMsg msg = new ErrorMsg(ErrorMsg.ACCESSING_XSLT_TARGET_ERR, +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java 2013-09-06 11:22:56.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java 2013-12-01 11:13:41.000000000 -0800 +@@ -44,11 +44,11 @@ + import com.sun.org.apache.bcel.internal.classfile.JavaClass; + import com.sun.org.apache.xalan.internal.XalanConstants; + import com.sun.org.apache.xalan.internal.utils.SecuritySupport; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util; + import com.sun.org.apache.xml.internal.dtm.DTM; + +-import com.sun.org.apache.xalan.internal.utils.SecuritySupport; + import org.xml.sax.InputSource; + import org.xml.sax.XMLReader; + +@@ -146,6 +146,7 @@ + */ + private String _accessExternalDTD = XalanConstants.EXTERNAL_ACCESS_DEFAULT; + ++ private XMLSecurityManager _xmlSecurityManager; + + /** + * XSLTC compiler constructor +@@ -184,12 +185,14 @@ + /** + * Return allowed protocols for accessing external stylesheet. + */ +- public String getProperty(String name) { ++ public Object getProperty(String name) { + if (name.equals(XMLConstants.ACCESS_EXTERNAL_STYLESHEET)) { + return _accessExternalStylesheet; + } + else if (name.equals(XMLConstants.ACCESS_EXTERNAL_DTD)) { + return _accessExternalDTD; ++ } else if (name.equals(XalanConstants.SECURITY_MANAGER)) { ++ return _xmlSecurityManager; + } + return null; + } +@@ -197,12 +200,14 @@ + /** + * Set allowed protocols for accessing external stylesheet. + */ +- public void setProperty(String name, String value) { ++ public void setProperty(String name, Object value) { + if (name.equals(XMLConstants.ACCESS_EXTERNAL_STYLESHEET)) { + _accessExternalStylesheet = (String)value; + } + else if (name.equals(XMLConstants.ACCESS_EXTERNAL_DTD)) { + _accessExternalDTD = (String)value; ++ } else if (name.equals(XalanConstants.SECURITY_MANAGER)) { ++ _xmlSecurityManager = (XMLSecurityManager)value; + } + } + +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesHandlerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesHandlerImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -29,7 +29,7 @@ + import javax.xml.transform.TransformerException; + import javax.xml.transform.URIResolver; + import javax.xml.transform.sax.TemplatesHandler; +- ++import com.sun.org.apache.xalan.internal.XalanConstants; + import com.sun.org.apache.xalan.internal.xsltc.compiler.CompilerException; + import com.sun.org.apache.xalan.internal.xsltc.compiler.Parser; + import com.sun.org.apache.xalan.internal.xsltc.compiler.SourceLoader; +@@ -103,6 +103,8 @@ + (String)tfactory.getAttribute(XMLConstants.ACCESS_EXTERNAL_STYLESHEET)); + xsltc.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, + (String)tfactory.getAttribute(XMLConstants.ACCESS_EXTERNAL_DTD)); ++ xsltc.setProperty(XalanConstants.SECURITY_MANAGER, ++ tfactory.getAttribute(XalanConstants.SECURITY_MANAGER)); + + + if ("true".equals(tfactory.getAttribute(TransformerFactoryImpl.ENABLE_INLINING))) +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -77,6 +77,7 @@ + import com.sun.org.apache.xalan.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xalan.internal.utils.XMLSecurityPropertyManager.Property; + import com.sun.org.apache.xalan.internal.utils.XMLSecurityPropertyManager.State; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + + import org.xml.sax.InputSource; + import org.xml.sax.XMLFilter; +@@ -227,17 +228,17 @@ + */ + private boolean _useServicesMechanism; + +- /** ++ /** + * protocols allowed for external references set by the stylesheet processing instruction, Import and Include element. + */ + private String _accessExternalStylesheet = XalanConstants.EXTERNAL_ACCESS_DEFAULT; +- + /** + * protocols allowed for external DTD references in source file and/or stylesheet. + */ + private String _accessExternalDTD = XalanConstants.EXTERNAL_ACCESS_DEFAULT; + + private XMLSecurityPropertyManager _xmlSecurityPropertyMgr; ++ private XMLSecurityManager _xmlSecurityManager; + + /** + * javax.xml.transform.sax.TransformerFactory implementation. +@@ -264,6 +265,9 @@ + Property.ACCESS_EXTERNAL_DTD); + _accessExternalStylesheet = _xmlSecurityPropertyMgr.getValue( + Property.ACCESS_EXTERNAL_STYLESHEET); ++ ++ //Parser's security manager ++ _xmlSecurityManager = new XMLSecurityManager(true); + } + + /** +@@ -322,11 +326,21 @@ + return Boolean.TRUE; + else + return Boolean.FALSE; ++ } else if (name.equals(XalanConstants.SECURITY_MANAGER)) { ++ return _xmlSecurityManager; + } + +- int index = _xmlSecurityPropertyMgr.getIndex(name); +- if (index > -1) { +- return _xmlSecurityPropertyMgr.getValueByIndex(index); ++ /** Check to see if the property is managed by the security manager **/ ++ String propertyValue = (_xmlSecurityManager != null) ? ++ _xmlSecurityManager.getLimitAsString(name) : null; ++ if (propertyValue != null) { ++ return propertyValue; ++ } else { ++ propertyValue = (_xmlSecurityPropertyMgr != null) ? ++ _xmlSecurityPropertyMgr.getValue(name) : null; ++ if (propertyValue != null) { ++ return propertyValue; ++ } + } + + // Throw an exception for all other attributes +@@ -429,10 +443,13 @@ + } + } + +- int index = _xmlSecurityPropertyMgr.getIndex(name); +- if (index > -1) { +- _xmlSecurityPropertyMgr.setValue(index, +- State.APIPROPERTY, (String)value); ++ if (_xmlSecurityManager != null && ++ _xmlSecurityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, value)) { ++ return; ++ } ++ ++ if (_xmlSecurityPropertyMgr != null && ++ _xmlSecurityPropertyMgr.setValue(name, XMLSecurityPropertyManager.State.APIPROPERTY, value)) { + _accessExternalDTD = _xmlSecurityPropertyMgr.getValue( + Property.ACCESS_EXTERNAL_DTD); + _accessExternalStylesheet = _xmlSecurityPropertyMgr.getValue( +@@ -482,6 +499,7 @@ + throw new TransformerConfigurationException(err.toString()); + } + _isNotSecureProcessing = !value; ++ _xmlSecurityManager.setSecureProcessing(value); + + // set external access restriction when FSP is explicitly set + if (value && XalanConstants.IS_JDK8_OR_ABOVE) { +@@ -851,6 +869,7 @@ + if (!_isNotSecureProcessing) xsltc.setSecureProcessing(true); + xsltc.setProperty(XMLConstants.ACCESS_EXTERNAL_STYLESHEET, _accessExternalStylesheet); + xsltc.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, _accessExternalDTD); ++ xsltc.setProperty(XalanConstants.SECURITY_MANAGER, _xmlSecurityManager); + xsltc.init(); + + // Set a document loader (for xsl:include/import) if defined +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -25,6 +25,7 @@ + + import com.sun.org.apache.xalan.internal.XalanConstants; + import com.sun.org.apache.xalan.internal.utils.FactoryImpl; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + import java.io.File; + import java.io.FileOutputStream; + import java.io.IOException; +@@ -218,6 +219,7 @@ + */ + private String _accessExternalDTD = XalanConstants.EXTERNAL_ACCESS_DEFAULT; + ++ private XMLSecurityManager _securityManager; + /** + * A hashtable to store parameters for the identity transform. These + * are not needed during the transformation, but we must keep track of +@@ -272,8 +274,11 @@ + _useServicesMechanism = _tfactory.useServicesMechnism(); + _accessExternalStylesheet = (String)_tfactory.getAttribute(XMLConstants.ACCESS_EXTERNAL_STYLESHEET); + _accessExternalDTD = (String)_tfactory.getAttribute(XMLConstants.ACCESS_EXTERNAL_DTD); ++ _securityManager = (XMLSecurityManager)_tfactory.getAttribute(XalanConstants.SECURITY_MANAGER); + _readerManager = XMLReaderManager.getInstance(_useServicesMechanism); + _readerManager.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, _accessExternalDTD); ++ _readerManager.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, _isSecureProcessing); ++ _readerManager.setProperty(XalanConstants.SECURITY_MANAGER, _securityManager); + //_isIncremental = tfactory._incremental; + } + +@@ -289,6 +294,7 @@ + */ + public void setSecureProcessing(boolean flag) { + _isSecureProcessing = flag; ++ _readerManager.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, _isSecureProcessing); + } + /** + * Return the state of the services mechanism feature. +--- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/Util.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/Util.java 2013-12-01 11:13:41.000000000 -0800 +@@ -23,6 +23,7 @@ + + package com.sun.org.apache.xalan.internal.xsltc.trax; + ++import com.sun.org.apache.xalan.internal.XalanConstants; + import java.io.InputStream; + import java.io.Reader; + +@@ -43,6 +44,7 @@ + import javax.xml.transform.stream.StreamSource; + + import com.sun.org.apache.xalan.internal.utils.FactoryImpl; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC; + import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; + +@@ -105,6 +107,13 @@ + if (reader == null) { + try { + reader= XMLReaderFactory.createXMLReader(); ++ try { ++ reader.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, ++ xsltc.isSecureProcessing()); ++ } catch (SAXNotRecognizedException e) { ++ System.err.println("Warning: " + reader.getClass().getName() + ": " ++ + e.getMessage()); ++ } + } catch (Exception e ) { + try { + +@@ -144,6 +153,22 @@ + + e.getMessage()); + } + ++ try { ++ XMLSecurityManager securityManager = ++ (XMLSecurityManager)xsltc.getProperty(XalanConstants.SECURITY_MANAGER); ++ if (securityManager != null) { ++ for (XMLSecurityManager.Limit limit : XMLSecurityManager.Limit.values()) { ++ reader.setProperty(limit.apiProperty(), ++ securityManager.getLimitValueAsString(limit)); ++ } ++ if (securityManager.printEntityCountInfo()) { ++ reader.setProperty(XalanConstants.JDK_ENTITY_COUNT_INFO, XalanConstants.JDK_YES); ++ } ++ } ++ } catch (SAXException se) { ++ System.err.println("Warning: " + reader.getClass().getName() + ": " ++ + se.getMessage()); ++ } + xsltc.setXMLReader(reader); + }catch (SAXNotRecognizedException snre ) { + throw new TransformerConfigurationException +--- jaxp/src/com/sun/org/apache/xerces/internal/dom/DOMConfigurationImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/dom/DOMConfigurationImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -33,6 +33,7 @@ + import com.sun.org.apache.xerces.internal.util.PropertyState; + import com.sun.org.apache.xerces.internal.util.SymbolTable; + import com.sun.org.apache.xerces.internal.utils.ObjectFactory; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XMLDTDContentModelHandler; + import com.sun.org.apache.xerces.internal.xni.XMLDTDHandler; +@@ -59,6 +60,7 @@ + import org.w3c.dom.ls.LSResourceResolver; + + ++ + /** + * Xerces implementation of DOMConfiguration that maintains a table of recognized parameters. + * +@@ -156,6 +158,9 @@ + protected static final String SCHEMA_DV_FACTORY = + Constants.XERCES_PROPERTY_PREFIX + Constants.SCHEMA_DV_FACTORY_PROPERTY; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; ++ + /** Property identifier: Security property manager. */ + private static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; +@@ -279,6 +284,7 @@ + JAXP_SCHEMA_LANGUAGE, + DTD_VALIDATOR_FACTORY_PROPERTY, + SCHEMA_DV_FACTORY, ++ SECURITY_MANAGER, + XML_SECURITY_PROPERTY_MANAGER + }; + addRecognizedProperties(recognizedProperties); +@@ -313,6 +319,8 @@ + fValidationManager = createValidationManager(); + setProperty(VALIDATION_MANAGER, fValidationManager); + ++ setProperty(SECURITY_MANAGER, new XMLSecurityManager(true)); ++ + setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, + new XMLSecurityPropertyManager()); + +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/Constants.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/Constants.java 2013-12-01 11:13:41.000000000 -0800 +@@ -174,8 +174,6 @@ + /** JAXP schemaSource language: when used internally may include DTD namespace (DOM) */ + public static final String SCHEMA_LANGUAGE = "schemaLanguage"; + +- public static final String SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT = "elementAttributeLimit" ; +- + /** JAXP Standard property prefix ("http://javax.xml.XMLConstants/property/"). */ + public static final String JAXPAPI_PROPERTY_PREFIX = + "http://javax.xml.XMLConstants/property/"; +@@ -209,6 +207,107 @@ + public static final boolean IS_JDK8_OR_ABOVE = isJavaVersionAtLeast(8); + + // ++ // Implementation limits: corresponding System Properties of the above ++ // API properties ++ // ++ /** ++ * JDK entity expansion limit; Note that the existing system property ++ * "entityExpansionLimit" with no prefix is still observed ++ */ ++ public static final String JDK_ENTITY_EXPANSION_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "entityExpansionLimit"; ++ ++ /** ++ * JDK element attribute limit; Note that the existing system property ++ * "elementAttributeLimit" with no prefix is still observed ++ */ ++ public static final String JDK_ELEMENT_ATTRIBUTE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "elementAttributeLimit"; ++ ++ /** ++ * JDK maxOccur limit; Note that the existing system property ++ * "maxOccurLimit" with no prefix is still observed ++ */ ++ public static final String JDK_MAX_OCCUR_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxOccurLimit"; ++ ++ /** ++ * JDK total entity size limit ++ */ ++ public static final String JDK_TOTAL_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "totalEntitySizeLimit"; ++ ++ /** ++ * JDK maximum general entity size limit ++ */ ++ public static final String JDK_GENEAL_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxGeneralEntitySizeLimit"; ++ /** ++ * JDK maximum parameter entity size limit ++ */ ++ public static final String JDK_PARAMETER_ENTITY_SIZE_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxParameterEntitySizeLimit"; ++ /** ++ * JDK maximum XML name limit ++ */ ++ public static final String JDK_XML_NAME_LIMIT = ++ ORACLE_JAXP_PROPERTY_PREFIX + "maxXMLNameLimit"; ++ /** ++ * JDK property to allow printing out information from the limit analyzer ++ */ ++ public static final String JDK_ENTITY_COUNT_INFO = ++ ORACLE_JAXP_PROPERTY_PREFIX + "getEntityCountInfo"; ++ ++ // ++ // Implementation limits: API properties ++ // ++ /** ++ * JDK entity expansion limit; Note that the existing system property ++ * "entityExpansionLimit" with no prefix is still observed ++ */ ++ public static final String SP_ENTITY_EXPANSION_LIMIT = "jdk.xml.entityExpansionLimit"; ++ ++ /** ++ * JDK element attribute limit; Note that the existing system property ++ * "elementAttributeLimit" with no prefix is still observed ++ */ ++ public static final String SP_ELEMENT_ATTRIBUTE_LIMIT = "jdk.xml.elementAttributeLimit"; ++ ++ /** ++ * JDK maxOccur limit; Note that the existing system property ++ * "maxOccurLimit" with no prefix is still observed ++ */ ++ public static final String SP_MAX_OCCUR_LIMIT = "jdk.xml.maxOccurLimit"; ++ ++ /** ++ * JDK total entity size limit ++ */ ++ public static final String SP_TOTAL_ENTITY_SIZE_LIMIT = "jdk.xml.totalEntitySizeLimit"; ++ ++ /** ++ * JDK maximum general entity size limit ++ */ ++ public static final String SP_GENEAL_ENTITY_SIZE_LIMIT = "jdk.xml.maxGeneralEntitySizeLimit"; ++ /** ++ * JDK maximum parameter entity size limit ++ */ ++ public static final String SP_PARAMETER_ENTITY_SIZE_LIMIT = "jdk.xml.maxParameterEntitySizeLimit"; ++ /** ++ * JDK maximum XML name limit ++ */ ++ public static final String SP_XML_NAME_LIMIT = "jdk.xml.maxXMLNameLimit"; ++ ++ //legacy System Properties ++ public final static String ENTITY_EXPANSION_LIMIT = "entityExpansionLimit"; ++ public static final String ELEMENT_ATTRIBUTE_LIMIT = "elementAttributeLimit" ; ++ public final static String MAX_OCCUR_LIMIT = "maxOccurLimit"; ++ ++ /** ++ * A string "yes" that can be used for properties such as getEntityCountInfo ++ */ ++ public static final String JDK_YES = "yes"; ++ ++ // + // DOM features + // + +@@ -443,7 +542,7 @@ + public static final String LOCALE_PROPERTY = "locale"; + + /** property identifier: security manager. */ +- protected static final String SECURITY_MANAGER = ++ public static final String SECURITY_MANAGER = + Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; + + +@@ -511,9 +610,6 @@ + */ + public final static String ATTRIBUTE_DECLARED = "ATTRIBUTE_DECLARED"; + +- public final static String ENTITY_EXPANSION_LIMIT = "entityExpansionLimit"; +- +- public final static String MAX_OCCUR_LIMIT = "maxOccurLimit"; + + /** + * {@link org.w3c.dom.TypeInfo} associated with current element/attribute +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/PropertyManager.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/PropertyManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -25,6 +25,7 @@ + + package com.sun.org.apache.xerces.internal.impl; + ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.xml.internal.stream.StaxEntityResolverWrapper; + import java.util.HashMap; +@@ -50,12 +51,16 @@ + + private static final String STRING_INTERNING = "http://xml.org/sax/features/string-interning"; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; ++ + /** Property identifier: Security property manager. */ + private static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; + + HashMap supportedProps = new HashMap(); + ++ private XMLSecurityManager fSecurityManager; + private XMLSecurityPropertyManager fSecurityPropertyMgr; + + public static final int CONTEXT_READER = 1; +@@ -82,6 +87,7 @@ + + HashMap properties = propertyManager.getProperties(); + supportedProps.putAll(properties); ++ fSecurityManager = (XMLSecurityManager)getProperty(SECURITY_MANAGER); + fSecurityPropertyMgr = (XMLSecurityPropertyManager)getProperty(XML_SECURITY_PROPERTY_MANAGER); + } + +@@ -124,6 +130,8 @@ + supportedProps.put(Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_DUPLICATE_ENTITYDEF_FEATURE, new Boolean(false)); + supportedProps.put(Constants.XERCES_FEATURE_PREFIX + Constants.WARN_ON_UNDECLARED_ELEMDEF_FEATURE, new Boolean(false)); + ++ fSecurityManager = new XMLSecurityManager(true); ++ supportedProps.put(SECURITY_MANAGER, fSecurityManager); + fSecurityPropertyMgr = new XMLSecurityPropertyManager(); + supportedProps.put(XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr); + } +@@ -142,6 +150,7 @@ + */ + public boolean containsProperty(String property){ + return supportedProps.containsKey(property) || ++ (fSecurityManager != null && fSecurityManager.getIndex(property) > -1) || + (fSecurityPropertyMgr!=null && fSecurityPropertyMgr.getIndex(property) > -1) ; + } + +@@ -169,12 +178,34 @@ + supportedProps.put( Constants.XERCES_PROPERTY_PREFIX + Constants.STAX_ENTITY_RESOLVER_PROPERTY , new StaxEntityResolverWrapper((XMLResolver)value)) ; + } + +- int index = (fSecurityPropertyMgr != null) ? fSecurityPropertyMgr.getIndex(property) : -1; +- if (index > -1) { +- fSecurityPropertyMgr.setValue(index, +- XMLSecurityPropertyManager.State.APIPROPERTY, (String)value); +- } else { +- supportedProps.put(property, value); ++ /** ++ * It's possible for users to set a security manager through the interface. ++ * If it's the old SecurityManager, convert it to the new XMLSecurityManager ++ */ ++ if (property.equals(Constants.SECURITY_MANAGER)) { ++ fSecurityManager = XMLSecurityManager.convert(value, fSecurityManager); ++ supportedProps.put(Constants.SECURITY_MANAGER, fSecurityManager); ++ return; ++ } ++ if (property.equals(Constants.XML_SECURITY_PROPERTY_MANAGER)) { ++ if (value == null) { ++ fSecurityPropertyMgr = new XMLSecurityPropertyManager(); ++ } else { ++ fSecurityPropertyMgr = (XMLSecurityPropertyManager)value; ++ } ++ supportedProps.put(Constants.XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr); ++ return; ++ } ++ ++ //check if the property is managed by security manager ++ if (fSecurityManager == null || ++ !fSecurityManager.setLimit(property, XMLSecurityManager.State.APIPROPERTY, value)) { ++ //check if the property is managed by security property manager ++ if (fSecurityPropertyMgr == null || ++ !fSecurityPropertyMgr.setValue(property, XMLSecurityPropertyManager.State.APIPROPERTY, value)) { ++ //fall back to the existing property manager ++ supportedProps.put(property, value); ++ } + } + + if(equivalentProperty != null){ +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XML11NSDocumentScannerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XML11NSDocumentScannerImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -108,6 +108,7 @@ + * @author Elena Litani, IBM + * @author Michael Glavassevich, IBM + * @author Sunitha Reddy, Sun Microsystems ++ * @version $Id: XML11NSDocumentScannerImpl.java,v 1.6 2010-11-01 04:39:40 joehw Exp $ + */ + public class XML11NSDocumentScannerImpl extends XML11DocumentScannerImpl { + +@@ -236,7 +237,8 @@ + + // attributes + scanAttribute(fAttributes); +- if (fSecurityManager != null && fAttributes.getLength() > fElementAttributeLimit){ ++ if (fSecurityManager != null && (!fSecurityManager.isNoLimit(fElementAttributeLimit)) && ++ fAttributes.getLength() > fElementAttributeLimit){ + fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, + "ElementAttributeLimit", + new Object[]{rawname, new Integer(fElementAttributeLimit) }, +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java 2014-01-18 12:16:08.000000000 -0800 +@@ -44,6 +44,9 @@ + import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter; + import com.sun.org.apache.xerces.internal.impl.XMLEntityHandler; + import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; ++import com.sun.xml.internal.stream.Entity; + + /** + * This class is responsible for scanning the declarations found +@@ -66,7 +69,7 @@ + * @author Glenn Marcy, IBM + * @author Eric Ye, IBM + * +- * @version $Id: XMLDTDScannerImpl.java,v 1.7 2007/09/26 12:52:40 ndw Exp $ ++ * @version $Id: XMLDTDScannerImpl.java,v 1.8 2010-11-01 04:39:41 joehw Exp $ + */ + public class XMLDTDScannerImpl + extends XMLScanner +@@ -260,6 +263,11 @@ + fEntityManager.startDTDEntity(inputSource); + } // setInputSource(XMLInputSource) + ++ ++ public void setLimitAnalyzer(XMLLimitAnalyzer limitAnalyzer) { ++ fLimitAnalyzer = limitAnalyzer; ++ } ++ + /** + * Scans the external subset of the document. + * +@@ -1545,7 +1553,7 @@ + + // internal entity + if (systemId == null) { +- scanEntityValue(fLiteral, fLiteral2); ++ scanEntityValue(name, isPEDecl, fLiteral, fLiteral2); + // since we need it's value anyway, let's snag it so it doesn't get corrupted + // if a new load takes place before we store the entity values + fStringBuffer.clear(); +@@ -1610,7 +1618,7 @@ + * the use of scanCharReferenceValue), and fStringBuffer2, anything in them + * at the time of calling is lost. + */ +- protected final void scanEntityValue(XMLString value, ++ protected final void scanEntityValue(String entityName, boolean isPEDecl, XMLString value, + XMLString nonNormalizedValue) + throws IOException, XNIException { + int quote = fEntityScanner.scanChar(); +@@ -1622,10 +1630,20 @@ + + XMLString literal = fString; + XMLString literal2 = fString; ++ int countChar = 0; ++ if (fLimitAnalyzer == null ) { ++ fLimitAnalyzer = new XMLLimitAnalyzer(); ++ } ++ fLimitAnalyzer.startEntity(entityName); ++ + if (fEntityScanner.scanLiteral(quote, fString) != quote) { + fStringBuffer.clear(); + fStringBuffer2.clear(); + do { ++ if (isPEDecl && fLimitAnalyzer != null) { ++ checkLimit("%" + entityName, fString.length + countChar); ++ } ++ countChar = 0; + fStringBuffer.append(fString); + fStringBuffer2.append(fString); + if (fEntityScanner.skipChar('&')) { +@@ -1685,6 +1703,7 @@ + } + } + else { ++ countChar++; + int c = fEntityScanner.peekChar(); + if (XMLChar.isHighSurrogate(c)) { + scanSurrogates(fStringBuffer2); +@@ -1708,9 +1727,17 @@ + fStringBuffer2.append(fString); + literal = fStringBuffer; + literal2 = fStringBuffer2; ++ } else { ++ if (isPEDecl) { ++ checkLimit("%" + entityName, literal); ++ } + } + value.setValues(literal); + nonNormalizedValue.setValues(literal2); ++ if (fLimitAnalyzer != null) { ++ fLimitAnalyzer.endEntity(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT, entityName); ++ } ++ + if (!fEntityScanner.skipChar(quote)) { + reportFatalError("CloseQuoteMissingInDecl", null); + } +@@ -2124,6 +2151,45 @@ + // set starting state + setScannerState(SCANNER_STATE_TEXT_DECL); + //new SymbolTable()); ++ ++ fLimitAnalyzer = new XMLLimitAnalyzer(); ++ } ++ ++ /** ++ * Add the count of the content buffer and check if the accumulated ++ * value exceeds the limit ++ * @param entityName entity name ++ * @param buffer content buffer ++ */ ++ private void checkLimit(String entityName, XMLString buffer) { ++ checkLimit(entityName, buffer.length); ++ } ++ ++ /** ++ * Add the count and check limit ++ * @param entityName entity name ++ * @param len length of the buffer ++ */ ++ private void checkLimit(String entityName, int len) { ++ if (fLimitAnalyzer == null) { ++ fLimitAnalyzer = new XMLLimitAnalyzer(); ++ } ++ fLimitAnalyzer.addValue(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT, entityName, len); ++ if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) { ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ reportFatalError("MaxEntitySizeLimit", new Object[]{entityName, ++ fLimitAnalyzer.getValue(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getLimit(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getStateLiteral(XMLSecurityManager.Limit.PARAMETER_ENTITY_SIZE_LIMIT)}); ++ } ++ if (fSecurityManager.isOverLimit(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) { ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ reportFatalError("TotalEntitySizeLimit", ++ new Object[]{fLimitAnalyzer.getTotalValue(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getLimit(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getStateLiteral(XMLSecurityManager.Limit.TOTAL_ENTITY_SIZE_LIMIT)}); ++ } ++ + } + + public DTDGrammar getGrammar(){ +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java 2014-01-18 12:16:08.000000000 -0800 +@@ -50,12 +50,14 @@ + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.impl.XMLEntityHandler; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.NamespaceSupport; + import com.sun.org.apache.xerces.internal.utils.SecuritySupport; ++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.Limit; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.State; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.NamespaceContext; +-import com.sun.xml.internal.stream.Entity; + import javax.xml.XMLConstants; + import javax.xml.stream.XMLStreamConstants; + import javax.xml.stream.events.XMLEvent; +@@ -165,7 +167,7 @@ + + /** Feature identifier: standard uri conformant */ + protected static final String STANDARD_URI_CONFORMANT = +- Constants.XERCES_FEATURE_PREFIX +Constants.STANDARD_URI_CONFORMANT_FEATURE; ++ Constants.XERCES_FEATURE_PREFIX + Constants.STANDARD_URI_CONFORMANT_FEATURE; + + /** Property identifier: Security property manager. */ + private static final String XML_SECURITY_PROPERTY_MANAGER = +@@ -213,11 +215,8 @@ + }; + + private static final char [] cdata = {'[','C','D','A','T','A','['}; +- private static final char [] endTag = {'<','/'}; +- +- //this variable is also used by XMLDocumentScannerImpl in the same package + static final char [] xmlDecl = {'<','?','x','m','l'}; +- ++ private static final char [] endTag = {'<','/'}; + // debugging + + /** Debug scanner state. */ +@@ -316,6 +315,7 @@ + protected String fDeclaredEncoding = null; + /** Xerces Feature: Disallow doctype declaration. */ + protected boolean fDisallowDoctype = false; ++ + /** + * comma-delimited list of protocols that are allowed for the purpose + * of accessing external dtd or entity references +@@ -384,7 +384,6 @@ + + protected boolean foundBuiltInRefs = false; + +- protected SecurityManager fSecurityManager = null; + + //skip element algorithm + static final short MAX_DEPTH_LIMIT = 5 ; +@@ -570,46 +569,24 @@ + + // xerces features + fReportCdataEvent = componentManager.getFeature(Constants.STAX_REPORT_CDATA_EVENT, true); +- +- fSecurityManager = (SecurityManager)componentManager.getProperty(Constants.SECURITY_MANAGER, null); +- fElementAttributeLimit = (fSecurityManager != null)?fSecurityManager.getElementAttrLimit():0; +- ++ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(Constants.SECURITY_MANAGER, null); + fNotifyBuiltInRefs = componentManager.getFeature(NOTIFY_BUILTIN_REFS, false); + + Object resolver = componentManager.getProperty(ENTITY_RESOLVER, null); + fExternalSubsetResolver = (resolver instanceof ExternalSubsetResolver) ? + (ExternalSubsetResolver) resolver : null; + +- // initialize vars +- fMarkupDepth = 0; +- fCurrentElement = null; +- fElementStack.clear(); +- fHasExternalDTD = false; +- fStandaloneSet = false; +- fStandalone = false; +- fInScanContent = false; +- //skipping algorithm +- fShouldSkip = false; +- fAdd = false; +- fSkip = false; +- + //attribute + fReadingAttributes = false; + //xxx: external entities are supported in Xerces + // it would be good to define feature for this case + fSupportExternalEntities = true; +- fSupportExternalEntities = true; +- fSupportExternalEntities = true; +- fSupportExternalEntities = true; + fReplaceEntityReferences = true; + fIsCoalesce = false; + + // setup Driver + setScannerState(SCANNER_STATE_CONTENT); + setDriver(fContentDriver); +- fEntityStore = fEntityManager.getEntityStore(); +- +- dtdGrammarUtil = null; + + // JAXP 1.5 features and properties + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager) +@@ -618,6 +595,7 @@ + + fStrictURI = componentManager.getFeature(STANDARD_URI_CONFORMANT, false); + ++ resetCommon(); + //fEntityManager.test(); + } // reset(XMLComponentManager) + +@@ -631,17 +609,7 @@ + fNamespaces = ((Boolean)propertyManager.getProperty(XMLInputFactory.IS_NAMESPACE_AWARE)).booleanValue(); + fNotifyBuiltInRefs = false ; + +- // initialize vars +- fMarkupDepth = 0; +- fCurrentElement = null; +- fShouldSkip = false; +- fAdd = false; +- fSkip = false; +- fElementStack.clear(); + //fElementStack2.clear(); +- fHasExternalDTD = false; +- fStandaloneSet = false; +- fStandalone = false; + //fReplaceEntityReferences = true; + //fSupportExternalEntities = true; + Boolean bo = (Boolean)propertyManager.getProperty(XMLInputFactoryImpl.IS_REPLACING_ENTITY_REFERENCES); +@@ -662,17 +630,43 @@ + //we dont need to do this -- nb. + //setScannerState(SCANNER_STATE_CONTENT); + //setDriver(fContentDriver); +- fEntityStore = fEntityManager.getEntityStore(); + //fEntityManager.test(); + +- dtdGrammarUtil = null; +- +- // JAXP 1.5 features and properties ++ // JAXP 1.5 features and properties + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager) + propertyManager.getProperty(XML_SECURITY_PROPERTY_MANAGER); + fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD); ++ ++ fSecurityManager = (XMLSecurityManager)propertyManager.getProperty(Constants.SECURITY_MANAGER); ++ resetCommon(); + } // reset(XMLComponentManager) + ++ void resetCommon() { ++ // initialize vars ++ fMarkupDepth = 0; ++ fCurrentElement = null; ++ fElementStack.clear(); ++ fHasExternalDTD = false; ++ fStandaloneSet = false; ++ fStandalone = false; ++ fInScanContent = false; ++ //skipping algorithm ++ fShouldSkip = false; ++ fAdd = false; ++ fSkip = false; ++ ++ fEntityStore = fEntityManager.getEntityStore(); ++ dtdGrammarUtil = null; ++ ++ if (fSecurityManager != null) { ++ fElementAttributeLimit = fSecurityManager.getLimit(XMLSecurityManager.Limit.ELEMENT_ATTRIBUTE_LIMIT); ++ } else { ++ fElementAttributeLimit = 0; ++ } ++ fLimitAnalyzer = new XMLLimitAnalyzer(); ++ fEntityManager.setLimitAnalyzer(fLimitAnalyzer); ++ } ++ + /** + * Returns a list of feature identifiers that are recognized by + * this component. This method may return null if no features +@@ -769,10 +763,10 @@ + + //JAXP 1.5 properties + if (propertyId.equals(XML_SECURITY_PROPERTY_MANAGER)) +- { ++ { + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager)value; + fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD); +- } ++ } + + } // setProperty(String,Object) + +@@ -1322,10 +1316,11 @@ + fAddDefaultAttr = true; + do { + scanAttribute(fAttributes); +- if (fSecurityManager != null && fAttributes.getLength() > fElementAttributeLimit){ ++ if (fSecurityManager != null && !fSecurityManager.isNoLimit(fElementAttributeLimit) && ++ fAttributes.getLength() > fElementAttributeLimit){ + fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, + "ElementAttributeLimit", +- new Object[]{rawname, new Integer(fAttributes.getLength()) }, ++ new Object[]{rawname, fElementAttributeLimit }, + XMLErrorReporter.SEVERITY_FATAL_ERROR ); + } + +@@ -2036,6 +2031,13 @@ + + } // getDriverName():String + ++ /** ++ * Check the protocol used in the systemId against allowed protocols ++ * ++ * @param systemId the Id of the URI ++ * @param allowedProtocols a list of allowed protocols separated by comma ++ * @return the name of the protocol if rejected, null otherwise ++ */ + String checkAccess(String systemId, String allowedProtocols) throws IOException { + String baseSystemId = fEntityScanner.getBaseSystemId(); + String expandedSystemId = fEntityManager.expandSystemId(systemId, baseSystemId,fStrictURI); +@@ -2833,6 +2835,8 @@ + if(DEBUG){ + System.out.println("NOT USING THE BUFFER, STRING = " + fTempString.toString()); + } ++ //check limit before returning event ++ checkLimit(fContentBuffer); + if(dtdGrammarUtil!= null && dtdGrammarUtil.isIgnorableWhiteSpace(fContentBuffer)){ + if(DEBUG)System.out.println("Return SPACE EVENT"); + return XMLEvent.SPACE; +@@ -2931,6 +2935,8 @@ + fLastSectionWasCharacterData = true ; + continue; + }else{ ++ //check limit before returning event ++ checkLimit(fContentBuffer); + if(dtdGrammarUtil!= null && dtdGrammarUtil.isIgnorableWhiteSpace(fContentBuffer)){ + if(DEBUG)System.out.println("Return SPACE EVENT"); + return XMLEvent.SPACE; +@@ -3141,6 +3147,30 @@ + } //while loop + }//next + ++ /** ++ * Add the count of the content buffer and check if the accumulated ++ * value exceeds the limit ++ * @param buffer content buffer ++ */ ++ protected void checkLimit(XMLStringBuffer buffer) { ++ if (fLimitAnalyzer.isTracking(fCurrentEntityName)) { ++ fLimitAnalyzer.addValue(Limit.GENEAL_ENTITY_SIZE_LIMIT, fCurrentEntityName, buffer.length); ++ if (fSecurityManager.isOverLimit(Limit.GENEAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) { ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ reportFatalError("MaxEntitySizeLimit", new Object[]{fCurrentEntityName, ++ fLimitAnalyzer.getValue(Limit.GENEAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getLimit(Limit.GENEAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getStateLiteral(Limit.GENEAL_ENTITY_SIZE_LIMIT)}); ++ } ++ if (fSecurityManager.isOverLimit(Limit.TOTAL_ENTITY_SIZE_LIMIT, fLimitAnalyzer)) { ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ reportFatalError("TotalEntitySizeLimit", ++ new Object[]{fLimitAnalyzer.getTotalValue(Limit.TOTAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getLimit(Limit.TOTAL_ENTITY_SIZE_LIMIT), ++ fSecurityManager.getStateLiteral(Limit.TOTAL_ENTITY_SIZE_LIMIT)}); ++ } ++ } ++ } + + // + // Protected methods +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl.java 2014-01-18 12:16:08.000000000 -0800 +@@ -1090,6 +1090,8 @@ + + ((XMLDTDScannerImpl)fDTDScanner).reset(fPropertyManager); + } ++ ++ fDTDScanner.setLimitAnalyzer(fLimitAnalyzer); + do { + again = false; + switch (fScannerState) { +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -18,19 +18,17 @@ + * limitations under the License. + */ + +-package com.sun.org.apache.xerces.internal.impl ; ++package com.sun.org.apache.xerces.internal.impl; + +-import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.impl.io.ASCIIReader; + import com.sun.org.apache.xerces.internal.impl.io.UCSReader; + import com.sun.org.apache.xerces.internal.impl.io.UTF8Reader; + import com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter; +-import com.sun.org.apache.xerces.internal.impl.XMLEntityHandler; + import com.sun.org.apache.xerces.internal.impl.validation.ValidationManager; + import com.sun.org.apache.xerces.internal.util.*; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; +-import com.sun.org.apache.xerces.internal.util.URI; + import com.sun.org.apache.xerces.internal.utils.SecuritySupport; ++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier; +@@ -174,7 +172,6 @@ + /** access external dtd: file protocol */ + static final String EXTERNAL_ACCESS_DEFAULT = Constants.EXTERNAL_ACCESS_DEFAULT; + +- + // recognized features and properties + + /** Recognized features. */ +@@ -307,6 +304,7 @@ + + /** used to restrict external access */ + protected String fAccessExternalDTD = EXTERNAL_ACCESS_DEFAULT; ++ + // settings + + /** +@@ -324,9 +322,12 @@ + */ + protected int fBufferSize = DEFAULT_BUFFER_SIZE; + +- // stores defaults for entity expansion limit if it has +- // been set on the configuration. +- protected SecurityManager fSecurityManager = null; ++ /** Security Manager */ ++ protected XMLSecurityManager fSecurityManager = null; ++ ++ protected XMLLimitAnalyzer fLimitAnalyzer = null; ++ ++ protected int entityExpansionIndex; + + /** + * True if the document entity is standalone. This should really +@@ -352,10 +353,6 @@ + /** XML 1.1 entity scanner. */ + protected XMLEntityScanner fXML11EntityScanner; + +- /** entity expansion limit (contains useful data if and only if +- fSecurityManager is non-null) */ +- protected int fEntityExpansionLimit = 0; +- + /** count of entities expanded: */ + protected int fEntityExpansionCount = 0; + +@@ -833,6 +830,9 @@ + fCurrentEntity.setEncodingExternallySpecified(encodingExternallySpecified); + fEntityScanner.setCurrentEntity(fCurrentEntity); + fResourceIdentifier.setValues(publicId, literalSystemId, baseSystemId, expandedSystemId); ++ if (fLimitAnalyzer != null) { ++ fLimitAnalyzer.startEntity(name); ++ } + return encoding; + } //setupCurrentEntity(String, XMLInputSource, boolean, boolean): String + +@@ -1294,10 +1294,13 @@ + //expansions exceeds the entity expansion limit, parser will throw fatal error. + // Note that this represents the nesting level of open entities. + fEntityExpansionCount++; +- if( fSecurityManager != null && fEntityExpansionCount > fEntityExpansionLimit ){ +- fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, +- "EntityExpansionLimitExceeded", +- new Object[]{new Integer(fEntityExpansionLimit) }, ++ if(fLimitAnalyzer != null) { ++ fLimitAnalyzer.addValue(entityExpansionIndex, name, 1); ++ } ++ if( fSecurityManager != null && fSecurityManager.isOverLimit(entityExpansionIndex, fLimitAnalyzer)){ ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,"EntityExpansionLimitExceeded", ++ new Object[]{fSecurityManager.getLimitValueByIndex(entityExpansionIndex)}, + XMLErrorReporter.SEVERITY_FATAL_ERROR ); + // is there anything better to do than reset the counter? + // at least one can envision debugging applications where this might +@@ -1361,6 +1364,12 @@ + if(fCurrentEntity != null){ + //close the reader + try{ ++ if (fLimitAnalyzer != null) { ++ fLimitAnalyzer.endEntity(XMLSecurityManager.Limit.GENEAL_ENTITY_SIZE_LIMIT, fCurrentEntity.name); ++ if (fCurrentEntity.name.equals("[xml]")) { ++ fSecurityManager.debugPrint(fLimitAnalyzer); ++ } ++ } + fCurrentEntity.close(); + }catch(IOException ex){ + throw new XNIException(ex); +@@ -1426,6 +1435,8 @@ + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager) propertyManager.getProperty(XML_SECURITY_PROPERTY_MANAGER); + fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD); + ++ fSecurityManager = (XMLSecurityManager)propertyManager.getProperty(SECURITY_MANAGER); ++ + // initialize state + //fStandalone = false; + fEntities.clear(); +@@ -1485,7 +1496,8 @@ + fEntityResolver = (XMLEntityResolver)componentManager.getProperty(ENTITY_RESOLVER, null); + fStaxEntityResolver = (StaxEntityResolverWrapper)componentManager.getProperty(STAX_ENTITY_RESOLVER, null); + fValidationManager = (ValidationManager)componentManager.getProperty(VALIDATION_MANAGER, null); +- fSecurityManager = (SecurityManager)componentManager.getProperty(SECURITY_MANAGER, null); ++ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(SECURITY_MANAGER, null); ++ entityExpansionIndex = fSecurityManager.getIndex(Constants.JDK_ENTITY_EXPANSION_LIMIT); + + // JAXP 1.5 feature + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager) componentManager.getProperty(XML_SECURITY_PROPERTY_MANAGER, null); +@@ -1506,7 +1518,6 @@ + // a class acting as a component manager but not + // implementing that interface for whatever reason. + public void reset() { +- fEntityExpansionLimit = (fSecurityManager != null)?fSecurityManager.getEntityExpansionLimit():0; + + // initialize state + fStandalone = false; +@@ -1642,17 +1653,20 @@ + } + if (suffixLength == Constants.SECURITY_MANAGER_PROPERTY.length() && + propertyId.endsWith(Constants.SECURITY_MANAGER_PROPERTY)) { +- fSecurityManager = (SecurityManager)value; +- fEntityExpansionLimit = (fSecurityManager != null)?fSecurityManager.getEntityExpansionLimit():0; ++ fSecurityManager = (XMLSecurityManager)value; + } + } + + //JAXP 1.5 properties + if (propertyId.equals(XML_SECURITY_PROPERTY_MANAGER)) +- { ++ { + XMLSecurityPropertyManager spm = (XMLSecurityPropertyManager)value; + fAccessExternalDTD = spm.getValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD); ++ } + } ++ ++ public void setLimitAnalyzer(XMLLimitAnalyzer fLimitAnalyzer) { ++ this.fLimitAnalyzer = fLimitAnalyzer; + } + + /** +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLNSDocumentScannerImpl.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLNSDocumentScannerImpl.java 2014-01-18 12:16:08.000000000 -0800 +@@ -58,6 +58,7 @@ + * @author Neeraj Bajaj, Sun Microsystems + * @author Venugopal Rao K, Sun Microsystems + * @author Elena Litani, IBM ++ * @version $Id: XMLNSDocumentScannerImpl.java,v 1.11 2010-11-01 04:39:41 joehw Exp $ + */ + public class XMLNSDocumentScannerImpl + extends XMLDocumentScannerImpl { +@@ -251,10 +252,11 @@ + + do { + scanAttribute(fAttributes); +- if (fSecurityManager != null && fAttributes.getLength() > fElementAttributeLimit){ ++ if (fSecurityManager != null && (!fSecurityManager.isNoLimit(fElementAttributeLimit)) && ++ fAttributes.getLength() > fElementAttributeLimit){ + fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, + "ElementAttributeLimit", +- new Object[]{rawname, new Integer(fAttributes.getLength()) }, ++ new Object[]{rawname, fElementAttributeLimit }, + XMLErrorReporter.SEVERITY_FATAL_ERROR ); + } + +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLScanner.java 2013-09-06 11:22:57.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLScanner.java 2013-12-01 11:13:41.000000000 -0800 +@@ -32,6 +32,8 @@ + import com.sun.org.apache.xerces.internal.util.XMLChar; + import com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl; + import com.sun.org.apache.xerces.internal.util.XMLStringBuffer; ++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.xni.XMLAttributes; + import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier; +@@ -106,6 +108,9 @@ + protected static final String ENTITY_MANAGER = + Constants.XERCES_PROPERTY_PREFIX + Constants.ENTITY_MANAGER_PROPERTY; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; ++ + // debugging + + /** Debug attribute normalization. */ +@@ -159,6 +164,12 @@ + /** xxx this should be available from EntityManager Entity storage */ + protected XMLEntityStorage fEntityStore = null ; + ++ /** Security manager. */ ++ protected XMLSecurityManager fSecurityManager = null; ++ ++ /** Limit analyzer. */ ++ protected XMLLimitAnalyzer fLimitAnalyzer = null; ++ + // protected data + + /** event type */ +@@ -256,6 +267,7 @@ + fSymbolTable = (SymbolTable)componentManager.getProperty(SYMBOL_TABLE); + fErrorReporter = (XMLErrorReporter)componentManager.getProperty(ERROR_REPORTER); + fEntityManager = (XMLEntityManager)componentManager.getProperty(ENTITY_MANAGER); ++ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(SECURITY_MANAGER); + + //this step is extra because we have separated the storage of entity + fEntityStore = fEntityManager.getEntityStore() ; +@@ -293,6 +305,10 @@ + fEntityManager = (XMLEntityManager)value; + } + } ++ ++ if (propertyId.equals(SECURITY_MANAGER)) { ++ fSecurityManager = (XMLSecurityManager)value; ++ } + /*else if(propertyId.equals(Constants.STAX_PROPERTIES)){ + fStaxProperties = (HashMap)value; + //TODO::discuss with neeraj what are his thoughts on passing properties. +@@ -352,6 +368,8 @@ + fEntityManager = (XMLEntityManager)propertyManager.getProperty(ENTITY_MANAGER); + fEntityStore = fEntityManager.getEntityStore() ; + fEntityScanner = (XMLEntityScanner)fEntityManager.getEntityScanner() ; ++ fSecurityManager = (XMLSecurityManager)propertyManager.getProperty(SECURITY_MANAGER); ++ + //fEntityManager.reset(); + // DTD preparsing defaults: + fValidation = false; +@@ -499,7 +517,7 @@ + reportFatalError("SDDeclInvalid", new Object[] {standalone}); + } + } else { +- reportFatalError("EncodingDeclRequired", null); ++ reportFatalError("SDDeclNameInvalid", null); + } + break; + } +@@ -510,8 +528,9 @@ + sawSpace = fEntityScanner.skipSpaces(); + } + // restore original literal value +- if(currLiteral) ++ if(currLiteral) { + currEnt.literal = true; ++ } + // REVISIT: should we remove this error reporting? + if (scanningTextDecl && state != STATE_DONE) { + reportFatalError("MorePseudoAttributes", null); +@@ -564,7 +583,7 @@ + XMLString value) + throws IOException, XNIException { + +- String name = fEntityScanner.scanName(); ++ String name = scanPseudoAttributeName(); + // XMLEntityManager.print(fEntityManager.getCurrentEntity()); + + if (name == null) { +@@ -617,6 +636,35 @@ + } // scanPseudoAttribute(XMLString):String + + /** ++ * Scans the name of a pseudo attribute. The only legal names ++ * in XML 1.0/1.1 documents are 'version', 'encoding' and 'standalone'. ++ * ++ * @return the name of the pseudo attribute or <code>null</code> ++ * if a legal pseudo attribute name could not be scanned. ++ */ ++ private String scanPseudoAttributeName() throws IOException, XNIException { ++ final int ch = fEntityScanner.peekChar(); ++ switch (ch) { ++ case 'v': ++ if (fEntityScanner.skipString(fVersionSymbol)) { ++ return fVersionSymbol; ++ } ++ break; ++ case 'e': ++ if (fEntityScanner.skipString(fEncodingSymbol)) { ++ return fEncodingSymbol; ++ } ++ break; ++ case 's': ++ if (fEntityScanner.skipString(fStandaloneSymbol)) { ++ return fStandaloneSymbol; ++ } ++ break; ++ } ++ return null; ++ } // scanPseudoAttributeName() ++ ++ /** + * Scans a processing instruction. + * <p> + * <pre> +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages.properties 2013-09-06 11:22:58.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -44,6 +44,7 @@ + + # 2.9 Standalone Document Declaration + SDDeclInvalid = The standalone document declaration value must be \"yes\" or \"no\", not \"{0}\". ++ SDDeclNameInvalid = The standalone name in XML declaration may be misspelled. + # 2.12 Language Identification + XMLLangInvalid = The xml:lang attribute value \"{0}\" is an invalid language identifier. + # 3. Logical Structures +@@ -292,8 +293,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=The parser has encountered more than \"{0}\" entity expansions in this document; this is the limit imposed by the application. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: The parser has encountered more than \"{0}\" entity expansions in this document; this is the limit imposed by the JDK. ++ ElementAttributeLimit=JAXP00010002: Element \"{0}\" has more than \"{1}\" attributes, \"{1}\" is the limit imposed by the JDK. ++ MaxEntitySizeLimit=JAXP00010003: The length of entity \"{0}\" is \"{1}\" that exceeds the \"{2}\" limit set by \"{3}\". ++ TotalEntitySizeLimit=JAXP00010004: The accumulated size \"{0}\" of entities exceeded the \"{1}\" limit set by \"{2}\". ++ MaxXMLNameLimit=JAXP00010005: The name \"{0}\" exceeded the \"{1}\" limit set by \"{2}\". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= Element \"{0}\" has more than \"{1}\" attributes, \"{1}\" is the limit imposed by the application. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_de.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_de.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ -/* -- * Copyright (c) 2012, 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. +- * published by the Free Software Foundation. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @@ -7820,1246 +5701,926 @@ - */ - -/* -- * @test -- * @bug 7158800 -- * @summary Test that 1200 symbols that hash to the same value triggers -- * the symbol table alternate hashing mechanism. There isn't actually a -- * way to verify this. +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde im Prolog des Dokuments gefunden. + InvalidCharInXMLDecl = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde in der XML-Deklaration gefunden. + # 2.4 Character Data and Markup +- CDEndInContent = Zeichenfolge"\"]]>\" darf nur im Content enthalten sein, wenn sie das Ende eines CDATA-Abschnitts markiert. ++ CDEndInContent = Zeichenfolge""]]>" darf nur im Content enthalten sein, wenn sie das Ende eines CDATA-Abschnitts markiert. + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA-Abschnitt muss mit \"]]>\" enden. ++ CDSectUnterminated = CDATA-Abschnitt muss mit "]]>" enden. + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML-Deklaration darf nur ganz am Anfang des Dokuments enthalten sein. +- EqRequiredInXMLDecl = Zeichen " = " muss auf \"{0}\" in der XML-Deklaration folgen. +- QuoteRequiredInXMLDecl = Der Wert nach \"{0}\" in der XML-Deklaration muss eine Zeichenfolge in Anf\u00FChrungszeichen sein. +- XMLDeclUnterminated = XML-Deklaration muss mit \"?>\" enden. ++ EqRequiredInXMLDecl = Zeichen " = " muss auf "{0}" in der XML-Deklaration folgen. ++ QuoteRequiredInXMLDecl = Der Wert nach "{0}" in der XML-Deklaration muss eine Zeichenfolge in Anf\u00FChrungszeichen sein. ++ XMLDeclUnterminated = XML-Deklaration muss mit "?>" enden. + VersionInfoRequired = Version ist in der XML-Deklaration erforderlich. + SpaceRequiredBeforeVersionInXMLDecl = Leerstelle vor dem Versionspseudoattribut in der XML-Deklaration erforderlich. + SpaceRequiredBeforeEncodingInXMLDecl = Leerstelle vor dem Codierungspseudoattribut in der XML-Deklaration erforderlich. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=Referenz ist nicht zul\u00E4ssig in angeh\u00E4ngtem Abschnitt. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = Standalone-Dokumentdeklarationswert muss \"Ja\" oder \"Nein\" und nicht \"{0}\" sein. ++ SDDeclInvalid = Standalone-Dokumentdeklarationswert muss "Ja" oder "Nein" und nicht "{0}" sein. ++ SDDeclNameInvalid = Der Standalone-Name in der XML-Deklaration ist m\u00F6glicherweise falsch geschrieben. + # 2.12 Language Identification +- XMLLangInvalid = xml:lang-Attributwert \"{0}\" ist eine ung\u00FCltige Sprach-ID. ++ XMLLangInvalid = xml:lang-Attributwert "{0}" ist eine ung\u00FCltige Sprach-ID. + # 3. Logical Structures +- ETagRequired = Elementtyp \"{0}\" muss mit dem entsprechenden Endtag \"</{0}>\" beendet werden. ++ ETagRequired = Elementtyp "{0}" muss mit dem entsprechenden Endtag "</{0}>" beendet werden. + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = Auf Elementtyp \"{0}\" m\u00FCssen entweder Attributspezifikationen, \">\" oder \"/>\" folgen. +- EqRequiredInAttribute = Mit Elementtyp \"{0}\" verkn\u00FCpfter Attributname \"{1}\" muss vom Zeichen " = " gefolgt werden. +- OpenQuoteExpected = \u00D6ffnendes Anf\u00FChrungszeichen wird f\u00FCr Attribut \"{1}\" erwartet, das mit Elementtyp \"{0}\" verkn\u00FCpft ist. +- CloseQuoteExpected = Schlie\u00DFendes Anf\u00FChrungszeichen wird f\u00FCr Attribut \"{1}\" erwartet, das mit Elementtyp \"{0}\" verkn\u00FCpft ist. +- AttributeNotUnique = Attribut \"{1}\" wurde bereits f\u00FCr Element \"{0}\" angegeben. +- AttributeNSNotUnique = An Namespace \"{2}\" gebundenes Attribut \"{1}\" wurde bereits f\u00FCr Element \"{0}\" angegeben. +- ETagUnterminated = Endtag f\u00FCr Elementtyp \"{0}\" muss mit einem ">"-Begrenzungszeichen enden. ++ ElementUnterminated = Auf Elementtyp "{0}" m\u00FCssen entweder Attributspezifikationen, ">" oder "/>" folgen. ++ EqRequiredInAttribute = Mit Elementtyp "{0}" verkn\u00FCpfter Attributname "{1}" muss vom Zeichen " = " gefolgt werden. ++ OpenQuoteExpected = \u00D6ffnendes Anf\u00FChrungszeichen wird f\u00FCr Attribut "{1}" erwartet, das mit Elementtyp "{0}" verkn\u00FCpft ist. ++ CloseQuoteExpected = Schlie\u00DFendes Anf\u00FChrungszeichen wird f\u00FCr Attribut "{1}" erwartet, das mit Elementtyp "{0}" verkn\u00FCpft ist. ++ AttributeNotUnique = Attribut "{1}" wurde bereits f\u00FCr Element "{0}" angegeben. ++ AttributeNSNotUnique = An Namespace "{2}" gebundenes Attribut "{1}" wurde bereits f\u00FCr Element "{0}" angegeben. ++ ETagUnterminated = Endtag f\u00FCr Elementtyp "{0}" muss mit einem ">"-Begrenzungszeichen enden. + MarkupNotRecognizedInContent = Der Content von Elementen muss aus ordnungsgem\u00E4\u00DF formatierten Zeichendaten oder Markups bestehen. + DoctypeIllegalInContent = DOCTYPE ist nicht zul\u00E4ssig in Content. + # 4.1 Character and Entity References + ReferenceUnterminated = Referenz muss mit einem ";"-Begrenzungszeichen beendet werden. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = Referenz muss vollst\u00E4ndig in derselben geparsten Entit\u00E4t enthalten sein. +- ElementEntityMismatch = Element \"{0}\" muss innerhalb derselben Entit\u00E4t beginnen und enden. ++ ElementEntityMismatch = Element "{0}" muss innerhalb derselben Entit\u00E4t beginnen und enden. + MarkupEntityMismatch=XML-Dokumentstrukturen m\u00FCssen innerhalb derselben Entit\u00E4t beginnen und enden. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{2}) wurde im Wert des Attributs \"{1}\" gefunden. Element ist \"{0}\". ++ InvalidCharInAttValue = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{2}) wurde im Wert des Attributs "{1}" gefunden. Element ist "{0}". + InvalidCharInComment = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde im Kommentar gefunden. + InvalidCharInPI = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde in der Verarbeitungsanweisung gefunden. + InvalidCharInInternalSubset = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde in der internen Teilmenge der DTD gefunden. + InvalidCharInTextDecl = Ung\u00FCltiges XML-Zeichen (Unicode: 0x{0}) wurde in der Textdeklaration gefunden. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = Wert des Attributs \"{1}\" muss mit einem einzelnen oder doppelten Anf\u00FChrungszeichen beginnen. +- LessthanInAttValue = Wert des Attributs \"{1}\", das mit Elementtyp \"{0}\" verkn\u00FCpft ist, darf nicht das Zeichen "<" enthalten. +- AttributeValueUnterminated = Wert f\u00FCr Attribut \"{1}\" muss mit dem entsprechenden Anf\u00FChrungszeichen enden. ++ QuoteRequiredInAttValue = Wert des Attributs "{1}" muss mit einem einzelnen oder doppelten Anf\u00FChrungszeichen beginnen. ++ LessthanInAttValue = Wert des Attributs "{1}", das mit Elementtyp "{0}" verkn\u00FCpft ist, darf nicht das Zeichen "<" enthalten. ++ AttributeValueUnterminated = Wert f\u00FCr Attribut "{1}" muss mit dem entsprechenden Anf\u00FChrungszeichen enden. + # 2.5 Comments +- InvalidCommentStart = Kommentar muss mit \"<!--\" beginnen. +- DashDashInComment = Zeichenfolge \"--\" ist in Kommentaren nicht zul\u00E4ssig. +- CommentUnterminated = Kommentar muss mit \"-->\" enden. ++ InvalidCommentStart = Kommentar muss mit "<!--" beginnen. ++ DashDashInComment = Zeichenfolge "--" ist in Kommentaren nicht zul\u00E4ssig. ++ CommentUnterminated = Kommentar muss mit "-->" enden. + COMMENT_NOT_IN_ONE_ENTITY = Kommentar ist nicht in derselben Entit\u00E4t enthalten. + # 2.6 Processing Instructions + PITargetRequired = Verarbeitungsanweisung muss mit dem Namen des Ziels beginnen. + SpaceRequiredInPI = Leerstelle ist zwischen dem Ziel der Verarbeitungsanweisung und den Daten erforderlich. +- PIUnterminated = Verarbeitungsanweisung muss mit \"?>\" enden. +- ReservedPITarget = Verarbeitungsanweisungsziel, das \"[xX][mM][lL]\" entspricht, ist nicht zul\u00E4ssig. ++ PIUnterminated = Verarbeitungsanweisung muss mit "?>" enden. ++ ReservedPITarget = Verarbeitungsanweisungsziel, das "[xX][mM][lL]" entspricht, ist nicht zul\u00E4ssig. + PI_NOT_IN_ONE_ENTITY = Verarbeitungsanweisung ist nicht in derselben Entit\u00E4t enthalten. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Ung\u00FCltige Version \"{0}\". +- VersionNotSupported = XML-Version \"{0}\" wird nicht unterst\u00FCtzt. Nur XML 1.0 wird unterst\u00FCtzt. +- VersionNotSupported11 = XML-Version \"{0}\" wird nicht unterst\u00FCtzt. Nur XML 1.0 und XML 1.1 werden unterst\u00FCtzt. ++ VersionInfoInvalid = Ung\u00FCltige Version "{0}". ++ VersionNotSupported = XML-Version "{0}" wird nicht unterst\u00FCtzt. Nur XML 1.0 wird unterst\u00FCtzt. ++ VersionNotSupported11 = XML-Version "{0}" wird nicht unterst\u00FCtzt. Nur XML 1.0 und XML 1.1 werden unterst\u00FCtzt. + VersionMismatch= Eine Entit\u00E4t kann keine andere Entit\u00E4t einer sp\u00E4teren Version enthalten. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Auf \"&#\" in einer Zeichenreferenz muss umgehend eine Dezimaldarstellung folgen. +- HexdigitRequiredInCharRef = Auf \"&#x\" in einer Zeichenreferenz muss umgehend eine hexadezimale Darstellung folgen. ++ DigitRequiredInCharRef = Auf "&#" in einer Zeichenreferenz muss umgehend eine Dezimaldarstellung folgen. ++ HexdigitRequiredInCharRef = Auf "&#x" in einer Zeichenreferenz muss umgehend eine hexadezimale Darstellung folgen. + SemicolonRequiredInCharRef = Zeichenreferenz muss mit dem Begrenzungszeichen ";" enden. +- InvalidCharRef = Zeichenreferenz \"&#{0}\" ist ein ung\u00FCltiges XML-Zeichen. ++ InvalidCharRef = Zeichenreferenz "&#{0}" ist ein ung\u00FCltiges XML-Zeichen. + NameRequiredInReference = Auf "&" in der Entit\u00E4tsreferenz muss umgehend der Entit\u00E4tsname folgen. +- SemicolonRequiredInReference = Referenz zu Entit\u00E4t \"{0}\" muss mit dem Begrenzungszeichen ";" enden. ++ SemicolonRequiredInReference = Referenz zu Entit\u00E4t "{0}" muss mit dem Begrenzungszeichen ";" enden. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = Textdeklaration darf nur ganz am Anfang der externen geparsten Entit\u00E4t enthalten sein. +- EqRequiredInTextDecl = Zeichen " = " muss auf \"{0}\" in der Textdeklaration folgen. +- QuoteRequiredInTextDecl = Der Wert nach \"{0}\" in der Textdeklaration muss eine Zeichenfolge in Anf\u00FChrungszeichen sein. +- CloseQuoteMissingInTextDecl = Schlie\u00DFendes Anf\u00FChrungszeichen im Wert nach \"{0}\" in der Textdeklaration fehlt. ++ EqRequiredInTextDecl = Zeichen " = " muss auf "{0}" in der Textdeklaration folgen. ++ QuoteRequiredInTextDecl = Der Wert nach "{0}" in der Textdeklaration muss eine Zeichenfolge in Anf\u00FChrungszeichen sein. ++ CloseQuoteMissingInTextDecl = Schlie\u00DFendes Anf\u00FChrungszeichen im Wert nach "{0}" in der Textdeklaration fehlt. + SpaceRequiredBeforeVersionInTextDecl = Leerstelle vor dem Versionspseudoattribut in der Textdeklaration erforderlich. + SpaceRequiredBeforeEncodingInTextDecl = Leerstelle vor dem Codierungspseudoattribut in der Textdeklaration erforderlich. +- TextDeclUnterminated = Textdeklaration muss mit \"?>\" enden. ++ TextDeclUnterminated = Textdeklaration muss mit "?>" enden. + EncodingDeclRequired = Codierungsdeklaration ist in der Textdeklaration erforderlich. + NoMorePseudoAttributes = Es sind keine weiteren Pseudoattribute zul\u00E4ssig. + MorePseudoAttributes = Es werden weitere Pseudoattribute erwartet. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = Kommentar muss vollst\u00E4ndig in derselben geparsten Entit\u00E4t enthalten sein. + PINotInOneEntity = Verarbeitungsanweisung muss vollst\u00E4ndig in derselben geparsten Entit\u00E4t enthalten sein. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Ung\u00FCltiger Codierungsname \"{0}\". +- EncodingByteOrderUnsupported = Angegebene Bytereihenfolge f\u00FCr die Codierung von \"{0}\" wird nicht unterst\u00FCtzt. ++ EncodingDeclInvalid = Ung\u00FCltiger Codierungsname "{0}". ++ EncodingByteOrderUnsupported = Angegebene Bytereihenfolge f\u00FCr die Codierung von "{0}" wird nicht unterst\u00FCtzt. + InvalidByte = Ung\u00FCltiges Byte {0} von {1}-Byte-UTF-8-Sequenz. + ExpectedByte = Byte {0} von {1}-Byte-UTF-8-Sequenz erwartet. + InvalidHighSurrogate = High-Surrogate-Bits in UTF-8-Sequenz d\u00FCrfen 0x10 nicht \u00FCberschreiten, gefunden wurde aber 0x{0}. +- OperationNotSupported = Vorgang \"{0}\" nicht unterst\u00FCtzt von {1}-Reader. +- InvalidASCII = Byte \"{0}\" geh\u00F6rt nicht zum (7-Bit) ASCII-Zeichensatz. ++ OperationNotSupported = Vorgang "{0}" nicht unterst\u00FCtzt von {1}-Reader. ++ InvalidASCII = Byte "{0}" geh\u00F6rt nicht zum (7-Bit) ASCII-Zeichensatz. + CharConversionFailure = Eine Entit\u00E4t, f\u00FCr die eine bestimmte Codierung ermittelt wurde, darf keine Sequenzen enthalten, die in dieser Codierung ung\u00FCltig sind. + + # DTD Messages +@@ -169,135 +167,135 @@ + PubidCharIllegal = Zeichen (Unicode: 0x{0}) ist nicht zul\u00E4ssig in der \u00F6ffentlichen ID. + SpaceRequiredBetweenPublicAndSystem = Leerstellen erforderlich zwischen publicId und systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Leerstelle nach \"<!DOCTYPE\" in der Dokumenttypdeklaration erforderlich. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = Root-Elementtyp muss nach \"<!DOCTYPE\" in der Dokumenttypdeklaration enthalten sein. +- DoctypedeclUnterminated = Dokumenttypdeklaration f\u00FCr Root-Elementtyp \"{0}\" muss mit ">" enden. +- PEReferenceWithinMarkup = Parameterentit\u00E4tsreferenz \"%{0};\" darf nicht in Markup in der internen Teilmenge der DTD vorkommen. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Leerstelle nach "<!DOCTYPE" in der Dokumenttypdeklaration erforderlich. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = Root-Elementtyp muss nach "<!DOCTYPE" in der Dokumenttypdeklaration enthalten sein. ++ DoctypedeclUnterminated = Dokumenttypdeklaration f\u00FCr Root-Elementtyp "{0}" muss mit ">" enden. ++ PEReferenceWithinMarkup = Parameterentit\u00E4tsreferenz "%{0};" darf nicht in Markup in der internen Teilmenge der DTD vorkommen. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = Die Markup-Deklarationen, die in der Dokumenttypdeklaration enthalten sind bzw. auf die von der Dokumenttypdeklaration verwiesen wird, m\u00FCssen ordnungsgem\u00E4\u00DF formatiert sein. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = Attributdeklaration f\u00FCr \"xml:space\" muss als aufgez\u00E4hlter Typ angegeben werden, dessen einzigen m\u00F6glichen Werte \"default\" und \"preserve\" sind. ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = Attributdeklaration f\u00FCr "xml:space" muss als aufgez\u00E4hlter Typ angegeben werden, dessen einzigen m\u00F6glichen Werte "default" und "preserve" sind. + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Leerstelle nach \"<!ELEMENT\" in der Elementtypdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Leerstelle nach "<!ELEMENT" in der Elementtypdeklaration erforderlich. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = Elementtyp ist in der Elementtypdeklaration erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Leerstelle nach Elementtyp \"{0}\" in der Elementtypdeklaration erforderlich. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Constraint ist nach dem Elementtyp \"{0}\" in der Elementtypdeklaration erforderlich. +- ElementDeclUnterminated = Deklaration f\u00FCr Elementtyp \"{0}\" muss mit ">" enden. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Leerstelle nach Elementtyp "{0}" in der Elementtypdeklaration erforderlich. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Constraint ist nach dem Elementtyp "{0}" in der Elementtypdeklaration erforderlich. ++ ElementDeclUnterminated = Deklaration f\u00FCr Elementtyp "{0}" muss mit ">" enden. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Das Zeichen "(" oder ein Elementtyp ist in der Deklaration des Elementtyps \"{0}\" erforderlich. +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Das Zeichen ")" ist in der Deklaration des Elementtyps \"{0}\" erforderlich. ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Das Zeichen "(" oder ein Elementtyp ist in der Deklaration des Elementtyps "{0}" erforderlich. ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Das Zeichen ")" ist in der Deklaration des Elementtyps "{0}" erforderlich. + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Ein Elementtyp ist in der Deklaration des Elementtyps \"{0}\" erforderlich. +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Das Zeichen ")" ist in der Deklaration des Elementtyps \"{0}\" erforderlich. +- MixedContentUnterminated = Das Mischcontentmodell \"{0}\" muss mit \")*\" enden, wenn die Typen der untergeordneten Elemente eingeschr\u00E4nkt sind. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Ein Elementtyp ist in der Deklaration des Elementtyps "{0}" erforderlich. ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Das Zeichen ")" ist in der Deklaration des Elementtyps "{0}" erforderlich. ++ MixedContentUnterminated = Das Mischcontentmodell "{0}" muss mit ")*" enden, wenn die Typen der untergeordneten Elemente eingeschr\u00E4nkt sind. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Leerstelle nach \"<!ATTLIST\" in der Attributlistendeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Leerstelle nach "<!ATTLIST" in der Attributlistendeklaration erforderlich. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = Elementtyp ist in der Attributlistendeklaration erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Leerstelle vor dem Attributnamen in der Attributlistendeklaration f\u00FCr Element \"{0}\" erforderlich. +- AttNameRequiredInAttDef = Attributname muss in der Attributlistendeklaration f\u00FCr Element \"{0}\" angegeben werden. +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Leerstelle vor dem Attributtyp in der Deklaration des Attributs \"{1}\" f\u00FCr Element \"{0}\" erforderlich. +- AttTypeRequiredInAttDef = Attributtyp ist in der Deklaration des Attributs \"{1}\" f\u00FCr Element \"{0}\" erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Leerstelle vor dem Attributstandard in der Deklaration des Attributs \"{1}\" f\u00FCr Element \"{0}\" erforderlich. +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Mehrere Attributdefinitionen f\u00FCr dasselbe Attribut \"{1}\" eines Elements \"{0}\" angegeben. ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Leerstelle vor dem Attributnamen in der Attributlistendeklaration f\u00FCr Element "{0}" erforderlich. ++ AttNameRequiredInAttDef = Attributname muss in der Attributlistendeklaration f\u00FCr Element "{0}" angegeben werden. ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Leerstelle vor dem Attributtyp in der Deklaration des Attributs "{1}" f\u00FCr Element "{0}" erforderlich. ++ AttTypeRequiredInAttDef = Attributtyp ist in der Deklaration des Attributs "{1}" f\u00FCr Element "{0}" erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Leerstelle vor dem Attributstandard in der Deklaration des Attributs "{1}" f\u00FCr Element "{0}" erforderlich. ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Mehrere Attributdefinitionen f\u00FCr dasselbe Attribut "{1}" eines Elements "{0}" angegeben. + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Leerstelle nach \"NOTATION\" in der \"{1}\"-Attributdeklaration erforderlich. +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Das Zeichen "(" muss auf \"NOTATION\" in der \"{1}\"-Attributdeklaration folgen. +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Notationsname ist in der Notationstypliste f\u00FCr die \"{1}\"-Attributdeklaration erforderlich. +- NotationTypeUnterminated = Notationstypliste muss mit ")" in der\"{1}\"-Attributdeklaration enden. +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Namenstoken ist in der aufgez\u00E4hlten Typliste f\u00FCr die \"{1}\"-Attributdeklaration erforderlich. +- EnumerationUnterminated = Aufgez\u00E4hlte Typliste muss mit ")" in der\"{1}\"-Attributdeklaration enden. +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = Enumerationswert \"{1}\" wurde mehrmals in der Deklaration des Attributs \"{2}\" f\u00FCr Element \"{0}\" angegeben. Die NMTOKENS in einer einzelnen "Enumeration"-Attributdeklaration m\u00FCssen alle eindeutig sein. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = Enumerationswert \"{1}\" wurde mehrmals in der Deklaration des Attributs \"{2}\" f\u00FCr Element \"{0}\" angegeben. Die NOTATION-Namen in einer einzelnen NotationType-Attributdeklaration m\u00FCssen alle eindeutig sein. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Leerstelle nach "NOTATION" in der "{1}"-Attributdeklaration erforderlich. ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Das Zeichen "(" muss auf "NOTATION" in der "{1}"-Attributdeklaration folgen. ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Notationsname ist in der Notationstypliste f\u00FCr die "{1}"-Attributdeklaration erforderlich. ++ NotationTypeUnterminated = Notationstypliste muss mit ")" in der"{1}"-Attributdeklaration enden. ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Namenstoken ist in der aufgez\u00E4hlten Typliste f\u00FCr die "{1}"-Attributdeklaration erforderlich. ++ EnumerationUnterminated = Aufgez\u00E4hlte Typliste muss mit ")" in der"{1}"-Attributdeklaration enden. ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = Enumerationswert "{1}" wurde mehrmals in der Deklaration des Attributs "{2}" f\u00FCr Element "{0}" angegeben. Die NMTOKENS in einer einzelnen "Enumeration"-Attributdeklaration m\u00FCssen alle eindeutig sein. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = Enumerationswert "{1}" wurde mehrmals in der Deklaration des Attributs "{2}" f\u00FCr Element "{0}" angegeben. Die NOTATION-Namen in einer einzelnen NotationType-Attributdeklaration m\u00FCssen alle eindeutig sein. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Leerstelle nach \"FIXED\" in der \"{1}\"-Attributdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Leerstelle nach "FIXED" in der "{1}"-Attributdeklaration erforderlich. + # 3.4 Conditional Sections +- IncludeSectUnterminated = Der eingeschlossene Bedingungsabschnitt muss mit \"]]>\" enden. +- IgnoreSectUnterminated = Der ausgeschlossene Bedingungsabschnitt muss mit \"]]>\" enden. ++ IncludeSectUnterminated = Der eingeschlossene Bedingungsabschnitt muss mit "]]>" enden. ++ IgnoreSectUnterminated = Der ausgeschlossene Bedingungsabschnitt muss mit "]]>" enden. + # 4.1 Character and Entity References + NameRequiredInPEReference = Auf "%" in der Parameterentit\u00E4tsreferenz muss umgehend der Entit\u00E4tsname folgen. +- SemicolonRequiredInPEReference = Parameterentit\u00E4tsreferenz \"%{0};\" muss mit dem Begrenzungszeichen ";" enden. ++ SemicolonRequiredInPEReference = Parameterentit\u00E4tsreferenz "%{0};" muss mit dem Begrenzungszeichen ";" enden. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Leerstelle nach \"<!ENTITY\" in der Entit\u00E4tsdeklaration erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Leerstelle zwischen \"<!ENTITY\" und dem Zeichen "%" in der Parameterentit\u00E4tsdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Leerstelle nach "<!ENTITY" in der Entit\u00E4tsdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Leerstelle zwischen "<!ENTITY" und dem Zeichen "%" in der Parameterentit\u00E4tsdeklaration erforderlich. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = Leerstelle zwischen "%" und dem Entit\u00E4tsnamen in der Parameterentit\u00E4tsdeklaration erforderlich. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = Name der Entit\u00E4t ist in der Entit\u00E4tsdeklaration erforderlich. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Leerstelle zwischen dem Entit\u00E4tsnamen \"{0}\" und der Definition in der Entit\u00E4tsdeklaration erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Leerstelle zwischen \"NDATA\" und dem Notationsnamen in der Deklaration f\u00FCr die Entit\u00E4t \"{0}\ erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Leerstelle vor \"NDATA\" in der Deklaration f\u00FCr die Entit\u00E4t \"{0}\ erforderlich. +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Notationsname ist nach \"NDATA\" in der Deklaration f\u00FCr die Entit\u00E4t \"{0}\ erforderlich. +- EntityDeclUnterminated = Deklaration f\u00FCr Entit\u00E4t \"{0}\" muss mit ">" enden. +- MSG_DUPLICATE_ENTITY_DEFINITION = Entit\u00E4t \"{0}\" wurde mehrmals deklariert. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Leerstelle zwischen dem Entit\u00E4tsnamen "{0}" und der Definition in der Entit\u00E4tsdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Leerstelle zwischen "NDATA" und dem Notationsnamen in der Deklaration f\u00FCr die Entit\u00E4t "{0} erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Leerstelle vor "NDATA" in der Deklaration f\u00FCr die Entit\u00E4t "{0} erforderlich. ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Notationsname ist nach "NDATA" in der Deklaration f\u00FCr die Entit\u00E4t "{0} erforderlich. ++ EntityDeclUnterminated = Deklaration f\u00FCr Entit\u00E4t "{0}" muss mit ">" enden. ++ MSG_DUPLICATE_ENTITY_DEFINITION = Entit\u00E4t "{0}" wurde mehrmals deklariert. + # 4.2.2 External Entities +- ExternalIDRequired = Externe Entit\u00E4tsdeklaration muss mit \"SYSTEM\" oder \"PUBLIC\" beginnen. +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Leerstelle zwischen \"PUBLIC\" und der \u00F6ffentlichen ID erforderlich. ++ ExternalIDRequired = Externe Entit\u00E4tsdeklaration muss mit "SYSTEM" oder "PUBLIC" beginnen. ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Leerstelle zwischen "PUBLIC" und der \u00F6ffentlichen ID erforderlich. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = Leerstelle zwischen der \u00F6ffentlichen ID und der System-ID erforderlich. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Leerstelle zwischen \"SYSTEM\" und der System-ID erforderlich. +- MSG_URI_FRAGMENT_IN_SYSTEMID = Fragment-ID darf nicht als Teil der System-ID \"{0}\" angegeben werden. ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Leerstelle zwischen "SYSTEM" und der System-ID erforderlich. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = Fragment-ID darf nicht als Teil der System-ID "{0}" angegeben werden. + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Leerstelle nach \"<!NOTATION\" in der Notationsdeklaration erforderlich. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Leerstelle nach "<!NOTATION" in der Notationsdeklaration erforderlich. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = Name der Notation ist in der Notationsdeklaration erforderlich. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Leerstelle nach dem Notationsnamen \"{0}\" in der Notationsdeklaration erforderlich. +- ExternalIDorPublicIDRequired = Deklaration f\u00FCr die Notation \"{0}\" muss eine System- oder eine \u00F6ffentliche ID enthalten. +- NotationDeclUnterminated = Deklaration f\u00FCr die Notation \"{0}\" muss mit ">" enden. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Leerstelle nach dem Notationsnamen "{0}" in der Notationsdeklaration erforderlich. ++ ExternalIDorPublicIDRequired = Deklaration f\u00FCr die Notation "{0}" muss eine System- oder eine \u00F6ffentliche ID enthalten. ++ NotationDeclUnterminated = Deklaration f\u00FCr die Notation "{0}" muss mit ">" enden. + + # Validation messages +- DuplicateTypeInMixedContent = Elementtyp \"{1}\" wurde bereits im Contentmodell der Elementdeklaration\"{0}\" angegeben. +- ENTITIESInvalid = Attributwert \"{1}\" mit dem Typ ENTITIES muss aus den Namen von mindestens einer geparsten Entit\u00E4t bestehen. +- ENTITYInvalid = Attributwert \"{1}\" mit dem Typ ENTITY muss aus dem Namen einer geparsten Entit\u00E4t bestehen. +- IDDefaultTypeInvalid = ID-Attribut \"{0}\" muss den deklarierten Standardwert \"#IMPLIED\" oder \"#REQUIRED\" haben. +- IDInvalid = Attributwert \"{0}\" mit dem Typ ID muss ein Name sein. +- IDInvalidWithNamespaces = Attributwert \"{0}\" mit dem Typ ID muss ein NCName sein, wenn Namespaces aktiviert sind. +- IDNotUnique = Attributwert \"{0}\" mit dem Typ ID muss eindeutig im Dokument sein. +- IDREFInvalid = Attributwert \"{0}\" mit dem Typ IDREF muss ein Name sein. +- IDREFInvalidWithNamespaces = Attributwert \"{0}\" mit dem Typ IDREF muss ein NCName sein, wenn Namespaces aktiviert sind. +- IDREFSInvalid = Attributwert \"{0}\" mit dem Typ IDREFS muss mindestens ein Name sein. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Ersatztext der Parameterentit\u00E4t \"{0}\" muss ordnungsgem\u00E4\u00DF verschachtelte Deklarationen enthalten, wenn die Entit\u00E4tsreferenz als vollst\u00E4ndige Deklaration verwendet wird. +- ImproperDeclarationNesting = Ersatztext der Parameterentit\u00E4t \"{0}\" muss ordnungsgem\u00E4\u00DF verschachtelte Deklarationen enthalten. +- ImproperGroupNesting = Ersatztext der Parameterentit\u00E4t \"{0}\" muss ordnungsgem\u00E4\u00DF verschachtelte Klammernpaare enthalten. +- INVALID_PE_IN_CONDITIONAL = Ersatztext der Parameterentit\u00E4t \"{0}\" muss den gesamten Bedingungsabschnitt oder nur INCLUDE oder IGNORE enthalten. +- MSG_ATTRIBUTE_NOT_DECLARED = Attribut \"{1}\" muss f\u00FCr Elementtyp \"{0}\" deklariert werden. +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = Attribut \"{0}\" mit Wert \"{1}\" muss einen Wert aus der Liste \"{2}\" haben. +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = Der Wert \"{1}\" des Attributs \"{0}\" darf nicht von der Normalisierung (zu \"{2}\") in einem Standalone-Dokument ge\u00E4ndert werden. +- MSG_CONTENT_INCOMPLETE = Content des Elementtyps \"{0}\" ist unvollst\u00E4ndig. Muss \"{1}\" entsprechen. +- MSG_CONTENT_INVALID = Content des Elementtyps \"{0}\" muss \"{1}\" entsprechen. +- MSG_CONTENT_INVALID_SPECIFIED = Content des Elementtyps \"{0}\" muss \"{1}\" entsprechen. Untergeordnete Elemente mit dem Typ \"{2}\" sind nicht zul\u00E4ssig. +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = Attribut \"{1}\" f\u00FCr Elementtyp \"{0}\" hat einen Standardwert und muss in einem Standalone-Dokument angegeben werden. +- MSG_DUPLICATE_ATTDEF = Attribut \"{1}\" ist bereits deklariert f\u00FCr Elementtyp \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = Elementtyp \"{0}\" darf nicht mehrmals deklariert werden. +- MSG_ELEMENT_NOT_DECLARED = Elementtyp \"{0}\" muss deklariert werden. ++ DuplicateTypeInMixedContent = Elementtyp "{1}" wurde bereits im Contentmodell der Elementdeklaration"{0}" angegeben. ++ ENTITIESInvalid = Attributwert "{1}" mit dem Typ ENTITIES muss aus den Namen von mindestens einer geparsten Entit\u00E4t bestehen. ++ ENTITYInvalid = Attributwert "{1}" mit dem Typ ENTITY muss aus dem Namen einer geparsten Entit\u00E4t bestehen. ++ IDDefaultTypeInvalid = ID-Attribut "{0}" muss den deklarierten Standardwert "#IMPLIED" oder "#REQUIRED" haben. ++ IDInvalid = Attributwert "{0}" mit dem Typ ID muss ein Name sein. ++ IDInvalidWithNamespaces = Attributwert "{0}" mit dem Typ ID muss ein NCName sein, wenn Namespaces aktiviert sind. ++ IDNotUnique = Attributwert "{0}" mit dem Typ ID muss eindeutig im Dokument sein. ++ IDREFInvalid = Attributwert "{0}" mit dem Typ IDREF muss ein Name sein. ++ IDREFInvalidWithNamespaces = Attributwert "{0}" mit dem Typ IDREF muss ein NCName sein, wenn Namespaces aktiviert sind. ++ IDREFSInvalid = Attributwert "{0}" mit dem Typ IDREFS muss mindestens ein Name sein. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Ersatztext der Parameterentit\u00E4t "{0}" muss ordnungsgem\u00E4\u00DF verschachtelte Deklarationen enthalten, wenn die Entit\u00E4tsreferenz als vollst\u00E4ndige Deklaration verwendet wird. ++ ImproperDeclarationNesting = Ersatztext der Parameterentit\u00E4t "{0}" muss ordnungsgem\u00E4\u00DF verschachtelte Deklarationen enthalten. ++ ImproperGroupNesting = Ersatztext der Parameterentit\u00E4t "{0}" muss ordnungsgem\u00E4\u00DF verschachtelte Klammernpaare enthalten. ++ INVALID_PE_IN_CONDITIONAL = Ersatztext der Parameterentit\u00E4t "{0}" muss den gesamten Bedingungsabschnitt oder nur INCLUDE oder IGNORE enthalten. ++ MSG_ATTRIBUTE_NOT_DECLARED = Attribut "{1}" muss f\u00FCr Elementtyp "{0}" deklariert werden. ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = Attribut "{0}" mit Wert "{1}" muss einen Wert aus der Liste "{2}" haben. ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = Der Wert "{1}" des Attributs "{0}" darf nicht von der Normalisierung (zu "{2}") in einem Standalone-Dokument ge\u00E4ndert werden. ++ MSG_CONTENT_INCOMPLETE = Content des Elementtyps "{0}" ist unvollst\u00E4ndig. Muss "{1}" entsprechen. ++ MSG_CONTENT_INVALID = Content des Elementtyps "{0}" muss "{1}" entsprechen. ++ MSG_CONTENT_INVALID_SPECIFIED = Content des Elementtyps "{0}" muss "{1}" entsprechen. Untergeordnete Elemente mit dem Typ "{2}" sind nicht zul\u00E4ssig. ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = Attribut "{1}" f\u00FCr Elementtyp "{0}" hat einen Standardwert und muss in einem Standalone-Dokument angegeben werden. ++ MSG_DUPLICATE_ATTDEF = Attribut "{1}" ist bereits deklariert f\u00FCr Elementtyp "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = Elementtyp "{0}" darf nicht mehrmals deklariert werden. ++ MSG_ELEMENT_NOT_DECLARED = Elementtyp "{0}" muss deklariert werden. + MSG_GRAMMAR_NOT_FOUND = Dokument ist ung\u00FCltig. Keine Grammatik gefunden. +- MSG_ELEMENT_WITH_ID_REQUIRED = Element mit \"{0}\" ist im Dokument erforderlich. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Referenz zur externen Entit\u00E4t \"{0}\" ist in einem Standalone-Dokument nicht zul\u00E4ssig. +- MSG_FIXED_ATTVALUE_INVALID = Attribut \"{1}\" mit Wert \"{2}\" muss den Wert\"{3}\" haben. +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Elementtyp \"{0}\" hat bereits ein Attribut \"{1}\" mit dem Typ ID. Ein zweites Attribut \"{2}\" mit dem Typ ID ist nicht zul\u00E4ssig. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Elementtyp \"{0}\" hat bereits ein Attribut \"{1}\" mit dem Typ NOTATION. Ein zweites Attribut \"{2}\" mit dem Typ NOTATION ist nicht zul\u00E4ssig. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = Notation \"{1}\" muss deklariert werden, wenn sie in der Notationstypliste f\u00FCr Attribut \"{0}\" referenziert wird. +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = Notation \"{1}\" muss deklariert werden, wenn sie in der Deklaration der nicht geparsten Entit\u00E4t f\u00FCr \"{0}\" referenziert wird. +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Referenz zur Entit\u00E4t \"{0}\", die in einer externen geparsten Entit\u00E4t deklariert wird, ist in einem Standalone-Dokument nicht zul\u00E4ssig. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = Attribut \"{1}\" ist erforderlich und muss f\u00FCr Elementtyp \"{0}\" angegeben werden. ++ MSG_ELEMENT_WITH_ID_REQUIRED = Element mit "{0}" ist im Dokument erforderlich. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Referenz zur externen Entit\u00E4t "{0}" ist in einem Standalone-Dokument nicht zul\u00E4ssig. ++ MSG_FIXED_ATTVALUE_INVALID = Attribut "{1}" mit Wert "{2}" muss den Wert"{3}" haben. ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Elementtyp "{0}" hat bereits ein Attribut "{1}" mit dem Typ ID. Ein zweites Attribut "{2}" mit dem Typ ID ist nicht zul\u00E4ssig. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Elementtyp "{0}" hat bereits ein Attribut "{1}" mit dem Typ NOTATION. Ein zweites Attribut "{2}" mit dem Typ NOTATION ist nicht zul\u00E4ssig. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = Notation "{1}" muss deklariert werden, wenn sie in der Notationstypliste f\u00FCr Attribut "{0}" referenziert wird. ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = Notation "{1}" muss deklariert werden, wenn sie in der Deklaration der nicht geparsten Entit\u00E4t f\u00FCr "{0}" referenziert wird. ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Referenz zur Entit\u00E4t "{0}", die in einer externen geparsten Entit\u00E4t deklariert wird, ist in einem Standalone-Dokument nicht zul\u00E4ssig. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = Attribut "{1}" ist erforderlich und muss f\u00FCr Elementtyp "{0}" angegeben werden. + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = Es d\u00FCrfen keine Leerstellen zwischen Elementen in einem Standalone-Dokument vorkommen, die in einer externen geparsten Entit\u00E4t mit Elementcontent deklariert sind. +- NMTOKENInvalid = Attributwert \"{0}\" mit dem Typ NMTOKEN muss ein Namenstoken sein. +- NMTOKENSInvalid = Attributwert \"{0}\" mit dem Typ NMTOKENS muss mindestens ein Namenstoken sein. +- NoNotationOnEmptyElement = Elementtyp \"{0}\", der als EMPTY deklariert wurde, kann nicht das Attribut \"{1}\" mit dem Typ NOTATION deklarieren. +- RootElementTypeMustMatchDoctypedecl = Dokument-Root-Element \"{1}\"muss mit DOCTYPE-Root \"{0}\" \u00FCbereinstimmen. +- UndeclaredElementInContentSpec = Contentmodell des Elements \"{0}\" verweist auf das nicht deklarierte Element \"{1}\". +- UniqueNotationName = Deklaration f\u00FCr die Notation \"{0}\" ist nicht eindeutig. Ein jeweiliger Name darf nicht in mehreren Notationsdeklarationen deklariert werden. ++ NMTOKENInvalid = Attributwert "{0}" mit dem Typ NMTOKEN muss ein Namenstoken sein. ++ NMTOKENSInvalid = Attributwert "{0}" mit dem Typ NMTOKENS muss mindestens ein Namenstoken sein. ++ NoNotationOnEmptyElement = Elementtyp "{0}", der als EMPTY deklariert wurde, kann nicht das Attribut "{1}" mit dem Typ NOTATION deklarieren. ++ RootElementTypeMustMatchDoctypedecl = Dokument-Root-Element "{1}"muss mit DOCTYPE-Root "{0}" \u00FCbereinstimmen. ++ UndeclaredElementInContentSpec = Contentmodell des Elements "{0}" verweist auf das nicht deklarierte Element "{1}". ++ UniqueNotationName = Deklaration f\u00FCr die Notation "{0}" ist nicht eindeutig. Ein jeweiliger Name darf nicht in mehreren Notationsdeklarationen deklariert werden. + ENTITYFailedInitializeGrammar = ENTITYDatatype-Validator: Nicht erfolgreich. Initialisierungsmethode muss mit einer g\u00FCltigen Grammatikreferenz aufgerufen werden. \t +- ENTITYNotUnparsed = ENTITY \"{0}\" ist geparst. +- ENTITYNotValid = ENTITY \"{0}\" ist nicht g\u00FCltig. ++ ENTITYNotUnparsed = ENTITY "{0}" ist geparst. ++ ENTITYNotValid = ENTITY "{0}" ist nicht g\u00FCltig. + EmptyList = Werte der Typen ENTITIES, IDREFS und NMTOKENS d\u00FCrfen keine leeren Listen sein. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = Externe Entit\u00E4tsreferenz \"&{0};\" ist in einem Attributwert nicht zul\u00E4ssig. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = Externe Entit\u00E4tsreferenz "&{0};" ist in einem Attributwert nicht zul\u00E4ssig. ++ AccessExternalDTD = Externe DTD: Lesen von externer DTD "{0}" nicht erfolgreich, da "{1}"-Zugriff wegen der von der Eigenschaft "accessExternalDTD" festgelegten Einschr\u00E4nkung nicht zul\u00E4ssig ist. ++ AccessExternalEntity = Externe Entit\u00E4t: Lesen des externen Dokuments "{0}" nicht erfolgreich, da "{1}"-Zugriff wegen der von der Eigenschaft "accessExternalDTD" festgelegten Einschr\u00E4nkung nicht zul\u00E4ssig ist. + + # 4.1 Character and Entity References +- EntityNotDeclared = Entit\u00E4t \"{0}\" wurde referenziert aber nicht deklariert. +- ReferenceToUnparsedEntity = Nicht geparste Entit\u00E4tsreferenz \"&{0};\" ist nicht zul\u00E4ssig. +- RecursiveReference = Rekursive Entit\u00E4tsreferenz \"{0}\". (Referenzpfad: {1}), +- RecursiveGeneralReference = Rekursive allgemeine Entit\u00E4tsreferenz \"&{0};\". (Referenzpfad: {1}), +- RecursivePEReference = Rekursive Parameterentit\u00E4tsreferenz \"%{0};\". (Referenzpfad: {1}), ++ EntityNotDeclared = Entit\u00E4t "{0}" wurde referenziert aber nicht deklariert. ++ ReferenceToUnparsedEntity = Nicht geparste Entit\u00E4tsreferenz "&{0};" ist nicht zul\u00E4ssig. ++ RecursiveReference = Rekursive Entit\u00E4tsreferenz "{0}". (Referenzpfad: {1}), ++ RecursiveGeneralReference = Rekursive allgemeine Entit\u00E4tsreferenz "&{0};". (Referenzpfad: {1}), ++ RecursivePEReference = Rekursive Parameterentit\u00E4tsreferenz "%{0};". (Referenzpfad: {1}), + # 4.3.3 Character Encoding in Entities + EncodingNotSupported = Codierung "{0}" wird nicht unterst\u00FCtzt. + EncodingRequired = Eine nicht in UTF-8 oder UTF-16 codierte geparste Entit\u00E4t muss eine Codierungsdeklaration enthalten. +@@ -305,14 +303,14 @@ + # Namespaces support + # 4. Using Qualified Names + IllegalQName = Element oder Attribut stimmt nicht mit QName-Production \u00FCberein: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = Element \"{0}\" darf nicht \"xmlns\" als Pr\u00E4fix enthalten. +- ElementPrefixUnbound = Pr\u00E4fix \"{0}\" f\u00FCr Element \"{1}\" ist nicht gebunden. +- AttributePrefixUnbound = Pr\u00E4fix \"{2}\" f\u00FCr Attribut \"{1}\", das mit Elementtyp \"{0}\" verkn\u00FCpft ist, ist nicht gebunden. +- EmptyPrefixedAttName = Wert des Attributs \"{0}\" ist ung\u00FCltig. Namespace Bindings mit Pr\u00E4fix d\u00FCrfen nicht leer sein. +- PrefixDeclared = Namespace-Pr\u00E4fix \"{0}\" wurde nicht deklariert. ++ ElementXMLNSPrefix = Element "{0}" darf nicht "xmlns" als Pr\u00E4fix enthalten. ++ ElementPrefixUnbound = Pr\u00E4fix "{0}" f\u00FCr Element "{1}" ist nicht gebunden. ++ AttributePrefixUnbound = Pr\u00E4fix "{2}" f\u00FCr Attribut "{1}", das mit Elementtyp "{0}" verkn\u00FCpft ist, ist nicht gebunden. ++ EmptyPrefixedAttName = Wert des Attributs "{0}" ist ung\u00FCltig. Namespace Bindings mit Pr\u00E4fix d\u00FCrfen nicht leer sein. ++ PrefixDeclared = Namespace-Pr\u00E4fix "{0}" wurde nicht deklariert. + CantBindXMLNS = Pr\u00E4fix "xmlns" kann nicht explizit an einen Namespace gebunden werden. Umgekehrt kann auch der Namespace f\u00FCr "xmlns" nicht explizit an ein Pr\u00E4fix gebunden werden. + CantBindXML = Pr\u00E4fix "xml" kann nicht an einen anderen Namespace als den gew\u00F6hnlichen gebunden werden. Umgekehrt kann auch der Namespace f\u00FCr "xml" nicht an ein anderes Pr\u00E4fix als "xml" gebunden werden. +- MSG_ATT_DEFAULT_INVALID = defaultValue \"{1}\" von Attribut \"{0}\" ist aufgrund der lexikalischen Constraints dieses Attributtyps nicht g\u00FCltig. ++ MSG_ATT_DEFAULT_INVALID = defaultValue "{1}" von Attribut "{0}" ist aufgrund der lexikalischen Constraints dieses Attributtyps nicht g\u00FCltig. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=Parser hat mehr als \"{0}\" Entit\u00E4tserweiterungen in diesem Dokument gefunden. Dies ist der durch die Anwendung vorgeschriebene Grenzwert. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: Der Parser hat mehr als {0} Entit\u00E4tserweiterungen in diesem Dokument gefunden. Dies ist der von JDK vorgeschriebene Grenzwert. ++ ElementAttributeLimit=JAXP00010002: Element "{0}" hat mehr als {1} Attribute. "{1}" ist der von JDK vorgeschriebene Grenzwert. ++ MaxEntitySizeLimit=JAXP00010003: Die L\u00E4nge von Entit\u00E4t "{0}" ist "{1}" und \u00FCberschreitet den Grenzwert "{2}", der von "{3}" festgelegt wurde. ++ TotalEntitySizeLimit=JAXP00010004: Die akkumulierte Gr\u00F6\u00DFe "{0}" der Entit\u00E4ten \u00FCberschreitet den Grenzwert "{1}", der von "{2}" festgelegt wurde. ++ MaxXMLNameLimit=JAXP00010005: Der Name "{0}" \u00FCberschreitet den Grenzwert "{1}", der von "{2}" festgelegt wurde. + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= Element \"{0}\" hat mehr als \"{1}\" Attribute. \"{1}\" ist der durch die Anwendung vorgeschriebene Grenzwert. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_es.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_es.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. - */ --// --// Generate large number of strings that hash to the same value --// to slow down symbol table lookup. - --import java.io.BufferedOutputStream; --import java.io.FileOutputStream; -- --public class BadUtf8 { --static String[] strings = { -- "EOcLKvbddZyPxYpb", -- "DncLKvbdPxmAGrqj", -- "DoCjjvbdpxoIHQdY", -- "EPCkKvbdqYoHfqEY", -- "DnbkKvbdezvYdiUX", -- "DnbjjvbdeEoRbXCj", -- "EObkKvbdbsCkUEKB", -- "EOcLKvbdnUtyjiqf", -- "DncLKvbdRWnDcMHc", -- "DoCkKvbdrSUkOLAm", -- "DncLKvbdfNFwGmJk", -- "EPDLKvbdvAdYroFI", -- "DoDLKvbdiGibyViu", -- "DncLKvbdYqNEhmFR", -- "DoCkKvbdEARhlzXX", -- "DncLKvbdSZjHsCvA", -- "DncKjvbdqTsgRqkU", -- "DnbjjvbdqAiFAXHd", -- "EPDKjvbdGcjvJaij", -- "DnbkKvbdwtldpxkn", -- "DoDKjvbdYkrETnMN", -- "EPCjjvbdbBWEfQQX", -- "EPCjjvbduMXwAtBX", -- "DncLKvbdbsCkTcia", -- "DoCjjvbdczYpYZRC", -- "EOcKjvbdFeiqmhsq", -- "DoCkKvbdKCicQibx", -- "EOcKjvbdZLrEUOLm", -- "DoCjjvbdaNKbStmH", -- "DoDKjvbdJbjDQjDY", -- "EPCkKvbdemFwGmKL", -- "EPDKjvbdZQleImEq", -- "DncKjvbdZjShPfbG", -- "DnbjjvbdqYnhHREY", -- "DoCkKvbdaRfDIUGL", -- "DoDKjvbdLrWlyuQz", -- "DnbjjvbdZisHofaf", -- "EObjjvbdhtydvrUb", -- "DnbjjvbdRotHKGEX", -- "EObjjvbdNeEThhkE", -- "EPCjjvbdZtJJZESn", -- "DoDKjvbdnPyxvLYb", -- "EPDKjvbdeEoRbWbj", -- "EOcLKvbdFxttaEXb", -- "EObjjvbddwystRez", -- "EPCjjvbdJpzEnenF", -- "DnbkKvbdTppntuIN", -- "EPCkKvbdTukpKUBR", -- "DnbkKvbdhlFEOUcZ", -- "EObkKvbdlhdUQuRa", -- "DnbjjvbdkClKqHUg", -- "EOcKjvbdqTtGqqkU", -- "DncKjvbdtkwvaUBX", -- "DoDKjvbdsQWOjCuf", -- "DncLKvbdEKIJuwjA", -- "DncKjvbdGLErcIMu", -- "EOcLKvbdNPwpumfs", -- "EObkKvbdnVUzLJrG", -- "DoCkKvbdcTDKsdKB", -- "DncKjvbdKRZdoFme", -- "EOcLKvbdemFvgNKL", -- "EPCkKvbdznopdblY", -- "EPDLKvbdOYPVzdOU", -- "DnbjjvbdsZlPsAhO", -- "DoDLKvbdKCjDRKDY", -- "DoCkKvbdhuZeXSVC", -- "EPDKjvbdOStVgEtp", -- "DncLKvbdvwMAvBWV", -- "EPDKjvbdBcoaWJlf", -- "EOcKjvbdZxdKODMS", -- "DoCjjvbdbsCkTcjB", -- "EOcLKvbdwWlAuaWV", -- "DnbjjvbdFejRnJUR", -- "DnbjjvbdmIdTqVSB", -- "DnbkKvbdqBIeAWhE", -- "DncKjvbdrMzJyMIJ", -- "DoCkKvbdZGvdAOsJ", -- "DncLKvbdjggLfFnL", -- "DoCjjvbdYqNFJMdq", -- "DoCkKvbdqZPHfqDx", -- "DncLKvbdOEdThiLE", -- "DoCkKvbdZirgpGaf", -- "EPDLKvbdziuQPdSt", -- "EObkKvbdKQyeOenF", -- "DoDLKvbduaDySndh", -- "DoCjjvbdVUNUGLvK", -- "DncKjvbdAMhYrvzY", -- "DnbkKvbdnQZxvKxb", -- "EPCjjvbdBhjakJFj", -- "DncLKvbdmfeYNNfy", -- "DoDLKvbdjlbLydfo", -- "DoDLKvbdpyPIGpcx", -- "EOcLKvbdnVUzLJqf", -- "DoCjjvbdmJETqVSB", -- "DoDLKvbdJTZAsMxM", -- "DoCkKvbdnQZxvLZC", -- "DoDKjvbdACqwizJQ", -- "DncKjvbdvBEZSoFI", -- "DncKjvbdGckVjCJj", -- "DncLKvbdiMFENtcZ", -- "Dnbjjvbdjuvmcaww", -- "DnbkKvbdZyEKNblS", -- "DoCjjvbduMYXBUBX", -- "DnbjjvbdFWYopNJe", -- "DoDKjvbdelfXGljL", -- "DnbjjvbdakLenmcA", -- "EPDKjvbdfILWRmpg", -- "EObjjvbdSLYeuHLT", -- "DoCjjvbdMfbolotk", -- "EPDLKvbdrRuKnKaN", -- "EOcKjvbdyzdnRhIh", -- "DoDLKvbdGAoRZJzm", -- "DoCjjvbdhlFDnUcZ", -- "EPDLKvbdmpZyVkYb", -- "DncKjvbdTpqPUuIN", -- "DncLKvbdHDjvJaij", -- "EPDLKvbdYlRcsmkm", -- "EPDLKvbdvlvAMdFN", -- "DncKjvbdIsZArmYM", -- "EOcLKvbdegjuqnQg", -- "EOcLKvbdZQmFJNFR", -- "DoCjjvbdZxdJmcMS", -- "EPCkKvbdlZTSTYgU", -- "DoDKjvbdqceJPnWB", -- "DncLKvbdVgwuxGxz", -- "DncKjvbdDnbkLXDE", -- "EPDLKvbdatbHYKsh", -- "DncKjvbdEzsqFLbi", -- "EPDLKvbdnVVZkKRf", -- "EOcKjvbdKeegbBQu", -- "EPCkKvbdKfGHaaRV", -- "EPDKjvbdmIctRVRa", -- "EPCjjvbdRMxBxnUz", -- "DnbjjvbdJYTbILpp", -- "EPCkKvbdTAEiHbPE", -- "EOcLKvbdfelZnGgA", -- "DoCjjvbdOStWGeUp", -- "EOcLKvbdemGXHNJk", -- "DoDKjvbdYTMAmUOx", -- "EPCkKvbdpyOhGpcx", -- "EPCkKvbdAMgxsWzY", -- "DnbjjvbdYkrETnMN", -- "EPDLKvbdUQqPUtgm", -- "DncKjvbdehKurNqH", -- "DoCjjvbdZMSETnLm", -- "DoDKjvbdIHGyyXwg", -- "EObjjvbdXGYzUAPT", -- "DoCjjvbdhbPCeWqR", -- "DoCkKvbdKNADzGuB", -- "DnbjjvbdFeirOJTq", -- "DncLKvbdaRecHtFk", -- "DnbkKvbdzoPpeClY", -- "EObkKvbdZRMeJMeR", -- "DnbjjvbdYfvdAPSi", -- "DncLKvbdJcKCqJcY", -- "EOcLKvbdqvokbhyR", -- "DoDLKvbdrRuLNjaN", -- "DoCjjvbdTlWPBWOi", -- "DoCkKvbdjvWnEBxX", -- "DoDLKvbdTkunaVoJ", -- "DoCkKvbdQZNAHTSK", -- "EObjjvbdqwPkbhyR", -- "EOcLKvbdNHDPlpUk", -- "DncLKvbdIHHZxxYH", -- "DncLKvbdtkxXAtAw", -- "DncLKvbdSCEFMJZL", -- "DnbjjvbdZQmEhldq", -- "DoCjjvbdNGbolotk", -- "DnbjjvbdnCKWwnmu", -- "DncLKvbdzHZMANEw", -- "DoDKjvbdmttykJrG", -- "DnbkKvbdlrZUzSci", -- "EPDKjvbdSKyGVHKs", -- "DoCjjvbdKVuGEFGi", -- "EPCjjvbdCIkBkIej", -- "DncLKvbdzHZMAMeX", -- "DnbkKvbdaSFbgsek", -- "DncLKvbdHDjujBij", -- "DoDKjvbdGZVUaDwb", -- "DnbjjvbdZnnJFEzK", -- "DoCkKvbdtcDUwWOo", -- "DoCkKvbdlBMoNALA", -- "EOcKjvbdNsUWHFUp", -- "DoDLKvbdVUNUFlVj", -- "DnbkKvbdhkdcnUcZ", -- "DncLKvbdLiBkqYAS", -- "EOcKjvbdzoPpdcLx", -- "EPDKjvbdijGIJmXr", -- "EOcKjvbdZisHofaf", -- "DoDLKvbdeOdrkUUS", -- "DoDLKvbdnPyxvKxb", -- "EPDKjvbdIxUBhMRQ", -- "DncLKvbdlhctRUqa", -- "DoDLKvbdmgFXlnGy", -- "DncKjvbdCJKbKiGK", -- "EOcLKvbddndrjtUS", -- "DnbjjvbdkDLjqGuH", -- "DncKjvbdmIcsptqa", -- "DoCkKvbdvvlAvBWV", -- "EObjjvbdjblLQftg", -- "DnbjjvbdCEQBWKMf", -- "DnbjjvbdBdPaVilf", -- "DoCkKvbdZxcjODLr", -- "DoCkKvbdEObjjwCd", -- "EPDKjvbdyTNhlqbH", -- "EPCkKvbdUMVoAvPJ", -- "DncKjvbdUxhUZjoO", -- "DncKjvbdqqtjmkAm", -- "DncKjvbdKfGICBRV", -- "EPCjjvbdVrOXaeLc", -- "EPDLKvbdwXLaWBWV", -- "EPCkKvbdjblKqHUg", -- "DnbjjvbduDCuWuoP", -- "EPDKjvbdNGbpMouL", -- "EObjjvbdBcoaVjNG", -- "DncLKvbdrWpMDIxq", -- "DncLKvbdhaoCdwRR", -- "DnbkKvbdFxtuBDwb", -- "DncKjvbdIjEAKPgE", -- "EOcLKvbduCbuXVoP", -- "DoDKjvbdZtIiZDsO", -- "DnbjjvbdEztRElCi", -- "DncLKvbdxmsHwsJD", -- "DnbjjvbdRbEElIxk", -- "DoDKjvbdWHwvXgYz", -- "EOcKjvbdQlwbYnUz", -- "EOcLKvbdVTltFkuj", -- "DncKjvbdliETptqa", -- "DnbkKvbddoErjtTr", -- "DoCkKvbdgPazvdXh", -- "DncKjvbdySmhlqag", -- "DoCjjvbdbPgHDkzd", -- "DoCkKvbdFWZPomKF", -- "EObjjvbdssSSxydc", -- "EObjjvbdzQnliJwA", -- "EObkKvbdKCjCpibx", -- "EPCjjvbdpyOhHREY", -- "DncLKvbddjJqutzn", -- "EObkKvbdBdQAujMf", -- "EPCkKvbdLAjflbXq", -- "DncLKvbdLBLGlaxR", -- "DoDLKvbdrpWPJbuf", -- "DoCjjvbdEKHiuxKA", -- "DoCjjvbdXsMAlsnx", -- "EObkKvbdptTgSSLU", -- "DoDKjvbdnHFXmNfy", -- "DncKjvbdCJKbKhej", -- "EPCjjvbdhlEdOUby", -- "EOcKjvbdKWUfEFGi", -- "DoDKjvbdZQmFJMdq", -- "EPCjjvbdiGjDZWKV", -- "EObkKvbdVAbQrprZ", -- "DoDKjvbdfekzNgHA", -- "DoDLKvbdnHEwlmgZ", -- "DncKjvbdwzHeexEr", -- "DoCjjvbdmpZxujyC", -- "EPDKjvbdwMvAMcdm", -- "DoCjjvbdfHkVrNqH", -- "EPCkKvbdYzbfRiuy", -- "EPCkKvbdZtIiZDrn", -- "DnbjjvbdjvWnDbYX", -- "DoCjjvbdOStVgEtp", -- "EPDLKvbdZMSETmlN", -- "EPDKjvbdBhjajhej", -- "EPCjjvbddoFTLUUS", -- "DnbkKvbdsQVoJcWG", -- "EPCjjvbdrEFJQNvB", -- "DoCjjvbdMpYRWOGs", -- "EOcLKvbdZirgpHBf", -- "EPDLKvbdyOTIXsJD", -- "DoCkKvbdKRZdnfNe", -- "DnbjjvbdbBWFFoow", -- "EPCjjvbdgFlZnHHA", -- "DnbkKvbdGGJrOIsq", -- "DoDLKvbduDCtwWPP", -- "EObjjvbdNddUIhjd", -- "DnbjjvbdxsNiMqag", -- "EObjjvbddeOrCWbj", -- "EObjjvbdPxmAGsRj", -- "EOcLKvbddeOrCXDK", -- "DoDLKvbddeOrBwCj", -- "DoCjjvbdVqnYCElD", -- "DnbkKvbdUyIUZjoO", -- "EObjjvbdeFOrCXDK", -- "EObkKvbdVrNxCFLc", -- "EObjjvbdTfzmkwWF", -- "EOcKjvbdIHGzZYYH", -- "EPDKjvbdtbbuXWPP", -- "DoCjjvbdZisIQHBf", -- "EObjjvbdbsCkUDjB", -- "EPCkKvbdVwJXudFH", -- "EPDKjvbdrouoKDVf", -- "EPCkKvbdFyVVBEYC", -- "DncLKvbdZnnIeEzK", -- "EPDLKvbdxVNFQxkn", -- "DoDKjvbdpxnggRDx", -- "DoDLKvbdqZOgfpcx", -- "DncKjvbdCIjakJGK", -- "EPCkKvbdCJLBjhej", -- "DoDLKvbdnPzYvKxb", -- "EOcKjvbdqTsgSRkU", -- "EOcLKvbdLBLGlaxR", -- "DoDLKvbdcbTMrAUN", -- "DncLKvbdzitoodSt", -- "DoDKjvbdJvUfDdfi", -- "EOcLKvbdHDjvKCJj", -- "EPCkKvbdeOeTKssr", -- "DnbkKvbdlYrqsYft", -- "DncLKvbdiiehKMxS", -- "DncKjvbdURQoVUhN", -- "DnbkKvbduMYXBUAw", -- "DoDLKvbdSPtHJfEX", -- "EObkKvbdqBJFAWgd", -- "EOcKjvbdFpATWgFy", -- "DoDLKvbdBsBDTfXS", -- "DncKjvbdjhHLfFmk", -- "DoCjjvbdCJKakIfK", -- "DnbkKvbddoFSjtTr", -- "EObkKvbdANIYsWzY", -- "EObjjvbdCTAbtFvr", -- "EObjjvbdrRtkOLAm", -- "DnbkKvbdkxsSTYgU", -- "DoCjjvbdnBiwXnmu", -- "EObjjvbdwtmEqYlO", -- "EPDKjvbdrylQTAhO", -- "DoDLKvbdtbbtvvOo", -- "EPCjjvbdZLrETmlN", -- "EPDLKvbdWXJYWDdg", -- "DoCkKvbdKQzFOfOF", -- "EPCjjvbdwzIFfXeS", -- "DncKjvbdRjyFuHLT", -- "EPDLKvbdULunaWPJ", -- "DncKjvbdUxhTykOn", -- "DnbkKvbdJcKCqKDY", -- "EPDLKvbdcbSmSATm", -- "DnbkKvbdegjurNqH", -- "EPDKjvbdZjTIQGbG", -- "EPCjjvbdiLddNuCy", -- "DoCjjvbdZQldiNEq", -- "EOcLKvbdakMGPODA", -- "EObjjvbdnHEwlmgZ", -- "EOcLKvbdBsAcUGXS", -- "EPCkKvbdiVZdwSUb", -- "EOcLKvbddCTNSAUN", -- "DnbkKvbdEXxMUUUM", -- "DncKjvbdYpldiMeR", -- "DoDKjvbdNddTiIjd", -- "DoDLKvbdZLqdUNlN", -- "EPCkKvbdiBncFWpq", -- "DncLKvbdiCPDEvqR", -- "EOcKjvbdUyHszKoO", -- "DncKjvbdhtydvqtb", -- "EPCjjvbdpxoHgQcx", -- "EObkKvbdkWWnDaxX", -- "DnbjjvbdBhkBkJFj", -- "DoCkKvbdRacdkhyL", -- "EOcLKvbdZjTHpHCG", -- "EPCkKvbdMowqWOGs", -- "DncLKvbdegjurNpg", -- "EObjjvbdfMfWfmKL", -- "EPDLKvbdZirgpGaf", -- "DoDLKvbdiZuFlQnG", -- "DncLKvbdFxuVAcxC", -- "EObkKvbdZisHofaf", -- "EOcKjvbdJSyBSmYM", -- "EPDLKvbdVYgtZkPO", -- "EOcKjvbdRbEFMJYk", -- "DncLKvbdrEFIonWB", -- "DncKjvbdKDJbqJcY", -- "EOcLKvbdhfjCxuiu", -- "EObjjvbdLLAhWAKZ", -- "DoCkKvbdRXNcblID", -- "DoDLKvbdcbSmSATm", -- "EOcLKvbdwWlAvAuu", -- "EObkKvbdiBnbdvpq", -- "DoCkKvbdNQXpumgT", -- "DncLKvbdkVwOECYX", -- "DnbkKvbdfoazwDxI", -- "DoDLKvbdbBWFFpPw", -- "DoDLKvbdvBDxsPEh", -- "EPDKjvbdJqZdoFme", -- "DoDLKvbdIryArmXl", -- "EPCjjvbdANIZSwZx", -- "EPCkKvbdVhYVxGxz", -- "DncKjvbdLAjgNCYR", -- "DncKjvbdxxIjCQZk", -- "DncKjvbdbiNKKewY", -- "EPCjjvbdlrZVZsEJ", -- "EPDKjvbdIryAsMwl", -- "DoCkKvbdtAHRIAAr", -- "EPDKjvbdJmAEZfuB", -- "EPCkKvbdZjSgogBf", -- "DoDLKvbdOXnuzcnU", -- "DnbkKvbdehKvRnQg", -- "EObjjvbdZyDimbkr", -- "DoDKjvbdmajWwoOV", -- "EOcKjvbdkMalZeHP", -- "EOcKjvbdIjEAJpHE", -- "EPCkKvbdDihKVxKA", -- "DncKjvbdNddUIiKd", -- "EObjjvbdqdFIpOWB", -- "DoCkKvbdxnShXsJD", -- "DoDLKvbdjmBkzEfo", -- "EOcLKvbdatagYLTh", -- "DoCjjvbdVhYVxHYz", -- "DnbjjvbdJbjDRKDY", -- "EPCjjvbdLBLHNCYR", -- "DnbjjvbdnGeYNOGy", -- "EOcLKvbdUsmTekvK", -- "EPCjjvbdtkxXBTaX", -- "EPCjjvbdzoPqFCkx", -- "DncKjvbdCIjbKhej", -- "DncKjvbdZLqdTmkm", -- "DoDKjvbdsPunicVf", -- "EOcKjvbdmgFXmNgZ", -- "EObkKvbdiMFENuCy", -- "DoDKjvbdhanbeXRR", -- "EObkKvbdACqwiyhp", -- "DncKjvbdZisIQHBf", -- "EPCjjvbdgQBzwDwh", -- "DnbjjvbdyYJJaoyk", -- "DoDKjvbdxUldqZMO", -- "EObkKvbdkClLQgVH", -- "EPCjjvbdZQldiMeR", -- "EPDLKvbdZyEKOClS", -- "EPDLKvbdcIlikFvx", -- "DoDKjvbdrzMQTBHn", -- "DnbjjvbdVYgtZkPO", -- "DoDLKvbdHEKuiajK", -- "EPCkKvbdczZQXxqC", -- "DoDKjvbdrDdiQNua", -- "DncLKvbdcImKLGWx", -- "DoCjjvbdVYgtZkPO", -- "EPDLKvbdZnnIeFZj", -- "EPDKjvbdMIakqYAS", -- "DoCkKvbdSLYfUgLT", -- "EPDLKvbdiCObdvpq", -- "DnbjjvbdRpUHKFcw", -- "DoDLKvbdIHHZyYXg", -- "EPCjjvbdypoMhiwA", -- "DnbkKvbdCEPaVjMf", -- "DnbkKvbderAvzlDP", -- "DnbkKvbdZQleImFR", -- "EOcKjvbdKRZdneme", -- "DoDLKvbdiBnbeXQq", -- "DncLKvbdEPDKjvcE", -- "EOcLKvbdauCGwkTh", -- "DncLKvbdEvZQPmJe", -- "EPCkKvbdURQnuVIN", -- "DncLKvbdegjvSOQg", -- "EPCjjvbdKaKgMawq", -- "DnbkKvbdRzKISbvA", -- "DncLKvbdiLdcnUcZ", -- "EPDLKvbdkDMKpfuH", -- "DoDLKvbdRbDdkhyL", -- "DnbjjvbdDwxMUUTl", -- "DnbkKvbdrpWPKCuf", -- "DnbkKvbdNVSqjmAX", -- "DoDKjvbdRbDeMIxk", -- "EOcLKvbdcyxpXyRC", -- "DncLKvbdRMwbYnUz", -- "EObjjvbdqlzJxlHi", -- "DoCkKvbdJYUCIMQp", -- "DncLKvbdLZQjSzuG", -- "EOcKjvbdxVNEqYkn", -- "DnbkKvbdZoOIeFZj", -- "DoCjjvbdBraCtFwS", -- "EOcLKvbdliDsqVSB", -- "EPCkKvbdeATqNXif", -- "DncLKvbdkMbLydgP", -- "EObjjvbdZxdJmbkr", -- "DoCjjvbdraellHLZ", -- "EObkKvbduDCuWvPP", -- "DoCkKvbdpstGrSLU", -- "DoCjjvbdLGFgbBQu", -- "DnbkKvbdhtzFWquC", -- "EObjjvbdoAKztHdO", -- "EPDLKvbdatafxKtI", -- "EPDKjvbdkWXNcaww", -- "DoCkKvbdwkXEHzzG", -- "EObkKvbdmgEwmNgZ", -- "DncKjvbdBiLCLJFj", -- "DoCjjvbdeOdsKssr", -- "EOcLKvbdfILWSORH", -- "EObkKvbdCDpAujMf", -- "EPDKjvbdKDKDQibx", -- "DoDKjvbdVUMtGLuj", -- "EObkKvbdrXQMCiYq", -- "DncKjvbdePEsLTtS", -- "DncLKvbdDxYLtUTl", -- "EPCkKvbdGYuVBEYC", -- "DncLKvbdNeEUIiKd", -- "EPCkKvbdpxoIHRDx", -- "EObjjvbdFkEsDHlu", -- "EObjjvbdssSSxzFD", -- "DoCkKvbdUtNTfMVj", -- "DnbjjvbdJcKDRKDY", -- "DncKjvbdqiAKEmOe", -- "DoDKjvbdtlXwAtBX", -- "DnbkKvbdxmsIYTIc", -- "EObkKvbdLrXMzUpz", -- "DoCjjvbdkxsSSxft", -- "DncKjvbdQlwaxnUz", -- "EObkKvbdjhGlFfNk", -- "EPCkKvbdxsNhmRag", -- "DoDLKvbdMfcPmQUk", -- "DoDKjvbdQvnEDLhD", -- "EObjjvbdVgxVxHYz", -- "DoDLKvbdlrYtyrdJ", -- "DoCjjvbdezvYeIsw", -- "DncLKvbdNddTiIjd", -- "EPDLKvbdGGJrNiUR", -- "EPDLKvbdRzJhTDWA", -- "EPCjjvbdvvkaWBVu", -- "EOcKjvbdRXNdCkgc", -- "EOcKjvbdQZNAHTSK", -- "EPCkKvbdsCGNLfkZ", -- "EOcLKvbdDwwktTsl", -- "EOcLKvbdqlzJyLgi", -- "EOcLKvbdxsNiMqag", -- "EOcLKvbdhzVFlROG", -- "EOcKjvbdEztRFMCi", -- "DnbkKvbdqiAJdmPF", -- "EPDLKvbdjcMKqGtg", -- "EObkKvbdTlWOaWOi", -- "EPDLKvbdURRPUuHm", -- "DoDKjvbdelfWgNKL", -- "EOcLKvbdGAnqZJzm", -- "EObjjvbdGZUuAdXb", -- "DoDLKvbduLwwAtAw", -- "DoCjjvbdZjTIQGbG", -- "EPCjjvbdRNXbYnUz", -- "EPDLKvbdiLeENtby", -- "EObjjvbdMowpunGs", -- "EOcKjvbdbiNJjevx", -- "DoDKjvbdEYYLstTl", -- "DoDLKvbdqUTfrRjt", -- "DoDKjvbdbsCkUEJa", -- "DoDKjvbdXsMBNUPY", -- "EPCjjvbdRNXaxnUz", -- "DoDLKvbdNGcQNQUk", -- "DnbjjvbdEARiMywX", -- "EPDKjvbdSKxfUfkT", -- "DncKjvbdhtyeXRtb", -- "DncKjvbdZLqcsnLm", -- "EObkKvbdZnmheEzK", -- "EObjjvbdtbcUvuno", -- "DnbjjvbdrzMQTBHn", -- "DnbjjvbdDwwktTsl", -- "EPDKjvbdkxsSTYgU", -- "DoDKjvbdIryArlxM", -- "DoDKjvbdnBivxOnV", -- "DoDKjvbdeATplwif", -- "EOcLKvbdKeegbApu", -- "EPCjjvbdMgDQMotk", -- "DoCjjvbduCbtwWOo", -- "DnbkKvbdyNsHwrhc", -- "DnbkKvbdtvNxJpsA", -- "EOcLKvbdqAheAWgd", -- "DoCkKvbdURQoUtgm", -- "EOcKjvbdqceIpOWB", -- "DoCkKvbdVwIwudFH", -- "DnbkKvbdbLMFnmcA", -- "EOcLKvbdZjTHpHBf", -- "EOcKjvbdRXNdCkhD", -- "EPDLKvbdiHJcZViu", -- "DoCjjvbdxxIjCPzL", -- "DnbkKvbdBcpBWJmG", -- "EPCkKvbdZyEKOCkr", -- "EPDKjvbdOTUWHFVQ", -- "DoCjjvbdIGgZxwwg", -- "EPDLKvbdFjeSbhMu", -- "EPDLKvbdhgKCxvJu", -- "EOcLKvbdNsUWGdtp", -- "EPDKjvbduVnXipsA", -- "DncLKvbdGYuVBEXb", -- "EPDLKvbdZtIhyESn", -- "DoDKjvbdZxdJmcLr", -- "DoCjjvbdUsltGLuj", -- "DoDKjvbdDoDLKvbd", -- "DncLKvbdrDdhpNvB", -- "EPDLKvbdKCjDRJbx", -- "DoDLKvbdxLWdHzyf", -- "EObkKvbdrzMQTAhO", -- "EOcLKvbdOFDtJJKd", -- "EPCkKvbdrSVKmjaN", -- "EOcKjvbdWWiYVdEg", -- "EOcKjvbdWWhwvDdg", -- "DncKjvbdpstHRqjt", -- "EPCkKvbdKWVFceGi", -- "DoCkKvbdZjShPfbG", -- "DoCkKvbdSxKlNzkY", -- "EPDLKvbdIwtCHkqQ", -- "EOcKjvbdsCGNLgLZ", -- "DncKjvbdzaAOfgCM", -- "DoDLKvbdxmrhYSiD", -- "DncLKvbdfMfWgMjL", -- "EPDKjvbdqFdEsuaI", -- "EOcLKvbdiLeDnUcZ", -- "DoCjjvbdKVuFceHJ", -- "DoCjjvbdfekzNgHA", -- "EOcKjvbdOFEThiLE", -- "EPDLKvbdqceJPnWB", -- "DoDLKvbduCbtwWOo", -- "DncKjvbdTqROtuIN", -- "DncKjvbdpedFUWBI", -- "DoDLKvbdrEFJQNua", -- "DoDLKvbdyXhjCPyk", -- "EPCkKvbdJYUBhLqQ", -- "EPCkKvbdtcCuXVno", -- "DoDLKvbdZLrEUOLm", -- "EPCkKvbdpstGrRjt", -- "DncLKvbddePSCXCj", -- "EObkKvbdauCHXjsh", -- "DoDLKvbdkHfkefNk", -- "EObjjvbdMRwMzUpz", -- "EObjjvbdaMkCTVNH", -- "DoCkKvbdGGJrNhtR", -- "EPDLKvbdvBDxrneI", -- "EPDLKvbdIHHZxwxH", -- "EOcLKvbdrJAJdmPF", -- "EOcKjvbdGZUuAdXb", -- "EOcLKvbdbUbHYLUI", -- "DnbjjvbdJzofYEAN", -- "EPDKjvbdFxtuBDxC", -- "DnbkKvbdQvnDbkgc", -- "EPDKjvbdJmADzGta", -- "DoDKjvbdZRMdhleR", -- "DnbkKvbdsrqsZZeD", -- "EObkKvbdrovPJbuf", -- "EPCjjvbddeOqbXCj", -- "EObjjvbdtcDVXVoP", -- "DncKjvbdMfbpNQVL", -- "DoCkKvbdhbPCeXQq", -- "DoCkKvbdNHComQVL", -- "EObjjvbdvBDxroFI", -- "EPCjjvbdnBivwoNu", -- "EObjjvbdbhljKewY", -- "EPDKjvbdZyDimcMS", -- "EObkKvbdWSOXbElD", -- "EOcKjvbdTfznMXVe", -- "EPCjjvbdZtJJYcsO", -- "DoCjjvbdRjxfVHLT", -- "DoCkKvbdVTltGMVj", -- "DncKjvbdYfwEAOri", -- "DncKjvbdYkrEUOMN", -- "EObkKvbdqGEEsuaI", -- "DncLKvbdjJfHimXr", -- "EPDLKvbddndsLUTr", -- "DnbkKvbdqBJFAWhE", -- "EPDLKvbdEOcKjwDE", -- "EPCkKvbdtvOYJqTA", -- "DncLKvbdkyTRsZHU", -- "DoCjjvbdTppnuVIN", -- "DncLKvbdwyhFeweS", -- "DncKjvbdsBelkgKy", -- "DoCjjvbdKDKCqJcY", -- "DoCjjvbdkClKqHVH", -- "DoCjjvbdcTCjtDia", -- "EPDLKvbdUVkpJtAq", -- "EPDLKvbdRyjITCvA", -- "DnbjjvbdJuuFcdgJ", -- "DoDKjvbdrJAJdmOe", -- "DncKjvbdJcJbqKCx", -- "DoDLKvbdJcJbqJcY", -- "DoDKjvbdeEoSCXDK", -- "DoDLKvbdSwjlNzkY", -- "EObjjvbdzitopDrt", -- "DoCkKvbdKWVGEEgJ", -- "DncKjvbdpssfqrKt", -- "EOcLKvbdUMWPBVoJ", -- "DncKjvbdyzdmrIIh", -- "EPCjjvbdxUldqZLn", -- "DoDLKvbdySnImRbH", -- "DoCjjvbdGdKvJaij", -- "DoCkKvbdxZgeewdr", -- "EObkKvbdiLddNuDZ", -- "DnbjjvbdSCDdkiZL", -- "DncKjvbdznpREcMY", -- "EOcLKvbdaRebhTfL", -- "DnbjjvbdZQldiMdq", -- "EPCjjvbdbrbjtEKB", -- "EOcKjvbdEARiMzXX", -- "DoDLKvbdXrkaNTnx", -- "EPCkKvbdQZNAHTRj", -- "DoDLKvbdEzspeLcJ", -- "EPCjjvbduVnYKRTA", -- "EObjjvbdJXtBhMQp", -- "EPDKjvbdeOdrjssr", -- "EPCjjvbdLqwMytpz", -- "EPDKjvbdUMVoBVoJ", -- "DncKjvbdRpUGifDw", -- "EPDLKvbdZyDinDLr", -- "DnbkKvbdNrsufeVQ", -- "EPCkKvbdZMSDtNlN", -- "EPCkKvbdySnJNSCH", -- "EPCjjvbdfMevfljL", -- "DncLKvbdXsMBNTnx", -- "DnbkKvbdpxoHfqDx", -- "DncLKvbdUQpntthN", -- "DncKjvbdIsZArlwl", -- "DoDLKvbdZGwEAOsJ", -- "EOcKjvbdVvhwvDdg", -- "EOcLKvbduWNxJqTA", -- "EPCjjvbdHEKvJaij", -- "DoDKjvbdrpWOjCuf", -- "DncLKvbdrpWOjDVf", -- "DoCjjvbdIHGzYwwg", -- "DoDLKvbdpxoIGqEY", -- "DoDLKvbdJcJbqKDY", -- "DoCjjvbdRWmdClHc", -- "EPCjjvbdFWYopNJe", -- "DncKjvbdmfdwlmfy", -- "DoCkKvbdxUleQxlO", -- "EObjjvbdnGdxMnGy", -- "EPCjjvbdvvlAvBVu", -- "DncLKvbddndsKssr", -- "EObjjvbdZMRcsnLm", -- "EOcKjvbdFxttaEXb", -- "DncKjvbdVUNTfMVj", -- "EOcLKvbdNrtWHFUp", -- "DoDKjvbdwuMdqYlO", -- "EPDLKvbdrXPkbhxq", -- "EObjjvbdrEFIpNua", -- "EObjjvbdziuQQDrt", -- "EOcLKvbdqYoIGpcx", -- "DnbjjvbdsQVoJcVf", -- "EObkKvbdkDMKpgUg", -- "EObjjvbdvBDyTPFI", -- "DncKjvbduCbuWvOo", -- "EPCjjvbdkVvnECYX", -- "DncLKvbdZGvdAOri", -- "DoCkKvbdrXPlDJZR", -- "EOcLKvbduCcVWvOo", -- "DoDKjvbdCEPaWJlf", -- "EPDKjvbddoErjssr", -- "DncKjvbdACqxKZiQ", -- "EPCjjvbdUVlPitAq", -- "EPDKjvbdjJfHjMxS", -- "EObkKvbdAMhYsWzY", -- "DoDKjvbdnBivxOmu", -- "EOcLKvbdbiNKKfXY", -- "EPDKjvbdYqMeIleR", -- "EObkKvbdJmADygUa", -- "EObjjvbdEPDLLWcE", -- "EPCjjvbdrXPkcIxq", -- "EOcLKvbdliDtQtqa", -- "DoCjjvbdmoyxujyC", -- "EPDLKvbddoFTLTsr", -- "EOcLKvbdCWzdJEpW", -- "DnbjjvbdrEEhpOWB", -- "DoDKjvbdZLrDtNkm", -- "EOcLKvbdLFfHbAqV", -- "EOcKjvbdmttzLKSG", -- "EOcLKvbdmbJvwoOV", -- "EOcKjvbdUaCQrqSZ", -- "DnbjjvbdmgExMnGy", -- "EPDKjvbddndrkUUS", -- "EObkKvbdDwwkstTl", -- "DoCkKvbdcJMjLFwY", -- "DnbjjvbdaNLBruMg", -- "DoDLKvbdQYmAHTRj", -- "DnbkKvbdsQWOicWG", -- "EObkKvbdMRwMzUpz", -- "DoDLKvbdZshiZDrn", -- "EPDLKvbdnPzYujxb", -- "EOcKjvbdCEQAujMf", -- "EPDLKvbdKefHbApu", -- "DoDLKvbdYpldiNFR", -- "DoCkKvbdFWZQQNJe", -- "DncLKvbdznpQeCkx", -- "EOcKjvbdnQZxvKxb", -- "DoCkKvbdVBBprpqy", -- "DnbkKvbdZirhPfaf", -- "DnbkKvbdegjvSNqH", -- "EOcLKvbdqdEiPnWB", -- "EObjjvbdBhkCKiGK", -- "EObjjvbdxZgfGYFS", -- "DnbjjvbdNQYQumgT", -- "EPCjjvbdxsNhlrBg", -- "DoCkKvbdQdDApRDr", -- "DoCkKvbdxxIiaoyk", -- "EPDKjvbdFeirNhtR", -- "DoCjjvbdegjvSOQg", -- "EObkKvbdqcdiQNvB", -- "DncLKvbdiMEdNtcZ", -- "DncLKvbdTqRPUthN", -- "EPCkKvbdwygeexFS", -- "DoDKjvbdyTOJMrBg", -- "DncLKvbdeEoRavbj", -- "EPCjjvbdtbcUvvOo", -- "EObjjvbdKCicRJcY", -- "EObjjvbdZyEKODMS", -- "DnbjjvbdmJDtQtrB", -- "DncLKvbdEARhlyvw", -- "DnbjjvbdIxTbILqQ", -- "EOcLKvbdwygefYFS", -- "DoCjjvbdznoqFCkx", -- "DoCjjvbdRpUGjGDw", -- "DncKjvbdhzVGMQnG", -- "EPCjjvbdhkeDnVCy", -- "EObkKvbdOEdUIiKd", -- "DncKjvbdrDeIomua", -- "DncLKvbdiHJbxuiu", -- "EPDKjvbddxZstRez", -- "EPDLKvbdmSYuZrdJ", -- "EObkKvbdVUNUFkvK", -- "EPDLKvbdNeEUJIjd", -- "DoCkKvbdiMEdNuCy", -- "DoDLKvbdRDcApQcr", -- "EPCjjvbdTlVoBVoJ", -- "EObjjvbdLBKgNBwq", -- "EPCkKvbdsCFllHKy", -- "EObjjvbdnVUzLJqf", -- "DoDKjvbdqrVLNkBN", -- "DoCkKvbdqFcdtWBI", -- "DncLKvbdbVCGxLTh", -- "EOcLKvbdeFPSCXCj", -- "EOcLKvbdRpTgKFdX", -- "EObjjvbdznpQeDLx", -- "EOcKjvbdjvXNcaxX", -- "DnbjjvbdHDkWJbJj", -- "DncKjvbdhkeENuDZ", -- "DnbkKvbdnUtyjjSG", -- "DoDKjvbdSQUHJfDw", -- "DncKjvbdbUbHYLUI", -- "EOcLKvbdNsTvGduQ", -- "EPDLKvbdSZigsCvA", -- "DncKjvbdMfcPlpUk", -- "DoDLKvbdxrnIlrBg", -- "DncKjvbdiLdcnVCy", -- "EPCjjvbdmfeYNOHZ", -- "DoCkKvbdjvWmcaxX", -- "DoDKjvbdbUbHXkUI", -- "DncKjvbdBhkBjiFj", -- "DoDLKvbdNHColpVL", -- "EOcKjvbdrykosAhO", -- "DncLKvbdqGDeUVaI", -- "DnbkKvbdhgJcZViu", -- "DnbjjvbduLxXAtBX", -- "EPCjjvbdYpleJNFR", -- "EPDLKvbdQvmdClHc", -- "DnbjjvbdJYTbIMRQ", -- "DncLKvbdznpRFDMY", -- "EOcLKvbdZnmiFEyj", -- "DnbkKvbdrRuLOLAm", -- "EObkKvbdhkeEOUby", -- "DncLKvbdYlSEUOLm", -- "DoCjjvbdhkdcmtby", -- "DncLKvbdddnrCXDK", -- "DoDLKvbdKaLHNCYR", -- "EOcKjvbdcyxpYZQb", -- "EPDLKvbdACqwjZhp", -- "DoCkKvbdBsBDTevr", -- "EObkKvbdeKJqvUzn", -- "EObkKvbdcImJkGWx", -- "DncLKvbdYSlAltOx", -- "DncLKvbdlrYtyrdJ", -- "EObkKvbdKxqJrztf", -- "EOcKjvbdsQWPJcVf", -- "DoDKjvbdkySqrxgU", -- "EObjjvbdeEoRbXCj", -- "EOcKjvbdHDkVjBij", -- "DoDLKvbdCTBCsfXS", -- "DoCjjvbdKCjDQibx", -- "DoCjjvbdlhdTqUrB", -- "DoDKjvbdTulQKTaR", -- "DoCkKvbdRjxetfkT", -- "EPCjjvbdEuyQQNKF", -- "EPCjjvbdDoDKkXDE", -- "DoCjjvbdsQWPJbuf", -- "DoDKjvbdhuZdvqtb", -- "EPDLKvbdiHKCyWJu", -- "EPDLKvbdLFegaaQu", -- "DoCjjvbdqZPHgRDx", -- "DncKjvbdUWMPjUAq", -- "DoDLKvbdTYKkmzjx", -- "DoDKjvbdegjvSOQg", -- "DnbkKvbdUtNTekvK", -- "EObkKvbdNsTvGeVQ", -- "DoDLKvbdfNFvgMjL", -- "EOcLKvbdZQmEiNEq", -- "EPDKjvbdBraDTfWr", -- "EPDKjvbdNGcQNQVL", -- "EPDLKvbdZyEKODMS", -- "EOcKjvbdBvzdIdpW", -- "EPCjjvbdACqwiyiQ", -- "DoCjjvbddePRawCj", -- "EPDKjvbdWWiXucdg", -- "DoDKjvbdWexzUAPT", -- "DnbjjvbdwXMBWBWV", -- "EOcLKvbdUyHszLOn", -- "EPCkKvbdOYOuzcnU", -- "EPCkKvbdhancEwQq", -- "DnbkKvbdjggLefOL", -- "EPCkKvbdFjdsDIMu", -- "DoDKjvbdrSUjmkBN", -- "DoDLKvbdZjTIQGaf", -- "DoDKjvbdMgDPmPtk", -- "EPDLKvbdWRmwbFMD", -- "DoCkKvbdzROmJKXA", -- "DnbkKvbdrDdiQNvB", -- "DnbjjvbduDCtwVoP", -- "EOcLKvbdCIjbLJFj", -- "EPDKjvbdXrkaMsnx", -- "EPDKjvbdVhXvXfxz", -- "DncKjvbdhbPDEwRR", -- "DoCkKvbdpxoHgQcx", -- "DoCkKvbduMXwBUBX", -- "EObjjvbdNeEThhjd", -- "DoCjjvbdirzhrkJz", -- "DoDLKvbdaMkCTUlg", -- "DncLKvbdWRnYBeLc", -- "DnbjjvbdGBPRZJzm", -- "EOcLKvbdeOeSjstS", -- "DoDLKvbdmIctRVSB", -- "DoCjjvbdZxdJnDMS", -- "DoCkKvbdRpTgKFcw", -- "DncLKvbdTukojTaR", -- "DnbjjvbdKRZdoFme", -- "DnbkKvbdURQoVUhN", -- "DoDLKvbdyYJKBozL", -- "EObkKvbdfNFwHMjL", -- "DoDLKvbdZisIQHBf", -- "EObkKvbdqFcdsuaI", -- "DncLKvbdzoPqFDLx", -- "DoDKjvbdSKxeuHLT", -- "EPDKjvbdsBemLfjy", -- "DoCjjvbdJbjCqJcY", -- "DoCjjvbdNPxRVnGs", -- "DncLKvbdGcjvJbKK", -- "EOcKjvbdrWpMDIxq", -- "EOcLKvbdQdDApQcr", -- "DoDKjvbdZMRdTnLm", -- "EOcLKvbddxZssrFz", -- "EObjjvbdUtNTfLuj", -- "EPCjjvbdLLBIWAKZ", -- "DoCkKvbdgFlZmfgA", -- "EPCjjvbdUVkoitAq", -- "DoDKjvbdDncKjvcE", -- "DoDLKvbdRpUHJfEX", -- "EPDKjvbdLqvlzVQz", -- "EPDKjvbdZMRdUOLm", -- "EOcLKvbdCJLBkIfK", -- "DncKjvbdaSFbhUFk", -- "EPDLKvbdZoNheEzK", -- "DncKjvbdUVlPjUAq", -- "DnbkKvbdKNADyfuB", -- "EObkKvbdZdwfzghb", -- "EPDLKvbdZtIhxcrn", -- "EObkKvbdGckViajK", -- "DncLKvbdFfJqmiUR", -- "DncKjvbdKWUfDdgJ", -- "DoDKjvbdMtrqjmAX", -- "EOcLKvbdsQWPKDVf", -- "DoCjjvbdwtleRZMO", -- "EObjjvbduaDxsPEh", -- "EPDLKvbdKxqJrzuG", -- "EOcKjvbdVAaprprZ", -- "EObjjvbdEuxopMjF", -- "DnbjjvbdyOTHwriD", -- "EPDLKvbdrpVnibvG", -- "EPDKjvbdkWWnDaww", -- "DncLKvbdrXPkbiYq", -- "DoDLKvbddxZssqez", -- "EOcLKvbdHDkWJbJj", -- "DncLKvbdEPCkLWcE", -- "DnbkKvbdEXwkstTl", -- "EObjjvbdqiAKEmOe", -- "DncLKvbdjAQGaQGj", -- "EPCjjvbdNeDtJJKd", -- "EPCjjvbdvwMBWBVu", -- "EPDKjvbdFejSOItR", -- "EOcLKvbdNPwqWOHT", -- "EPDKjvbdbsCjscia", -- "EObkKvbdyYIiaoyk", -- "DoDKjvbdLZQirzuG", -- "EObjjvbdSLZGVGjs", -- "DoCjjvbdAMgxsWzY", -- "DoDLKvbdEObjjwCd", -- "DnbkKvbdsPvOicWG", -- "EPCkKvbdrJAKElne", -- "EPCkKvbdauCGwjsh", -- "DncLKvbdegkWRnQg", -- "EPCkKvbdYpmEiNFR", -- "DoDKjvbduaDxsPFI", -- "DoCjjvbdcyxoxYqC", -- "DoCkKvbdkMakzFHP", -- "DnbjjvbdJbibqJbx", -- "DnbkKvbdWWhxWDeH", -- "DoCjjvbdssRsYzFD", -- "DoDKjvbdpyPIHRDx", -- "DncLKvbdwNWANDeN", -- "DoDKjvbdJYUBglRQ", -- "EObkKvbdXnRAYVVt", -- "DoCjjvbdUWLpKTaR", -- "DoDKjvbdTqROttgm", -- "EPCkKvbdVqnXaeMD", -- "EObjjvbdADRwiyiQ", -- "DoDKjvbdlrZUyrci", -- "EPDKjvbdvAdZSndh", -- "DoCkKvbdzoQQeDLx", -- "DnbkKvbdSQUGjFdX", -- "EOcLKvbdqBJFAXIE", -- "EObkKvbdSCEFLiZL", -- "DnbjjvbdzoQQdcMY", -- "DnbkKvbdpxngfqEY", -- "DncLKvbdbsDLUEKB", -- "DoCjjvbdXrlBMtOx", -- "EObjjvbdKCjDQicY", -- "DncLKvbdLrWlzUpz", -- "EObjjvbdaaWEfQQX", -- "EObjjvbdtlYWaTaX", -- "DnbkKvbdMowpunGs", -- "EObkKvbdSLYeuHKs", -- "EObkKvbdTAEhhCOd", -- "EPCkKvbdmSYtyrci", -- "DncLKvbdYkqcsnLm", -- "DoDLKvbdrylQTAgn", -- "DncLKvbdJXtCIMRQ", -- "EObkKvbdSBdElIyL", -- "DoDLKvbdwygefYFS", -- "DncKjvbdyXhibPzL", -- "EPCjjvbduaDxsPFI", -- "EObjjvbdZoNiFEzK", -- "EPCjjvbdkNBkyeHP", -- "EPCkKvbdWRnXadlD", -- "DncLKvbdRWmdDLhD", -- "DnbkKvbdmSYtzTDi", -- "EOcKjvbdkVwODbXw", -- "DncLKvbdQlxCZOUz", -- "EObjjvbdbhlijfXY", -- "EOcLKvbdXmqAXtut", -- "EOcLKvbdmbKXXnnV", -- "DoDKjvbdkHgMFfOL", -- "EPCkKvbdfekymgHA", -- "DoCjjvbdeKKRvUzn", -- "DoDKjvbdkHfkefNk", -- "DoCjjvbdyqPMiKXA", -- "DnbjjvbdUQqOtuIN", -- "EOcKjvbdEPCkKwDE", -- "DoDLKvbdZRNFIleR", -- "DnbjjvbdRacdlJZL", -- "EOcLKvbdTukoitAq", -- "EOcLKvbdZLrDtOMN", -- "EOcLKvbdgKfzcGAE", -- "EObjjvbdzjVQQESt", -- "EOcLKvbdcIlijevx", -- "EOcKjvbdGKdsDHmV", -- "DncLKvbdKkBHvAJy", -- "EOcKjvbdZMRctOLm", -- "EPCkKvbdADRxKZiQ", -- "EObjjvbdDwxLsssl", -- "EPDLKvbdUxgszLPO", -- "EPCkKvbdSQTfiedX", -- "EPCjjvbdNeEUJIkE", -- "DoDLKvbdpyPHfqDx", -- "DnbkKvbdyOShXsJD", -- "DncLKvbdLiBkpxAS", -- "DoDKjvbdaaWEepQX", -- "DoCjjvbdWSOYBeLc", -- "EOcKjvbdLFegbAqV", -- "EPDKjvbdffLzOGgA", -- "EObkKvbdFkErbglu", -- "DncLKvbdiZuFlROG", -- "DncKjvbdegkWRnQg", -- "DoDLKvbdQdDApRDr", -- "EOcLKvbdeYZtURez", -- "EObjjvbdrXQLcIxq", -- "DoDLKvbdxZhGGXeS", -- "DoDLKvbdGGKSOItR", -- "EObjjvbdjhHLfFnL", -- "EOcLKvbdUQpoUuHm", -- "DoCkKvbdXrlBNUPY", -- "DoDKjvbdJXtCIMRQ", -- "DnbkKvbdZMSDsnLm", -- "DncKjvbdCTBDUGWr", -- "DncKjvbdbhlikGXY", -- "DoDKjvbdXmqAYVWU", -- "DnbjjvbdliDsqVRa", -- "DnbkKvbdmajXYOnV", -- "EObjjvbdJpyePGNe", -- "DnbkKvbdCTAcUGXS", -- "DoDLKvbdCDpBVjNG", -- "EOcLKvbdxwhiaoyk", -- "DoDKjvbdxVNFQyMO", -- "EPCkKvbdVvhwvEEg", -- "DnbkKvbdFWYoomJe", -- "EOcKjvbdlrZUysEJ", -- "EPDKjvbdqquKnKaN", -- "DoCkKvbdTkunaVoJ", -- "EOcLKvbdfHkVrOQg", -- "EPDLKvbdiUzFWrUb", -- "DoDLKvbdtAGqIABS", -- "DoCkKvbdZRMdhmEq", -- "DnbkKvbdNsUVfeVQ", -- "EPDLKvbdqwPkbiZR", -- "DoCkKvbdNUsSLNAX", -- "DncKjvbdmpZxvKyC", -- "EPCkKvbdLYqKSztf", -- "EPDKjvbdZyEKODMS", -- "EPDKjvbdNGbomPuL", -- "DncKjvbdZMSDtNlN", -- "EPCjjvbdTXjkmzjx", -- "EObkKvbdBdQAvKMf", -- "EOcLKvbdkySrTYgU", -- "DnbkKvbdZoOIddzK", -- "DoCkKvbdZMSDsmkm", -- "EPCkKvbdCWzdIdpW", -- "DncLKvbdBvzdIdov", -- "DoCjjvbdaRfDHtFk", -- "DnbkKvbdWeyZtAOs", -- "DoDLKvbdnCJwYPOV", -- "DoCjjvbdEYYLstUM", -- "EOcLKvbdwtldqZMO", -- "EPCjjvbdFVxoomKF", -- "EObkKvbdyqPMhiwA", -- "DoDLKvbdkxrrSxgU", -- "DoCjjvbdeATqNYKG", -- "DncLKvbdJKEAJpHE", -- "DoCkKvbddndsLUTr", -- "DnbjjvbdqFceUWBI", -- "DoDLKvbdhkddOUby", -- "DncKjvbdGKdrcIMu", -- "EPCkKvbdelevflik", -- "DoDKjvbdhaoDFWqR", -- "DoCjjvbdYlSDsmlN", -- "EPCjjvbdiZuGLpmf", -- "EObkKvbdnCJvxPNu", -- "DnbkKvbdhzUelRNf", -- "DnbkKvbdZeYGzgiC", -- "DoCkKvbdDnbkLWbd", -- "DnbkKvbdnHFYMmfy", -- "DoCjjvbdePEsKtTr", -- "DnbjjvbdZQmEhleR", -- "DnbkKvbdTkunaVoJ", -- "DnbkKvbdFWZPpMjF", -- "DoDKjvbdSwkMNzkY", -- "EOcLKvbdwtldpyMO", -- "EOcKjvbdhkdcmtby", -- "DoCjjvbdNQXqWNfs", -- "EPDKjvbdzjUpPdTU", -- "DnbjjvbdqceJPnWB", -- "EPDKjvbdUyHsyjoO", -- "EPCkKvbdZshhxcsO", -- "DncKjvbdqAiFAWgd", -- "EObkKvbdgFkzOGgA", -- "DncKjvbdmgFYNNgZ", -- "DoDLKvbdDjHjWYKA", -- "DnbjjvbdJbicRKCx", -- "DnbkKvbdfNFwHMjL", -- "EPCkKvbdWSNxBdlD", -- "EPDLKvbdCJKbLJFj", -- "EPDKjvbdEOcKkXDE", -- "EPCkKvbdVrOYCElD", -- "DnbjjvbdCIkBjhej", -- "DoDLKvbddoFTKstS", -- "DnbjjvbduDDVXVoP", -- "EObkKvbdxwiKCPzL", -- "DnbkKvbdZGvdAPTJ", -- "DoDLKvbdBdPaVjNG", -- "EOcKjvbdIHGzYwxH", -- "DoCjjvbdGFjSNhsq", -- "DnbjjvbdlYsSSxgU", -- "EPCjjvbdqrUjnKaN", -- "EOcLKvbdtvOXipsA", -- "DoDLKvbdrounjCuf", -- "DoCkKvbdFVyPomKF", -- "EOcKjvbdNHCpNPtk", -- "EPDLKvbdWeyZtAPT", -- "EPDKjvbdjcLkQfuH", -- "EOcLKvbdzHZMAMeX", -- "DoCjjvbdUMWPBVni", -- "EOcKjvbdHELWKBjK", -- "DoDKjvbdMgComQUk", -- "DnbkKvbdiGjDZWJu", -- "DncKjvbdyqOmJKXA", -- "DoDKjvbdVZITyjoO", -- "DoCjjvbdzQoNJJwA", -- "EOcLKvbdGAoQxizm", -- "DoDKjvbdatagYKsh", -- "EPDKjvbdSBceMJYk", -- "DoDLKvbdMpYQvOHT", -- "DncKjvbdiCOcFWpq", -- "DoCjjvbdUGznLvvF", -- "EPDLKvbdANIYrvyx", -- "EPCjjvbdIwtCHkpp", -- "EObkKvbdJSyBSmYM", -- "EObkKvbdwuMdqYlO", -- "EObjjvbdmuVZkKSG", -- "DncLKvbdSPsfjFdX", -- "DoDLKvbdSQUHJedX", -- "DoDKjvbdiVZdwSUb", -- "EPDLKvbdRjxfVGkT", -- "EObjjvbdmpZyVkZC", -- "DncLKvbdhzUelROG", -- "EPCkKvbdxVMeRZMO", -- "EOcKjvbdxxIiapZk", -- "EOcKjvbdJSyBTNYM", -- "EPDKjvbdMSXMzUpz", -- "EObkKvbdJmADzHVB" }; -- -- public static void main(java.lang.String[] unused) { -- try { -- BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream("bad.out")); -- for (int i = 0; i < strings.length; i++) { -- out.write(strings[i].getBytes()); -- out.write("\n".getBytes()); -- } -- out.close(); -- } catch (Exception e) { -- System.out.println("Some exception occurred"); -- } -- } --} ---- hotspot/test/runtime/7158800/InternTest.java 2012-08-10 09:29:18.000000000 -0700 -+++ hotspot/test/runtime/7158800/InternTest.java 1969-12-31 16:00:00.000000000 -0800 -@@ -1,80 +0,0 @@ -/* -- * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en el pr\u00F3logo del documento. + InvalidCharInXMLDecl = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en la declaraci\u00F3n XML. + # 2.4 Character Data and Markup +- CDEndInContent = La secuencia de caracteres \"]]>\" no debe aparecer en el contenido, a menos que se utilice para marcar el final de una secci\u00F3n CDATA. ++ CDEndInContent = La secuencia de caracteres "]]>" no debe aparecer en el contenido, a menos que se utilice para marcar el final de una secci\u00F3n CDATA. + # 2.7 CDATA Sections +- CDSectUnterminated = La secci\u00F3n CDATA debe finalizar en \"]]>\". ++ CDSectUnterminated = La secci\u00F3n CDATA debe finalizar en "]]>". + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = La declaraci\u00F3n XML s\u00F3lo puede aparecer al principio del documento. +- EqRequiredInXMLDecl = El car\u00E1cter '' = '' debe aparecer despu\u00E9s de \"{0}\" en la declaraci\u00F3n XML. +- QuoteRequiredInXMLDecl = El valor despu\u00E9s de \"{0}\" en la declaraci\u00F3n XML debe ser una cadena con comillas. +- XMLDeclUnterminated = La declaraci\u00F3n XML debe finalizar en \"?>\". ++ EqRequiredInXMLDecl = El car\u00E1cter '' = '' debe aparecer despu\u00E9s de "{0}" en la declaraci\u00F3n XML. ++ QuoteRequiredInXMLDecl = El valor despu\u00E9s de "{0}" en la declaraci\u00F3n XML debe ser una cadena con comillas. ++ XMLDeclUnterminated = La declaraci\u00F3n XML debe finalizar en "?>". + VersionInfoRequired = La versi\u00F3n es necesaria en la declaraci\u00F3n XML. + SpaceRequiredBeforeVersionInXMLDecl = Es necesario un espacio en blanco antes del pseudo atributo version en la declaraci\u00F3n XML. + SpaceRequiredBeforeEncodingInXMLDecl = Es necesario un espacio en blanco antes del pseudo atributo encoding en la declaraci\u00F3n XML. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=La referencia no est\u00E1 permitida en la secci\u00F3n final. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = El valor de declaraci\u00F3n del documento aut\u00F3nomo debe ser \"yes\" o \"no\", pero nunca \"{0}\". ++ SDDeclInvalid = El valor de declaraci\u00F3n del documento aut\u00F3nomo debe ser "yes" o "no", pero nunca "{0}". ++ SDDeclNameInvalid = Puede que el nombre aut\u00F3nomo de la declaraci\u00F3n XML est\u00E9 mal escrito. + # 2.12 Language Identification +- XMLLangInvalid = El valor del atributo xml:lang \"{0}\" es un identificador de idioma no v\u00E1lido. ++ XMLLangInvalid = El valor del atributo xml:lang "{0}" es un identificador de idioma no v\u00E1lido. + # 3. Logical Structures +- ETagRequired = El tipo de elemento \"{0}\" debe finalizar por la etiqueta final coincidente \"</{0}>\". ++ ETagRequired = El tipo de elemento "{0}" debe finalizar por la etiqueta final coincidente "</{0}>". + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = El tipo de elemento \"{0}\" debe ir seguido de una de estas especificaciones de atributo: \">\" o \"/>\". +- EqRequiredInAttribute = El nombre de atributo \"{1}\" asociado a un tipo de elemento \"{0}\" debe ir seguido del car\u00E1cter '' = ''. +- OpenQuoteExpected = Las comillas de apertura se deben utilizar para el atributo \"{1}\" asociado a un tipo de elemento \"{0}\". +- CloseQuoteExpected = Las comillas de cierre se deben utilizar para el atributo \"{1}\" asociado a un tipo de elemento \"{0}\". +- AttributeNotUnique = El atributo \"{1}\" ya se ha especificado para el elemento \"{0}\". +- AttributeNSNotUnique = El atributo \"{1}\" enlazado al espacio de nombres \"{2}\" ya se ha especificado para el elemento \"{0}\". +- ETagUnterminated = La etiqueta final para el tipo de elemento \"{0}\" debe finalizar en un delimitador ''>''. ++ ElementUnterminated = El tipo de elemento "{0}" debe ir seguido de una de estas especificaciones de atributo: ">" o "/>". ++ EqRequiredInAttribute = El nombre de atributo "{1}" asociado a un tipo de elemento "{0}" debe ir seguido del car\u00E1cter '' = ''. ++ OpenQuoteExpected = Las comillas de apertura se deben utilizar para el atributo "{1}" asociado a un tipo de elemento "{0}". ++ CloseQuoteExpected = Las comillas de cierre se deben utilizar para el atributo "{1}" asociado a un tipo de elemento "{0}". ++ AttributeNotUnique = El atributo "{1}" ya se ha especificado para el elemento "{0}". ++ AttributeNSNotUnique = El atributo "{1}" enlazado al espacio de nombres "{2}" ya se ha especificado para el elemento "{0}". ++ ETagUnterminated = La etiqueta final para el tipo de elemento "{0}" debe finalizar en un delimitador ''>''. + MarkupNotRecognizedInContent = El contenido de los elementos debe constar de marcadores o datos de car\u00E1cter con un formato correcto. + DoctypeIllegalInContent = No se permite un DOCTYPE en el contenido. + # 4.1 Character and Entity References + ReferenceUnterminated = La referencia debe finalizar con un delimitador ';'. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = La referencia debe incluirse totalmente en la misma entidad analizada. +- ElementEntityMismatch = El elemento \"{0}\" debe empezar y finalizar en la misma entidad. ++ ElementEntityMismatch = El elemento "{0}" debe empezar y finalizar en la misma entidad. + MarkupEntityMismatch=Las estructuras del documento XML deben empezar y finalizar en la misma entidad. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{2}) no v\u00E1lido en el valor del atributo \"{1}\" y el elemento es \"{0}\". ++ InvalidCharInAttValue = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{2}) no v\u00E1lido en el valor del atributo "{1}" y el elemento es "{0}". + InvalidCharInComment = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en el comentario. + InvalidCharInPI = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en la instrucci\u00F3n de procesamiento. + InvalidCharInInternalSubset = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en el subconjunto interno del DTD. + InvalidCharInTextDecl = Se ha encontrado un car\u00E1cter XML (Unicode: 0x{0}) no v\u00E1lido en la declaraci\u00F3n de texto. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = El valor del atributo \"{1}\" debe empezar por un car\u00E1cter de comillas dobles o simples. +- LessthanInAttValue = El valor del atributo \"{1}\" asociado a un tipo de elemento \"{0}\" no debe contener el car\u00E1cter ''<''. +- AttributeValueUnterminated = El valor para el atributo \"{1}\" debe finalizar en un car\u00E1cter de comillas coincidentes. ++ QuoteRequiredInAttValue = El valor del atributo "{1}" debe empezar por un car\u00E1cter de comillas dobles o simples. ++ LessthanInAttValue = El valor del atributo "{1}" asociado a un tipo de elemento "{0}" no debe contener el car\u00E1cter ''<''. ++ AttributeValueUnterminated = El valor para el atributo "{1}" debe finalizar en un car\u00E1cter de comillas coincidentes. + # 2.5 Comments +- InvalidCommentStart = El comentario debe empezar por \"<!--\". +- DashDashInComment = La cadena \"--\" no est\u00E1 permitida en los comentarios. +- CommentUnterminated = El comentario debe finalizar en \"-->\". ++ InvalidCommentStart = El comentario debe empezar por "<!--". ++ DashDashInComment = La cadena "--" no est\u00E1 permitida en los comentarios. ++ CommentUnterminated = El comentario debe finalizar en "-->". + COMMENT_NOT_IN_ONE_ENTITY = El comentario no est\u00E1 incluido en la misma entidad. + # 2.6 Processing Instructions + PITargetRequired = La instrucci\u00F3n de procesamiento debe empezar por el nombre del destino. + SpaceRequiredInPI = Es necesario un espacio en blanco entre el destino de la instrucci\u00F3n de procesamiento y los datos. +- PIUnterminated = La instrucci\u00F3n de procesamiento debe finalizar en \"?>\". +- ReservedPITarget = El destino de la instrucci\u00F3n de procesamiento que coincide con \"[xX][mM][lL]\" no est\u00E1 permitido. ++ PIUnterminated = La instrucci\u00F3n de procesamiento debe finalizar en "?>". ++ ReservedPITarget = El destino de la instrucci\u00F3n de procesamiento que coincide con "[xX][mM][lL]" no est\u00E1 permitido. + PI_NOT_IN_ONE_ENTITY = La instrucci\u00F3n de procesamiento no est\u00E1 incluida en la misma entidad. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Versi\u00F3n no v\u00E1lida \"{0}\". +- VersionNotSupported = La versi\u00F3n XML \"{0}\" no est\u00E1 soportada, s\u00F3lo la versi\u00F3n XML 1.0 est\u00E1 soportada. +- VersionNotSupported11 = La versi\u00F3n XML \"{0}\" no est\u00E1 soportada, s\u00F3lo las versiones XML 1.0 y XML 1.1 est\u00E1n soportadas. ++ VersionInfoInvalid = Versi\u00F3n no v\u00E1lida "{0}". ++ VersionNotSupported = La versi\u00F3n XML "{0}" no est\u00E1 soportada, s\u00F3lo la versi\u00F3n XML 1.0 est\u00E1 soportada. ++ VersionNotSupported11 = La versi\u00F3n XML "{0}" no est\u00E1 soportada, s\u00F3lo las versiones XML 1.0 y XML 1.1 est\u00E1n soportadas. + VersionMismatch= Una entidad no puede incluir otra entidad de una versi\u00F3n posterior. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Una representaci\u00F3n decimal debe aparecer inmediatamente despu\u00E9s de \"&#\" en una referencia de caracteres. +- HexdigitRequiredInCharRef = Una representaci\u00F3n hexadecimal debe aparecer inmediatamente despu\u00E9s de \"&#\" en una referencia de caracteres. ++ DigitRequiredInCharRef = Una representaci\u00F3n decimal debe aparecer inmediatamente despu\u00E9s de "&#" en una referencia de caracteres. ++ HexdigitRequiredInCharRef = Una representaci\u00F3n hexadecimal debe aparecer inmediatamente despu\u00E9s de "&#" en una referencia de caracteres. + SemicolonRequiredInCharRef = La referencia de caracteres debe finalizar en el delimitador ';'. +- InvalidCharRef = La referencia de caracteres \"&#{0}\" es un car\u00E1cter XML no v\u00E1lido. ++ InvalidCharRef = La referencia de caracteres "&#{0}" es un car\u00E1cter XML no v\u00E1lido. + NameRequiredInReference = El nombre de la entidad debe aparecer inmediatamente despu\u00E9s de '&' en la referencia de entidades. +- SemicolonRequiredInReference = La referencia a la entidad \"{0}\" debe finalizar en el delimitador '';''. ++ SemicolonRequiredInReference = La referencia a la entidad "{0}" debe finalizar en el delimitador '';''. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = La declaraci\u00F3n de texto s\u00F3lo puede aparecer al principio de la entidad analizada externa. +- EqRequiredInTextDecl = El car\u00E1cter '' = '' debe aparecer despu\u00E9s de \"{0}\" en la declaraci\u00F3n de texto. +- QuoteRequiredInTextDecl = El valor despu\u00E9s de \"{0}\" en la declaraci\u00F3n de texto debe ser una cadena con comillas. +- CloseQuoteMissingInTextDecl = Faltan las comillas de cierre en el valor despu\u00E9s de \"{0}\" en la declaraci\u00F3n de texto. ++ EqRequiredInTextDecl = El car\u00E1cter '' = '' debe aparecer despu\u00E9s de "{0}" en la declaraci\u00F3n de texto. ++ QuoteRequiredInTextDecl = El valor despu\u00E9s de "{0}" en la declaraci\u00F3n de texto debe ser una cadena con comillas. ++ CloseQuoteMissingInTextDecl = Faltan las comillas de cierre en el valor despu\u00E9s de "{0}" en la declaraci\u00F3n de texto. + SpaceRequiredBeforeVersionInTextDecl = Es necesario un espacio en blanco antes del pseudo atributo version en la declaraci\u00F3n de texto. + SpaceRequiredBeforeEncodingInTextDecl = Es necesario un espacio en blanco antes del pseudo atributo encoding en la declaraci\u00F3n de texto. +- TextDeclUnterminated = La declaraci\u00F3n de texto debe finalizar en \"?>\". ++ TextDeclUnterminated = La declaraci\u00F3n de texto debe finalizar en "?>". + EncodingDeclRequired = La declaraci\u00F3n de codificaci\u00F3n es necesaria en la declaraci\u00F3n de texto. + NoMorePseudoAttributes = No se permiten m\u00E1s pseudo atributos. + MorePseudoAttributes = Se esperan m\u00E1s pseudo atributos. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = El comentario debe incluirse totalmente en la misma entidad analizada. + PINotInOneEntity = La instrucci\u00F3n de procesamiento debe incluirse totalmente en la misma entidad analizada. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Nombre de codificaci\u00F3n no v\u00E1lido \"{0}\". +- EncodingByteOrderUnsupported = El orden de bytes proporcionado para la codificaci\u00F3n \"{0}\" no est\u00E1 soportado. ++ EncodingDeclInvalid = Nombre de codificaci\u00F3n no v\u00E1lido "{0}". ++ EncodingByteOrderUnsupported = El orden de bytes proporcionado para la codificaci\u00F3n "{0}" no est\u00E1 soportado. + InvalidByte = Byte no v\u00E1lido {0} de la secuencia UTF-8 de {1} bytes + ExpectedByte = Byte esperado {0} de la secuencia UTF-8 de {1} bytes. + InvalidHighSurrogate = Los bits de sustituci\u00F3n superior en la secuencia UTF-8 no deben exceder 0x10 pero se han encontrado 0x{0}. +- OperationNotSupported = La operaci\u00F3n \"{0}\" no est\u00E1 soportada por el lector {1}. +- InvalidASCII = El byte \"{0}\"no es un miembro del juego de caracteres ASCII (7 bits). ++ OperationNotSupported = La operaci\u00F3n "{0}" no est\u00E1 soportada por el lector {1}. ++ InvalidASCII = El byte "{0}"no es un miembro del juego de caracteres ASCII (7 bits). + CharConversionFailure = Una entidad con una codificaci\u00F3n determinada no debe contener secuencias no permitidas en dicha codificaci\u00F3n. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = El car\u00E1cter (Unicode: 0x{0}) no est\u00E1 permitido en el identificador p\u00FAblico. + SpaceRequiredBetweenPublicAndSystem = Son necesarios espacios en blanco entre publicId y systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Es necesario un espacio en blanco despu\u00E9s de \"<!DOCTYPE\" en la declaraci\u00F3n de tipo de documento. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = El tipo de elemento ra\u00EDz debe aparecer despu\u00E9s de \"<!DOCTYPE\" en la declaraci\u00F3n de tipo de documento. +- DoctypedeclUnterminated = La declaraci\u00F3n de tipo de documento para el tipo de elemento ra\u00EDz \"{0}\" debe finalizar en ''>''. +- PEReferenceWithinMarkup = La referencia de entidad del par\u00E1metro \"%{0};\" no puede producirse en el marcador en el subconjunto interno del DTD. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Es necesario un espacio en blanco despu\u00E9s de "<!DOCTYPE" en la declaraci\u00F3n de tipo de documento. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = El tipo de elemento ra\u00EDz debe aparecer despu\u00E9s de "<!DOCTYPE" en la declaraci\u00F3n de tipo de documento. ++ DoctypedeclUnterminated = La declaraci\u00F3n de tipo de documento para el tipo de elemento ra\u00EDz "{0}" debe finalizar en ''>''. ++ PEReferenceWithinMarkup = La referencia de entidad del par\u00E1metro "%{0};" no puede producirse en el marcador en el subconjunto interno del DTD. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = Las declaraciones de marcador que se incluyen o a las que apunta la declaraci\u00F3n de tipo de documento deben tener el formato correcto. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = La declaraci\u00F3n de atributo para \"xml:space\" debe ofrecerse como un tipo enumerado cuyos \u00FAnicos valores posibles son \"default\" y \"preserve\". ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = La declaraci\u00F3n de atributo para "xml:space" debe ofrecerse como un tipo enumerado cuyos \u00FAnicos valores posibles son "default" y "preserve". + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Es necesario un espacio en blanco despu\u00E9s de \"<!ELEMENT\" en la declaraci\u00F3n de tipo de elemento. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Es necesario un espacio en blanco despu\u00E9s de "<!ELEMENT" en la declaraci\u00F3n de tipo de elemento. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = El tipo de elemento es necesario en la declaraci\u00F3n de tipo de elemento. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Es necesario un espacio en blanco despu\u00E9s del tipo de elemento \"{0}\" en la declaraci\u00F3n de tipo de elemento. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Es necesaria la restricci\u00F3n despu\u00E9s del tipo de elemento \"{0}\" en la declaraci\u00F3n de tipo de elemento. +- ElementDeclUnterminated = La declaraci\u00F3n para el tipo de elemento \"{0}\" debe finalizar en ''>''. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Es necesario un espacio en blanco despu\u00E9s del tipo de elemento "{0}" en la declaraci\u00F3n de tipo de elemento. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Es necesaria la restricci\u00F3n despu\u00E9s del tipo de elemento "{0}" en la declaraci\u00F3n de tipo de elemento. ++ ElementDeclUnterminated = La declaraci\u00F3n para el tipo de elemento "{0}" debe finalizar en ''>''. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un car\u00E1cter ''('' o un tipo de elemento es necesario en la declaraci\u00F3n de tipo de elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un car\u00E1cter '')'' es necesario en la declaraci\u00F3n de tipo de elemento \"{0}\". ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un car\u00E1cter ''('' o un tipo de elemento es necesario en la declaraci\u00F3n de tipo de elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un car\u00E1cter '')'' es necesario en la declaraci\u00F3n de tipo de elemento "{0}". + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un tipo de elemento es necesario en la declaraci\u00F3n de tipo de elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un car\u00E1cter '')'' es necesario en la declaraci\u00F3n de tipo de elemento \"{0}\". +- MixedContentUnterminated = El modelo de contenido mixto \"{0}\" debe finalizar en \")*\" cuando los tipos de elementos secundarios est\u00E1n restringidos. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un tipo de elemento es necesario en la declaraci\u00F3n de tipo de elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un car\u00E1cter '')'' es necesario en la declaraci\u00F3n de tipo de elemento "{0}". ++ MixedContentUnterminated = El modelo de contenido mixto "{0}" debe finalizar en ")*" cuando los tipos de elementos secundarios est\u00E1n restringidos. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Es necesario un espacio en blanco despu\u00E9s de \"<!ATTLIST\" en la declaraci\u00F3n de la lista de atributos. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Es necesario un espacio en blanco despu\u00E9s de "<!ATTLIST" en la declaraci\u00F3n de la lista de atributos. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = El tipo de elemento es necesario en la declaraci\u00F3n de la lista de atributos. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Es necesario un espacio en blanco antes del nombre de atributo en la declaraci\u00F3n de la lista de atributos para el elemento \"{0}\". +- AttNameRequiredInAttDef = Se debe especificar el nombre del atributo en la declaraci\u00F3n de la lista de atributos para el elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Es necesario un espacio en blanco antes del tipo de atributo en la declaraci\u00F3n del atributo \"{1}\" para el elemento \"{0}\". +- AttTypeRequiredInAttDef = Es necesario el tipo de atributo en la declaraci\u00F3n del atributo \"{1}\" para el elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Es necesario un espacio en blanco antes del atributo por defecto en la declaraci\u00F3n del atributo \"{1}\" para el elemento \"{0}\". +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Se ha proporcionado m\u00E1s de una definici\u00F3n de atributo para el mismo atributo \"{1}\" de un elemento determinado \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Es necesario un espacio en blanco antes del nombre de atributo en la declaraci\u00F3n de la lista de atributos para el elemento "{0}". ++ AttNameRequiredInAttDef = Se debe especificar el nombre del atributo en la declaraci\u00F3n de la lista de atributos para el elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Es necesario un espacio en blanco antes del tipo de atributo en la declaraci\u00F3n del atributo "{1}" para el elemento "{0}". ++ AttTypeRequiredInAttDef = Es necesario el tipo de atributo en la declaraci\u00F3n del atributo "{1}" para el elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Es necesario un espacio en blanco antes del atributo por defecto en la declaraci\u00F3n del atributo "{1}" para el elemento "{0}". ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Se ha proporcionado m\u00E1s de una definici\u00F3n de atributo para el mismo atributo "{1}" de un elemento determinado "{0}". + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Debe aparecer un espacio en blanco despu\u00E9s de \"NOTATION\" en la declaraci\u00F3n de atributo \"{1}\". +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = El car\u00E1cter ''('' debe aparecer despu\u00E9s de \"NOTATION\" en la declaraci\u00F3n de atributo \"{1}\". +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = El nombre de notaci\u00F3n es necesario en la lista de tipos de notaci\u00F3n para la declaraci\u00F3n de atributo \"{1}\". +- NotationTypeUnterminated = La lista de tipos de notaciones debe finalizar en '')'' en la declaraci\u00F3n del atributo \"{1}\". +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = El elemento de nombre es necesario en la lista de tipos enumerados para la declaraci\u00F3n del atributo \"{1}\". +- EnumerationUnterminated = La lista de tipos enumerados debe finalizar en '')'' en la declaraci\u00F3n del atributo \"{1}\". +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = El valor de enumeraci\u00F3n \"{1}\" se especific\u00F3 m\u00E1s de una vez en la declaraci\u00F3n del atributo \"{2}\" para el elemento \"{0}\". Todos los NMTOKENS en una declaraci\u00F3n del atributo Enumeration \u00FAnico deben ser distintos. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = El valor de enumeraci\u00F3n \"{1}\" se especific\u00F3 m\u00E1s de una vez en la declaraci\u00F3n del atributo \"{2}\" para el elemento \"{0}\". Todos los nombres NOTATION en una declaraci\u00F3n del atributo NotationType \u00FAnico deben ser distintos. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Debe aparecer un espacio en blanco despu\u00E9s de "NOTATION" en la declaraci\u00F3n de atributo "{1}". ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = El car\u00E1cter ''('' debe aparecer despu\u00E9s de "NOTATION" en la declaraci\u00F3n de atributo "{1}". ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = El nombre de notaci\u00F3n es necesario en la lista de tipos de notaci\u00F3n para la declaraci\u00F3n de atributo "{1}". ++ NotationTypeUnterminated = La lista de tipos de notaciones debe finalizar en '')'' en la declaraci\u00F3n del atributo "{1}". ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = El token de nombre es necesario en la lista de tipos enumerados para la declaraci\u00F3n del atributo "{1}". ++ EnumerationUnterminated = La lista de tipos enumerados debe finalizar en '')'' en la declaraci\u00F3n del atributo "{1}". ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = El valor de enumeraci\u00F3n "{1}" se especific\u00F3 m\u00E1s de una vez en la declaraci\u00F3n del atributo "{2}" para el token "{0}". Todos los NMTOKENS en una declaraci\u00F3n del atributo Enumeration \u00FAnico deben ser distintos. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = El valor de enumeraci\u00F3n "{1}" se especific\u00F3 m\u00E1s de una vez en la declaraci\u00F3n del atributo "{2}" para el elemento "{0}". Todos los nombres NOTATION en una declaraci\u00F3n del atributo NotationType \u00FAnico deben ser distintos. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Debe aparecer un espacio en blanco despu\u00E9s de \"FIXED\" en la declaraci\u00F3n de atributo \"{1}\". ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Debe aparecer un espacio en blanco despu\u00E9s de "FIXED" en la declaraci\u00F3n de atributo "{1}". + # 3.4 Conditional Sections +- IncludeSectUnterminated = La secci\u00F3n condicional incluida debe finalizar en \"]]>\". +- IgnoreSectUnterminated = La secci\u00F3n condicional excluida debe finalizar en \"]]>\". ++ IncludeSectUnterminated = La secci\u00F3n condicional incluida debe finalizar en "]]>". ++ IgnoreSectUnterminated = La secci\u00F3n condicional excluida debe finalizar en "]]>". + # 4.1 Character and Entity References + NameRequiredInPEReference = El nombre de la entidad debe aparecer inmediatamente despu\u00E9s de '%' en la referencia de entidad de par\u00E1metro. +- SemicolonRequiredInPEReference = La referencia de entidad de par\u00E1metro \"%{0};\" debe finalizar en el delimitador '';''. ++ SemicolonRequiredInPEReference = La referencia de entidad de par\u00E1metro "%{0};" debe finalizar en el delimitador '';''. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Es necesario un espacio en blanco despu\u00E9s de \"<!ENTITY\" en la declaraci\u00F3n de entidad. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Es necesario un espacio en blanco entre \"<!ENTITY\" y el car\u00E1cter '%' en la declaraci\u00F3n de entidad de par\u00E1metro. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Es necesario un espacio en blanco despu\u00E9s de "<!ENTITY" en la declaraci\u00F3n de entidad. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Es necesario un espacio en blanco entre "<!ENTITY" y el car\u00E1cter '%' en la declaraci\u00F3n de entidad de par\u00E1metro. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = Es necesario un espacio en blanco entre '%' y el nombre de entidad en la declaraci\u00F3n de entidad de par\u00E1metro. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = El nombre de la entidad es necesario en la declaraci\u00F3n de entidad. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Es necesario un espacio en blanco entre el nombre de entidad \"{0}\" y la definici\u00F3n en la declaraci\u00F3n de entidad. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Es necesario un espacio en blanco entre \"NDATA\" y el nombre de notaci\u00F3n en la declaraci\u00F3n para la entidad \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Es necesario un espacio en blanco antes de \"NDATA\" en la declaraci\u00F3n para la entidad \"{0}\". +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = El nombre de notaci\u00F3n es necesario despu\u00E9s de \"NDATA\" en la declaraci\u00F3n para la entidad \"{0}\". +- EntityDeclUnterminated = La declaraci\u00F3n para la entidad \"{0}\" debe finalizar en ''>''. +- MSG_DUPLICATE_ENTITY_DEFINITION = La entidad \"{0}\" se ha declarado m\u00E1s de una vez. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Es necesario un espacio en blanco entre el nombre de entidad "{0}" y la definici\u00F3n en la declaraci\u00F3n de entidad. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Es necesario un espacio en blanco entre "NDATA" y el nombre de notaci\u00F3n en la declaraci\u00F3n para la entidad "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Es necesario un espacio en blanco antes de "NDATA" en la declaraci\u00F3n para la entidad "{0}". ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = El nombre de notaci\u00F3n es necesario despu\u00E9s de "NDATA" en la declaraci\u00F3n para la entidad "{0}". ++ EntityDeclUnterminated = La declaraci\u00F3n para la entidad "{0}" debe finalizar en ''>''. ++ MSG_DUPLICATE_ENTITY_DEFINITION = La entidad "{0}" se ha declarado m\u00E1s de una vez. + # 4.2.2 External Entities +- ExternalIDRequired = La declaraci\u00F3n de entidad externa debe empezar por \"SYSTEM\" o \"PUBLIC\". +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Es necesario un espacio en blanco entre \"PUBLIC\" y el identificador p\u00FAblico. ++ ExternalIDRequired = La declaraci\u00F3n de entidad externa debe empezar por "SYSTEM" o "PUBLIC". ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Es necesario un espacio en blanco entre "PUBLIC" y el identificador p\u00FAblico. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = Es necesario un espacio en blanco entre el identificador p\u00FAblico y el identificador del sistema. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Es necesario un espacio en blanco entre \"SYSTEM\" y el identificador del sistema. +- MSG_URI_FRAGMENT_IN_SYSTEMID = No se debe especificar el identificador del fragmento como parte del identificador del sistema \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Es necesario un espacio en blanco entre "SYSTEM" y el identificador del sistema. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = No se debe especificar el identificador del fragmento como parte del identificador del sistema "{0}". + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Es necesario un espacio en blanco despu\u00E9s de \"<!NOTATION\" en la declaraci\u00F3n de notaci\u00F3n. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Es necesario un espacio en blanco despu\u00E9s de "<!NOTATION" en la declaraci\u00F3n de notaci\u00F3n. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = El nombre de la notaci\u00F3n es necesario en la declaraci\u00F3n de notaci\u00F3n. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Es necesario un espacio en blanco despu\u00E9s del nombre de la notaci\u00F3n \"{0}\" en la declaraci\u00F3n de notaci\u00F3n. +- ExternalIDorPublicIDRequired = La declaraci\u00F3n para la notaci\u00F3n \"{0}\" debe incluir un identificador p\u00FAblico o del sistema. +- NotationDeclUnterminated = La declaraci\u00F3n para la notaci\u00F3n \"{0}\" debe finalizar en ''>''. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Es necesario un espacio en blanco despu\u00E9s del nombre de la notaci\u00F3n "{0}" en la declaraci\u00F3n de notaci\u00F3n. ++ ExternalIDorPublicIDRequired = La declaraci\u00F3n para la notaci\u00F3n "{0}" debe incluir un identificador p\u00FAblico o del sistema. ++ NotationDeclUnterminated = La declaraci\u00F3n para la notaci\u00F3n "{0}" debe finalizar en ''>''. + + # Validation messages +- DuplicateTypeInMixedContent = El tipo de elemento \"{1}\" ya se especific\u00F3 en el modelo de contenido de la declaraci\u00F3n de elementos \"{0}\". +- ENTITIESInvalid = El valor de atributo \"{1}\" del tipo ENTITIES debe ser el nombre de una o m\u00E1s entidades no analizadas. +- ENTITYInvalid = El valor de atributo \"{1}\" del tipo ENTITY debe ser el nombre de una entidad no analizada. +- IDDefaultTypeInvalid = El atributo de identificador \"{0}\" debe tener un valor por defecto declarado de \"#IMPLIED\" o \"#REQUIRED\". +- IDInvalid = El valor de atributo \"{0}\" del tipo ID debe ser un nombre. +- IDInvalidWithNamespaces = El valor de atributo \"{0}\" del tipo ID debe ser un NCName cuando los espacios de nombres est\u00E9n activados. +- IDNotUnique = El valor de atributo \"{0}\" del tipo ID debe ser \u00FAnico en el documento. +- IDREFInvalid = El valor de atributo \"{0}\" del tipo IDREF debe ser un nombre. +- IDREFInvalidWithNamespaces = El valor de atributo \"{0}\" del tipo IDREF debe ser un NCName cuando los espacios de nombres est\u00E9n activados. +- IDREFSInvalid = El valor de atributo \"{0}\" del tipo IDREFS debe ser uno o m\u00E1s nombres. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = El texto de sustituci\u00F3n de la entidad del par\u00E1metro \"{0}\" debe incluir declaraciones correctamente anidadas cuando la referencia de entidad se utiliza como una declaraci\u00F3n completa. +- ImproperDeclarationNesting = El texto de sustituci\u00F3n de la entidad del par\u00E1metro \"{0}\" debe incluir declaraciones correctamente anidadas. +- ImproperGroupNesting = El texto de sustituci\u00F3n de la entidad del par\u00E1metro \"{0}\" debe incluir pares de par\u00E9ntesis correctamente anidados. +- INVALID_PE_IN_CONDITIONAL = El texto de sustituci\u00F3n de la entidad del par\u00E1metro \"{0}\" debe incluir la secci\u00F3n condicional completa o s\u00F3lo INCLUDE o IGNORE. +- MSG_ATTRIBUTE_NOT_DECLARED = El atributo \"{1}\" se debe haber declarado para el tipo de elemento \"{0}\". +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = El atributo \"{0}\" con el valor \"{1}\" debe tener un valor de la lista \"{2}\". +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = El valor \"{1}\" del atributo \"{0}\" no se debe cambiar mediante la normalizaci\u00F3n (a \"{2}\") en un documento aut\u00F3nomo. +- MSG_CONTENT_INCOMPLETE = El contenido del tipo de elemento \"{0}\" es incompleto, debe coincidir con \"{1}\". +- MSG_CONTENT_INVALID = El contenido del tipo de elemento \"{0}\" debe coincidir con \"{1}\". +- MSG_CONTENT_INVALID_SPECIFIED = El contenido del tipo de elemento \"{0}\" debe coincidir con \"{1}\". Los secundarios del tipo \"{2}\" no est\u00E1n permitidos. +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = El atributo \"{1}\" para el tipo de elemento \"{0}\" tiene un valor por defecto y debe especificarse en un documento aut\u00F3nomo. +- MSG_DUPLICATE_ATTDEF = El atributo \"{1}\" ya se ha declarado para el tipo de elemento \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = El tipo de elemento \"{0}\" no debe declararse m\u00E1s de una vez. +- MSG_ELEMENT_NOT_DECLARED = El tipo de elemento \"{0}\" debe declararse. ++ DuplicateTypeInMixedContent = El tipo de elemento "{1}" ya se especific\u00F3 en el modelo de contenido de la declaraci\u00F3n de elementos "{0}". ++ ENTITIESInvalid = El valor de atributo "{1}" del tipo ENTITIES debe ser el nombre de una o m\u00E1s entidades no analizadas. ++ ENTITYInvalid = El valor de atributo "{1}" del tipo ENTITY debe ser el nombre de una entidad no analizada. ++ IDDefaultTypeInvalid = El atributo de identificador "{0}" debe tener un valor por defecto declarado de "#IMPLIED" o "#REQUIRED". ++ IDInvalid = El valor de atributo "{0}" del tipo ID debe ser un nombre. ++ IDInvalidWithNamespaces = El valor de atributo "{0}" del tipo ID debe ser un NCName cuando los espacios de nombres est\u00E9n activados. ++ IDNotUnique = El valor de atributo "{0}" del tipo ID debe ser \u00FAnico en el documento. ++ IDREFInvalid = El valor de atributo "{0}" del tipo IDREF debe ser un nombre. ++ IDREFInvalidWithNamespaces = El valor de atributo "{0}" del tipo IDREF debe ser un NCName cuando los espacios de nombres est\u00E9n activados. ++ IDREFSInvalid = El valor de atributo "{0}" del tipo IDREFS debe ser uno o m\u00E1s nombres. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = El texto de sustituci\u00F3n de la entidad del par\u00E1metro "{0}" debe incluir declaraciones correctamente anidadas cuando la referencia de entidad se utiliza como una declaraci\u00F3n completa. ++ ImproperDeclarationNesting = El texto de sustituci\u00F3n de la entidad del par\u00E1metro "{0}" debe incluir declaraciones correctamente anidadas. ++ ImproperGroupNesting = El texto de sustituci\u00F3n de la entidad del par\u00E1metro "{0}" debe incluir pares de par\u00E9ntesis correctamente anidados. ++ INVALID_PE_IN_CONDITIONAL = El texto de sustituci\u00F3n de la entidad del par\u00E1metro "{0}" debe incluir la secci\u00F3n condicional completa o s\u00F3lo INCLUDE o IGNORE. ++ MSG_ATTRIBUTE_NOT_DECLARED = El atributo "{1}" se debe haber declarado para el tipo de elemento "{0}". ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = El atributo "{0}" con el valor "{1}" debe tener un valor de la lista "{2}". ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = El valor "{1}" del atributo "{0}" no se debe cambiar mediante la normalizaci\u00F3n (a "{2}") en un documento aut\u00F3nomo. ++ MSG_CONTENT_INCOMPLETE = El contenido del tipo de elemento "{0}" es incompleto, debe coincidir con "{1}". ++ MSG_CONTENT_INVALID = El contenido del tipo de elemento "{0}" debe coincidir con "{1}". ++ MSG_CONTENT_INVALID_SPECIFIED = El contenido del tipo de elemento "{0}" debe coincidir con "{1}". Los secundarios del tipo "{2}" no est\u00E1n permitidos. ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = El atributo "{1}" para el tipo de elemento "{0}" tiene un valor por defecto y debe especificarse en un documento aut\u00F3nomo. ++ MSG_DUPLICATE_ATTDEF = El atributo "{1}" ya se ha declarado para el tipo de elemento "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = El tipo de elemento "{0}" no debe declararse m\u00E1s de una vez. ++ MSG_ELEMENT_NOT_DECLARED = El tipo de elemento "{0}" debe declararse. + MSG_GRAMMAR_NOT_FOUND = El documento no es v\u00E1lido: no se ha encontrado la gram\u00E1tica. +- MSG_ELEMENT_WITH_ID_REQUIRED = Un elemento con el identificador \"{0}\" debe aparecer en el documento. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = La referencia a la entidad externa \"{0}\" no est\u00E1 permitida en un documento aut\u00F3nomo. +- MSG_FIXED_ATTVALUE_INVALID = El atributo \"{1}\" con el valor \"{2}\" debe tener un valor de \"{3}\". +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = El tipo de elemento \"{0}\" ya tiene un atributo \"{1}\" del tipo ID, un segundo atributo \"{2}\" del tipo ID no est\u00E1 permitido. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = El tipo de elemento \"{0}\" ya tiene un atributo \"{1}\" del tipo NOTATION, un segundo atributo \"{2}\" del tipo NOTATION no est\u00E1 permitido. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notaci\u00F3n \"{1}\" debe declararse cuando se hace referencia a la misma en la lista de tipos de notaci\u00F3n para el atributo \"{0}\". +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notaci\u00F3n \"{1}\" debe declararse cuando se hace referencia a la misma en la declaraci\u00F3n de entidad no analizada para \"{0}\". +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = La referencia a la entidad \"{0}\" declarada en una entidad analizada externa no est\u00E1 permitida en un documento aut\u00F3nomo. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = El atributo \"{1}\" es necesario y debe especificarse para el tipo de elemento \"{0}\". ++ MSG_ELEMENT_WITH_ID_REQUIRED = Un elemento con el identificador "{0}" debe aparecer en el documento. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = La referencia a la entidad externa "{0}" no est\u00E1 permitida en un documento aut\u00F3nomo. ++ MSG_FIXED_ATTVALUE_INVALID = El atributo "{1}" con el valor "{2}" debe tener un valor de "{3}". ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = El tipo de elemento "{0}" ya tiene un atributo "{1}" del tipo ID, un segundo atributo "{2}" del tipo ID no est\u00E1 permitido. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = El tipo de elemento "{0}" ya tiene un atributo "{1}" del tipo NOTATION, un segundo atributo "{2}" del tipo NOTATION no est\u00E1 permitido. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notaci\u00F3n "{1}" debe declararse cuando se hace referencia a la misma en la lista de tipos de notaci\u00F3n para el atributo "{0}". ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notaci\u00F3n "{1}" debe declararse cuando se hace referencia a la misma en la declaraci\u00F3n de entidad no analizada para "{0}". ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = La referencia a la entidad "{0}" declarada en una entidad analizada externa no est\u00E1 permitida en un documento aut\u00F3nomo. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = El atributo "{1}" es necesario y debe especificarse para el tipo de elemento "{0}". + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = No debe incluirse un espacio en blanco entre los elementos declarados en una entidad analizada externa con el contenido del elemento en un documento aut\u00F3nomo. +- NMTOKENInvalid = El valor de atributo \"{0}\" del tipo NMTOKEN debe ser un elemento de nombre. +- NMTOKENSInvalid = El valor de atributo \"{0}\" del tipo NMTOKENS debe ser uno o m\u00E1s elementos de nombre. +- NoNotationOnEmptyElement = El tipo de elemento \"{0}\" que se declar\u00F3 como EMPTY no puede declarar el atributo \"{1}\" del tipo NOTATION. +- RootElementTypeMustMatchDoctypedecl = El elemento ra\u00EDz del documento \"{1}\", debe coincidir con la ra\u00EDz DOCTYPE \"{0}\". +- UndeclaredElementInContentSpec = El modelo de contenido del elemento \"{0}\" hace referencia al elemento no declarado \"{1}\". +- UniqueNotationName = La declaraci\u00F3n de la notaci\u00F3n \"{0}\" no es \u00FAnica. Un nombre determinado no debe declararse en m\u00E1s de una declaraci\u00F3n de notaci\u00F3n. ++ NMTOKENInvalid = El valor de atributo "{0}" del tipo NMTOKEN debe ser un token de nombre. ++ NMTOKENSInvalid = El valor de atributo "{0}" del tipo NMTOKENS debe ser uno o m\u00E1s tokens de nombre. ++ NoNotationOnEmptyElement = El tipo de elemento "{0}" que se declar\u00F3 como EMPTY no puede declarar el atributo "{1}" del tipo NOTATION. ++ RootElementTypeMustMatchDoctypedecl = El elemento ra\u00EDz del documento "{1}", debe coincidir con la ra\u00EDz DOCTYPE "{0}". ++ UndeclaredElementInContentSpec = El modelo de contenido del elemento "{0}" hace referencia al elemento no declarado "{1}". ++ UniqueNotationName = La declaraci\u00F3n de la notaci\u00F3n "{0}" no es \u00FAnica. Un nombre determinado no debe declararse en m\u00E1s de una declaraci\u00F3n de notaci\u00F3n. + ENTITYFailedInitializeGrammar = Fallo del validador ENTITYDatatype. Es necesario llamar al m\u00E9todo de inicializaci\u00F3n con una referencia de gram\u00E1tica v\u00E1lida. \t +- ENTITYNotUnparsed = ENTITY \"{0}\"no est\u00E1 sin analizar. +- ENTITYNotValid = ENTITY \"{0}\" no es v\u00E1lida. ++ ENTITYNotUnparsed = ENTITY "{0}"no est\u00E1 sin analizar. ++ ENTITYNotValid = ENTITY "{0}" no es v\u00E1lida. + EmptyList = El valor de tipo ENTITIES, IDREFS y NMTOKENS no puede ser una lista vac\u00EDa. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = La referencia de entidad externa \"&{0};\" no est\u00E1 permitida en un valor de atributo. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = La referencia de entidad externa "&{0};" no est\u00E1 permitida en un valor de atributo. ++ AccessExternalDTD = DTD externa: fallo al leer DTD externa ''{0}'' porque el acceso a ''{1}'' no est\u00E1 permitido debido a una restricci\u00F3n que ha definido la propiedad accessExternalDTD. ++ AccessExternalEntity = Entidad externa: fallo al leer el documento externo ''{0}'' porque el acceso a ''{1}'' no est\u00E1 permitido debido a una restricci\u00F3n que ha definido la propiedad accessExternalDTD. + + # 4.1 Character and Entity References +- EntityNotDeclared = Se hizo referencia a la entidad \"{0}\", pero no se declar\u00F3. +- ReferenceToUnparsedEntity = La referencia de entidad no analizada \"&{0};\" no est\u00E1 permitida. +- RecursiveReference = Referencia de entidad recursiva \"{0}\". (Ruta de acceso de referencia: {1}), +- RecursiveGeneralReference = Referencia de entidad general recursiva \"&{0};\". (Ruta de acceso de referencia: {1}), +- RecursivePEReference = Referencia de entidad de par\u00E1metro recursiva \"%{0};\". (Ruta de acceso de referencia: {1}), ++ EntityNotDeclared = Se hizo referencia a la entidad "{0}", pero no se declar\u00F3. ++ ReferenceToUnparsedEntity = La referencia de entidad no analizada "&{0};" no est\u00E1 permitida. ++ RecursiveReference = Referencia de entidad recursiva "{0}". (Ruta de acceso de referencia: {1}), ++ RecursiveGeneralReference = Referencia de entidad general recursiva "&{0};". (Ruta de acceso de referencia: {1}), ++ RecursivePEReference = Referencia de entidad de par\u00E1metro recursiva "%{0};". (Ruta de acceso de referencia: {1}), + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = La codificaci\u00F3n \"{0}\" no est\u00E1 soportada. ++ EncodingNotSupported = La codificaci\u00F3n "{0}" no est\u00E1 soportada. + EncodingRequired = Una entidad analizada no codificada en UTF-8 o UTF-16 debe contener una declaraci\u00F3n de codificaci\u00F3n. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = El elemento o el atributo no coinciden con la producci\u00F3n del QName: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = El elemento \"{0}\" no puede tener \"xmlns\" como prefijo. +- ElementPrefixUnbound = El prefijo \"{0}\" para el elemento \"{1}\" no est\u00E1 enlazado. +- AttributePrefixUnbound = El prefijo \"{2}\" para el atributo \"{1}\" asociado a un tipo de elemento \"{0}\" no est\u00E1 enlazado. +- EmptyPrefixedAttName = El valor del atributo \"{0}\" no es v\u00E1lido. Los enlaces de espacio de nombres utilizados de prefijo no pueden estar vac\u00EDos. +- PrefixDeclared = El prefijo de espacio de nombres \"{0}\" no se ha declarado. ++ ElementXMLNSPrefix = El elemento "{0}" no puede tener "xmlns" como prefijo. ++ ElementPrefixUnbound = El prefijo "{0}" para el elemento "{1}" no est\u00E1 enlazado. ++ AttributePrefixUnbound = El prefijo "{2}" para el atributo "{1}" asociado a un tipo de elemento "{0}" no est\u00E1 enlazado. ++ EmptyPrefixedAttName = El valor del atributo "{0}" no es v\u00E1lido. Los enlaces de espacio de nombres utilizados de prefijo no pueden estar vac\u00EDos. ++ PrefixDeclared = El prefijo de espacio de nombres "{0}" no se ha declarado. + CantBindXMLNS = El prefijo "xmlns" no puede enlazarse a ning\u00FAn espacio de nombres expl\u00EDcitamente; tampoco puede enlazarse el espacio de nombres para "xmlns" a cualquier prefijo expl\u00EDcitamente. + CantBindXML = El prefijo "xml" no puede enlazarse a ning\u00FAn espacio de nombres que no sea el habitual; tampoco puede enlazarse el espacio de nombres para "xml" a cualquier prefijo que no sea "xml". +- MSG_ATT_DEFAULT_INVALID = El valor por defecto \"{1}\" del atributo \"{0}\" no es legal para las restricciones l\u00E9xicas de este tipo de atributo. ++ MSG_ATT_DEFAULT_INVALID = El valor por defecto "{1}" del atributo "{0}" no es legal para las restricciones l\u00E9xicas de este tipo de atributo. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=El analizador ha encontrado m\u00E1s de \"{0}\"ampliaciones de entidad en este documento; \u00E9ste es el l\u00EDmite impuesto por la aplicaci\u00F3n. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: el analizador ha encontrado m\u00E1s de "{0}"ampliaciones de entidad en este documento; \u00E9ste es el l\u00EDmite impuesto por el JDK. ++ ElementAttributeLimit=JAXP00010002: el elemento "{0}" tiene m\u00E1s de "{1}" atributos, "{1}" es el l\u00EDmite impuesto por el JDK. ++ MaxEntitySizeLimit=JAXP00010003: la longitud de la entidad "{0}" es "{1}", que excede el l\u00EDmite de "{2}" que ha definido "{3}". ++ TotalEntitySizeLimit=JAXP00010004: el tama\u00F1o acumulado "{0}" de las entidades ha excedido el l\u00EDmite de "{1}" que ha definido "{2}". ++ MaxXMLNameLimit=JAXP00010005: el nombre "{0}" ha excedido el l\u00EDmite de "{1}" que ha definido "{2}". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= El elemento \"{0}\" tiene m\u00E1s de \"{1}\" atributos, \"{1}\" es el l\u00EDmite impuesto por la aplicaci\u00F3n. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_fr.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_fr.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* - * 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. +- * published by the Free Software Foundation. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @@ -9077,6815 +6638,56958 @@ - */ - -/* -- * @test -- * @bug 7158800 -- * @run shell/timeout=400 Test7158800.sh -- * @summary This test performs poorly if alternate hashing isn't used for -- * string table. -- * The timeout is handled by the shell file (which kills the process) +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans le prologue du document. + InvalidCharInXMLDecl = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans la d\u00E9claration XML. + # 2.4 Character Data and Markup +- CDEndInContent = La s\u00E9quence de caract\u00E8res \"]]>\" ne doit pas figurer dans le contenu sauf si elle est utilis\u00E9e pour baliser la fin d'une section CDATA. ++ CDEndInContent = La s\u00E9quence de caract\u00E8res "]]>" ne doit pas figurer dans le contenu sauf si elle est utilis\u00E9e pour baliser la fin d'une section CDATA. + # 2.7 CDATA Sections +- CDSectUnterminated = La section CDATA doit se terminer par \"]]>\". ++ CDSectUnterminated = La section CDATA doit se terminer par "]]>". + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = La d\u00E9claration XML ne peut figurer qu'au d\u00E9but du document. +- EqRequiredInXMLDecl = Le caract\u00E8re ''='' doit suivre \"{0}\" dans la d\u00E9claration XML. +- QuoteRequiredInXMLDecl = La valeur suivant \"{0}\" dans la d\u00E9claration XML doit \u00EAtre une cha\u00EEne entre guillemets. +- XMLDeclUnterminated = La d\u00E9claration XML doit se terminer par \"?>\". ++ EqRequiredInXMLDecl = Le caract\u00E8re ''='' doit suivre "{0}" dans la d\u00E9claration XML. ++ QuoteRequiredInXMLDecl = La valeur suivant "{0}" dans la d\u00E9claration XML doit \u00EAtre une cha\u00EEne entre guillemets. ++ XMLDeclUnterminated = La d\u00E9claration XML doit se terminer par "?>". + VersionInfoRequired = La version est obligatoire dans la d\u00E9claration XML. + SpaceRequiredBeforeVersionInXMLDecl = Un espace est obligatoire devant le pseudo-attribut version dans la d\u00E9claration XML. + SpaceRequiredBeforeEncodingInXMLDecl = Un espace est obligatoire devant le pseudo-attribut encoding dans la d\u00E9claration XML. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=R\u00E9f\u00E9rence non autoris\u00E9e dans la section de fin. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = La valeur de d\u00E9claration de document autonome doit \u00EAtre \"oui\" ou \"non\", mais pas \"{0}\". ++ SDDeclInvalid = La valeur de d\u00E9claration de document autonome doit \u00EAtre "oui" ou "non", mais pas "{0}". ++ SDDeclNameInvalid = Le nom de document autonome contenu dans la d\u00E9claration XML est peut-\u00EAtre mal orthographi\u00E9. + # 2.12 Language Identification +- XMLLangInvalid = La valeur d''attribut xml:lang \"{0}\" est un identificateur de langue non valide. ++ XMLLangInvalid = La valeur d''attribut xml:lang "{0}" est un identificateur de langue non valide. + # 3. Logical Structures +- ETagRequired = Le type d''\u00E9l\u00E9ment \"{0}\" doit se terminer par la balise de fin correspondante \"</{0}>\". ++ ETagRequired = Le type d''\u00E9l\u00E9ment "{0}" doit se terminer par la balise de fin correspondante "</{0}>". + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = Le type d''\u00E9l\u00E9ment \"{0}\" doit \u00EAtre suivi des sp\u00E9cifications d''attribut, \">\" ou \"/>\". +- EqRequiredInAttribute = Le nom d''attribut \"{1}\" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment \"{0}\" doit \u00EAtre suivi du caract\u00E8re ''=''. +- OpenQuoteExpected = Des guillemets ouvrants sont attendus pour l''attribut \"{1}\" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment \"{0}\". +- CloseQuoteExpected = Des guillemets fermants sont attendus pour l''attribut \"{1}\" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment \"{0}\". +- AttributeNotUnique = L''attribut \"{1}\" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 pour l''\u00E9l\u00E9ment \"{0}\". +- AttributeNSNotUnique = L''attribut \"{1}\" li\u00E9 \u00E0 l''espace de noms \"{2}\" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 pour l''\u00E9l\u00E9ment \"{0}\". +- ETagUnterminated = La balise de fin pour le type d''\u00E9l\u00E9ment \"{0}\" doit se terminer par un d\u00E9limiteur ''>''. ++ ElementUnterminated = Le type d''\u00E9l\u00E9ment "{0}" doit \u00EAtre suivi des sp\u00E9cifications d''attribut, ">" ou "/>". ++ EqRequiredInAttribute = Le nom d''attribut "{1}" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment "{0}" doit \u00EAtre suivi du caract\u00E8re ''=''. ++ OpenQuoteExpected = Des guillemets ouvrants sont attendus pour l''attribut "{1}" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment "{0}". ++ CloseQuoteExpected = Des guillemets fermants sont attendus pour l''attribut "{1}" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment "{0}". ++ AttributeNotUnique = L''attribut "{1}" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 pour l''\u00E9l\u00E9ment "{0}". ++ AttributeNSNotUnique = L''attribut "{1}" li\u00E9 \u00E0 l''espace de noms "{2}" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 pour l''\u00E9l\u00E9ment "{0}". ++ ETagUnterminated = La balise de fin pour le type d''\u00E9l\u00E9ment "{0}" doit se terminer par un d\u00E9limiteur ''>''. + MarkupNotRecognizedInContent = Le contenu des \u00E9l\u00E9ments doit inclure un balisage ou des caract\u00E8res au format correct. + DoctypeIllegalInContent = Un DOCTYPE n'est pas autoris\u00E9 dans le contenu. + # 4.1 Character and Entity References + ReferenceUnterminated = La r\u00E9f\u00E9rence doit se terminer par un d\u00E9limiteur ';'. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = La r\u00E9f\u00E9rence doit \u00EAtre enti\u00E8rement incluse dans la m\u00EAme entit\u00E9 analys\u00E9e. +- ElementEntityMismatch = L''\u00E9l\u00E9ment \"{0}\" doit commencer et se terminer dans la m\u00EAme entit\u00E9. ++ ElementEntityMismatch = L''\u00E9l\u00E9ment "{0}" doit commencer et se terminer dans la m\u00EAme entit\u00E9. + MarkupEntityMismatch=Les structures de document XML doivent commencer et se terminer dans la m\u00EAme entit\u00E9. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = Un caract\u00E8re XML non valide (Unicode : 0x{2}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans la valeur de l''attribut \"{1}\" et l''\u00E9l\u00E9ment est \"{0}\". ++ InvalidCharInAttValue = Un caract\u00E8re XML non valide (Unicode : 0x{2}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans la valeur de l''attribut "{1}" et l''\u00E9l\u00E9ment est "{0}". + InvalidCharInComment = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans le commentaire. + InvalidCharInPI = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans l''instruction de traitement. + InvalidCharInInternalSubset = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans le sous-ensemble interne de la DTD. + InvalidCharInTextDecl = Un caract\u00E8re XML non valide (Unicode : 0x{0}) a \u00E9t\u00E9 d\u00E9tect\u00E9 dans la d\u00E9claration textuelle. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = La valeur de l''attribut \"{1}\" doit commencer par une apostrophe ou des guillemets. +- LessthanInAttValue = La valeur de l''attribut \"{1}\" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment \"{0}\" ne doit pas contenir le caract\u00E8re ''<''. +- AttributeValueUnterminated = La valeur de l''attribut \"{1}\" doit se terminer par les guillemets correspondants. ++ QuoteRequiredInAttValue = La valeur de l''attribut "{1}" doit commencer par une apostrophe ou des guillemets. ++ LessthanInAttValue = La valeur de l''attribut "{1}" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment "{0}" ne doit pas contenir le caract\u00E8re ''<''. ++ AttributeValueUnterminated = La valeur de l''attribut "{1}" doit se terminer par les guillemets correspondants. + # 2.5 Comments +- InvalidCommentStart = Le commentaire doit commencer par \"<!--\". +- DashDashInComment = La cha\u00EEne \"--\" n'est pas autoris\u00E9e dans les commentaires. +- CommentUnterminated = Le commentaire doit se terminer par \"-->\". ++ InvalidCommentStart = Le commentaire doit commencer par "<!--". ++ DashDashInComment = La cha\u00EEne "--" n'est pas autoris\u00E9e dans les commentaires. ++ CommentUnterminated = Le commentaire doit se terminer par "-->". + COMMENT_NOT_IN_ONE_ENTITY = Le commentaire n'est pas compris dans la m\u00EAme entit\u00E9. + # 2.6 Processing Instructions + PITargetRequired = L'instruction de traitement doit commencer par le nom de la cible. + SpaceRequiredInPI = Un espace est obligatoire entre les donn\u00E9es et la cible de l'instruction de traitement. +- PIUnterminated = L'instruction de traitement doit se terminer par \"?>\". +- ReservedPITarget = La cible de l'instruction de traitement correspondant \u00E0 \"[xX][mM][lL]\" n'est pas autoris\u00E9e. ++ PIUnterminated = L'instruction de traitement doit se terminer par "?>". ++ ReservedPITarget = La cible de l'instruction de traitement correspondant \u00E0 "[xX][mM][lL]" n'est pas autoris\u00E9e. + PI_NOT_IN_ONE_ENTITY = L'instruction de traitement n'est pas comprise dans la m\u00EAme entit\u00E9. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Version \"{0}\" non valide. +- VersionNotSupported = La version XML \"{0}\" n''est pas prise en charge. Seule la version XML 1.0 est prise en charge. +- VersionNotSupported11 = La version XML \"{0}\" n''est pas prise en charge. Seules les versions XML 1.0 et XML 1.1 sont prises en charge. ++ VersionInfoInvalid = Version "{0}" non valide. ++ VersionNotSupported = La version XML "{0}" n''est pas prise en charge. Seule la version XML 1.0 est prise en charge. ++ VersionNotSupported11 = La version XML "{0}" n''est pas prise en charge. Seules les versions XML 1.0 et XML 1.1 sont prises en charge. + VersionMismatch= Une entit\u00E9 ne peut pas inclure une autre entit\u00E9 d'une version ult\u00E9rieure. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Une repr\u00E9sentation d\u00E9cimale doit imm\u00E9diatement suivre la cha\u00EEne \"&#\" dans une r\u00E9f\u00E9rence de caract\u00E8re. +- HexdigitRequiredInCharRef = Une repr\u00E9sentation hexad\u00E9cimale doit imm\u00E9diatement suivre la cha\u00EEne \"&#x\" dans une r\u00E9f\u00E9rence de caract\u00E8re. ++ DigitRequiredInCharRef = Une repr\u00E9sentation d\u00E9cimale doit imm\u00E9diatement suivre la cha\u00EEne "&#" dans une r\u00E9f\u00E9rence de caract\u00E8re. ++ HexdigitRequiredInCharRef = Une repr\u00E9sentation hexad\u00E9cimale doit imm\u00E9diatement suivre la cha\u00EEne "&#x" dans une r\u00E9f\u00E9rence de caract\u00E8re. + SemicolonRequiredInCharRef = La r\u00E9f\u00E9rence de caract\u00E8re doit se terminer par le d\u00E9limiteur ';'. +- InvalidCharRef = La r\u00E9f\u00E9rence de caract\u00E8re \"&#{0}\" est un caract\u00E8re XML non valide. ++ InvalidCharRef = La r\u00E9f\u00E9rence de caract\u00E8re "&#{0}" est un caract\u00E8re XML non valide. + NameRequiredInReference = Le nom de l'identit\u00E9 doit imm\u00E9diatement suivre le caract\u00E8re "&" dans la r\u00E9f\u00E9rence d'entit\u00E9. +- SemicolonRequiredInReference = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 \"{0}\" doit se terminer par le d\u00E9limiteur '';''. ++ SemicolonRequiredInReference = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 "{0}" doit se terminer par le d\u00E9limiteur '';''. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = La d\u00E9claration textuelle ne doit figurer qu'au d\u00E9but de l'entit\u00E9 analys\u00E9e externe. +- EqRequiredInTextDecl = Le caract\u00E8re ''='' doit suivre \"{0}\" dans la d\u00E9claration textuelle. +- QuoteRequiredInTextDecl = La valeur suivant \"{0}\" dans la d\u00E9claration textuelle doit \u00EAtre une cha\u00EEne entre guillemets. +- CloseQuoteMissingInTextDecl = Dans la valeur suivant \"{0}\" dans la d\u00E9claration textuelle, il manque les guillemets fermants. ++ EqRequiredInTextDecl = Le caract\u00E8re ''='' doit suivre "{0}" dans la d\u00E9claration textuelle. ++ QuoteRequiredInTextDecl = La valeur suivant "{0}" dans la d\u00E9claration textuelle doit \u00EAtre une cha\u00EEne entre guillemets. ++ CloseQuoteMissingInTextDecl = Dans la valeur suivant "{0}" dans la d\u00E9claration textuelle, il manque les guillemets fermants. + SpaceRequiredBeforeVersionInTextDecl = Un espace est obligatoire devant le pseudo-attribut version dans la d\u00E9claration textuelle. + SpaceRequiredBeforeEncodingInTextDecl = Un espace est obligatoire devant le pseudo-attribut encoding dans la d\u00E9claration textuelle. +- TextDeclUnterminated = La d\u00E9claration textuelle doit se terminer par \"?>\". ++ TextDeclUnterminated = La d\u00E9claration textuelle doit se terminer par "?>". + EncodingDeclRequired = La d\u00E9claration d'encodage est obligatoire dans la d\u00E9claration textuelle. + NoMorePseudoAttributes = Aucun autre pseudo-attribut n'est autoris\u00E9. + MorePseudoAttributes = D'autres pseudo-attributs sont attendus. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = Le commentaire doit \u00EAtre enti\u00E8rement inclus dans la m\u00EAme entit\u00E9 analys\u00E9e. + PINotInOneEntity = L'instruction de traitement doit \u00EAtre enti\u00E8rement incluse dans la m\u00EAme entit\u00E9 analys\u00E9e. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Nom d''encodage \"{0}\" non valide. +- EncodingByteOrderUnsupported = L''ordre des octets donn\u00E9 pour encoder \"{0}\" n''est pas pris en charge. ++ EncodingDeclInvalid = Nom d''encodage "{0}" non valide. ++ EncodingByteOrderUnsupported = L''ordre des octets donn\u00E9 pour encoder "{0}" n''est pas pris en charge. + InvalidByte = Octet {0} de la s\u00E9quence UTF-8 \u00E0 {1} octets non valide. + ExpectedByte = Octet {0} de la s\u00E9quence UTF-8 \u00E0 {1} octets attendu. + InvalidHighSurrogate = Les bits de substitution sup\u00E9rieurs (High surrogate) dans la s\u00E9quence UTF-8 ne doivent pas d\u00E9passer 0x10 mais des bits 0x{0} ont \u00E9t\u00E9 d\u00E9tect\u00E9s. +- OperationNotSupported = Op\u00E9ration \"{0}\" non prise en charge par le lecteur {1}. +- InvalidASCII = L''octet \"{0}\" n''appartient pas au jeu de caract\u00E8res ASCII (7 bits). ++ OperationNotSupported = Op\u00E9ration "{0}" non prise en charge par le lecteur {1}. ++ InvalidASCII = L''octet "{0}" n''appartient pas au jeu de caract\u00E8res ASCII (7 bits). + CharConversionFailure = Une entit\u00E9 respectant un certain encodage ne doit pas contenir de s\u00E9quences non admises dans cet encodage. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = Ce caract\u00E8re (Unicode : 0x{0}) n''est pas autoris\u00E9 dans l''identificateur public. + SpaceRequiredBetweenPublicAndSystem = Des espaces sont obligatoires entre les ID publicId et systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Un espace est obligatoire apr\u00E8s \"<!DOCTYPE\" dans la d\u00E9claration de type de document. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = Le type d'\u00E9l\u00E9ment racine doit figurer apr\u00E8s \"<!DOCTYPE\" dans la d\u00E9claration de type de document. +- DoctypedeclUnterminated = La d\u00E9claration de type de document pour le type d''\u00E9l\u00E9ment racine \"{0}\" doit se terminer par ''>''. +- PEReferenceWithinMarkup = La r\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre \"%{0};\" ne peut pas survenir dans le balisage du sous-ensemble interne de la DTD. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Un espace est obligatoire apr\u00E8s "<!DOCTYPE" dans la d\u00E9claration de type de document. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = Le type d'\u00E9l\u00E9ment racine doit figurer apr\u00E8s "<!DOCTYPE" dans la d\u00E9claration de type de document. ++ DoctypedeclUnterminated = La d\u00E9claration de type de document pour le type d''\u00E9l\u00E9ment racine "{0}" doit se terminer par ''>''. ++ PEReferenceWithinMarkup = La r\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre "%{0};" ne peut pas survenir dans le balisage du sous-ensemble interne de la DTD. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = Les d\u00E9clarations de balisage contenues dans la d\u00E9claration de type de document ou sur lesquelles pointe cette derni\u00E8re doivent avoir un format correct. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = La d\u00E9claration d'attribut pour \"xml:space\" doit \u00EAtre pr\u00E9sent\u00E9e comme type \u00E9num\u00E9r\u00E9 dont les seules valeurs possibles sont \"default\" et \"preserve\". ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = La d\u00E9claration d'attribut pour "xml:space" doit \u00EAtre pr\u00E9sent\u00E9e comme type \u00E9num\u00E9r\u00E9 dont les seules valeurs possibles sont "default" et "preserve". + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Un espace est obligatoire apr\u00E8s \"<!ELEMENT\" dans la d\u00E9claration de type d'\u00E9l\u00E9ment. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Un espace est obligatoire apr\u00E8s "<!ELEMENT" dans la d\u00E9claration de type d'\u00E9l\u00E9ment. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = Le type d'\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration de type d'\u00E9l\u00E9ment. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Un espace est obligatoire apr\u00E8s le type d''\u00E9l\u00E9ment \"{0}\" dans la d\u00E9claration de type d''\u00E9l\u00E9ment. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = La contrainte est obligatoire apr\u00E8s le type d''\u00E9l\u00E9ment \"{0}\" dans la d\u00E9claration de type d''\u00E9l\u00E9ment. +- ElementDeclUnterminated = La d\u00E9claration du type d''\u00E9l\u00E9ment \"{0}\" doit se terminer par ''>''. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Un espace est obligatoire apr\u00E8s le type d''\u00E9l\u00E9ment "{0}" dans la d\u00E9claration de type d''\u00E9l\u00E9ment. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = La contrainte est obligatoire apr\u00E8s le type d''\u00E9l\u00E9ment "{0}" dans la d\u00E9claration de type d''\u00E9l\u00E9ment. ++ ElementDeclUnterminated = La d\u00E9claration du type d''\u00E9l\u00E9ment "{0}" doit se terminer par ''>''. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un caract\u00E8re ''('' ou un type d''\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un caract\u00E8re '')'' est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment \"{0}\". ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un caract\u00E8re ''('' ou un type d''\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un caract\u00E8re '')'' est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment "{0}". + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un type d''\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un caract\u00E8re '')'' est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment \"{0}\". +- MixedContentUnterminated = Le mod\u00E8le de contenu mixte \"{0}\" doit se terminer par \")*\" lorsque les types d''\u00E9l\u00E9ment enfant sont contraints. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un type d''\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un caract\u00E8re '')'' est obligatoire dans la d\u00E9claration du type d''\u00E9l\u00E9ment "{0}". ++ MixedContentUnterminated = Le mod\u00E8le de contenu mixte "{0}" doit se terminer par ")*" lorsque les types d''\u00E9l\u00E9ment enfant sont contraints. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Un espace est obligatoire apr\u00E8s \"<!ATTLIST\" dans la d\u00E9claration de liste d'attributs. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Un espace est obligatoire apr\u00E8s "<!ATTLIST" dans la d\u00E9claration de liste d'attributs. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = Le type d'\u00E9l\u00E9ment est obligatoire dans la d\u00E9claration de liste d'attributs. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Un espace est obligatoire avant le nom d''attribut dans la d\u00E9claration de liste d''attributs de l''\u00E9l\u00E9ment \"{0}\". +- AttNameRequiredInAttDef = Le nom d''attribut doit \u00EAtre sp\u00E9cifi\u00E9 dans la d\u00E9claration de liste d''attributs de l''\u00E9l\u00E9ment \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Un espace est obligatoire avant le type d''attribut dans la d\u00E9claration de l''attribut \"{1}\" de l''\u00E9l\u00E9ment \"{0}\". +- AttTypeRequiredInAttDef = Le type d''attribut est obligatoire dans la d\u00E9claration de l''attribut \"{1}\" de l''\u00E9l\u00E9ment \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Un espace est obligatoire avant la valeur par d\u00E9faut de l''attribut dans la d\u00E9claration de l''attribut \"{1}\" de l''\u00E9l\u00E9ment \"{0}\". +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Plusieurs d\u00E9finitions d''attribut sont fournies pour le m\u00EAme attribut \"{1}\" d''un \u00E9l\u00E9ment donn\u00E9 \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Un espace est obligatoire avant le nom d''attribut dans la d\u00E9claration de liste d''attributs de l''\u00E9l\u00E9ment "{0}". ++ AttNameRequiredInAttDef = Le nom d''attribut doit \u00EAtre sp\u00E9cifi\u00E9 dans la d\u00E9claration de liste d''attributs de l''\u00E9l\u00E9ment "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Un espace est obligatoire avant le type d''attribut dans la d\u00E9claration de l''attribut "{1}" de l''\u00E9l\u00E9ment "{0}". ++ AttTypeRequiredInAttDef = Le type d''attribut est obligatoire dans la d\u00E9claration de l''attribut "{1}" de l''\u00E9l\u00E9ment "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Un espace est obligatoire avant la valeur par d\u00E9faut de l''attribut dans la d\u00E9claration de l''attribut "{1}" de l''\u00E9l\u00E9ment "{0}". ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Plusieurs d\u00E9finitions d''attribut sont fournies pour le m\u00EAme attribut "{1}" d''un \u00E9l\u00E9ment donn\u00E9 "{0}". + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Un espace doit figurer apr\u00E8s \"NOTATION\" dans la d\u00E9claration d''attribut \"{1}\". +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Le caract\u00E8re ''('' doit suivre \"NOTATION\" dans la d\u00E9claration d''attribut \"{1}\". +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Le nom de notation est obligatoire dans la liste des types de notation de la d\u00E9claration d''attribut \"{1}\". +- NotationTypeUnterminated = La liste des types de notation doit se terminer par '')'' dans la d\u00E9claration d''attribut \"{1}\". +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Le jeton de nom est obligatoire dans la liste des types \u00E9num\u00E9r\u00E9s pour la d\u00E9claration d''attribut \"{1}\". +- EnumerationUnterminated = La liste des types \u00E9num\u00E9r\u00E9s doit se terminer par '')'' dans la d\u00E9claration d''attribut \"{1}\". +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = La valeur d''\u00E9num\u00E9ration \"{1}\" a \u00E9t\u00E9 indiqu\u00E9e plusieurs fois dans la d\u00E9claration de l''attribut \"{2}\" pour l''\u00E9l\u00E9ment \"{0}\". Les valeurs NMTOKENS d''une d\u00E9claration d''attribut Enumeration unique doivent toutes \u00EAtre distinctes. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = La valeur d''\u00E9num\u00E9ration \"{1}\" a \u00E9t\u00E9 indiqu\u00E9e plusieurs fois dans la d\u00E9claration de l''attribut \"{2}\" pour l''\u00E9l\u00E9ment \"{0}\". Les noms NOTATION d''une d\u00E9claration d''attribut NotationType unique doivent tous \u00EAtre distincts. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Un espace doit figurer apr\u00E8s "NOTATION" dans la d\u00E9claration d''attribut "{1}". ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Le caract\u00E8re ''('' doit suivre "NOTATION" dans la d\u00E9claration d''attribut "{1}". ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Le nom de notation est obligatoire dans la liste des types de notation de la d\u00E9claration d''attribut "{1}". ++ NotationTypeUnterminated = La liste des types de notation doit se terminer par '')'' dans la d\u00E9claration d''attribut "{1}". ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Le jeton de nom est obligatoire dans la liste des types \u00E9num\u00E9r\u00E9s pour la d\u00E9claration d''attribut "{1}". ++ EnumerationUnterminated = La liste des types \u00E9num\u00E9r\u00E9s doit se terminer par '')'' dans la d\u00E9claration d''attribut "{1}". ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = La valeur d''\u00E9num\u00E9ration "{1}" a \u00E9t\u00E9 indiqu\u00E9e plusieurs fois dans la d\u00E9claration de l''attribut "{2}" pour l''\u00E9l\u00E9ment "{0}". Les valeurs NMTOKENS d''une d\u00E9claration d''attribut Enumeration unique doivent toutes \u00EAtre distinctes. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = La valeur d''\u00E9num\u00E9ration "{1}" a \u00E9t\u00E9 indiqu\u00E9e plusieurs fois dans la d\u00E9claration de l''attribut "{2}" pour l''\u00E9l\u00E9ment "{0}". Les noms NOTATION d''une d\u00E9claration d''attribut NotationType unique doivent tous \u00EAtre distincts. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Un espace doit figurer apr\u00E8s \"FIXED\" dans la d\u00E9claration d''attribut \"{1}\". ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Un espace doit figurer apr\u00E8s "FIXED" dans la d\u00E9claration d''attribut "{1}". + # 3.4 Conditional Sections +- IncludeSectUnterminated = La section conditionnelle incluse doit se terminer par \"]]>\". +- IgnoreSectUnterminated = La section conditionnelle exclue doit se terminer par \"]]>\". ++ IncludeSectUnterminated = La section conditionnelle incluse doit se terminer par "]]>". ++ IgnoreSectUnterminated = La section conditionnelle exclue doit se terminer par "]]>". + # 4.1 Character and Entity References + NameRequiredInPEReference = Le nom de l'entit\u00E9 doit imm\u00E9diatement suivre le caract\u00E8re "%" dans la r\u00E9f\u00E9rence d'entit\u00E9 de param\u00E8tre. +- SemicolonRequiredInPEReference = La r\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre \"%{0};\" doit se terminer par le d\u00E9limiteur '';''. ++ SemicolonRequiredInPEReference = La r\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre "%{0};" doit se terminer par le d\u00E9limiteur '';''. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Un espace est obligatoire apr\u00E8s \"<!ENTITY\" dans la d\u00E9claration d'entit\u00E9. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Un espace est obligatoire entre \"<!ENTITY\" et le caract\u00E8re "%" dans la d\u00E9claration d'entit\u00E9 de param\u00E8tre. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Un espace est obligatoire apr\u00E8s "<!ENTITY" dans la d\u00E9claration d'entit\u00E9. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Un espace est obligatoire entre "<!ENTITY" et le caract\u00E8re "%" dans la d\u00E9claration d'entit\u00E9 de param\u00E8tre. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = Un espace est obligatoire entre "%" et le nom de l'entit\u00E9 dans la d\u00E9claration d'entit\u00E9 de param\u00E8tre. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = Le nom de l'entit\u00E9 est obligatoire dans la d\u00E9claration d'entit\u00E9. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Un espace est obligatoire entre le nom de l''entit\u00E9 \"{0}\" et la d\u00E9finition dans la d\u00E9claration d''entit\u00E9. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Un espace est obligatoire entre \"NDATA\" et le nom de notation dans la d\u00E9claration de l''entit\u00E9 \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Un espace est obligatoire avant \"NDATA\" dans la d\u00E9claration de l''entit\u00E9 \"{0}\". +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Le nom de notation est obligatoire apr\u00E8s \"NDATA\" dans la d\u00E9claration de l''entit\u00E9 \"{0}\". +- EntityDeclUnterminated = La d\u00E9claration de l''entit\u00E9 \"{0}\" doit se terminer par ''>''. +- MSG_DUPLICATE_ENTITY_DEFINITION = L''entit\u00E9 \"{0}\" est d\u00E9clar\u00E9e plusieurs fois. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Un espace est obligatoire entre le nom de l''entit\u00E9 "{0}" et la d\u00E9finition dans la d\u00E9claration d''entit\u00E9. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Un espace est obligatoire entre "NDATA" et le nom de notation dans la d\u00E9claration de l''entit\u00E9 "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Un espace est obligatoire avant "NDATA" dans la d\u00E9claration de l''entit\u00E9 "{0}". ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Le nom de notation est obligatoire apr\u00E8s "NDATA" dans la d\u00E9claration de l''entit\u00E9 "{0}". ++ EntityDeclUnterminated = La d\u00E9claration de l''entit\u00E9 "{0}" doit se terminer par ''>''. ++ MSG_DUPLICATE_ENTITY_DEFINITION = L''entit\u00E9 "{0}" est d\u00E9clar\u00E9e plusieurs fois. + # 4.2.2 External Entities +- ExternalIDRequired = La d\u00E9claration d'entit\u00E9 externe doit commencer par \"SYSTEM\" ou \"PUBLIC\". +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Un espace est obligatoire entre \"PUBLIC\" et l'identificateur public. ++ ExternalIDRequired = La d\u00E9claration d'entit\u00E9 externe doit commencer par "SYSTEM" ou "PUBLIC". ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Un espace est obligatoire entre "PUBLIC" et l'identificateur public. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = Un espace est obligatoire entre l'identificateur public et l'identificateur syst\u00E8me. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Un espace est obligatoire entre \"SYSTEM\" et l'identificateur syst\u00E8me. +- MSG_URI_FRAGMENT_IN_SYSTEMID = L''identificateur du fragment ne doit pas \u00EAtre sp\u00E9cifi\u00E9 comme faisant partie de l''identificateur syst\u00E8me \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Un espace est obligatoire entre "SYSTEM" et l'identificateur syst\u00E8me. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = L''identificateur du fragment ne doit pas \u00EAtre sp\u00E9cifi\u00E9 comme faisant partie de l''identificateur syst\u00E8me "{0}". + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Un espace est obligatoire apr\u00E8s \"<!NOTATION\" dans la d\u00E9claration de notation. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Un espace est obligatoire apr\u00E8s "<!NOTATION" dans la d\u00E9claration de notation. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = Le nom de la notation est obligatoire dans la d\u00E9claration de notation. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Un espace est obligatoire apr\u00E8s le nom de notation \"{0}\" dans la d\u00E9claration de notation. +- ExternalIDorPublicIDRequired = La d\u00E9claration de la notation \"{0}\" doit inclure un identificateur syst\u00E8me ou public. +- NotationDeclUnterminated = La d\u00E9claration de la notation \"{0}\" doit se terminer par ''>''. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Un espace est obligatoire apr\u00E8s le nom de notation "{0}" dans la d\u00E9claration de notation. ++ ExternalIDorPublicIDRequired = La d\u00E9claration de la notation "{0}" doit inclure un identificateur syst\u00E8me ou public. ++ NotationDeclUnterminated = La d\u00E9claration de la notation "{0}" doit se terminer par ''>''. + + # Validation messages +- DuplicateTypeInMixedContent = Le type d''\u00E9l\u00E9ment \"{1}\" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 dans le mod\u00E8le de contenu de la d\u00E9claration d''\u00E9l\u00E9ment \"{0}\". +- ENTITIESInvalid = La valeur d''attribut \"{1}\" de type ENTITIES doit correspondre au nom d''au moins une entit\u00E9 non analys\u00E9e. +- ENTITYInvalid = La valeur d''attribut \"{1}\" de type ENTITY doit correspondre au nom d''une entit\u00E9 non analys\u00E9e. +- IDDefaultTypeInvalid = L''attribut d''ID \"{0}\" doit avoir une valeur par d\u00E9faut d\u00E9clar\u00E9e de \"#IMPLIED\" ou \"#REQUIRED\". +- IDInvalid = La valeur d''attribut \"{0}\" de type ID doit \u00EAtre un nom. +- IDInvalidWithNamespaces = La valeur d''attribut \"{0}\" de type ID doit \u00EAtre un NCName lorsque les espaces de noms sont activ\u00E9s. +- IDNotUnique = La valeur d''attribut \"{0}\" de type ID doit \u00EAtre unique dans le document. +- IDREFInvalid = La valeur d''attribut \"{0}\" de type IDREF doit \u00EAtre un nom. +- IDREFInvalidWithNamespaces = La valeur d''attribut \"{0}\" de type IDREF doit \u00EAtre un NCName lorsque les espaces de noms sont activ\u00E9s. +- IDREFSInvalid = Une valeur d''attribut \"{0}\" de type IDREFS doit correspondre \u00E0 au moins un nom. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre \"{0}\" doit inclure des d\u00E9clarations correctement imbriqu\u00E9es lorsque la r\u00E9f\u00E9rence d''entit\u00E9 est utilis\u00E9e comme d\u00E9claration compl\u00E8te. +- ImproperDeclarationNesting = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre \"{0}\" doit inclure des d\u00E9clarations correctement imbriqu\u00E9es. +- ImproperGroupNesting = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre \"{0}\" doit inclure des paires de parenth\u00E8ses correctement imbriqu\u00E9es. +- INVALID_PE_IN_CONDITIONAL = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre \"{0}\" doit inclure la section conditionnelle compl\u00E8te ou seulement INCLUDE ou IGNORE. +- MSG_ATTRIBUTE_NOT_DECLARED = L''attribut \"{1}\" doit \u00EAtre d\u00E9clar\u00E9 pour le type d''\u00E9l\u00E9ment \"{0}\". +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = L''attribut \"{0}\" de valeur \"{1}\" doit avoir une valeur issue de la liste \"{2}\". +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = La valeur \"{1}\" de l''attribut \"{0}\" ne doit pas \u00EAtre modifi\u00E9e par normalisation (et devenir \"{2}\") dans un document autonome. +- MSG_CONTENT_INCOMPLETE = Le contenu du type d''\u00E9l\u00E9ment \"{0}\" est incomplet. Il doit correspondre \u00E0 \"{1}\". +- MSG_CONTENT_INVALID = Le contenu du type d''\u00E9l\u00E9ment \"{0}\" doit correspondre \u00E0 \"{1}\". +- MSG_CONTENT_INVALID_SPECIFIED = Le contenu du type d''\u00E9l\u00E9ment \"{0}\" doit correspondre \u00E0 \"{1}\". Les enfants de type \"{2}\" ne sont pas autoris\u00E9s. +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = L''attribut \"{1}\" du type d''\u00E9l\u00E9ment \"{0}\" a une valeur par d\u00E9faut et doit \u00EAtre sp\u00E9cifi\u00E9 dans un document autonome. +- MSG_DUPLICATE_ATTDEF = L''attribut \"{1}\" est d\u00E9j\u00E0 d\u00E9clar\u00E9 pour le type d''\u00E9l\u00E9ment \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = Le type d''\u00E9l\u00E9ment \"{0}\" ne doit pas \u00EAtre d\u00E9clar\u00E9 plusieurs fois. +- MSG_ELEMENT_NOT_DECLARED = Le type d''\u00E9l\u00E9ment \"{0}\" doit \u00EAtre d\u00E9clar\u00E9. ++ DuplicateTypeInMixedContent = Le type d''\u00E9l\u00E9ment "{1}" a d\u00E9j\u00E0 \u00E9t\u00E9 sp\u00E9cifi\u00E9 dans le mod\u00E8le de contenu de la d\u00E9claration d''\u00E9l\u00E9ment "{0}". ++ ENTITIESInvalid = La valeur d''attribut "{1}" de type ENTITIES doit correspondre au nom d''au moins une entit\u00E9 non analys\u00E9e. ++ ENTITYInvalid = La valeur d''attribut "{1}" de type ENTITY doit correspondre au nom d''une entit\u00E9 non analys\u00E9e. ++ IDDefaultTypeInvalid = L''attribut d''ID "{0}" doit avoir une valeur par d\u00E9faut d\u00E9clar\u00E9e de "#IMPLIED" ou "#REQUIRED". ++ IDInvalid = La valeur d''attribut "{0}" de type ID doit \u00EAtre un nom. ++ IDInvalidWithNamespaces = La valeur d''attribut "{0}" de type ID doit \u00EAtre un NCName lorsque les espaces de noms sont activ\u00E9s. ++ IDNotUnique = La valeur d''attribut "{0}" de type ID doit \u00EAtre unique dans le document. ++ IDREFInvalid = La valeur d''attribut "{0}" de type IDREF doit \u00EAtre un nom. ++ IDREFInvalidWithNamespaces = La valeur d''attribut "{0}" de type IDREF doit \u00EAtre un NCName lorsque les espaces de noms sont activ\u00E9s. ++ IDREFSInvalid = Une valeur d''attribut "{0}" de type IDREFS doit correspondre \u00E0 au moins un nom. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre "{0}" doit inclure des d\u00E9clarations correctement imbriqu\u00E9es lorsque la r\u00E9f\u00E9rence d''entit\u00E9 est utilis\u00E9e comme d\u00E9claration compl\u00E8te. ++ ImproperDeclarationNesting = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre "{0}" doit inclure des d\u00E9clarations correctement imbriqu\u00E9es. ++ ImproperGroupNesting = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre "{0}" doit inclure des paires de parenth\u00E8ses correctement imbriqu\u00E9es. ++ INVALID_PE_IN_CONDITIONAL = Le texte de remplacement de l''entit\u00E9 de param\u00E8tre "{0}" doit inclure la section conditionnelle compl\u00E8te ou seulement INCLUDE ou IGNORE. ++ MSG_ATTRIBUTE_NOT_DECLARED = L''attribut "{1}" doit \u00EAtre d\u00E9clar\u00E9 pour le type d''\u00E9l\u00E9ment "{0}". ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = L''attribut "{0}" de valeur "{1}" doit avoir une valeur issue de la liste "{2}". ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = La valeur "{1}" de l''attribut "{0}" ne doit pas \u00EAtre modifi\u00E9e par normalisation (et devenir "{2}") dans un document autonome. ++ MSG_CONTENT_INCOMPLETE = Le contenu du type d''\u00E9l\u00E9ment "{0}" est incomplet. Il doit correspondre \u00E0 "{1}". ++ MSG_CONTENT_INVALID = Le contenu du type d''\u00E9l\u00E9ment "{0}" doit correspondre \u00E0 "{1}". ++ MSG_CONTENT_INVALID_SPECIFIED = Le contenu du type d''\u00E9l\u00E9ment "{0}" doit correspondre \u00E0 "{1}". Les enfants de type "{2}" ne sont pas autoris\u00E9s. ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = L''attribut "{1}" du type d''\u00E9l\u00E9ment "{0}" a une valeur par d\u00E9faut et doit \u00EAtre sp\u00E9cifi\u00E9 dans un document autonome. ++ MSG_DUPLICATE_ATTDEF = L''attribut "{1}" est d\u00E9j\u00E0 d\u00E9clar\u00E9 pour le type d''\u00E9l\u00E9ment "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = Le type d''\u00E9l\u00E9ment "{0}" ne doit pas \u00EAtre d\u00E9clar\u00E9 plusieurs fois. ++ MSG_ELEMENT_NOT_DECLARED = Le type d''\u00E9l\u00E9ment "{0}" doit \u00EAtre d\u00E9clar\u00E9. + MSG_GRAMMAR_NOT_FOUND = Le document n'est pas valide : aucune grammaire d\u00E9tect\u00E9e. +- MSG_ELEMENT_WITH_ID_REQUIRED = Un \u00E9l\u00E9ment avec l''identificateur \"{0}\" doit figurer dans le document. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 externe \"{0}\" n''est pas autoris\u00E9e dans le document autonome. +- MSG_FIXED_ATTVALUE_INVALID = L''attribut \"{1}\" de valeur \"{2}\" doit avoir une valeur de \"{3}\". +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Le type d''\u00E9l\u00E9ment \"{0}\" a d\u00E9j\u00E0 l''attribut \"{1}\" de type ID. Un deuxi\u00E8me attribut \"{2}\" de type ID n''est pas autoris\u00E9. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Le type d''\u00E9l\u00E9ment \"{0}\" a d\u00E9j\u00E0 l''attribut \"{1}\" de type NOTATION. Un deuxi\u00E8me attribut \"{2}\" de type NOTATION n''est pas autoris\u00E9. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notation \"{1}\" doit \u00EAtre d\u00E9clar\u00E9e lorsqu''elle est r\u00E9f\u00E9renc\u00E9e dans la liste des types de notation de l''attribut \"{0}\". +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notation \"{1}\" doit \u00EAtre d\u00E9clar\u00E9e lorsqu''elle est r\u00E9f\u00E9renc\u00E9e dans la d\u00E9claration d''entit\u00E9 non analys\u00E9e pour \"{0}\". +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 \"{0}\" d\u00E9clar\u00E9e dans une entit\u00E9 analys\u00E9e externe n''est pas autoris\u00E9e dans un document autonome. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = L''attribut \"{1}\" est obligatoire et doit \u00EAtre sp\u00E9cifi\u00E9 pour le type d''\u00E9l\u00E9ment \"{0}\". ++ MSG_ELEMENT_WITH_ID_REQUIRED = Un \u00E9l\u00E9ment avec l''identificateur "{0}" doit figurer dans le document. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 externe "{0}" n''est pas autoris\u00E9e dans le document autonome. ++ MSG_FIXED_ATTVALUE_INVALID = L''attribut "{1}" de valeur "{2}" doit avoir une valeur de "{3}". ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Le type d''\u00E9l\u00E9ment "{0}" a d\u00E9j\u00E0 l''attribut "{1}" de type ID. Un deuxi\u00E8me attribut "{2}" de type ID n''est pas autoris\u00E9. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Le type d''\u00E9l\u00E9ment "{0}" a d\u00E9j\u00E0 l''attribut "{1}" de type NOTATION. Un deuxi\u00E8me attribut "{2}" de type NOTATION n''est pas autoris\u00E9. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notation "{1}" doit \u00EAtre d\u00E9clar\u00E9e lorsqu''elle est r\u00E9f\u00E9renc\u00E9e dans la liste des types de notation de l''attribut "{0}". ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notation "{1}" doit \u00EAtre d\u00E9clar\u00E9e lorsqu''elle est r\u00E9f\u00E9renc\u00E9e dans la d\u00E9claration d''entit\u00E9 non analys\u00E9e pour "{0}". ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = La r\u00E9f\u00E9rence \u00E0 l''entit\u00E9 "{0}" d\u00E9clar\u00E9e dans une entit\u00E9 analys\u00E9e externe n''est pas autoris\u00E9e dans un document autonome. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = L''attribut "{1}" est obligatoire et doit \u00EAtre sp\u00E9cifi\u00E9 pour le type d''\u00E9l\u00E9ment "{0}". + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = Aucun espace ne doit figurer entre les \u00E9l\u00E9ments d\u00E9clar\u00E9s dans une entit\u00E9 analys\u00E9e externe avec le contenu des \u00E9l\u00E9ments dans un document autonome. +- NMTOKENInvalid = La valeur d''attribut \"{0}\" de type NMTOKEN doit correspondre \u00E0 un jeton de nom. +- NMTOKENSInvalid = La valeur d''attribut \"{0}\" de type NMTOKENS doit correspondre \u00E0 au moins un jeton de nom. +- NoNotationOnEmptyElement = Le type d''\u00E9l\u00E9ment \"{0}\" d\u00E9clar\u00E9 EMPTY ne peut pas d\u00E9clarer un attribut \"{1}\" de type NOTATION. +- RootElementTypeMustMatchDoctypedecl = L''\u00E9l\u00E9ment racine de document \"{1}\" doit correspondre \u00E0 la racine DOCTYPE \"{0}\". +- UndeclaredElementInContentSpec = Le mod\u00E8le de contenu de l''\u00E9l\u00E9ment \"{0}\" fait r\u00E9f\u00E9rence \u00E0 l''\u00E9l\u00E9ment non d\u00E9clar\u00E9 \"{1}\". +- UniqueNotationName = La d\u00E9claration de la notation \"{0}\" n''est pas unique. Une valeur Name donn\u00E9e ne doit pas \u00EAtre d\u00E9clar\u00E9e dans plusieurs d\u00E9clarations de notation. +- ENTITYFailedInitializeGrammar = Contr\u00F4le de validation ENTITYDatatype : \u00E9chec. Besoin d'appeler une m\u00E9thode d'initialisation avec une r\u00E9f\u00E9rence de grammaire valide. \t +- ENTITYNotUnparsed = La valeur ENTITY \"{0}\" est analys\u00E9e. +- ENTITYNotValid = La valeur ENTITY \"{0}\" n''est pas valide. ++ NMTOKENInvalid = La valeur d''attribut "{0}" de type NMTOKEN doit correspondre \u00E0 un jeton de nom. ++ NMTOKENSInvalid = La valeur d''attribut "{0}" de type NMTOKENS doit correspondre \u00E0 au moins un jeton de nom. ++ NoNotationOnEmptyElement = Le type d''\u00E9l\u00E9ment "{0}" d\u00E9clar\u00E9 EMPTY ne peut pas d\u00E9clarer un attribut "{1}" de type NOTATION. ++ RootElementTypeMustMatchDoctypedecl = L''\u00E9l\u00E9ment racine de document "{1}" doit correspondre \u00E0 la racine DOCTYPE "{0}". ++ UndeclaredElementInContentSpec = Le mod\u00E8le de contenu de l''\u00E9l\u00E9ment "{0}" fait r\u00E9f\u00E9rence \u00E0 l''\u00E9l\u00E9ment non d\u00E9clar\u00E9 "{1}". ++ UniqueNotationName = La d\u00E9claration de la notation "{0}" n''est pas unique. Une valeur Name donn\u00E9e ne doit pas \u00EAtre d\u00E9clar\u00E9e dans plusieurs d\u00E9clarations de notation. ++ ENTITYFailedInitializeGrammar = Valideur ENTITYDatatype : \u00E9chec. Besoin d'appeler une m\u00E9thode d'initialisation avec une r\u00E9f\u00E9rence de grammaire valide. \t ++ ENTITYNotUnparsed = La valeur ENTITY "{0}" est analys\u00E9e. ++ ENTITYNotValid = La valeur ENTITY "{0}" n''est pas valide. + EmptyList = Une valeur de type ENTITIES, IDREFS et NMTOKENS ne peut pas correspondre \u00E0 une liste vide. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = La r\u00E9f\u00E9rence d''entit\u00E9 externe \"&{0};\" n''est pas autoris\u00E9e dans une valeur d''attribut. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = La r\u00E9f\u00E9rence d''entit\u00E9 externe "&{0};" n''est pas autoris\u00E9e dans une valeur d''attribut. ++ AccessExternalDTD = DTD externe : \u00E9chec de la lecture de la DTD externe ''{0}'', car l''acc\u00E8s ''{1}'' n''est pas autoris\u00E9 en raison d''une restriction d\u00E9finie par la propri\u00E9t\u00E9 accessExternalDTD. ++ AccessExternalEntity = Entit\u00E9 externe : \u00E9chec de la lecture du document externe ''{0}'', car l''acc\u00E8s ''{1}'' n''est pas autoris\u00E9 en raison d''une restriction d\u00E9finie par la propri\u00E9t\u00E9 accessExternalDTD. + + # 4.1 Character and Entity References +- EntityNotDeclared = L''entit\u00E9 \"{0}\" \u00E9tait r\u00E9f\u00E9renc\u00E9e, mais pas d\u00E9clar\u00E9e. +- ReferenceToUnparsedEntity = La r\u00E9f\u00E9rence d''entit\u00E9 non analys\u00E9e \"&{0};\" n''est pas autoris\u00E9e. +- RecursiveReference = R\u00E9f\u00E9rence d''entit\u00E9 r\u00E9cursive \"{0}\". (Chemin de r\u00E9f\u00E9rence : {1}), +- RecursiveGeneralReference = R\u00E9f\u00E9rence d''entit\u00E9 g\u00E9n\u00E9rale r\u00E9cursive \"&{0};\". (Chemin de r\u00E9f\u00E9rence : {1}), +- RecursivePEReference = R\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre r\u00E9cursive \"%{0};\". (Chemin de r\u00E9f\u00E9rence : {1}), ++ EntityNotDeclared = L''entit\u00E9 "{0}" \u00E9tait r\u00E9f\u00E9renc\u00E9e, mais pas d\u00E9clar\u00E9e. ++ ReferenceToUnparsedEntity = La r\u00E9f\u00E9rence d''entit\u00E9 non analys\u00E9e "&{0};" n''est pas autoris\u00E9e. ++ RecursiveReference = R\u00E9f\u00E9rence d''entit\u00E9 r\u00E9cursive "{0}". (Chemin de r\u00E9f\u00E9rence : {1}), ++ RecursiveGeneralReference = R\u00E9f\u00E9rence d''entit\u00E9 g\u00E9n\u00E9rale r\u00E9cursive "&{0};". (Chemin de r\u00E9f\u00E9rence : {1}), ++ RecursivePEReference = R\u00E9f\u00E9rence d''entit\u00E9 de param\u00E8tre r\u00E9cursive "%{0};". (Chemin de r\u00E9f\u00E9rence : {1}), + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = L''encodage \"{0}\" n''est pas pris en charge. ++ EncodingNotSupported = L''encodage "{0}" n''est pas pris en charge. + EncodingRequired = Une entit\u00E9 analys\u00E9e sans encodage UTF-8 ou UTF-16 doit contenir une d\u00E9claration d'encodage. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = L'\u00E9l\u00E9ment ou l'attribut ne correspond pas \u00E0 la production QName : QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = L''\u00E9l\u00E9ment \"{0}\" ne peut pas avoir \"xmlns\" comme pr\u00E9fixe. +- ElementPrefixUnbound = Le pr\u00E9fixe \"{0}\" de l''\u00E9l\u00E9ment \"{1}\" n''est pas li\u00E9. +- AttributePrefixUnbound = Le pr\u00E9fixe \"{2}\" de l''attribut \"{1}\" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment \"{0}\" n''est pas li\u00E9. +- EmptyPrefixedAttName = La valeur de l''attribut \"{0}\" n''est pas valide. Les liaisons d''espaces de noms pr\u00E9fix\u00E9s ne peuvent pas \u00EAtre vides. +- PrefixDeclared = Le pr\u00E9fixe d''espace de noms \"{0}\" n''\u00E9tait pas d\u00E9clar\u00E9. ++ ElementXMLNSPrefix = L''\u00E9l\u00E9ment "{0}" ne peut pas avoir "xmlns" comme pr\u00E9fixe. ++ ElementPrefixUnbound = Le pr\u00E9fixe "{0}" de l''\u00E9l\u00E9ment "{1}" n''est pas li\u00E9. ++ AttributePrefixUnbound = Le pr\u00E9fixe "{2}" de l''attribut "{1}" associ\u00E9 \u00E0 un type d''\u00E9l\u00E9ment "{0}" n''est pas li\u00E9. ++ EmptyPrefixedAttName = La valeur de l''attribut "{0}" n''est pas valide. Les liaisons d''espaces de noms pr\u00E9fix\u00E9s ne peuvent pas \u00EAtre vides. ++ PrefixDeclared = Le pr\u00E9fixe d''espace de noms "{0}" n''\u00E9tait pas d\u00E9clar\u00E9. + CantBindXMLNS = Le pr\u00E9fixe "xmlns" ne peut pas \u00EAtre li\u00E9 \u00E0 un espace de noms de fa\u00E7on explicite, pas plus que l'espace de noms de "xmlns" \u00E0 un pr\u00E9fixe quelconque. + CantBindXML = Le pr\u00E9fixe "xml" ne peut pas \u00EAtre li\u00E9 \u00E0 un autre espace de noms que son espace de noms habituel. L'espace de noms de "xml" ne peut pas non plus \u00EAtre li\u00E9 \u00E0 un autre pr\u00E9fixe que "xml". +- MSG_ATT_DEFAULT_INVALID = La valeur par d\u00E9faut \"{1}\" de l''attribut \"{0}\" n''est pas admise conform\u00E9ment aux contraintes lexicales de ce type d''attribut. ++ MSG_ATT_DEFAULT_INVALID = La valeur par d\u00E9faut "{1}" de l''attribut "{0}" n''est pas admise conform\u00E9ment aux contraintes lexicales de ce type d''attribut. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=L''analyseur a rencontr\u00E9 plus de \"{0}\" d\u00E9veloppements d''entit\u00E9 dans ce document. Il s''agit de la limite impos\u00E9e par l''application. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001 : L''analyseur a rencontr\u00E9 plus de "{0}" d\u00E9veloppements d''entit\u00E9 dans ce document. Il s''agit de la limite impos\u00E9e par le JDK. ++ ElementAttributeLimit=JAXP00010002 : L''\u00E9l\u00E9ment "{0}" a plus de "{1}" attributs. "{1}" est la limite impos\u00E9e par le JDK. ++ MaxEntitySizeLimit=JAXP00010003 : La longueur de l''entit\u00E9 "{0}" est de "{1}". Cette valeur d\u00E9passe la limite de "{2}" d\u00E9finie par "{3}". ++ TotalEntitySizeLimit=JAXP00010004 : La taille cumul\u00E9e des entit\u00E9s ("{0}") d\u00E9passe la limite de "{1}" d\u00E9finie par "{2}". ++ MaxXMLNameLimit=JAXP00010005 : le nom "{0}" d\u00E9passe la limite de "{1}" d\u00E9finie par "{2}". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= L''\u00E9l\u00E9ment \"{0}\" a plus de \"{1}\" attributs. \"{1}\" est la limite impos\u00E9e par l''application. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_it.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_it.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. - */ --import java.util.*; --import java.io.*; - --public class InternTest { -- public static void main (String args[]) throws Exception { -- final String badStringsFilename = "badstrings.txt"; +-/* +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nel prologo del documento. + InvalidCharInXMLDecl = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nella dichiarazione XML. + # 2.4 Character Data and Markup +- CDEndInContent = La sequenza di caratteri \"]]>\" non deve essere presente nel contenuto a meno che non sia utilizzata per contrassegnare la fine di una sezione CDATA. ++ CDEndInContent = La sequenza di caratteri "]]>" non deve essere presente nel contenuto a meno che non sia utilizzata per contrassegnare la fine di una sezione CDATA. + # 2.7 CDATA Sections +- CDSectUnterminated = La sezione CDATA deve terminare con \"]]>\". ++ CDSectUnterminated = La sezione CDATA deve terminare con "]]>". + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = La dichiarazione XML pu\u00F2 comparire solo all'inizio del documento. +- EqRequiredInXMLDecl = Il carattere '' = '' deve seguire \"{0}\" nella dichiarazione XML. +- QuoteRequiredInXMLDecl = Il valore che segue \"{0}\" nella dichiarazione XML deve essere una stringa compresa tra apici. +- XMLDeclUnterminated = La dichiarazione XML deve terminare con \"?>\". ++ EqRequiredInXMLDecl = Il carattere '' = '' deve seguire "{0}" nella dichiarazione XML. ++ QuoteRequiredInXMLDecl = Il valore che segue "{0}" nella dichiarazione XML deve essere una stringa compresa tra apici. ++ XMLDeclUnterminated = La dichiarazione XML deve terminare con "?>". + VersionInfoRequired = La versione \u00E8 obbligatoria nella dichiarazione XML. + SpaceRequiredBeforeVersionInXMLDecl = \u00C8 richiesto uno spazio prima dell'attributo pseudo della versione nella dichiarazione XML. + SpaceRequiredBeforeEncodingInXMLDecl = \u00C8 richiesto uno spazio prima dell'attributo pseudo di codifica nella dichiarazione XML. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=Il riferimento non \u00E8 consentito nella sezione finale. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = Il valore della dichiarazione del documento standalone deve essere \"yes\" o \"no\", non \"{0}\". ++ SDDeclInvalid = Il valore della dichiarazione del documento standalone deve essere "yes" o "no", non "{0}". ++ SDDeclNameInvalid = Il nome standalone nella dichiarazione XML potrebbe essere stato digitato in modo errato. + # 2.12 Language Identification +- XMLLangInvalid = Il valore dell''attributo xml:lang \"{0}\" \u00E8 un identificativo di lingua non valido. ++ XMLLangInvalid = Il valore dell''attributo xml:lang "{0}" \u00E8 un identificativo di lingua non valido. + # 3. Logical Structures +- ETagRequired = Il tipo di elemento \"{0}\" deve terminare con la corrispondente tag finale \"</{0}>\". ++ ETagRequired = Il tipo di elemento "{0}" deve terminare con la corrispondente tag finale "</{0}>". + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = Il tipo di elemento \"{0}\" deve essere seguito dalle specifiche di attributo \">\" o \"/>\". +- EqRequiredInAttribute = Il nome attributo \"{1}\" associato a un tipo di elemento \"{0}\" deve essere seguito dal carattere '' = ''. +- OpenQuoteExpected = \u00C8 previsto un apice di apertura per l''attributo \"{1}\" associato a un tipo di elemento \"{0}\". +- CloseQuoteExpected = \u00C8 previsto un apice di chiusura per l''attributo \"{1}\" associato a un tipo di elemento \"{0}\". +- AttributeNotUnique = L''attributo \"{1}\" \u00E8 gi\u00E0 stato specificato per l''elemento \"{0}\". +- AttributeNSNotUnique = L''attributo \"{1}\" associato allo spazio di nomi \"{2}\" \u00E8 gi\u00E0 stato specificato per l''elemento \"{0}\". +- ETagUnterminated = La tag finale per il tipo di elemento \"{0}\" deve terminare con un delimitatore ''>''. ++ ElementUnterminated = Il tipo di elemento "{0}" deve essere seguito dalle specifiche di attributo ">" o "/>". ++ EqRequiredInAttribute = Il nome attributo "{1}" associato a un tipo di elemento "{0}" deve essere seguito dal carattere '' = ''. ++ OpenQuoteExpected = \u00C8 previsto un apice di apertura per l''attributo "{1}" associato a un tipo di elemento "{0}". ++ CloseQuoteExpected = \u00C8 previsto un apice di chiusura per l''attributo "{1}" associato a un tipo di elemento "{0}". ++ AttributeNotUnique = L''attributo "{1}" \u00E8 gi\u00E0 stato specificato per l''elemento "{0}". ++ AttributeNSNotUnique = L''attributo "{1}" associato allo spazio di nomi "{2}" \u00E8 gi\u00E0 stato specificato per l''elemento "{0}". ++ ETagUnterminated = La tag finale per il tipo di elemento "{0}" deve terminare con un delimitatore ''>''. + MarkupNotRecognizedInContent = Il contenuto degli elementi deve essere composto da dati o markup di caratteri con formato corretto. + DoctypeIllegalInContent = DOCTYPE non \u00E8 consentito nel contenuto. + # 4.1 Character and Entity References + ReferenceUnterminated = Il riferimento deve terminare con un delimitatore ';'. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = Il riferimento deve essere compreso completamente all'interno della stessa entit\u00E0 analizzata. +- ElementEntityMismatch = L''elemento \"{0}\" deve iniziare e finire con la stessa entit\u00E0. ++ ElementEntityMismatch = L''elemento "{0}" deve iniziare e finire con la stessa entit\u00E0. + MarkupEntityMismatch=Le strutture di documenti XML devono iniziare e finire con la stessa entit\u00E0. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{2}) nel valore dell''attributo \"{1}\". L''elemento \u00E8 \"{0}\". ++ InvalidCharInAttValue = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{2}) nel valore dell''attributo "{1}". L''elemento \u00E8 "{0}". + InvalidCharInComment = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nel commento. + InvalidCharInPI = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nell''istruzione di elaborazione. + InvalidCharInInternalSubset = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nel set secondario interno del DTD. + InvalidCharInTextDecl = \u00C8 stato trovato un carattere XML non valido (Unicode: 0x{0}) nella dichiarazione testuale. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = Il valore dell''attributo \"{1}\" deve iniziare con un apice o una virgoletta. +- LessthanInAttValue = Il valore dell''attributo \"{1}\" associato a un tipo di elemento \"{0}\" non deve essere contenere il carattere ''<''. +- AttributeValueUnterminated = Il valore dell''attributo \"{1}\" deve terminare con un apice corrispondente. ++ QuoteRequiredInAttValue = Il valore dell''attributo "{1}" deve iniziare con un apice o una virgoletta. ++ LessthanInAttValue = Il valore dell''attributo "{1}" associato a un tipo di elemento "{0}" non deve essere contenere il carattere ''<''. ++ AttributeValueUnterminated = Il valore dell''attributo "{1}" deve terminare con un apice corrispondente. + # 2.5 Comments +- InvalidCommentStart = Il commento deve iniziare con \"<!--\". +- DashDashInComment = La stringa \"--\" non \u00E8 consentita nei commenti. +- CommentUnterminated = Il commento deve terminare con \"-->\". ++ InvalidCommentStart = Il commento deve iniziare con "<!--". ++ DashDashInComment = La stringa "--" non \u00E8 consentita nei commenti. ++ CommentUnterminated = Il commento deve terminare con "-->". + COMMENT_NOT_IN_ONE_ENTITY = Il commento non \u00E8 compreso all'interno della stessa entit\u00E0. + # 2.6 Processing Instructions + PITargetRequired = L'istruzione di elaborazione deve iniziare con il nome della destinazione. + SpaceRequiredInPI = \u00C8 richiesto uno spazio tra la destinazione delle istruzioni di elaborazione e i dati. +- PIUnterminated = L'istruzione di elaborazione deve terminare con \"?>\". +- ReservedPITarget = Non \u00E8 consentita una destinazione di istruzione di elaborazione corrispondente a \"[xX][mM][lL]\". ++ PIUnterminated = L'istruzione di elaborazione deve terminare con "?>". ++ ReservedPITarget = Non \u00E8 consentita una destinazione di istruzione di elaborazione corrispondente a "[xX][mM][lL]". + PI_NOT_IN_ONE_ENTITY = L'istruzione di elaborazione non \u00E8 compresa all'interno della stessa entit\u00E0. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Versione \"{0}\" non valida. +- VersionNotSupported = La versione XML \"{0}\" non \u00E8 supportata. Solo la versione XML 1.0 \u00E8 supportata. +- VersionNotSupported11 = La versione XML \"{0}\" non \u00E8 supportata. Solo le versioni XML 1.0 e XML 1.1 sono supportate. ++ VersionInfoInvalid = Versione "{0}" non valida. ++ VersionNotSupported = La versione XML "{0}" non \u00E8 supportata. Solo la versione XML 1.0 \u00E8 supportata. ++ VersionNotSupported11 = La versione XML "{0}" non \u00E8 supportata. Solo le versioni XML 1.0 e XML 1.1 sono supportate. + VersionMismatch= Un'entit\u00E0 non pu\u00F2 includerne un'altra con una versione successiva. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Una rappresentazione decimale deve seguire immediatamente \"&#\" in un riferimento di carattere. +- HexdigitRequiredInCharRef = Una rappresentazione esadecimale deve seguire immediatamente \"&#\" in un riferimento di carattere. ++ DigitRequiredInCharRef = Una rappresentazione decimale deve seguire immediatamente "&#" in un riferimento di carattere. ++ HexdigitRequiredInCharRef = Una rappresentazione esadecimale deve seguire immediatamente "&#" in un riferimento di carattere. + SemicolonRequiredInCharRef = Il riferimento di carattere deve terminare con il delimitatore ';'. +- InvalidCharRef = Il riferimento di carattere \"&#{0}\" \u00E8 un carattere XML non valido. ++ InvalidCharRef = Il riferimento di carattere "&#{0}" \u00E8 un carattere XML non valido. + NameRequiredInReference = Il nome entit\u00E0 deve seguire immediatamente '&' nel riferimento di entit\u00E0. +- SemicolonRequiredInReference = Il riferimento di entit\u00E0 \"{0}\" deve terminare con il delimitatore '';''. ++ SemicolonRequiredInReference = Il riferimento di entit\u00E0 "{0}" deve terminare con il delimitatore '';''. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = La dichiarazione di testo pu\u00F2 comparire solo all'inizio dell'entit\u00E0 esterna analizzata. +- EqRequiredInTextDecl = Il carattere '' = '' deve seguire \"{0}\" nella dichiarazione di testo. +- QuoteRequiredInTextDecl = Il valore che segue \"{0}\" nella dichiarazione di testo deve essere una stringa compresa tra apici. +- CloseQuoteMissingInTextDecl = manca l''apice di chiusura nel valore che segue \"{0}\" nella dichiarazione di testo. ++ EqRequiredInTextDecl = Il carattere '' = '' deve seguire "{0}" nella dichiarazione di testo. ++ QuoteRequiredInTextDecl = Il valore che segue "{0}" nella dichiarazione di testo deve essere una stringa compresa tra apici. ++ CloseQuoteMissingInTextDecl = manca l''apice di chiusura nel valore che segue "{0}" nella dichiarazione di testo. + SpaceRequiredBeforeVersionInTextDecl = \u00C8 richiesto uno spazio prima dell'attributo pseudo della versione nella dichiarazione del testo. + SpaceRequiredBeforeEncodingInTextDecl = \u00C8 richiesto uno spazio prima dell'attributo pseudo di codifica nella dichiarazione del testo. +- TextDeclUnterminated = La dichiarazione di testo deve terminare con \"?>\". ++ TextDeclUnterminated = La dichiarazione di testo deve terminare con "?>". + EncodingDeclRequired = La dichiarazione di codifica \u00E8 obbligatoria nella dichiarazione di testo. + NoMorePseudoAttributes = Non sono consentiti altri attributi pseudo. + MorePseudoAttributes = Sono previsti altri attributi pseudo. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = Il commento deve essere compreso completamente all'interno della stessa entit\u00E0 analizzata. + PINotInOneEntity = L'istruzione di elaborazione deve essere compresa completamente all'interno della stessa entit\u00E0 analizzata. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Nome codifica \"{0}\" non valido. +- EncodingByteOrderUnsupported = L''ordine di byte specificato per la codifica \"{0}\" non \u00E8 supportato. ++ EncodingDeclInvalid = Nome codifica "{0}" non valido. ++ EncodingByteOrderUnsupported = L''ordine di byte specificato per la codifica "{0}" non \u00E8 supportato. + InvalidByte = Byte non valido {0} della sequenza UTF-8 a {1} byte. + ExpectedByte = \u00C8 previsto il byte {0} della sequenza UTF-8 a {1} byte. + InvalidHighSurrogate = I bit per surrogato alto nella sequenza UTF-8 non devono superare 0x10, ma \u00E8 stato trovato 0x{0}. +- OperationNotSupported = Operazione \"{0}\" non supportata dal processo di lettura {1}. +- InvalidASCII = Il byte \"{0}\" non fa parte del set di caratteri ASCII (a 7 bit). ++ OperationNotSupported = Operazione "{0}" non supportata dal processo di lettura {1}. ++ InvalidASCII = Il byte "{0}" non fa parte del set di caratteri ASCII (a 7 bit). + CharConversionFailure = Un'entit\u00E0 che deve trovarsi in una determinata codifica non pu\u00F2 contenere sequenze non valide in quella codifica. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = Il carattere (Unicode: 0x{0}) non \u00E8 consentito nell''identificativo pubblico. + SpaceRequiredBetweenPublicAndSystem = Sono richiesti spazi tra publicId e systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u00C8 richiesto uno spazio dopo \"<!DOCTYPE\" nella dichiarazione del tipo di documento. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = Il tipo di elemento radice deve comparire dopo \"<!DOCTYPE\" nella dichiarazione del tipo di documento. +- DoctypedeclUnterminated = La dichiarazione del tipo di documento per il tipo di elemento radice \"{0}\" deve terminare con ''>''. +- PEReferenceWithinMarkup = Il riferimento di entit\u00E0 di parametro \"%{0};\" non pu\u00F2 essere presente nel markup del set secondario interno del DTD. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u00C8 richiesto uno spazio dopo "<!DOCTYPE" nella dichiarazione del tipo di documento. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = Il tipo di elemento radice deve comparire dopo "<!DOCTYPE" nella dichiarazione del tipo di documento. ++ DoctypedeclUnterminated = La dichiarazione del tipo di documento per il tipo di elemento radice "{0}" deve terminare con ''>''. ++ PEReferenceWithinMarkup = Il riferimento di entit\u00E0 di parametro "%{0};" non pu\u00F2 essere presente nel markup del set secondario interno del DTD. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = Le dichiarazioni di markup contenute o indicate dalla dichiarazione del tipo di documento devono avere un formato corretto. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = La dichiarazione di attributo \"xml:space\" deve essere specificata come tipo enumerato, i cui unici possibili valori sono \"default\" e \"preserve\". ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = La dichiarazione di attributo "xml:space" deve essere specificata come tipo enumerato, i cui unici possibili valori sono "default" e "preserve". + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u00C8 richiesto uno spazio dopo \"<!ELEMENT\" nella dichiarazione del tipo di elemento. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u00C8 richiesto uno spazio dopo "<!ELEMENT" nella dichiarazione del tipo di elemento. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = Il tipo di elemento \u00E8 obbligatorio nella dichiarazione del tipo di elemento. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u00C8 richiesto uno spazio dopo il tipo di elemento \"{0}\" nella dichiarazione del tipo di elemento. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u00C8 richiesto uno vincolo dopo il tipo di elemento \"{0}\" nella dichiarazione del tipo di elemento. +- ElementDeclUnterminated = La dichiarazione per il tipo di elemento \"{0}\" deve terminare con ''>''. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u00C8 richiesto uno spazio dopo il tipo di elemento "{0}" nella dichiarazione del tipo di elemento. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u00C8 richiesto uno vincolo dopo il tipo di elemento "{0}" nella dichiarazione del tipo di elemento. ++ ElementDeclUnterminated = La dichiarazione per il tipo di elemento "{0}" deve terminare con ''>''. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un carattere ''('' o un tipo di elemento \u00E8 obbligatorio nella dichiarazione del tipo di elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un carattere '')'' \u00E8 obbligatorio nella dichiarazione del tipo di elemento \"{0}\". ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Un carattere ''('' o un tipo di elemento \u00E8 obbligatorio nella dichiarazione del tipo di elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Un carattere '')'' \u00E8 obbligatorio nella dichiarazione del tipo di elemento "{0}". + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un tipo di elemento \u00E8 obbligatorio nella dichiarazione del tipo di elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un carattere '')'' \u00E8 obbligatorio nella dichiarazione del tipo di elemento \"{0}\". +- MixedContentUnterminated = Il modello di contenuto misto \"{0}\" deve terminare con \")*\" se i tipi di elementi figlio hanno vincoli. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = Un tipo di elemento \u00E8 obbligatorio nella dichiarazione del tipo di elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Un carattere '')'' \u00E8 obbligatorio nella dichiarazione del tipo di elemento "{0}". ++ MixedContentUnterminated = Il modello di contenuto misto "{0}" deve terminare con ")*" se i tipi di elementi figlio hanno vincoli. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u00C8 richiesto uno spazio dopo \"<!ATTLIST\" nella dichiarazione della lista di attributi. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u00C8 richiesto uno spazio dopo "<!ATTLIST" nella dichiarazione della lista di attributi. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = Il tipo di elemento \u00E8 obbligatorio nella dichiarazione della lista di attributi. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u00C8 richiesto uno spazio prima del nome attributo nella dichiarazione della lista di attributi per l''elemento \"{0}\". +- AttNameRequiredInAttDef = Specificare il nome attributo nella dichiarazione della lista di attributi per l''elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u00C8 richiesto uno spazio prima del tipo di attributo nella dichiarazione dell''attributo \"{1}\" per l''elemento \"{0}\". +- AttTypeRequiredInAttDef = Il tipo di attributo \u00E8 obbligatorio nella dichiarazione dell''attributo \"{1}\" per l''elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u00C8 richiesto uno spazio prima del valore predefinito di attributo nella dichiarazione dell''attributo \"{1}\" per l''elemento \"{0}\". +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Sono state specificate pi\u00F9 definizioni di attributo per lo stesso attributo \"{1}\" dell''elemento \"{0}\" specificato. ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u00C8 richiesto uno spazio prima del nome attributo nella dichiarazione della lista di attributi per l''elemento "{0}". ++ AttNameRequiredInAttDef = Specificare il nome attributo nella dichiarazione della lista di attributi per l''elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u00C8 richiesto uno spazio prima del tipo di attributo nella dichiarazione dell''attributo "{1}" per l''elemento "{0}". ++ AttTypeRequiredInAttDef = Il tipo di attributo \u00E8 obbligatorio nella dichiarazione dell''attributo "{1}" per l''elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u00C8 richiesto uno spazio prima del valore predefinito di attributo nella dichiarazione dell''attributo "{1}" per l''elemento "{0}". ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Sono state specificate pi\u00F9 definizioni di attributo per lo stesso attributo "{1}" dell''elemento "{0}" specificato. + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Deve essere presente uno spazio dopo \"NOTATION\" nella dichiarazione di attributo \"{1}\". +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Il carattere ''('' deve seguire \"NOTATION\" nella dichiarazione di attributo \"{1}\". +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Il nome notazione \u00E8 obbligatorio nella lista di tipi di notazione per la dichiarazione di attributo \"{1}\". +- NotationTypeUnterminated = La lista di tipi di notazione deve terminare con '')'' nella dichiarazione di attributo \"{1}\". +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Il nome token \u00E8 obbligatorio nella lista di tipi enumerati per la dichiarazione di attributo \"{1}\". +- EnumerationUnterminated = La lista di tipi enumerati deve terminare con '')'' nella dichiarazione di attributo \"{1}\". +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = Il valore di enumerazione \"{1}\" \u00E8 stato specificato pi\u00F9 volte nella dichiarazione dell''attributo \"{2}\" per l''elemento \"{0}\". I valori di NMTOKENS in una dichiarazione singola di attributo Enumeration devono essere tutti diversi. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = Il valore di enumerazione \"{1}\" \u00E8 stato specificato pi\u00F9 volte nella dichiarazione dell''attributo \"{2}\" per l''elemento \"{0}\". I nomi NOTATION in una dichiarazione singola di attributo NotationType devono essere tutti diversi. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Deve essere presente uno spazio dopo "NOTATION" nella dichiarazione di attributo "{1}". ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Il carattere ''('' deve seguire "NOTATION" nella dichiarazione di attributo "{1}". ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Il nome notazione \u00E8 obbligatorio nella lista di tipi di notazione per la dichiarazione di attributo "{1}". ++ NotationTypeUnterminated = La lista di tipi di notazione deve terminare con '')'' nella dichiarazione di attributo "{1}". ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Il nome token \u00E8 obbligatorio nella lista di tipi enumerati per la dichiarazione di attributo "{1}". ++ EnumerationUnterminated = La lista di tipi enumerati deve terminare con '')'' nella dichiarazione di attributo "{1}". ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = Il valore di enumerazione "{1}" \u00E8 stato specificato pi\u00F9 volte nella dichiarazione dell''attributo "{2}" per l''elemento "{0}". I valori di NMTOKENS in una dichiarazione singola di attributo Enumeration devono essere tutti diversi. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = Il valore di enumerazione "{1}" \u00E8 stato specificato pi\u00F9 volte nella dichiarazione dell''attributo "{2}" per l''elemento "{0}". I nomi NOTATION in una dichiarazione singola di attributo NotationType devono essere tutti diversi. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Deve essere presente uno spazio dopo \"FIXED\" nella dichiarazione di attributo \"{1}\". ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Deve essere presente uno spazio dopo "FIXED" nella dichiarazione di attributo "{1}". + # 3.4 Conditional Sections +- IncludeSectUnterminated = La sezione condizionale inclusa deve terminare con \"]]>\". +- IgnoreSectUnterminated = La sezione condizionale esclusa deve terminare con \"]]>\". ++ IncludeSectUnterminated = La sezione condizionale inclusa deve terminare con "]]>". ++ IgnoreSectUnterminated = La sezione condizionale esclusa deve terminare con "]]>". + # 4.1 Character and Entity References + NameRequiredInPEReference = Il nome entit\u00E0 deve seguire immediatamente '%' nel riferimento di entit\u00E0 di parametro. +- SemicolonRequiredInPEReference = Il riferimento di entit\u00E0 di parametro \"%{0};\" deve terminare con il delimitatore '';''. ++ SemicolonRequiredInPEReference = Il riferimento di entit\u00E0 di parametro "%{0};" deve terminare con il delimitatore '';''. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u00C8 richiesto uno spazio dopo \"<!ENTITY\" nella dichiarazione dell'entit\u00E0. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u00C8 richiesto uno spazio tra \"<!ENTITY\" e il carattere '%' nella dichiarazione dell'entit\u00E0 di parametro. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u00C8 richiesto uno spazio dopo "<!ENTITY" nella dichiarazione dell'entit\u00E0. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u00C8 richiesto uno spazio tra "<!ENTITY" e il carattere '%' nella dichiarazione dell'entit\u00E0 di parametro. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \u00C8 richiesto uno spazio tra '%' e il nome entit\u00E0 nella dichiarazione dell'entit\u00E0 di parametro. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = Il nome dell'entit\u00E0 \u00E8 obbligatorio nella dichiarazione di entit\u00E0. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u00C8 richiesto uno spazio tra il nome entit\u00E0 \"{0}\" e la definizione nella dichiarazione dell''entit\u00E0: +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u00C8 richiesto uno spazio tra \"NDATA\" e il nome notazione nella dichiarazione dell''entit\u00E0 \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u00C8 richiesto uno spazio prima di \"NDATA\" nella dichiarazione dell''entit\u00E0 \"{0}\". +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Il nome notazione \u00E8 obbligatorio dopo \"NDATA\" nella dichiarazione dell''entit\u00E0 \"{0}\". +- EntityDeclUnterminated = La dichiarazione per l''entit\u00E0 \"{0}\" deve terminare con ''>''. +- MSG_DUPLICATE_ENTITY_DEFINITION = L''entit\u00E0 \"{0}\" \u00E8 stata dichiarata pi\u00F9 volte. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u00C8 richiesto uno spazio tra il nome entit\u00E0 "{0}" e la definizione nella dichiarazione dell''entit\u00E0: ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u00C8 richiesto uno spazio tra "NDATA" e il nome notazione nella dichiarazione dell''entit\u00E0 "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u00C8 richiesto uno spazio prima di "NDATA" nella dichiarazione dell''entit\u00E0 "{0}". ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Il nome notazione \u00E8 obbligatorio dopo "NDATA" nella dichiarazione dell''entit\u00E0 "{0}". ++ EntityDeclUnterminated = La dichiarazione per l''entit\u00E0 "{0}" deve terminare con ''>''. ++ MSG_DUPLICATE_ENTITY_DEFINITION = L''entit\u00E0 "{0}" \u00E8 stata dichiarata pi\u00F9 volte. + # 4.2.2 External Entities +- ExternalIDRequired = La dichiarazione di entit\u00E0 esterna deve iniziare con \"SYSTEM\" o \"PUBLIC\". +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \u00C8 richiesto uno spazio tra \"PUBLIC\" e l'identificativo pubblico. ++ ExternalIDRequired = La dichiarazione di entit\u00E0 esterna deve iniziare con "SYSTEM" o "PUBLIC". ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \u00C8 richiesto uno spazio tra "PUBLIC" e l'identificativo pubblico. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = \u00C8 richiesto uno spazio tra l'identificativo pubblico e quello di sistema. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \u00C8 richiesto uno spazio tra \"SYSTEM\" e l'identificativo di sistema. +- MSG_URI_FRAGMENT_IN_SYSTEMID = L''identificativo di frammento non deve essere specificato nell''identificativo di sistema \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \u00C8 richiesto uno spazio tra "SYSTEM" e l'identificativo di sistema. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = L''identificativo di frammento non deve essere specificato nell''identificativo di sistema "{0}". + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u00C8 richiesto uno spazio dopo \"<!NOTATION\" nella dichiarazione della notazione. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u00C8 richiesto uno spazio dopo "<!NOTATION" nella dichiarazione della notazione. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = Il nome della notazione \u00E8 obbligatorio nella dichiarazione di notazione. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u00C8 richiesto uno spazio dopo il nome notazione \"{0}\" nella dichiarazione della notazione. +- ExternalIDorPublicIDRequired = La dichiarazione per la notazione \"{0}\" deve includere un identificativo di sistema o pubblico. +- NotationDeclUnterminated = La dichiarazione per la notazione \"{0}\" deve terminare con ''>''. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u00C8 richiesto uno spazio dopo il nome notazione "{0}" nella dichiarazione della notazione. ++ ExternalIDorPublicIDRequired = La dichiarazione per la notazione "{0}" deve includere un identificativo di sistema o pubblico. ++ NotationDeclUnterminated = La dichiarazione per la notazione "{0}" deve terminare con ''>''. + + # Validation messages +- DuplicateTypeInMixedContent = Il tipo di elemento \"{1}\" \u00E8 gi\u00E0 stato specificato nel modello di contenuto della dichiarazione di elemento \"{0}\". +- ENTITIESInvalid = Il valore di attributo \"{1}\" di tipo ENTITIES deve corrispondere ai nomi di una o pi\u00F9 entit\u00E0 non analizzate. +- ENTITYInvalid = Il valore di attributo \"{1}\" di tipo ENTITY deve corrispondere al nome di un''entit\u00E0 non analizzata. +- IDDefaultTypeInvalid = Nell''attributo ID \"{0}\" deve essere dichiarato un valore predefinito \"#IMPLIED\" o \"#REQUIRED\". +- IDInvalid = Il valore di attributo \"{0}\" di tipo ID deve essere un nome. +- IDInvalidWithNamespaces = Il valore di attributo \"{0}\" di tipo ID deve essere un NCName se sono abilitati gli spazi di nomi. +- IDNotUnique = Il valore di attributo \"{0}\" di tipo ID deve essere univoco all''interno del documento. +- IDREFInvalid = Il valore di attributo \"{0}\" di tipo IDREF deve essere un nome. +- IDREFInvalidWithNamespaces = Il valore di attributo \"{0}\" di tipo IDREF deve essere un NCName se sono abilitati gli spazi di nomi. +- IDREFSInvalid = Il valore di attributo \"{0}\" di tipo IDREFS deve corrispondere a uno o pi\u00F9 nomi. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Il testo di sostituzione dell''entit\u00E0 di parametro \"{0}\" deve includere dichiarazioni nidificate correttamente se il riferimento dell''entit\u00E0 \u00E8 utilizzato come dichiarazione completa. +- ImproperDeclarationNesting = Il testo di sostituzione dell''entit\u00E0 di parametro \"{0}\" deve includere dichiarazioni nidificate correttamente. +- ImproperGroupNesting = Il testo di sostituzione dell''entit\u00E0 di parametro \"{0}\" deve includere coppie di parentesi nidificate correttamente. +- INVALID_PE_IN_CONDITIONAL = Il testo di sostituzione dell''entit\u00E0 di parametro \"{0}\" deve includere tutta la sezione condizionale oppure solo INCLUDE o IGNORE. +- MSG_ATTRIBUTE_NOT_DECLARED = Dichiarare l''attributo \"{1}\" per il tipo di elemento \"{0}\". +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = L''attributo \"{0}\" con valore \"{1}\" deve avere un valore della lista \"{2}\". +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = Il valore \"{1}\" dell''attributo \"{0}\" non deve essere modificato dalla normalizzazione (in \"{2}\") in un documento standalone. +- MSG_CONTENT_INCOMPLETE = Il contenuto del tipo di elemento \"{0}\" \u00E8 incompleto. Deve corrispondere a \"{1}\". +- MSG_CONTENT_INVALID = Il contenuto del tipo di elemento \"{0}\" deve corrispondere a \"{1}\". +- MSG_CONTENT_INVALID_SPECIFIED = Il contenuto del tipo di elemento \"{0}\" deve corrispondere a \"{1}\". Non sono consentiti elementi figlio di tipo \"{2}\". +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = L''attributo \"{1}\" per il tipo di elemento \"{0}\" ha un valore predefinito e deve essere specificato in un documento standalone. +- MSG_DUPLICATE_ATTDEF = L''attributo \"{1}\" \u00E8 gi\u00E0 stato dichiarato per il tipo di elemento \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = Il tipo di elemento \"{0}\" non deve essere dichiarato pi\u00F9 volte. +- MSG_ELEMENT_NOT_DECLARED = Il tipo di elemento \"{0}\" deve essere dichiarato. ++ DuplicateTypeInMixedContent = Il tipo di elemento "{1}" \u00E8 gi\u00E0 stato specificato nel modello di contenuto della dichiarazione di elemento "{0}". ++ ENTITIESInvalid = Il valore di attributo "{1}" di tipo ENTITIES deve corrispondere ai nomi di una o pi\u00F9 entit\u00E0 non analizzate. ++ ENTITYInvalid = Il valore di attributo "{1}" di tipo ENTITY deve corrispondere al nome di un''entit\u00E0 non analizzata. ++ IDDefaultTypeInvalid = Nell''attributo ID "{0}" deve essere dichiarato un valore predefinito "#IMPLIED" o "#REQUIRED". ++ IDInvalid = Il valore di attributo "{0}" di tipo ID deve essere un nome. ++ IDInvalidWithNamespaces = Il valore di attributo "{0}" di tipo ID deve essere un NCName se sono abilitati gli spazi di nomi. ++ IDNotUnique = Il valore di attributo "{0}" di tipo ID deve essere univoco all''interno del documento. ++ IDREFInvalid = Il valore di attributo "{0}" di tipo IDREF deve essere un nome. ++ IDREFInvalidWithNamespaces = Il valore di attributo "{0}" di tipo IDREF deve essere un NCName se sono abilitati gli spazi di nomi. ++ IDREFSInvalid = Il valore di attributo "{0}" di tipo IDREFS deve corrispondere a uno o pi\u00F9 nomi. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Il testo di sostituzione dell''entit\u00E0 di parametro "{0}" deve includere dichiarazioni nidificate correttamente se il riferimento dell''entit\u00E0 \u00E8 utilizzato come dichiarazione completa. ++ ImproperDeclarationNesting = Il testo di sostituzione dell''entit\u00E0 di parametro "{0}" deve includere dichiarazioni nidificate correttamente. ++ ImproperGroupNesting = Il testo di sostituzione dell''entit\u00E0 di parametro "{0}" deve includere coppie di parentesi nidificate correttamente. ++ INVALID_PE_IN_CONDITIONAL = Il testo di sostituzione dell''entit\u00E0 di parametro "{0}" deve includere tutta la sezione condizionale oppure solo INCLUDE o IGNORE. ++ MSG_ATTRIBUTE_NOT_DECLARED = Dichiarare l''attributo "{1}" per il tipo di elemento "{0}". ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = L''attributo "{0}" con valore "{1}" deve avere un valore della lista "{2}". ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = Il valore "{1}" dell''attributo "{0}" non deve essere modificato dalla normalizzazione (in "{2}") in un documento standalone. ++ MSG_CONTENT_INCOMPLETE = Il contenuto del tipo di elemento "{0}" \u00E8 incompleto. Deve corrispondere a "{1}". ++ MSG_CONTENT_INVALID = Il contenuto del tipo di elemento "{0}" deve corrispondere a "{1}". ++ MSG_CONTENT_INVALID_SPECIFIED = Il contenuto del tipo di elemento "{0}" deve corrispondere a "{1}". Non sono consentiti elementi figlio di tipo "{2}". ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = L''attributo "{1}" per il tipo di elemento "{0}" ha un valore predefinito e deve essere specificato in un documento standalone. ++ MSG_DUPLICATE_ATTDEF = L''attributo "{1}" \u00E8 gi\u00E0 stato dichiarato per il tipo di elemento "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = Il tipo di elemento "{0}" non deve essere dichiarato pi\u00F9 volte. ++ MSG_ELEMENT_NOT_DECLARED = Il tipo di elemento "{0}" deve essere dichiarato. + MSG_GRAMMAR_NOT_FOUND = Documento non valido: nessuna grammatica trovata. +- MSG_ELEMENT_WITH_ID_REQUIRED = Un elemento con identificativo \"{0}\" deve esistere nel documento. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Il riferimento all''entit\u00E0 esterna \"{0}\" non \u00E8 consentito in un documento standalone. +- MSG_FIXED_ATTVALUE_INVALID = L''attributo \"{1}\" con valore \"{2}\" deve avere un valore \"{3}\". +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Il tipo di elemento \"{0}\" ha gi\u00E0 un attributo \"{1}\" di tipo ID. Non \u00E8 consentito un secondo attributo \"{2}\" di tipo ID. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Il tipo di elemento \"{0}\" ha gi\u00E0 un attributo \"{1}\" di tipo NOTATION. Non \u00E8 consentito un secondo attributo \"{2}\" di tipo NOTATION. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notazione \"{1}\" deve essere dichiarata se vi viene fatto riferimento nella lista dei tipi di notazione per l''attributo \"{0}\". +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notazione \"{1}\" deve essere dichiarata se vi viene fatto riferimento dichiarazione di entit\u00E0 non analizzata per \"{0}\". +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Il riferimento all''entit\u00E0 \"{0}\" dichiarata in un''entit\u00E0 esterna analizzata non \u00E8 consentito in un documento standalone. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = L''attributo \"{1}\" \u00E8 obbligatorio e deve essere specificato per il tipo di elemento \"{0}\". ++ MSG_ELEMENT_WITH_ID_REQUIRED = Un elemento con identificativo "{0}" deve esistere nel documento. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Il riferimento all''entit\u00E0 esterna "{0}" non \u00E8 consentito in un documento standalone. ++ MSG_FIXED_ATTVALUE_INVALID = L''attributo "{1}" con valore "{2}" deve avere un valore "{3}". ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Il tipo di elemento "{0}" ha gi\u00E0 un attributo "{1}" di tipo ID. Non \u00E8 consentito un secondo attributo "{2}" di tipo ID. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Il tipo di elemento "{0}" ha gi\u00E0 un attributo "{1}" di tipo NOTATION. Non \u00E8 consentito un secondo attributo "{2}" di tipo NOTATION. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = La notazione "{1}" deve essere dichiarata se vi viene fatto riferimento nella lista dei tipi di notazione per l''attributo "{0}". ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = La notazione "{1}" deve essere dichiarata se vi viene fatto riferimento dichiarazione di entit\u00E0 non analizzata per "{0}". ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Il riferimento all''entit\u00E0 "{0}" dichiarata in un''entit\u00E0 esterna analizzata non \u00E8 consentito in un documento standalone. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = L''attributo "{1}" \u00E8 obbligatorio e deve essere specificato per il tipo di elemento "{0}". + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = Non deve esistere nessuno spazio tra gli elementi dichiarati in un'entit\u00E0 esterna analizzata con il contenuto dell'elemento in un documento standalone. +- NMTOKENInvalid = Il valore di attributo \"{0}\" di tipo NMTOKEN deve essere un token di nome. +- NMTOKENSInvalid = Il valore di attributo \"{0}\" di tipo NMTOKENS deve corrispondere a uno o pi\u00F9 token di nomi. +- NoNotationOnEmptyElement = Il tipo di elemento \"{0}\" dichiarato come EMPTY non pu\u00F2 dichiarare l''attributo \"{1}\" di tipo NOTATION. +- RootElementTypeMustMatchDoctypedecl = L''elemento radice \"{1}\" del documento deve corrispondere alla radice DOCTYPE \"{0}\". +- UndeclaredElementInContentSpec = Il modello di contenuto dell''elemento \"{0}\" fa riferimento a un elemento \"{1}\" non dichiarato. +- UniqueNotationName = La dichiarazione per la notazione \"{0}\" non \u00E8 univoca. Un nome non deve essere dichiarato pi\u00F9 volte nella dichiarazione di una notazione. ++ NMTOKENInvalid = Il valore di attributo "{0}" di tipo NMTOKEN deve essere un token di nome. ++ NMTOKENSInvalid = Il valore di attributo "{0}" di tipo NMTOKENS deve corrispondere a uno o pi\u00F9 token di nomi. ++ NoNotationOnEmptyElement = Il tipo di elemento "{0}" dichiarato come EMPTY non pu\u00F2 dichiarare l''attributo "{1}" di tipo NOTATION. ++ RootElementTypeMustMatchDoctypedecl = L''elemento radice "{1}" del documento deve corrispondere alla radice DOCTYPE "{0}". ++ UndeclaredElementInContentSpec = Il modello di contenuto dell''elemento "{0}" fa riferimento a un elemento "{1}" non dichiarato. ++ UniqueNotationName = La dichiarazione per la notazione "{0}" non \u00E8 univoca. Un nome non deve essere dichiarato pi\u00F9 volte nella dichiarazione di una notazione. + ENTITYFailedInitializeGrammar = ENTITYDatatype Validator: errore. \u00C8 necessario richiamare il metodo di inizializzazione con un riferimento di grammatica valido. \t +- ENTITYNotUnparsed = ENTITY \"{0}\" non analizzata. +- ENTITYNotValid = ENTITY \"{0}\" non valida. ++ ENTITYNotUnparsed = ENTITY "{0}" non analizzata. ++ ENTITYNotValid = ENTITY "{0}" non valida. + EmptyList = I valori di tipo ENTITIES, IDREFS e NMTOKENS non possono essere una lista vuota. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = Il riferimento di entit\u00E0 esterna \"&{0};\" non \u00E8 consentito in un valore di attributo. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = Il riferimento di entit\u00E0 esterna "&{0};" non \u00E8 consentito in un valore di attributo. ++ AccessExternalDTD = DTD esterna: lettura della DTD esterna ''{0}'' non riuscita. Accesso ''{1}'' non consentito a causa della limitazione definita dalla propriet\u00E0 accessExternalDTD. ++ AccessExternalEntity = Entit\u00E0 esterna: lettura del documento esterno ''{0}'' non riuscita. Accesso ''{1}'' non consentito a causa della limitazione definita dalla propriet\u00E0 accessExternalDTD. + + # 4.1 Character and Entity References +- EntityNotDeclared = L''entit\u00E0 \"{0}\" \u00E8 indicata da un riferimento, ma non \u00E8 dichiarata. +- ReferenceToUnparsedEntity = Il riferimento di entit\u00E0 non analizzata \"&{0};\" non \u00E8 consentito. +- RecursiveReference = Riferimento di entit\u00E0 ricorsivo \"{0}\" (percorso riferimento: {1}). +- RecursiveGeneralReference = Riferimento di entit\u00E0 generale ricorsivo \"&{0};\" (percorso riferimento: {1}). +- RecursivePEReference = Riferimento di entit\u00E0 parametro ricorsivo \"%{0};\" (percorso riferimento: {1}). ++ EntityNotDeclared = L''entit\u00E0 "{0}" \u00E8 indicata da un riferimento, ma non \u00E8 dichiarata. ++ ReferenceToUnparsedEntity = Il riferimento di entit\u00E0 non analizzata "&{0};" non \u00E8 consentito. ++ RecursiveReference = Riferimento di entit\u00E0 ricorsivo "{0}" (percorso riferimento: {1}). ++ RecursiveGeneralReference = Riferimento di entit\u00E0 generale ricorsivo "&{0};" (percorso riferimento: {1}). ++ RecursivePEReference = Riferimento di entit\u00E0 parametro ricorsivo "%{0};" (percorso riferimento: {1}). + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = La codifica \"{0}\" non \u00E8 supportata. ++ EncodingNotSupported = La codifica "{0}" non \u00E8 supportata. + EncodingRequired = Un'entit\u00E0 analizzata non codificata in UTF-8 o UTF-16 deve contenere una dichiarazione di codifica. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = L'elemento o l'attributo non corrisponde alla produzione del QName: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = L''elemento \"{0}\" non pu\u00F2 avere \"xmlns\" come prefisso. +- ElementPrefixUnbound = Il prefisso \"{0}\" per l''elemento \"{1}\" non \u00E8 associato. +- AttributePrefixUnbound = Il prefisso \"{2}\" per l''attributo \"{1}\" associato a un tipo di elemento \"{0}\" non \u00E8 associato. +- EmptyPrefixedAttName = Il valore dell''attributo \"{0}\" non \u00E8 valido. Le associazioni di spazi di nomi con prefisso non possono essere vuote. +- PrefixDeclared = Il prefisso spazio di nomi \"{0}\" non \u00E8 stato dichiarato. ++ ElementXMLNSPrefix = L''elemento "{0}" non pu\u00F2 avere "xmlns" come prefisso. ++ ElementPrefixUnbound = Il prefisso "{0}" per l''elemento "{1}" non \u00E8 associato. ++ AttributePrefixUnbound = Il prefisso "{2}" per l''attributo "{1}" associato a un tipo di elemento "{0}" non \u00E8 associato. ++ EmptyPrefixedAttName = Il valore dell''attributo "{0}" non \u00E8 valido. Le associazioni di spazi di nomi con prefisso non possono essere vuote. ++ PrefixDeclared = Il prefisso spazio di nomi "{0}" non \u00E8 stato dichiarato. + CantBindXMLNS = Il prefisso "xmlns" non pu\u00F2 essere associato esplicitamente a uno spazio di nomi, n\u00E9 lo spazio di nomi per "xmlns" pu\u00F2 essere associato esplicitamente a un prefisso. + CantBindXML = Il prefisso "xml" non pu\u00F2 essere associato a uno spazio di nomi diverso da quello al quale appartiene, n\u00E9 lo spazio di nomi per "xml" pu\u00F2 essere associato a un prefisso diverso da "xml". +- MSG_ATT_DEFAULT_INVALID = defaultValue \"{1}\" dell''attributo \"{0}\" non valido per i vincoli lessicali di questo tipo di attributo. ++ MSG_ATT_DEFAULT_INVALID = defaultValue "{1}" dell''attributo "{0}" non valido per i vincoli lessicali di questo tipo di attributo. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=Il parser ha rilevato pi\u00F9 \"{0}\" espansioni di entit\u00E0 nel documento. Questo \u00E8 il limite imposto dall''applicazione. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: il parser ha rilevato pi\u00F9 "{0}" espansioni di entit\u00E0 nel documento. Questo \u00E8 il limite imposto dal kit JDK. ++ ElementAttributeLimit=JAXP00010002: l''elemento "{0}" contiene pi\u00F9 di "{1}" attributi. "{1}" \u00E8 il limite imposto dal kit JDK. ++ MaxEntitySizeLimit=JAXP00010003: la lunghezza dell''entit\u00E0 "{0}" \u00E8 "{1}". Tale valore supera il limite "{2}" definito da "{3}". ++ TotalEntitySizeLimit=JAXP00010004: le dimensioni accumulate "{0}" delle entit\u00E0 supera il limite "{1}" definito da "{2}". ++ MaxXMLNameLimit=JAXP00010005: il nome "{0}" supera il limite "{1}" definito da "{2}". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= L''elemento \"{0}\" contiene pi\u00F9 di \"{1}\" attributi. \"{1}\" \u00E8 il limite imposto dall''applicazione. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties 2014-01-18 12:16:08.000000000 -0800 +@@ -1,30 +1,26 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - -- if (args.length == 0 || (!args[0].equals("bad") && !args[0].equals("normal"))) { -- System.out.println("Usage: java InternTest [normal|bad]"); -- System.exit(1); -- } +-/* +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +44,14 @@ + InvalidCharInProlog = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30D7\u30ED\u30ED\u30FC\u30B0\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + InvalidCharInXMLDecl = XML\u5BA3\u8A00\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + # 2.4 Character Data and Markup +- CDEndInContent = \u6587\u5B57\u30B7\u30FC\u30B1\u30F3\u30B9\"]]>\"\u306F\u3001CDATA\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u7D42\u308F\u308A\u3092\u793A\u3059\u76EE\u7684\u4EE5\u5916\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u4F7F\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 ++ CDEndInContent = \u6587\u5B57\u30B7\u30FC\u30B1\u30F3\u30B9"]]>"\u306F\u3001CDATA\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u7D42\u308F\u308A\u3092\u793A\u3059\u76EE\u7684\u4EE5\u5916\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u4F7F\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA\u30BB\u30AF\u30B7\u30E7\u30F3\u306F\"]]>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ CDSectUnterminated = CDATA\u30BB\u30AF\u30B7\u30E7\u30F3\u306F"]]>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML\u5BA3\u8A00\u306F\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u5148\u982D\u3067\u306E\u307F\u4F7F\u7528\u3067\u304D\u307E\u3059\u3002 +- EqRequiredInXMLDecl = XML\u5BA3\u8A00\u3067\u306F\u3001\"{0}\"\u306E\u5F8C\u306B'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 +- QuoteRequiredInXMLDecl = XML\u5BA3\u8A00\u306E\"{0}\"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u3093\u3060\u6587\u5B57\u5217\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- XMLDeclUnterminated = XML\u5BA3\u8A00\u306F\"?>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ EqRequiredInXMLDecl = XML\u5BA3\u8A00\u3067\u306F\u3001"{0}"\u306E\u5F8C\u306B'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ QuoteRequiredInXMLDecl = XML\u5BA3\u8A00\u306E"{0}"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u3093\u3060\u6587\u5B57\u5217\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ XMLDeclUnterminated = XML\u5BA3\u8A00\u306F"?>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + VersionInfoRequired = XML\u5BA3\u8A00\u306B\u306F\u30D0\u30FC\u30B8\u30E7\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002 + SpaceRequiredBeforeVersionInXMLDecl = XML\u5BA3\u8A00\u3067\u306F\u3001\u30D0\u30FC\u30B8\u30E7\u30F3\u7591\u4F3C\u5C5E\u6027\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + SpaceRequiredBeforeEncodingInXMLDecl = XML\u5BA3\u8A00\u3067\u306F\u3001\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u7591\u4F3C\u5C5E\u6027\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +@@ -71,70 +67,71 @@ + ReferenceIllegalInTrailingMisc=\u5F8C\u7D9A\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u53C2\u7167\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = \u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5BA3\u8A00\u306E\u5024\u306F\u3001\"{0}\"\u3067\u306F\u306A\u304F\u3001\"yes\"\u307E\u305F\u306F\"no\"\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ SDDeclInvalid = \u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5BA3\u8A00\u306E\u5024\u306F\u3001"{0}"\u3067\u306F\u306A\u304F\u3001"yes"\u307E\u305F\u306F"no"\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ SDDeclNameInvalid = XML\u5BA3\u8A00\u306E\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u540D\u304C\u9593\u9055\u3063\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002 + # 2.12 Language Identification +- XMLLangInvalid = xml:lang\u5C5E\u6027\u306E\u5024\"{0}\"\u306F\u7121\u52B9\u306A\u8A00\u8A9E\u8B58\u5225\u5B50\u3067\u3059\u3002 ++ XMLLangInvalid = xml:lang\u5C5E\u6027\u306E\u5024"{0}"\u306F\u7121\u52B9\u306A\u8A00\u8A9E\u8B58\u5225\u5B50\u3067\u3059\u3002 + # 3. Logical Structures +- ETagRequired = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306F\u3001\u5BFE\u5FDC\u3059\u308B\u7D42\u4E86\u30BF\u30B0\"</{0}>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ETagRequired = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306F\u3001\u5BFE\u5FDC\u3059\u308B\u7D42\u4E86\u30BF\u30B0"</{0}>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5F8C\u306B\u306F\u3001\u5C5E\u6027\u6307\u5B9A\">\"\u307E\u305F\u306F\"/>\"\u304C\u5FC5\u8981\u3067\u3059\u3002 +- EqRequiredInAttribute = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\u540D\"{1}\"\u306E\u5F8C\u306B\u306F\u3001'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 +- OpenQuoteExpected = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\"{1}\"\u306B\u306F\u3001\u958B\u59CB\u5F15\u7528\u7B26\u304C\u5FC5\u8981\u3067\u3059\u3002 +- CloseQuoteExpected = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\"{1}\"\u306B\u306F\u3001\u7D42\u4E86\u5F15\u7528\u7B26\u304C\u5FC5\u8981\u3067\u3059\u3002 +- AttributeNotUnique = \u5C5E\u6027\"{1}\"\u306F\u8981\u7D20\"{0}\"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +- AttributeNSNotUnique = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{2}\"\u306B\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u305F\u5C5E\u6027\"{1}\"\u306F\u8981\u7D20\"{0}\"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +- ETagUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u7D42\u4E86\u30BF\u30B0\u306F''>''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ElementUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5F8C\u306B\u306F\u3001\u5C5E\u6027\u6307\u5B9A">"\u307E\u305F\u306F"/>"\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ EqRequiredInAttribute = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\u540D"{1}"\u306E\u5F8C\u306B\u306F\u3001'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ OpenQuoteExpected = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027"{1}"\u306B\u306F\u3001\u958B\u59CB\u5F15\u7528\u7B26\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ CloseQuoteExpected = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027"{1}"\u306B\u306F\u3001\u7D42\u4E86\u5F15\u7528\u7B26\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ AttributeNotUnique = \u5C5E\u6027"{1}"\u306F\u8981\u7D20"{0}"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ AttributeNSNotUnique = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9"{2}"\u306B\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u305F\u5C5E\u6027"{1}"\u306F\u8981\u7D20"{0}"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ ETagUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u7D42\u4E86\u30BF\u30B0\u306F''>''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + MarkupNotRecognizedInContent = \u8981\u7D20\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F\u3001\u6574\u5F62\u5F0F\u306E\u6587\u5B57\u30C7\u30FC\u30BF\u307E\u305F\u306F\u30DE\u30FC\u30AF\u30A2\u30C3\u30D7\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + DoctypeIllegalInContent = \u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u306FDOCTYPE\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 + # 4.1 Character and Entity References + ReferenceUnterminated = \u53C2\u7167\u306F';'\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = \u53C2\u7167\u306F\u3001\u540C\u3058\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u306B\u5B8C\u5168\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ElementEntityMismatch = \u8981\u7D20\"{0}\"\u306F\u3001\u540C\u3058\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u3067\u958B\u59CB\u304A\u3088\u3073\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ElementEntityMismatch = \u8981\u7D20"{0}"\u306F\u3001\u540C\u3058\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u3067\u958B\u59CB\u304A\u3088\u3073\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + MarkupEntityMismatch=XML\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u69CB\u9020\u306F\u3001\u540C\u3058\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u3067\u958B\u59CB\u304A\u3088\u3073\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = \u5C5E\u6027\"{1}\"\u306E\u5024\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{2})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002\u8981\u7D20\u306F\"{0}\"\u3067\u3059\u3002 ++ InvalidCharInAttValue = \u5C5E\u6027"{1}"\u306E\u5024\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{2})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002\u8981\u7D20\u306F"{0}"\u3067\u3059\u3002 + InvalidCharInComment = \u30B3\u30E1\u30F3\u30C8\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + InvalidCharInPI = \u51E6\u7406\u547D\u4EE4\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + InvalidCharInInternalSubset = DTD\u306E\u5185\u90E8\u30B5\u30D6\u30BB\u30C3\u30C8\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + InvalidCharInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306B\u7121\u52B9\u306AXML\u6587\u5B57(Unicode: 0x{0})\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = \u5C5E\u6027\"{1}\"\u306E\u5024\u306E\u5148\u982D\u306B\u306F\u3001\u4E00\u91CD\u5F15\u7528\u7B26\u6587\u5B57\u307E\u305F\u306F\u4E8C\u91CD\u5F15\u7528\u7B26\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 +- LessthanInAttValue = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\"{1}\"\u306E\u5024\u306B\u306F\u3001''<''\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 +- AttributeValueUnterminated = \u5C5E\u6027\"{1}\"\u306E\u5024\u306F\u3001\u5BFE\u5FDC\u3059\u308B\u5F15\u7528\u7B26\u6587\u5B57\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ QuoteRequiredInAttValue = \u5C5E\u6027"{1}"\u306E\u5024\u306E\u5148\u982D\u306B\u306F\u3001\u4E00\u91CD\u5F15\u7528\u7B26\u6587\u5B57\u307E\u305F\u306F\u4E8C\u91CD\u5F15\u7528\u7B26\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ LessthanInAttValue = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027"{1}"\u306E\u5024\u306B\u306F\u3001''<''\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 ++ AttributeValueUnterminated = \u5C5E\u6027"{1}"\u306E\u5024\u306F\u3001\u5BFE\u5FDC\u3059\u308B\u5F15\u7528\u7B26\u6587\u5B57\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 2.5 Comments +- InvalidCommentStart = \u30B3\u30E1\u30F3\u30C8\u306E\u5148\u982D\u306B\u306F\"<!--\"\u304C\u5FC5\u8981\u3067\u3059\u3002 +- DashDashInComment = \u30B3\u30E1\u30F3\u30C8\u5185\u3067\u306F\u6587\u5B57\u5217\"--\"\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 +- CommentUnterminated = \u30B3\u30E1\u30F3\u30C8\u306F\"-->\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ InvalidCommentStart = \u30B3\u30E1\u30F3\u30C8\u306E\u5148\u982D\u306B\u306F"<!--"\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ DashDashInComment = \u30B3\u30E1\u30F3\u30C8\u5185\u3067\u306F\u6587\u5B57\u5217"--"\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 ++ CommentUnterminated = \u30B3\u30E1\u30F3\u30C8\u306F"-->"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + COMMENT_NOT_IN_ONE_ENTITY = \u30B3\u30E1\u30F3\u30C8\u304C\u540C\u3058\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3067\u56F2\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + # 2.6 Processing Instructions + PITargetRequired = \u51E6\u7406\u547D\u4EE4\u306E\u5148\u982D\u306B\u306F\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u540D\u524D\u304C\u5FC5\u8981\u3067\u3059\u3002 + SpaceRequiredInPI = \u51E6\u7406\u547D\u4EE4\u30BF\u30FC\u30B2\u30C3\u30C8\u3068\u30C7\u30FC\u30BF\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- PIUnterminated = \u51E6\u7406\u547D\u4EE4\u306F\"?>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ReservedPITarget = \"[xX][mM][lL]\"\u3068\u4E00\u81F4\u3059\u308B\u51E6\u7406\u547D\u4EE4\u30BF\u30FC\u30B2\u30C3\u30C8\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ PIUnterminated = \u51E6\u7406\u547D\u4EE4\u306F"?>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ReservedPITarget = "[xX][mM][lL]"\u3068\u4E00\u81F4\u3059\u308B\u51E6\u7406\u547D\u4EE4\u30BF\u30FC\u30B2\u30C3\u30C8\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + PI_NOT_IN_ONE_ENTITY = \u51E6\u7406\u547D\u4EE4\u304C\u540C\u3058\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3067\u56F2\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = \u30D0\u30FC\u30B8\u30E7\u30F3\"{0}\"\u306F\u7121\u52B9\u3067\u3059\u3002 +- VersionNotSupported = XML\u30D0\u30FC\u30B8\u30E7\u30F3\"{0}\"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u306E\u306FXML 1.0\u306E\u307F\u3067\u3059\u3002 +- VersionNotSupported11 = XML\u30D0\u30FC\u30B8\u30E7\u30F3\"{0}\"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u306E\u306FXML 1.0\u304A\u3088\u3073XML 1.1\u306E\u307F\u3067\u3059\u3002 ++ VersionInfoInvalid = \u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u306F\u7121\u52B9\u3067\u3059\u3002 ++ VersionNotSupported = XML\u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u306E\u306FXML 1.0\u306E\u307F\u3067\u3059\u3002 ++ VersionNotSupported11 = XML\u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u306E\u306FXML 1.0\u304A\u3088\u3073XML 1.1\u306E\u307F\u3067\u3059\u3002 + VersionMismatch= \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u306F\u3001\u5F8C\u7D9A\u30D0\u30FC\u30B8\u30E7\u30F3\u306E\u5225\u306E\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 + # 4.1 Character and Entity References +- DigitRequiredInCharRef = \u6587\u5B57\u53C2\u7167\u3067\u306F\u300110\u9032\u8868\u73FE\u306F\"&#\"\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- HexdigitRequiredInCharRef = \u6587\u5B57\u53C2\u7167\u3067\u306F\u300116\u9032\u8868\u73FE\u306F\"&#x\"\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ DigitRequiredInCharRef = \u6587\u5B57\u53C2\u7167\u3067\u306F\u300110\u9032\u8868\u73FE\u306F"&#"\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ HexdigitRequiredInCharRef = \u6587\u5B57\u53C2\u7167\u3067\u306F\u300116\u9032\u8868\u73FE\u306F"&#x"\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + SemicolonRequiredInCharRef = \u6587\u5B57\u53C2\u7167\u306F';'\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- InvalidCharRef = \u6587\u5B57\u53C2\u7167\"&#{0}\"\u306F\u7121\u52B9\u306AXML\u6587\u5B57\u3067\u3059\u3002 ++ InvalidCharRef = \u6587\u5B57\u53C2\u7167"&#{0}"\u306F\u7121\u52B9\u306AXML\u6587\u5B57\u3067\u3059\u3002 + NameRequiredInReference = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\u3067\u306F\u3001\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D\u306F'&'\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- SemicolonRequiredInReference = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u3078\u306E\u53C2\u7167\u306F'';''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ SemicolonRequiredInReference = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u3078\u306E\u53C2\u7167\u306F'';''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306F\u3001\u5916\u90E8\u306E\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u5148\u982D\u3067\u306E\u307F\u4F7F\u7528\u3067\u304D\u307E\u3059\u3002 +- EqRequiredInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\"{0}\"\u306E\u5F8C\u306B'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 +- QuoteRequiredInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306E\"{0}\"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u3093\u3060\u6587\u5B57\u5217\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- CloseQuoteMissingInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306E\"{0}\"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306B\u7D42\u4E86\u5F15\u7528\u7B26\u304C\u3042\u308A\u307E\u305B\u3093\u3002 ++ EqRequiredInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001"{0}"\u306E\u5F8C\u306B'' = ''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ QuoteRequiredInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306E"{0}"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u3093\u3060\u6587\u5B57\u5217\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ CloseQuoteMissingInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306E"{0}"\u306E\u5F8C\u306B\u7D9A\u304F\u5024\u306B\u7D42\u4E86\u5F15\u7528\u7B26\u304C\u3042\u308A\u307E\u305B\u3093\u3002 + SpaceRequiredBeforeVersionInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\u30D0\u30FC\u30B8\u30E7\u30F3\u7591\u4F3C\u5C5E\u6027\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + SpaceRequiredBeforeEncodingInTextDecl = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u7591\u4F3C\u5C5E\u6027\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- TextDeclUnterminated = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306F\"?>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ TextDeclUnterminated = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306F"?>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + EncodingDeclRequired = \u30C6\u30AD\u30B9\u30C8\u5BA3\u8A00\u306B\u306F\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u5BA3\u8A00\u304C\u5FC5\u8981\u3067\u3059\u3002 + NoMorePseudoAttributes = \u3053\u308C\u4EE5\u4E0A\u306E\u7591\u4F3C\u5C5E\u6027\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 + MorePseudoAttributes = \u7591\u4F3C\u5C5E\u6027\u304C\u3055\u3089\u306B\u5FC5\u8981\u3067\u3059\u3002 +@@ -143,13 +140,13 @@ + CommentNotInOneEntity = \u30B3\u30E1\u30F3\u30C8\u306F\u3001\u540C\u3058\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u306B\u5B8C\u5168\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + PINotInOneEntity = \u51E6\u7406\u547D\u4EE4\u306F\u3001\u540C\u3058\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5185\u306B\u5B8C\u5168\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u540D\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002 +- EncodingByteOrderUnsupported = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\"{0}\"\u306B\u6307\u5B9A\u3055\u308C\u305F\u30D0\u30A4\u30C8\u9806\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ EncodingDeclInvalid = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u540D"{0}"\u304C\u7121\u52B9\u3067\u3059\u3002 ++ EncodingByteOrderUnsupported = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0"{0}"\u306B\u6307\u5B9A\u3055\u308C\u305F\u30D0\u30A4\u30C8\u9806\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + InvalidByte = {1}\u30D0\u30A4\u30C8\u306EUTF-8\u30B7\u30FC\u30B1\u30F3\u30B9\u306E\u30D0\u30A4\u30C8{0}\u304C\u7121\u52B9\u3067\u3059\u3002 + ExpectedByte = {1}\u30D0\u30A4\u30C8\u306EUTF-8\u30B7\u30FC\u30B1\u30F3\u30B9\u306E\u30D0\u30A4\u30C8{0}\u304C\u5FC5\u8981\u3067\u3059\u3002 + InvalidHighSurrogate = UTF-8\u30B7\u30FC\u30B1\u30F3\u30B9\u306E\u4E0A\u4F4D\u30B5\u30ED\u30B2\u30FC\u30C8\u30FB\u30D3\u30C3\u30C8\u306E\u4E0A\u9650\u306F0x10\u3067\u3059\u304C\u30010x{0}\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002 +- OperationNotSupported = \u64CD\u4F5C\"{0}\"\u306F{1}\u30EA\u30FC\u30C0\u30FC\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- InvalidASCII = \u30D0\u30A4\u30C8\"{0}\"\u306F\u3001(7\u30D3\u30C3\u30C8) ASCII\u30AD\u30E3\u30E9\u30AF\u30BF\u30FB\u30BB\u30C3\u30C8\u306E\u30E1\u30F3\u30D0\u30FC\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 ++ OperationNotSupported = \u64CD\u4F5C"{0}"\u306F{1}\u30EA\u30FC\u30C0\u30FC\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ InvalidASCII = \u30D0\u30A4\u30C8"{0}"\u306F\u3001(7\u30D3\u30C3\u30C8) ASCII\u30AD\u30E3\u30E9\u30AF\u30BF\u30FB\u30BB\u30C3\u30C8\u306E\u30E1\u30F3\u30D0\u30FC\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 + CharConversionFailure = \u7279\u5B9A\u306E\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3067\u3042\u308B\u3068\u78BA\u5B9A\u3055\u308C\u305F\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u306F\u3001\u305D\u306E\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3067\u4E0D\u6B63\u306A\u30B7\u30FC\u30B1\u30F3\u30B9\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 + + # DTD Messages +@@ -169,150 +166,150 @@ + PubidCharIllegal = \u516C\u958B\u8B58\u5225\u5B50\u3067\u306F\u3001\u6587\u5B57(Unicode: 0x{0})\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 + SpaceRequiredBetweenPublicAndSystem = \u516C\u958B\u8B58\u5225\u5B50\u3068\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\"<!DOCTYPE\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\"<!DOCTYPE\"\u306E\u5F8C\u306B\u30EB\u30FC\u30C8\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- DoctypedeclUnterminated = \u30EB\u30FC\u30C8\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- PEReferenceWithinMarkup = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"%{0};\"\u306F\u3001DTD\u306E\u5185\u90E8\u30B5\u30D6\u30BB\u30C3\u30C8\u306E\u30DE\u30FC\u30AF\u30A2\u30C3\u30D7\u5185\u306B\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001"<!DOCTYPE"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001"<!DOCTYPE"\u306E\u5F8C\u306B\u30EB\u30FC\u30C8\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ DoctypedeclUnterminated = \u30EB\u30FC\u30C8\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ PEReferenceWithinMarkup = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"%{0};"\u306F\u3001DTD\u306E\u5185\u90E8\u30B5\u30D6\u30BB\u30C3\u30C8\u306E\u30DE\u30FC\u30AF\u30A2\u30C3\u30D7\u5185\u306B\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u306B\u542B\u307E\u308C\u308B\u304B\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30BF\u30A4\u30D7\u5BA3\u8A00\u304C\u6307\u3057\u3066\u3044\u308B\u30DE\u30FC\u30AF\u30A2\u30C3\u30D7\u5BA3\u8A00\u306F\u6574\u5F62\u5F0F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = \"xml:space\"\u306E\u5C5E\u6027\u5BA3\u8A00\u306F\u3001\"default\"\u304A\u3088\u3073\"preserve\"\u306E\u307F\u3092\u4F7F\u7528\u3067\u304D\u308B\u5217\u6319\u30BF\u30A4\u30D7\u3068\u3057\u3066\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = "xml:space"\u306E\u5C5E\u6027\u5BA3\u8A00\u306F\u3001"default"\u304A\u3088\u3073"preserve"\u306E\u307F\u3092\u4F7F\u7528\u3067\u304D\u308B\u5217\u6319\u30BF\u30A4\u30D7\u3068\u3057\u3066\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\"<!ELEMENT\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001"<!ELEMENT"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u306B\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5F8C\u306B\u5236\u7D04\u304C\u5FC5\u8981\u3067\u3059\u3002 +- ElementDeclUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u8981\u7D20\u30BF\u30A4\u30D7\u5BA3\u8A00\u3067\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5F8C\u306B\u5236\u7D04\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ ElementDeclUnterminated = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5BA3\u8A00\u306B\u306F''(''\u6587\u5B57\u307E\u305F\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5BA3\u8A00\u306B\u306F'')''\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5BA3\u8A00\u306B\u306F''(''\u6587\u5B57\u307E\u305F\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5BA3\u8A00\u306B\u306F'')''\u304C\u5FC5\u8981\u3067\u3059\u3002 + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5BA3\u8A00\u306B\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5BA3\u8A00\u306B\u306F'')''\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MixedContentUnterminated = \u5B50\u8981\u7D20\u306E\u30BF\u30A4\u30D7\u304C\u5236\u7D04\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u6DF7\u5408\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\"{0}\"\u306F\")*\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5BA3\u8A00\u306B\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5BA3\u8A00\u306B\u306F'')''\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MixedContentUnterminated = \u5B50\u8981\u7D20\u306E\u30BF\u30A4\u30D7\u304C\u5236\u7D04\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u6DF7\u5408\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB"{0}"\u306F")*"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\"<!ATTLIST\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001"<!ATTLIST"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = \u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u306B\u306F\u8981\u7D20\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u540D\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- AttNameRequiredInAttDef = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u306B\u306F\u5C5E\u6027\u540D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\"{1}\"\u306E\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u30BF\u30A4\u30D7\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- AttTypeRequiredInAttDef = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\"{1}\"\u306E\u5BA3\u8A00\u306B\u306F\u5C5E\u6027\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\"{1}\"\u306E\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u7279\u5B9A\u306E\u8981\u7D20\"{0}\"\u306E\u540C\u4E00\u5C5E\u6027\"{1}\"\u306B\u8907\u6570\u306E\u5C5E\u6027\u5B9A\u7FA9\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u8981\u7D20"{0}"\u306E\u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u540D\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ AttNameRequiredInAttDef = \u8981\u7D20"{0}"\u306E\u5C5E\u6027\u30EA\u30B9\u30C8\u5BA3\u8A00\u306B\u306F\u5C5E\u6027\u540D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u8981\u7D20"{0}"\u306E\u5C5E\u6027"{1}"\u306E\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u30BF\u30A4\u30D7\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ AttTypeRequiredInAttDef = \u8981\u7D20"{0}"\u306E\u5C5E\u6027"{1}"\u306E\u5BA3\u8A00\u306B\u306F\u5C5E\u6027\u30BF\u30A4\u30D7\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u8981\u7D20"{0}"\u306E\u5C5E\u6027"{1}"\u306E\u5BA3\u8A00\u3067\u306F\u3001\u5C5E\u6027\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u7279\u5B9A\u306E\u8981\u7D20"{0}"\u306E\u540C\u4E00\u5C5E\u6027"{1}"\u306B\u8907\u6570\u306E\u5C5E\u6027\u5B9A\u7FA9\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001\"NOTATION\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001\"NOTATION\"\u306E\u5F8C\u306B''(''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306B\u306F\u8868\u8A18\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- NotationTypeUnterminated = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306F'')''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u306E\u5217\u6319\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306B\u306F\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002 +- EnumerationUnterminated = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u306E\u5217\u6319\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306F'')''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\"{2}\"\u306E\u5BA3\u8A00\u3067\u5217\u6319\u5024\"{1}\"\u304C\u8907\u6570\u56DE\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5358\u4E00\u306EEnumeration\u5C5E\u6027\u5BA3\u8A00\u306B\u304A\u3051\u308BNMTOKENS\u306F\u3059\u3079\u3066\u7570\u306A\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u8981\u7D20\"{0}\"\u306E\u5C5E\u6027\"{2}\"\u306E\u5BA3\u8A00\u3067\u5217\u6319\u5024\"{1}\"\u304C\u8907\u6570\u56DE\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5358\u4E00\u306ENotationType\u5C5E\u6027\u5BA3\u8A00\u306B\u304A\u3051\u308BNOTATION\u306E\u540D\u524D\u306F\u3059\u3079\u3066\u7570\u306A\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = "{1}"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001"NOTATION"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = "{1}"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001"NOTATION"\u306E\u5F8C\u306B''(''\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = "{1}"\u5C5E\u6027\u5BA3\u8A00\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306B\u306F\u8868\u8A18\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ NotationTypeUnterminated = "{1}"\u5C5E\u6027\u5BA3\u8A00\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306F'')''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = "{1}"\u5C5E\u6027\u5BA3\u8A00\u306E\u5217\u6319\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306B\u306F\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ EnumerationUnterminated = "{1}"\u5C5E\u6027\u5BA3\u8A00\u306E\u5217\u6319\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u306F'')''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u8981\u7D20"{0}"\u306E\u5C5E\u6027"{2}"\u306E\u5BA3\u8A00\u3067\u5217\u6319\u5024"{1}"\u304C\u8907\u6570\u56DE\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5358\u4E00\u306EEnumeration\u5C5E\u6027\u5BA3\u8A00\u306B\u304A\u3051\u308BNMTOKENS\u306F\u3059\u3079\u3066\u7570\u306A\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u8981\u7D20"{0}"\u306E\u5C5E\u6027"{2}"\u306E\u5BA3\u8A00\u3067\u5217\u6319\u5024"{1}"\u304C\u8907\u6570\u56DE\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5358\u4E00\u306ENotationType\u5C5E\u6027\u5BA3\u8A00\u306B\u304A\u3051\u308BNOTATION\u306E\u540D\u524D\u306F\u3059\u3079\u3066\u7570\u306A\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = \"{1}\"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001\"FIXED\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = "{1}"\u5C5E\u6027\u5BA3\u8A00\u3067\u306F\u3001"FIXED"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + # 3.4 Conditional Sections +- IncludeSectUnterminated = \u5305\u542B\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u306F\"]]>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IgnoreSectUnterminated = \u9664\u5916\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u6700\u5F8C\u306F\"]]>\"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IncludeSectUnterminated = \u5305\u542B\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u306F"]]>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IgnoreSectUnterminated = \u9664\u5916\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u6700\u5F8C\u306F"]]>"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 4.1 Character and Entity References + NameRequiredInPEReference = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\u3067\u306F\u3001\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D\u306F'%'\u306E\u76F4\u5F8C\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- SemicolonRequiredInPEReference = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"%{0};\"\u306F'';''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ SemicolonRequiredInPEReference = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"%{0};"\u306F'';''\u30C7\u30EA\u30DF\u30BF\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001\"<!ENTITY\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001\"<!ENTITY\"\u3068'%'\u6587\u5B57\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001"<!ENTITY"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001"<!ENTITY"\u3068'%'\u6587\u5B57\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001'%'\u3068\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u306B\u306F\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u540D\u524D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D\"{0}\"\u3068\u5B9A\u7FA9\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u5BA3\u8A00\u3067\u306F\u3001\"NDATA\"\u3068\u8868\u8A18\u540D\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u5BA3\u8A00\u3067\u306F\u3001\"NDATA\"\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u5BA3\u8A00\u3067\u306F\u3001\"NDATA\"\u306E\u5F8C\u306B\u8868\u8A18\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- EntityDeclUnterminated = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_DUPLICATE_ENTITY_DEFINITION = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u304C\u8907\u6570\u56DE\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u306F\u3001\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D"{0}"\u3068\u5B9A\u7FA9\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u5BA3\u8A00\u3067\u306F\u3001"NDATA"\u3068\u8868\u8A18\u540D\u306E\u9593\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u5BA3\u8A00\u3067\u306F\u3001"NDATA"\u306E\u524D\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u5BA3\u8A00\u3067\u306F\u3001"NDATA"\u306E\u5F8C\u306B\u8868\u8A18\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ EntityDeclUnterminated = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_DUPLICATE_ENTITY_DEFINITION = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u304C\u8907\u6570\u56DE\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002 + # 4.2.2 External Entities +- ExternalIDRequired = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u306E\u5148\u982D\u306B\u306F\"SYSTEM\"\u307E\u305F\u306F\"PUBLIC\"\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \"PUBLIC\"\u3068\u516C\u958B\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ ExternalIDRequired = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u306E\u5148\u982D\u306B\u306F"SYSTEM"\u307E\u305F\u306F"PUBLIC"\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = "PUBLIC"\u3068\u516C\u958B\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = \u516C\u958B\u8B58\u5225\u5B50\u3068\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \"SYSTEM\"\u3068\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_URI_FRAGMENT_IN_SYSTEMID = \u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u8B58\u5225\u5B50\u306F\u3001\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\"{0}\"\u306E\u4E00\u90E8\u3068\u3057\u3066\u6307\u5B9A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = "SYSTEM"\u3068\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u306E\u9593\u306B\u306F\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_URI_FRAGMENT_IN_SYSTEMID = \u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u8B58\u5225\u5B50\u306F\u3001\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50"{0}"\u306E\u4E00\u90E8\u3068\u3057\u3066\u6307\u5B9A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u306F\u3001\"<!NOTATION\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u306F\u3001"<!NOTATION"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = \u8868\u8A18\u6CD5\u5BA3\u8A00\u306B\u306F\u8868\u8A18\u306E\u540D\u524D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u306F\u3001\u8868\u8A18\u540D\"{0}\"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 +- ExternalIDorPublicIDRequired = \u8868\u8A18\u6CD5\"{0}\"\u306E\u5BA3\u8A00\u306B\u306F\u3001\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u307E\u305F\u306F\u516C\u958B\u8B58\u5225\u5B50\u3092\u542B\u3081\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- NotationDeclUnterminated = \u8868\u8A18\u6CD5\"{0}\"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u306F\u3001\u8868\u8A18\u540D"{0}"\u306E\u5F8C\u306B\u7A7A\u767D\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ ExternalIDorPublicIDRequired = \u8868\u8A18\u6CD5"{0}"\u306E\u5BA3\u8A00\u306B\u306F\u3001\u30B7\u30B9\u30C6\u30E0\u8B58\u5225\u5B50\u307E\u305F\u306F\u516C\u958B\u8B58\u5225\u5B50\u3092\u542B\u3081\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ NotationDeclUnterminated = \u8868\u8A18\u6CD5"{0}"\u306E\u5BA3\u8A00\u306F''>''\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + + # Validation messages +- DuplicateTypeInMixedContent = \u8981\u7D20\u30BF\u30A4\u30D7\"{1}\"\u306F\u3001\u8981\u7D20\u5BA3\u8A00\"{0}\"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u3067\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +- ENTITIESInvalid = \u30BF\u30A4\u30D7ENTITIES\u306E\u5C5E\u6027\u5024\"{1}\"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ENTITYInvalid = \u30BF\u30A4\u30D7ENTITY\u306E\u5C5E\u6027\u5024\"{1}\"\u306F\u3001\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDDefaultTypeInvalid = ID\u5C5E\u6027\"{0}\"\u306B\u306F\u3001\"#IMPLIED\"\u307E\u305F\u306F\"#REQUIRED\"\u306E\u5BA3\u8A00\u6E08\u30C7\u30D5\u30A9\u30EB\u30C8\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDInvalid = \u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u3001\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDInvalidWithNamespaces = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u5834\u5408\u3001\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024\"{0}\"\u306FNCName\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDNotUnique = \u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u3067\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDREFInvalid = \u30BF\u30A4\u30D7IDREF\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u3001\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDREFInvalidWithNamespaces = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u5834\u5408\u3001\u30BF\u30A4\u30D7IDREF\u306E\u5C5E\u6027\u5024\"{0}\"\u306FNCName\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- IDREFSInvalid = \u30BF\u30A4\u30D7IDREFS\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\u304C\u5B8C\u5168\u306A\u5BA3\u8A00\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u5BA3\u8A00\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ImproperDeclarationNesting = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u5BA3\u8A00\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- ImproperGroupNesting = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u4E38\u30AB\u30C3\u30B3\u306E\u30DA\u30A2\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- INVALID_PE_IN_CONDITIONAL = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u5168\u4F53\u304B\u3001INCLUDE\u307E\u305F\u306FIGNORE\u306E\u307F\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_ATTRIBUTE_NOT_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u5BFE\u3057\u3066\u5C5E\u6027\"{1}\"\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u5024\"{1}\"\u3092\u6301\u3064\u5C5E\u6027\"{0}\"\u306B\u306F\u3001\u30EA\u30B9\u30C8\"{2}\"\u304B\u3089\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5C5E\u6027\"{0}\"\u306E\u5024\"{1}\"\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u6B63\u898F\u5316\u306B\u3088\u3063\u3066(\"{2}\"\u306B)\u5909\u66F4\u3055\u308C\u306A\u3044\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_CONTENT_INCOMPLETE = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u4E0D\u5B8C\u5168\u3067\u3059\u3002\"{1}\"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_CONTENT_INVALID = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F\"{1}\"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_CONTENT_INVALID_SPECIFIED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F\"{1}\"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7\"{2}\"\u306E\u5B50\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306E\u5C5E\u6027\"{1}\"\u306F\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u3092\u6301\u3061\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_DUPLICATE_ATTDEF = \u5C5E\u6027\"{1}\"\u306F\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +- MSG_ELEMENT_ALREADY_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306F\u8907\u6570\u56DE\u5BA3\u8A00\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 +- MSG_ELEMENT_NOT_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_GRAMMAR_NOT_FOUND = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u7121\u52B9\u3067\u3059\u3002\u69CB\u6587\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002 +- MSG_ELEMENT_WITH_ID_REQUIRED = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u8B58\u5225\u5B50\"{0}\"\u3092\u6301\u3064\u8981\u7D20\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u3078\u306E\u53C2\u7167\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- MSG_FIXED_ATTVALUE_INVALID = \u5024\"{2}\"\u3092\u6301\u3064\u5C5E\u6027\"{1}\"\u306B\u306F\u3001\"{3}\"\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002 +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u306F\u3001\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\"{1}\"\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\"{2}\"\u3092\u3082\u30461\u3064\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u306F\u3001\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027\"{1}\"\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027\"{2}\"\u3092\u3082\u30461\u3064\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u5C5E\u6027\"{0}\"\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u3067\u53C2\u7167\u3055\u308C\u308B\u5834\u5408\u3001\u8868\u8A18\u6CD5\"{1}\"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \"{0}\"\u306E\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u53C2\u7167\u3055\u308C\u308B\u5834\u5408\u3001\u8868\u8A18\u6CD5\"{1}\"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5916\u90E8\u306E\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3067\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u3078\u306E\u53C2\u7167\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u5C5E\u6027\"{1}\"\u304C\u5FC5\u8981\u3067\u3059\u3002\u3053\u306E\u5C5E\u6027\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u5BFE\u3057\u3066\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ DuplicateTypeInMixedContent = \u8981\u7D20\u30BF\u30A4\u30D7"{1}"\u306F\u3001\u8981\u7D20\u5BA3\u8A00"{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u3067\u3059\u3067\u306B\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ ENTITIESInvalid = \u30BF\u30A4\u30D7ENTITIES\u306E\u5C5E\u6027\u5024"{1}"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ENTITYInvalid = \u30BF\u30A4\u30D7ENTITY\u306E\u5C5E\u6027\u5024"{1}"\u306F\u3001\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDDefaultTypeInvalid = ID\u5C5E\u6027"{0}"\u306B\u306F\u3001"#IMPLIED"\u307E\u305F\u306F"#REQUIRED"\u306E\u5BA3\u8A00\u6E08\u30C7\u30D5\u30A9\u30EB\u30C8\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDInvalid = \u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024"{0}"\u306F\u3001\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDInvalidWithNamespaces = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u5834\u5408\u3001\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024"{0}"\u306FNCName\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDNotUnique = \u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027\u5024"{0}"\u306F\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u3067\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDREFInvalid = \u30BF\u30A4\u30D7IDREF\u306E\u5C5E\u6027\u5024"{0}"\u306F\u3001\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDREFInvalidWithNamespaces = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u308B\u5834\u5408\u3001\u30BF\u30A4\u30D7IDREF\u306E\u5C5E\u6027\u5024"{0}"\u306FNCName\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ IDREFSInvalid = \u30BF\u30A4\u30D7IDREFS\u306E\u5C5E\u6027\u5024"{0}"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u540D\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\u304C\u5B8C\u5168\u306A\u5BA3\u8A00\u3068\u3057\u3066\u4F7F\u7528\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u5BA3\u8A00\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ImproperDeclarationNesting = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u5BA3\u8A00\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ ImproperGroupNesting = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u9069\u5207\u306B\u30CD\u30B9\u30C8\u3055\u308C\u305F\u4E38\u30AB\u30C3\u30B3\u306E\u30DA\u30A2\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ INVALID_PE_IN_CONDITIONAL = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u7F6E\u63DB\u30C6\u30AD\u30B9\u30C8\u306B\u306F\u3001\u6761\u4EF6\u4ED8\u304D\u30BB\u30AF\u30B7\u30E7\u30F3\u5168\u4F53\u304B\u3001INCLUDE\u307E\u305F\u306FIGNORE\u306E\u307F\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_ATTRIBUTE_NOT_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u5BFE\u3057\u3066\u5C5E\u6027"{1}"\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u5024"{1}"\u3092\u6301\u3064\u5C5E\u6027"{0}"\u306B\u306F\u3001\u30EA\u30B9\u30C8"{2}"\u304B\u3089\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5C5E\u6027"{0}"\u306E\u5024"{1}"\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u6B63\u898F\u5316\u306B\u3088\u3063\u3066("{2}"\u306B)\u5909\u66F4\u3055\u308C\u306A\u3044\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_CONTENT_INCOMPLETE = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u4E0D\u5B8C\u5168\u3067\u3059\u3002"{1}"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_CONTENT_INVALID = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F"{1}"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_CONTENT_INVALID_SPECIFIED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F"{1}"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7"{2}"\u306E\u5B50\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306E\u5C5E\u6027"{1}"\u306F\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u3092\u6301\u3061\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_DUPLICATE_ATTDEF = \u5C5E\u6027"{1}"\u306F\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u5BFE\u3057\u3066\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ MSG_ELEMENT_ALREADY_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306F\u8907\u6570\u56DE\u5BA3\u8A00\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 ++ MSG_ELEMENT_NOT_DECLARED = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_GRAMMAR_NOT_FOUND = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u7121\u52B9\u3067\u3059: \u69CB\u6587\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002 ++ MSG_ELEMENT_WITH_ID_REQUIRED = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u8B58\u5225\u5B50"{0}"\u3092\u6301\u3064\u8981\u7D20\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u3078\u306E\u53C2\u7167\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ MSG_FIXED_ATTVALUE_INVALID = \u5024"{2}"\u3092\u6301\u3064\u5C5E\u6027"{1}"\u306B\u306F\u3001"{3}"\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059\u3002 ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u306F\u3001\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027"{1}"\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7ID\u306E\u5C5E\u6027"{2}"\u3092\u3082\u30461\u3064\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u306F\u3001\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027"{1}"\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027"{2}"\u3092\u3082\u30461\u3064\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u5C5E\u6027"{0}"\u306E\u8868\u8A18\u6CD5\u30BF\u30A4\u30D7\u30FB\u30EA\u30B9\u30C8\u3067\u53C2\u7167\u3055\u308C\u308B\u5834\u5408\u3001\u8868\u8A18\u6CD5"{1}"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = "{0}"\u306E\u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5BA3\u8A00\u3067\u53C2\u7167\u3055\u308C\u308B\u5834\u5408\u3001\u8868\u8A18\u6CD5"{1}"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5916\u90E8\u306E\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3067\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u3078\u306E\u53C2\u7167\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u5C5E\u6027"{1}"\u304C\u5FC5\u8981\u3067\u3059\u3002\u3053\u306E\u5C5E\u6027\u306F\u3001\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u5BFE\u3057\u3066\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u3001\u8981\u7D20\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u6301\u3064\u5916\u90E8\u306E\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3067\u5BA3\u8A00\u3055\u308C\u308B\u8981\u7D20\u9593\u306B\u7A7A\u767D\u306F\u4E0D\u8981\u3067\u3059\u3002 +- NMTOKENInvalid = \u30BF\u30A4\u30D7NMTOKEN\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u3001\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- NMTOKENSInvalid = \u30BF\u30A4\u30D7NMTOKENS\u306E\u5C5E\u6027\u5024\"{0}\"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- NoNotationOnEmptyElement = EMPTY\u3068\u5BA3\u8A00\u3055\u308C\u305F\u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u3067\u306F\u3001\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027\"{1}\"\u3092\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002 +- RootElementTypeMustMatchDoctypedecl = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EB\u30FC\u30C8\u8981\u7D20\"{1}\"\u306FDOCTYPE\u30EB\u30FC\u30C8\"{0}\"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +- UndeclaredElementInContentSpec = \u8981\u7D20\"{0}\"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u3067\u672A\u5BA3\u8A00\u306E\u8981\u7D20\"{1}\"\u304C\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +- UniqueNotationName = \u8868\u8A18\u6CD5\"{0}\"\u306E\u5BA3\u8A00\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u540C\u3058\u540D\u524D\u3092\u8907\u6570\u306E\u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u5BA3\u8A00\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 ++ NMTOKENInvalid = \u30BF\u30A4\u30D7NMTOKEN\u306E\u5C5E\u6027\u5024"{0}"\u306F\u3001\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ NMTOKENSInvalid = \u30BF\u30A4\u30D7NMTOKENS\u306E\u5C5E\u6027\u5024"{0}"\u306F\u30011\u3064\u4EE5\u4E0A\u306E\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ NoNotationOnEmptyElement = EMPTY\u3068\u5BA3\u8A00\u3055\u308C\u305F\u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u3067\u306F\u3001\u30BF\u30A4\u30D7NOTATION\u306E\u5C5E\u6027"{1}"\u3092\u5BA3\u8A00\u3067\u304D\u307E\u305B\u3093\u3002 ++ RootElementTypeMustMatchDoctypedecl = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EB\u30FC\u30C8\u8981\u7D20"{1}"\u306FDOCTYPE\u30EB\u30FC\u30C8"{0}"\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 ++ UndeclaredElementInContentSpec = \u8981\u7D20"{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u3067\u672A\u5BA3\u8A00\u306E\u8981\u7D20"{1}"\u304C\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u3002 ++ UniqueNotationName = \u8868\u8A18\u6CD5"{0}"\u306E\u5BA3\u8A00\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u540C\u3058\u540D\u524D\u3092\u8907\u6570\u306E\u8868\u8A18\u6CD5\u5BA3\u8A00\u3067\u5BA3\u8A00\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 + ENTITYFailedInitializeGrammar = ENTITYDatatype\u30D0\u30EA\u30C7\u30FC\u30BF: \u6709\u52B9\u306A\u69CB\u6587\u53C2\u7167\u306B\u3088\u308B\u521D\u671F\u5316\u30E1\u30BD\u30C3\u30C9\u306E\u547C\u51FA\u3057\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 \t +- ENTITYNotUnparsed = ENTITY \"{0}\"\u306F\u672A\u89E3\u6790\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 +- ENTITYNotValid = ENTITY \"{0}\"\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 ++ ENTITYNotUnparsed = ENTITY "{0}"\u306F\u672A\u89E3\u6790\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 ++ ENTITYNotValid = ENTITY "{0}"\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 + EmptyList = \u30BF\u30A4\u30D7ENTITIES\u3001IDREFS\u304A\u3088\u3073NMTOKENS\u306E\u5024\u306F\u7A7A\u306E\u30EA\u30B9\u30C8\u306B\u3067\u304D\u307E\u305B\u3093\u3002 + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"&{0};\"\u306F\u3001\u5C5E\u6027\u5024\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"&{0};"\u306F\u3001\u5C5E\u6027\u5024\u3067\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ AccessExternalDTD = \u5916\u90E8DTD: accessExternalDTD\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u8A2D\u5B9A\u3055\u308C\u305F\u5236\u9650\u306B\u3088\u308A''{1}''\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u5916\u90E8DTD ''{0}''\u306E\u8AAD\u53D6\u308A\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 ++ AccessExternalEntity = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3: accessExternalDTD\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u8A2D\u5B9A\u3055\u308C\u305F\u5236\u9650\u306B\u3088\u308A''{1}''\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u5916\u90E8\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8''{0}''\u306E\u8AAD\u53D6\u308A\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 + + # 4.1 Character and Entity References +- EntityNotDeclared = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\"{0}\"\u304C\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- ReferenceToUnparsedEntity = \u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"&{0};\"\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- RecursiveReference = \u518D\u5E30\u7684\u306A\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"{0}\"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 +- RecursiveGeneralReference = \u518D\u5E30\u7684\u306A\u4E00\u822C\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"&{0};\"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 +- RecursivePEReference = \u518D\u5E30\u7684\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167\"%{0};\"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 ++ EntityNotDeclared = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u304C\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ ReferenceToUnparsedEntity = \u672A\u89E3\u6790\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"&{0};"\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ RecursiveReference = \u518D\u5E30\u7684\u306A\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"{0}"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 ++ RecursiveGeneralReference = \u518D\u5E30\u7684\u306A\u4E00\u822C\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"&{0};"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 ++ RecursivePEReference = \u518D\u5E30\u7684\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u53C2\u7167"%{0};"\u3067\u3059\u3002(\u53C2\u7167\u30D1\u30B9: {1})\u3001 + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\"{0}\"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ EncodingNotSupported = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0"{0}"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + EncodingRequired = \u30A8\u30F3\u30B3\u30FC\u30C9\u304CUTF-8\u3068UTF-16\u306E\u3044\u305A\u308C\u3067\u3082\u306A\u3044\u89E3\u6790\u6E08\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u306F\u3001\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u5BA3\u8A00\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = \u8981\u7D20\u307E\u305F\u306F\u5C5E\u6027\u304CQName\u751F\u6210\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093: QName::=(NCName':')?NCName\u3002 +- ElementXMLNSPrefix = \u8981\u7D20\"{0}\"\u306E\u63A5\u982D\u8F9E\u3068\u3057\u3066\"xmlns\"\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 +- ElementPrefixUnbound = \u8981\u7D20\"{1}\"\u306E\u63A5\u982D\u8F9E\"{0}\"\u304C\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- AttributePrefixUnbound = \u8981\u7D20\u30BF\u30A4\u30D7\"{0}\"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027\"{1}\"\u306E\u63A5\u982D\u8F9E\"{2}\"\u304C\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +- EmptyPrefixedAttName = \u5C5E\u6027\"{0}\"\u306E\u5024\u304C\u7121\u52B9\u3067\u3059\u3002\u63A5\u982D\u8F9E\u306E\u4ED8\u3044\u305F\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u30FB\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306F\u7A7A\u306B\u3067\u304D\u307E\u305B\u3093\u3002 +- PrefixDeclared = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306E\u63A5\u982D\u8F9E\"{0}\"\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ ElementXMLNSPrefix = \u8981\u7D20"{0}"\u306E\u63A5\u982D\u8F9E\u3068\u3057\u3066"xmlns"\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002 ++ ElementPrefixUnbound = \u8981\u7D20"{1}"\u306E\u63A5\u982D\u8F9E"{0}"\u304C\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ AttributePrefixUnbound = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u308B\u5C5E\u6027"{1}"\u306E\u63A5\u982D\u8F9E"{2}"\u304C\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 ++ EmptyPrefixedAttName = \u5C5E\u6027"{0}"\u306E\u5024\u304C\u7121\u52B9\u3067\u3059\u3002\u63A5\u982D\u8F9E\u306E\u4ED8\u3044\u305F\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u30FB\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306F\u7A7A\u306B\u3067\u304D\u307E\u305B\u3093\u3002 ++ PrefixDeclared = \u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306E\u63A5\u982D\u8F9E"{0}"\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + CantBindXMLNS = \u63A5\u982D\u8F9E"xmlns"\u306F\u3001\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306B\u660E\u793A\u7684\u306B\u30D0\u30A4\u30F3\u30C9\u3067\u304D\u307E\u305B\u3093\u3002\u307E\u305F\u3001"xmlns"\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u3082\u3001\u63A5\u982D\u8F9E\u306B\u660E\u793A\u7684\u306B\u30D0\u30A4\u30F3\u30C9\u3067\u304D\u307E\u305B\u3093\u3002 + CantBindXML = \u63A5\u982D\u8F9E"xml"\u306F\u3001\u901A\u5E38\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u4EE5\u5916\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306B\u30D0\u30A4\u30F3\u30C9\u3067\u304D\u307E\u305B\u3093\u3002\u307E\u305F\u3001"xml"\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u3082\u3001"xml"\u4EE5\u5916\u306E\u63A5\u982D\u8F9E\u306B\u30D0\u30A4\u30F3\u30C9\u3067\u304D\u307E\u305B\u3093\u3002 +- MSG_ATT_DEFAULT_INVALID = \u5C5E\u6027\"{0}\"\u306EdefaultValue \"{1}\"\u306F\u3001\u3053\u306E\u5C5E\u6027\u30BF\u30A4\u30D7\u306E\u5B57\u53E5\u5236\u7D04\u306B\u95A2\u3057\u3066\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 ++ MSG_ATT_DEFAULT_INVALID = \u5C5E\u6027"{0}"\u306EdefaultValue "{1}"\u306F\u3001\u3053\u306E\u5C5E\u6027\u30BF\u30A4\u30D7\u306E\u5B57\u53E5\u5236\u7D04\u306B\u95A2\u3057\u3066\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +317,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=\u30D1\u30FC\u30B5\u30FC\u306B\u3088\u3063\u3066\u3001\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u3067\"{0}\"\u3092\u8D85\u3048\u308B\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u62E1\u5F35\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\u3053\u308C\u306F\u3001\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306B\u3088\u308B\u5236\u9650\u3067\u3059\u3002 ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: \u30D1\u30FC\u30B5\u30FC\u306B\u3088\u3063\u3066\u3001\u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u3067"{0}"\u3092\u8D85\u3048\u308B\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u62E1\u5F35\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F\u3002\u3053\u308C\u306F\u3001JDK\u306B\u3088\u308B\u5236\u9650\u3067\u3059\u3002 ++ ElementAttributeLimit=JAXP00010002: \u8981\u7D20"{0}"\u306B"{1}"\u3092\u8D85\u3048\u308B\u5C5E\u6027\u304C\u5B58\u5728\u3057\u307E\u3059\u3002"{1}"\u306F\u3001JDK\u306B\u3088\u308B\u5236\u9650\u3067\u3059\u3002 ++ MaxEntitySizeLimit=JAXP00010003: \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u9577\u3055\u306F"{1}"\u3067\u3001"{3}"\u3067\u8A2D\u5B9A\u3055\u308C\u305F\u5236\u9650"{2}"\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002 ++ TotalEntitySizeLimit=JAXP00010004: \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u7D2F\u7A4D\u30B5\u30A4\u30BA"{0}"\u306F\u3001"{2}"\u3067\u8A2D\u5B9A\u3055\u308C\u305F\u5236\u9650"{1}"\u3092\u8D85\u3048\u307E\u3057\u305F\u3002 ++ MaxXMLNameLimit=JAXP00010005: \u540D\u524D"{0}"\u306F\u3001"{2}"\u3067\u8A2D\u5B9A\u3055\u308C\u305F\u5236\u9650"{1}"\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002 + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= \u8981\u7D20\"{0}\"\u306B\"{1}\"\u3092\u8D85\u3048\u308B\u5C5E\u6027\u304C\u5B58\u5728\u3057\u307E\u3059\u3002\"{1}\"\u306F\u3001\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306B\u3088\u308B\u5236\u9650\u3067\u3059\u3002 +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ko.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ko.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - -- FileInputStream fstream = new FileInputStream(badStringsFilename); -- DataInputStream in = new DataInputStream(fstream); -- BufferedReader br = new BufferedReader(new InputStreamReader(in)); -- String toIntern, toDiscard; -- int count = 0; -- long current = 0L; -- long last = System.currentTimeMillis(); -- -- if (args[0].equals("bad")) { -- while ((toIntern = br.readLine()) != null) { -- toDiscard = new String((new Integer((int)(Math.random() * Integer.MAX_VALUE))).toString()); -- toIntern.intern(); -- count++; -- if (count % 10000 == 0 && count != 0) { -- current = System.currentTimeMillis(); -- System.out.println(new Date(current) + ": interned " + count + " 0-hash strings - last 10000 took " + ((float)(current - last))/1000 + "s (" + ((float)(current - last))/10000000 + "s per String)"); -- last = current; -- } -- } -- } -- if (args[0].equals("normal")) { -- while ((toDiscard = br.readLine()) != null) { // do the same read from the file to try and make the test fair -- toIntern = new String((new Integer((int)(Math.random() * Integer.MAX_VALUE))).toString()); -- toIntern.intern(); -- count++; -- if (count % 10000 == 0 && count != 0) { -- current = System.currentTimeMillis(); -- System.out.println(new Date(current) + ": interned " + count + " normal strings - last 10000 took " + ((float)(current - last))/1000 + "s (" + ((float)(current - last))/10000000 + "s per String)"); -- last = current; -- } -- } -- } -- in.close(); -- } --} +-/* +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = \uBB38\uC11C\uC758 \uD504\uB864\uB85C\uADF8\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + InvalidCharInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + # 2.4 Character Data and Markup +- CDEndInContent = \uBB38\uC790 \uC2DC\uD000\uC2A4 \"]]>\"\uB294 CDATA \uC139\uC158 \uB05D\uC744 \uD45C\uC2DC\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uB294 \uACBD\uC6B0 \uCF58\uD150\uCE20\uC5D0 \uB098\uD0C0\uB098\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ CDEndInContent = \uBB38\uC790 \uC2DC\uD000\uC2A4 "]]>"\uB294 CDATA \uC139\uC158 \uB05D\uC744 \uD45C\uC2DC\uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uB294 \uACBD\uC6B0 \uCF58\uD150\uCE20\uC5D0 \uB098\uD0C0\uB098\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA \uC139\uC158\uC740 \"]]>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ CDSectUnterminated = CDATA \uC139\uC158\uC740 "]]>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML \uC120\uC5B8\uC740 \uBB38\uC11C \uB9E8 \uC55E\uC5D0\uB9CC \uB098\uD0C0\uB0A0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +- EqRequiredInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C\uB294 \"{0}\" \uB2E4\uC74C\uC5D0 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. +- QuoteRequiredInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C \"{0}\" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC740 \uB530\uC634\uD45C\uAC00 \uBD99\uC740 \uBB38\uC790\uC5F4\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- XMLDeclUnterminated = XML \uC120\uC5B8\uC740 \"?>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ EqRequiredInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C\uB294 "{0}" \uB2E4\uC74C\uC5D0 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ QuoteRequiredInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C "{0}" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC740 \uB530\uC634\uD45C\uAC00 \uBD99\uC740 \uBB38\uC790\uC5F4\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ XMLDeclUnterminated = XML \uC120\uC5B8\uC740 "?>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + VersionInfoRequired = XML \uC120\uC5B8\uC5D0\uB294 \uBC84\uC804\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + SpaceRequiredBeforeVersionInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C\uB294 \uBC84\uC804 \uC758\uC0AC \uC18D\uC131 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + SpaceRequiredBeforeEncodingInXMLDecl = XML \uC120\uC5B8\uC5D0\uC11C\uB294 \uC778\uCF54\uB529 \uC758\uC0AC \uC18D\uC131 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=\uD6C4\uD589 \uC139\uC158\uC5D0\uC11C\uB294 \uCC38\uC870\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = \uB3C5\uB9BD\uD615 \uBB38\uC11C \uC120\uC5B8 \uAC12\uC740 \"{0}\"\uC774(\uAC00) \uC544\uB2CC \"yes\" \uB610\uB294 \"no\"\uC5EC\uC57C \uD569\uB2C8\uB2E4. ++ SDDeclInvalid = \uB3C5\uB9BD\uD615 \uBB38\uC11C \uC120\uC5B8 \uAC12\uC740 "{0}"\uC774(\uAC00) \uC544\uB2CC "yes" \uB610\uB294 "no"\uC5EC\uC57C \uD569\uB2C8\uB2E4. ++ SDDeclNameInvalid = XML \uC120\uC5B8\uC758 \uB3C5\uB9BD\uD615 \uC774\uB984\uC758 \uCCA0\uC790\uAC00 \uC798\uBABB\uB418\uC5C8\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. + # 2.12 Language Identification +- XMLLangInvalid = xml:lang \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uC5B8\uC5B4 \uC2DD\uBCC4\uC790\uC785\uB2C8\uB2E4. ++ XMLLangInvalid = xml:lang \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uC5B8\uC5B4 \uC2DD\uBCC4\uC790\uC785\uB2C8\uB2E4. + # 3. Logical Structures +- ETagRequired = \uC694\uC18C \uC720\uD615 \"{0}\"\uC740(\uB294) \uC9DD\uC774 \uB9DE\uB294 \uC885\uB8CC \uD0DC\uADF8 \"</{0}>\"(\uC73C)\uB85C \uC885\uB8CC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ ETagRequired = \uC694\uC18C \uC720\uD615 "{0}"\uC740(\uB294) \uC9DD\uC774 \uB9DE\uB294 \uC885\uB8CC \uD0DC\uADF8 "</{0}>"(\uC73C)\uB85C \uC885\uB8CC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = \uC694\uC18C \uC720\uD615 \"{0}\" \uB2E4\uC74C\uC5D0\uB294 \uC18D\uC131 \uC0AC\uC591 \">\" \uB610\uB294 \"/>\"\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. +- EqRequiredInAttribute = \uC694\uC18C \uC720\uD615 \"{0}\"\uACFC(\uC640) \uC5F0\uAD00\uB41C \uC18D\uC131 \uC774\uB984 \"{1}\" \uB2E4\uC74C\uC5D0\uB294 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. +- OpenQuoteExpected = \uC694\uC18C \uC720\uD615 \"{0}\"\uACFC(\uC640) \uC5F0\uAD00\uB41C \"{1}\" \uC18D\uC131\uC5D0\uB294 \uC5EC\uB294 \uB530\uC634\uD45C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +- CloseQuoteExpected = \uC694\uC18C \uC720\uD615 \"{0}\"\uACFC(\uC640) \uC5F0\uAD00\uB41C \"{1}\" \uC18D\uC131\uC5D0\uB294 \uB2EB\uB294 \uB530\uC634\uD45C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +- AttributeNotUnique = \"{1}\" \uC18D\uC131\uC774 \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD574 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +- AttributeNSNotUnique = \"{2}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uBC14\uC778\uB4DC\uB41C \"{1}\" \uC18D\uC131\uC774 \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD574 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +- ETagUnterminated = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \uC885\uB8CC \uD0DC\uADF8\uB294 ''>'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ ElementUnterminated = \uC694\uC18C \uC720\uD615 "{0}" \uB2E4\uC74C\uC5D0\uB294 \uC18D\uC131 \uC0AC\uC591 ">" \uB610\uB294 "/>"\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ EqRequiredInAttribute = \uC694\uC18C \uC720\uD615 "{0}"\uACFC(\uC640) \uC5F0\uAD00\uB41C \uC18D\uC131 \uC774\uB984 "{1}" \uB2E4\uC74C\uC5D0\uB294 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ OpenQuoteExpected = \uC694\uC18C \uC720\uD615 "{0}"\uACFC(\uC640) \uC5F0\uAD00\uB41C "{1}" \uC18D\uC131\uC5D0\uB294 \uC5EC\uB294 \uB530\uC634\uD45C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. ++ CloseQuoteExpected = \uC694\uC18C \uC720\uD615 "{0}"\uACFC(\uC640) \uC5F0\uAD00\uB41C "{1}" \uC18D\uC131\uC5D0\uB294 \uB2EB\uB294 \uB530\uC634\uD45C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. ++ AttributeNotUnique = "{1}" \uC18D\uC131\uC774 "{0}" \uC694\uC18C\uC5D0 \uB300\uD574 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ AttributeNSNotUnique = "{2}" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uBC14\uC778\uB4DC\uB41C "{1}" \uC18D\uC131\uC774 "{0}" \uC694\uC18C\uC5D0 \uB300\uD574 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ ETagUnterminated = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C \uC885\uB8CC \uD0DC\uADF8\uB294 ''>'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + MarkupNotRecognizedInContent = \uC694\uC18C \uCF58\uD150\uCE20\uB294 \uC62C\uBC14\uB978 \uD615\uC2DD\uC758 \uBB38\uC790 \uB370\uC774\uD130 \uB610\uB294 \uB9C8\uD06C\uC5C5\uC73C\uB85C \uAD6C\uC131\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + DoctypeIllegalInContent = \uCF58\uD150\uCE20\uC5D0\uC11C\uB294 DOCTYPE\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + # 4.1 Character and Entity References + ReferenceUnterminated = \uCC38\uC870\uB294 ';' \uAD6C\uBD84\uC790\uB85C \uC885\uB8CC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = \uCC38\uC870\uB294 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0 \uC644\uC804\uD788 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- ElementEntityMismatch = \"{0}\" \uC694\uC18C\uB294 \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC2DC\uC791\uB418\uACE0 \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ ElementEntityMismatch = "{0}" \uC694\uC18C\uB294 \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC2DC\uC791\uB418\uACE0 \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + MarkupEntityMismatch=XML \uBB38\uC11C \uAD6C\uC870\uB294 \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC2DC\uC791\uB418\uACE0 \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = \"{1}\" \uC18D\uC131\uC758 \uAC12\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{2})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC73C\uBA70 \uC694\uC18C\uAC00 \"{0}\"\uC785\uB2C8\uB2E4. ++ InvalidCharInAttValue = "{1}" \uC18D\uC131\uC758 \uAC12\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{2})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC73C\uBA70 \uC694\uC18C\uAC00 "{0}"\uC785\uB2C8\uB2E4. + InvalidCharInComment = \uC8FC\uC11D\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + InvalidCharInPI = \uCC98\uB9AC \uBA85\uB839\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + InvalidCharInInternalSubset = DTD\uC758 \uB0B4\uBD80 \uBD80\uBD84 \uC9D1\uD569\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + InvalidCharInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C \uBD80\uC801\uD569\uD55C XML \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = \"{1}\" \uC18D\uC131\uC758 \uAC12\uC740 \uC791\uC740 \uB530\uC634\uD45C \uB610\uB294 \uD070 \uB530\uC634\uD45C \uBB38\uC790\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. +- LessthanInAttValue = \uC694\uC18C \uC720\uD615 \"{0}\"\uACFC(\uC640) \uC5F0\uAD00\uB41C \"{1}\" \uC18D\uC131\uC758 \uAC12\uC5D0\uB294 ''<'' \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +- AttributeValueUnterminated = \"{1}\" \uC18D\uC131\uC758 \uAC12\uC740 \uC9DD\uC774 \uB9DE\uB294 \uB530\uC634\uD45C \uBB38\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ QuoteRequiredInAttValue = "{1}" \uC18D\uC131\uC758 \uAC12\uC740 \uC791\uC740 \uB530\uC634\uD45C \uB610\uB294 \uD070 \uB530\uC634\uD45C \uBB38\uC790\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. ++ LessthanInAttValue = \uC694\uC18C \uC720\uD615 "{0}"\uACFC(\uC640) \uC5F0\uAD00\uB41C "{1}" \uC18D\uC131\uC758 \uAC12\uC5D0\uB294 ''<'' \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ AttributeValueUnterminated = "{1}" \uC18D\uC131\uC758 \uAC12\uC740 \uC9DD\uC774 \uB9DE\uB294 \uB530\uC634\uD45C \uBB38\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 2.5 Comments +- InvalidCommentStart = \uC8FC\uC11D\uC740 \"<!--\"\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. +- DashDashInComment = \uC8FC\uC11D\uC5D0\uC11C\uB294 \"--\" \uBB38\uC790\uC5F4\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- CommentUnterminated = \uC8FC\uC11D\uC740 \"-->\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ InvalidCommentStart = \uC8FC\uC11D\uC740 "<!--"\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. ++ DashDashInComment = \uC8FC\uC11D\uC5D0\uC11C\uB294 "--" \uBB38\uC790\uC5F4\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ CommentUnterminated = \uC8FC\uC11D\uC740 "-->"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + COMMENT_NOT_IN_ONE_ENTITY = \uC8FC\uC11D\uC774 \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0 \uC548\uC5D0 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + # 2.6 Processing Instructions + PITargetRequired = \uCC98\uB9AC \uBA85\uB839\uC740 \uB300\uC0C1 \uC774\uB984\uC73C\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. + SpaceRequiredInPI = \uCC98\uB9AC \uBA85\uB839 \uB300\uC0C1\uACFC \uB370\uC774\uD130 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- PIUnterminated = \uCC98\uB9AC \uBA85\uB839\uC740 \"?>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- ReservedPITarget = \"[xX][mM][lL]\"\uACFC \uC77C\uCE58\uD558\uB294 \uCC98\uB9AC \uBA85\uB839 \uB300\uC0C1\uC740 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ PIUnterminated = \uCC98\uB9AC \uBA85\uB839\uC740 "?>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ ReservedPITarget = "[xX][mM][lL]"\uACFC \uC77C\uCE58\uD558\uB294 \uCC98\uB9AC \uBA85\uB839 \uB300\uC0C1\uC740 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + PI_NOT_IN_ONE_ENTITY = \uCC98\uB9AC \uBA85\uB839\uC774 \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0 \uC548\uC5D0 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = \"{0}\"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uBC84\uC804\uC785\uB2C8\uB2E4. +- VersionNotSupported = XML \uBC84\uC804 \"{0}\"\uC740(\uB294) \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. XML 1.0\uB9CC \uC9C0\uC6D0\uB429\uB2C8\uB2E4. +- VersionNotSupported11 = XML \uBC84\uC804 \"{0}\"\uC740(\uB294) \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. XML 1.0 \uBC0F XML 1.1\uB9CC \uC9C0\uC6D0\uB429\uB2C8\uB2E4. ++ VersionInfoInvalid = "{0}"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uBC84\uC804\uC785\uB2C8\uB2E4. ++ VersionNotSupported = XML \uBC84\uC804 "{0}"\uC740(\uB294) \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. XML 1.0\uB9CC \uC9C0\uC6D0\uB429\uB2C8\uB2E4. ++ VersionNotSupported11 = XML \uBC84\uC804 "{0}"\uC740(\uB294) \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. XML 1.0 \uBC0F XML 1.1\uB9CC \uC9C0\uC6D0\uB429\uB2C8\uB2E4. + VersionMismatch= \uD558\uB098\uC758 \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uC774\uD6C4 \uBC84\uC804\uC758 \uB2E4\uB978 \uC5D4\uD2F0\uD2F0\uAC00 \uD3EC\uD568\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = \uBB38\uC790 \uCC38\uC870\uC5D0\uC11C\uB294 \"&#\" \uBC14\uB85C \uB2E4\uC74C\uC5D0 \uC2ED\uC9C4\uC218 \uD45C\uD604\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. +- HexdigitRequiredInCharRef = \uBB38\uC790 \uCC38\uC870\uC5D0\uC11C\uB294 \"&#x\" \uBC14\uB85C \uB2E4\uC74C\uC5D0 16\uC9C4\uC218 \uD45C\uD604\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ DigitRequiredInCharRef = \uBB38\uC790 \uCC38\uC870\uC5D0\uC11C\uB294 "&#" \uBC14\uB85C \uB2E4\uC74C\uC5D0 \uC2ED\uC9C4\uC218 \uD45C\uD604\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ HexdigitRequiredInCharRef = \uBB38\uC790 \uCC38\uC870\uC5D0\uC11C\uB294 "&#x" \uBC14\uB85C \uB2E4\uC74C\uC5D0 16\uC9C4\uC218 \uD45C\uD604\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. + SemicolonRequiredInCharRef = \uBB38\uC790 \uCC38\uC870\uB294 ';' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- InvalidCharRef = \uBB38\uC790 \uCC38\uC870 \"&#{0}\"\uC740(\uB294) \uBD80\uC801\uD569\uD55C XML \uBB38\uC790\uC785\uB2C8\uB2E4. ++ InvalidCharRef = \uBB38\uC790 \uCC38\uC870 "&#{0}"\uC740(\uB294) \uBD80\uC801\uD569\uD55C XML \uBB38\uC790\uC785\uB2C8\uB2E4. + NameRequiredInReference = \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC5D0\uC11C\uB294 '&' \uBC14\uB85C \uB2E4\uC74C\uC5D0 \uC5D4\uD2F0\uD2F0 \uC774\uB984\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. +- SemicolonRequiredInReference = \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uB294 '';'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ SemicolonRequiredInReference = "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uB294 '';'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC740 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \uB9E8 \uC55E\uC5D0\uB9CC \uB098\uD0C0\uB0A0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +- EqRequiredInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C\uB294 \"{0}\" \uB2E4\uC74C\uC5D0 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. +- QuoteRequiredInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C \"{0}\" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC740 \uB530\uC634\uD45C\uAC00 \uBD99\uC740 \uBB38\uC790\uC5F4\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- CloseQuoteMissingInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C \"{0}\" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC758 \uB2EB\uB294 \uB530\uC634\uD45C\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ EqRequiredInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C\uB294 "{0}" \uB2E4\uC74C\uC5D0 '' = '' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ QuoteRequiredInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C "{0}" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC740 \uB530\uC634\uD45C\uAC00 \uBD99\uC740 \uBB38\uC790\uC5F4\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ CloseQuoteMissingInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uC11C "{0}" \uB2E4\uC74C\uC5D0 \uC624\uB294 \uAC12\uC758 \uB2EB\uB294 \uB530\uC634\uD45C\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + SpaceRequiredBeforeVersionInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC740 \uBC84\uC804 \uC758\uC0AC \uC18D\uC131 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + SpaceRequiredBeforeEncodingInTextDecl = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC740 \uC778\uCF54\uB529 \uC758\uC0AC \uC18D\uC131 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- TextDeclUnterminated = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC740 \"?>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ TextDeclUnterminated = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC740 "?>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + EncodingDeclRequired = \uD14D\uC2A4\uD2B8 \uC120\uC5B8\uC5D0\uB294 \uC778\uCF54\uB529 \uC120\uC5B8\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + NoMorePseudoAttributes = \uC758\uC0AC \uC18D\uC131\uC740 \uB354 \uC774\uC0C1 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + MorePseudoAttributes = \uC758\uC0AC \uC18D\uC131\uC774 \uB354 \uD544\uC694\uD569\uB2C8\uB2E4. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = \uC8FC\uC11D\uC740 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0 \uC644\uC804\uD788 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + PINotInOneEntity = \uCC98\uB9AC \uBA85\uB839\uC740 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uB3D9\uC77C\uD55C \uC5D4\uD2F0\uD2F0\uC5D0 \uC644\uC804\uD788 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = \"{0}\"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uC778\uCF54\uB529 \uC774\uB984\uC785\uB2C8\uB2E4. +- EncodingByteOrderUnsupported = \"{0}\" \uC778\uCF54\uB529\uC5D0 \uB300\uD574 \uC81C\uACF5\uB41C \uBC14\uC774\uD2B8 \uC21C\uC11C\uB294 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ EncodingDeclInvalid = "{0}"\uC740(\uB294) \uBD80\uC801\uD569\uD55C \uC778\uCF54\uB529 \uC774\uB984\uC785\uB2C8\uB2E4. ++ EncodingByteOrderUnsupported = "{0}" \uC778\uCF54\uB529\uC5D0 \uB300\uD574 \uC81C\uACF5\uB41C \uBC14\uC774\uD2B8 \uC21C\uC11C\uB294 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + InvalidByte = {0}\uC740(\uB294) {1}\uBC14\uC774\uD2B8 UTF-8 \uC2DC\uD000\uC2A4\uC5D0 \uB300\uD574 \uBD80\uC801\uD569\uD55C \uBC14\uC774\uD2B8\uC785\uB2C8\uB2E4. + ExpectedByte = {1}\uBC14\uC774\uD2B8 UTF-8 \uC2DC\uD000\uC2A4\uC5D0 \uD544\uC694\uD55C \uBC14\uC774\uD2B8\uB294 {0}\uC785\uB2C8\uB2E4. + InvalidHighSurrogate = UTF-8 \uC2DC\uD000\uC2A4\uC758 \uB192\uC740 \uB300\uB9AC \uBE44\uD2B8\uB294 0x10\uC744 \uCD08\uACFC\uD558\uC9C0 \uC54A\uC544\uC57C \uD558\uC9C0\uB9CC 0x{0}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +- OperationNotSupported = {1} \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC740 \"{0}\" \uC791\uC5C5\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- InvalidASCII = \uBC14\uC774\uD2B8 \"{0}\"\uC740(\uB294) (7\uBE44\uD2B8) ASCII \uBB38\uC790 \uC9D1\uD569\uC5D0 \uC18D\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ OperationNotSupported = {1} \uC77D\uAE30 \uD504\uB85C\uADF8\uB7A8\uC740 "{0}" \uC791\uC5C5\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ InvalidASCII = \uBC14\uC774\uD2B8 "{0}"\uC740(\uB294) (7\uBE44\uD2B8) ASCII \uBB38\uC790 \uC9D1\uD569\uC5D0 \uC18D\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + CharConversionFailure = \uD2B9\uC815 \uC778\uCF54\uB529 \uD615\uC2DD\uC774\uC5B4\uC57C \uD558\uB294 \uAC83\uC73C\uB85C \uD655\uC778\uB41C \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uD574\uB2F9 \uC778\uCF54\uB529\uC5D0 \uBD80\uC801\uD569\uD55C \uC2DC\uD000\uC2A4\uAC00 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = \uACF5\uC6A9 \uC2DD\uBCC4\uC790\uC5D0\uB294 \uBB38\uC790(\uC720\uB2C8\uCF54\uB4DC: 0x{0})\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + SpaceRequiredBetweenPublicAndSystem = publicId\uC640 systemId \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!DOCTYPE\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!DOCTYPE\" \uB2E4\uC74C\uC5D0 \uB8E8\uD2B8 \uC694\uC18C \uC720\uD615\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. +- DoctypedeclUnterminated = \uB8E8\uD2B8 \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- PEReferenceWithinMarkup = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \"%{0};\"\uC740 DTD\uC758 \uB0B4\uBD80 \uBD80\uBD84 \uC9D1\uD569\uC5D0 \uC788\uB294 \uB9C8\uD06C\uC5C5 \uC548\uC5D0 \uD45C\uC2DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!DOCTYPE" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!DOCTYPE" \uB2E4\uC74C\uC5D0 \uB8E8\uD2B8 \uC694\uC18C \uC720\uD615\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. ++ DoctypedeclUnterminated = \uB8E8\uD2B8 \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ PEReferenceWithinMarkup = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 "%{0};"\uC740 DTD\uC758 \uB0B4\uBD80 \uBD80\uBD84 \uC9D1\uD569\uC5D0 \uC788\uB294 \uB9C8\uD06C\uC5C5 \uC548\uC5D0 \uD45C\uC2DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC744 \uD3EC\uD568\uD558\uAC70\uB098 \uBB38\uC11C \uC720\uD615 \uC120\uC5B8\uC774 \uAC00\uB9AC\uD0A4\uB294 \uB9C8\uD06C\uC5C5 \uC120\uC5B8\uC740 \uC62C\uBC14\uB978 \uD615\uC2DD\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = \"xml:space\"\uC5D0 \uB300\uD55C \uC18D\uC131 \uC120\uC5B8\uC740 \"default\" \uBC0F \"preserve\" \uAC12\uB9CC \uAC00\uB2A5\uD55C \uC5F4\uAC70 \uC720\uD615\uC73C\uB85C \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = "xml:space"\uC5D0 \uB300\uD55C \uC18D\uC131 \uC120\uC5B8\uC740 "default" \uBC0F "preserve" \uAC12\uB9CC \uAC00\uB2A5\uD55C \uC5F4\uAC70 \uC720\uD615\uC73C\uB85C \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!ELEMENT\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!ELEMENT" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC694\uC18C \uC720\uD615 \"{0}\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC694\uC18C \uC720\uD615 \"{0}\" \uB2E4\uC74C\uC5D0 \uC81C\uC57D \uC870\uAC74\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- ElementDeclUnterminated = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC694\uC18C \uC720\uD615 "{0}" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \uC694\uC18C \uC720\uD615 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC694\uC18C \uC720\uD615 "{0}" \uB2E4\uC74C\uC5D0 \uC81C\uC57D \uC870\uAC74\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ ElementDeclUnterminated = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uC120\uC5B8\uC5D0\uB294 ''('' \uBB38\uC790 \uB610\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uC120\uC5B8\uC5D0\uB294 '')''\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uC120\uC5B8\uC5D0\uB294 ''('' \uBB38\uC790 \uB610\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uC120\uC5B8\uC5D0\uB294 '')''\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uC120\uC5B8\uC5D0\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uC120\uC5B8\uC5D0\uB294 '')''\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +- MixedContentUnterminated = \uD558\uC704 \uC694\uC18C \uC720\uD615\uC774 \uC81C\uD55C\uB418\uB294 \uACBD\uC6B0 \uD63C\uD569 \uCF58\uD150\uCE20 \uBAA8\uB378 \"{0}\"\uC740(\uB294) \")*\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uC120\uC5B8\uC5D0\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uC120\uC5B8\uC5D0\uB294 '')''\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MixedContentUnterminated = \uD558\uC704 \uC694\uC18C \uC720\uD615\uC774 \uC81C\uD55C\uB418\uB294 \uACBD\uC6B0 \uD63C\uD569 \uCF58\uD150\uCE20 \uBAA8\uB378 "{0}"\uC740(\uB294) ")*"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = attribute-list \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!ATTLIST\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = attribute-list \uC120\uC5B8\uC5D0\uC11C\uB294 "<!ATTLIST" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = attribute-list \uC120\uC5B8\uC5D0\uB294 \uC694\uC18C \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C attribute-list \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uC774\uB984 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- AttNameRequiredInAttDef = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C attribute-list \uC120\uC5B8\uC5D0\uB294 \uC18D\uC131 \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uC720\uD615 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- AttTypeRequiredInAttDef = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uB294 \uC18D\uC131 \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uAE30\uBCF8\uAC12 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \uC81C\uACF5\uB41C \uC694\uC18C \"{0}\"\uC758 \uB3D9\uC77C\uD55C \uC18D\uC131 \"{1}\"\uC5D0 \uB300\uD574 \uC18D\uC131 \uC815\uC758\uAC00 \uB450 \uAC1C \uC774\uC0C1 \uC81C\uACF5\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C attribute-list \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uC774\uB984 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ AttNameRequiredInAttDef = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C attribute-list \uC120\uC5B8\uC5D0\uB294 \uC18D\uC131 \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uC720\uD615 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ AttTypeRequiredInAttDef = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uB294 \uC18D\uC131 \uC720\uD615\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC18D\uC131 \uAE30\uBCF8\uAC12 \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \uC81C\uACF5\uB41C \uC694\uC18C "{0}"\uC758 \uB3D9\uC77C\uD55C \uC18D\uC131 "{1}"\uC5D0 \uB300\uD574 \uC18D\uC131 \uC815\uC758\uAC00 \uB450 \uAC1C \uC774\uC0C1 \uC81C\uACF5\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 \"NOTATION\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 \"NOTATION\" \uB2E4\uC74C\uC5D0 ''('' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0 \uB300\uD55C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC5D0\uB294 \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- NotationTypeUnterminated = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC740 '')''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0 \uB300\uD55C \uC5F4\uAC70 \uC720\uD615 \uBAA9\uB85D\uC5D0\uB294 \uC774\uB984 \uD1A0\uD070\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- EnumerationUnterminated = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C \uC5F4\uAC70 \uC720\uD615 \uBAA9\uB85D\uC740 '')''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{2}\" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C \uBAA9\uB85D \uAC12 \"{1}\"\uC774(\uAC00) \uB450 \uBC88 \uC774\uC0C1 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E8\uC77C \uBAA9\uB85D \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C NMTOKENS\uB294 \uBAA8\uB450 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = \"{0}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{2}\" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C \uBAA9\uB85D \uAC12 \"{1}\"\uC774(\uAC00) \uB450 \uBC88 \uC774\uC0C1 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E8\uC77C NotationType \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C NOTATION \uC774\uB984\uC740 \uBAA8\uB450 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 "NOTATION" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 "NOTATION" \uB2E4\uC74C\uC5D0 ''('' \uBB38\uC790\uAC00 \uC640\uC57C \uD569\uB2C8\uB2E4. ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0 \uB300\uD55C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC5D0\uB294 \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ NotationTypeUnterminated = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC740 '')''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0 \uB300\uD55C \uC5F4\uAC70 \uC720\uD615 \uBAA9\uB85D\uC5D0\uB294 \uC774\uB984 \uD1A0\uD070\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ EnumerationUnterminated = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C \uC5F4\uAC70 \uC720\uD615 \uBAA9\uB85D\uC740 '')''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C "{2}" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C \uBAA9\uB85D \uAC12 "{1}"\uC774(\uAC00) \uB450 \uBC88 \uC774\uC0C1 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E8\uC77C \uBAA9\uB85D \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C NMTOKENS\uB294 \uBAA8\uB450 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = "{0}" \uC694\uC18C\uC5D0 \uB300\uD55C "{2}" \uC18D\uC131\uC758 \uC120\uC5B8\uC5D0\uC11C \uBAA9\uB85D \uAC12 "{1}"\uC774(\uAC00) \uB450 \uBC88 \uC774\uC0C1 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E8\uC77C NotationType \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C NOTATION \uC774\uB984\uC740 \uBAA8\uB450 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = \"{1}\" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 \"FIXED\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = "{1}" \uC18D\uC131 \uC120\uC5B8\uC5D0\uC11C\uB294 "FIXED" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. + # 3.4 Conditional Sections +- IncludeSectUnterminated = \uD3EC\uD568\uB41C \uC870\uAC74\uBD80 \uC139\uC158\uC740 \"]]>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- IgnoreSectUnterminated = \uC81C\uC678\uB41C \uC870\uAC74\uBD80 \uC139\uC158\uC740 \"]]>\"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ IncludeSectUnterminated = \uD3EC\uD568\uB41C \uC870\uAC74\uBD80 \uC139\uC158\uC740 "]]>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ IgnoreSectUnterminated = \uC81C\uC678\uB41C \uC870\uAC74\uBD80 \uC139\uC158\uC740 "]]>"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 4.1 Character and Entity References + NameRequiredInPEReference = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC5D0\uC11C\uB294 '%' \uBC14\uB85C \uB2E4\uC74C\uC5D0 \uC5D4\uD2F0\uD2F0 \uC774\uB984\uC774 \uC640\uC57C \uD569\uB2C8\uB2E4. +- SemicolonRequiredInPEReference = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \"%{0};\"\uC740 '';'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ SemicolonRequiredInPEReference = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 "%{0};"\uC740 '';'' \uAD6C\uBD84\uC790\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!ENTITY\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!ENTITY\"\uC640 '%' \uBB38\uC790 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!ENTITY" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!ENTITY"\uC640 '%' \uBB38\uC790 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 '%'\uC640 \uC5D4\uD2F0\uD2F0 \uC774\uB984 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uB294 \uC5D4\uD2F0\uD2F0 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC5D4\uD2F0\uD2F0 \uC774\uB984 \"{0}\"\uACFC(\uC640) \uC815\uC758 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 \"NDATA\"\uC640 \uD45C\uAE30\uBC95 \uC774\uB984 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 \"NDATA\" \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 \"NDATA\" \uB2E4\uC74C\uC5D0 \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- EntityDeclUnterminated = \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +- MSG_DUPLICATE_ENTITY_DEFINITION = \"{0}\" \uC5D4\uD2F0\uD2F0\uAC00 \uB450 \uBC88 \uC774\uC0C1 \uC120\uC5B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C\uB294 \uC5D4\uD2F0\uD2F0 \uC774\uB984 "{0}"\uACFC(\uC640) \uC815\uC758 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 "NDATA"\uC640 \uD45C\uAE30\uBC95 \uC774\uB984 \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 "NDATA" \uC55E\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uC11C\uB294 "NDATA" \uB2E4\uC74C\uC5D0 \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ EntityDeclUnterminated = "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_DUPLICATE_ENTITY_DEFINITION = "{0}" \uC5D4\uD2F0\uD2F0\uAC00 \uB450 \uBC88 \uC774\uC0C1 \uC120\uC5B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + # 4.2.2 External Entities +- ExternalIDRequired = \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC740 \"SYSTEM\" \uB610\uB294 \"PUBLIC\"\uC73C\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \"PUBLIC\"\uACFC \uACF5\uC6A9 \uC2DD\uBCC4\uC790 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ ExternalIDRequired = \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC740 "SYSTEM" \uB610\uB294 "PUBLIC"\uC73C\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = "PUBLIC"\uACFC \uACF5\uC6A9 \uC2DD\uBCC4\uC790 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = \uACF5\uC6A9 \uC2DD\uBCC4\uC790\uC640 \uC2DC\uC2A4\uD15C \uC2DD\uBCC4\uC790 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \"SYSTEM\"\uACFC \uC2DC\uC2A4\uD15C \uC2DD\uBCC4\uC790 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_URI_FRAGMENT_IN_SYSTEMID = \uBD80\uBD84 \uC2DD\uBCC4\uC790\uB294 \uC2DC\uC2A4\uD15C \uC2DD\uBCC4\uC790 \"{0}\"\uC758 \uC77C\uBD80\uB85C \uC9C0\uC815\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = "SYSTEM"\uACFC \uC2DC\uC2A4\uD15C \uC2DD\uBCC4\uC790 \uC0AC\uC774\uC5D0\uB294 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = \uBD80\uBD84 \uC2DD\uBCC4\uC790\uB294 \uC2DC\uC2A4\uD15C \uC2DD\uBCC4\uC790 "{0}"\uC758 \uC77C\uBD80\uB85C \uC9C0\uC815\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C\uB294 \"<!NOTATION\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C\uB294 "<!NOTATION" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uB294 \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C\uB294 \uD45C\uAE30\uBC95 \uC774\uB984 \"{0}\" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +- ExternalIDorPublicIDRequired = \"{0}\" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uB294 \uC2DC\uC2A4\uD15C \uB610\uB294 \uACF5\uC6A9 \uC2DD\uBCC4\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- NotationDeclUnterminated = \"{0}\" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C\uB294 \uD45C\uAE30\uBC95 \uC774\uB984 "{0}" \uB2E4\uC74C\uC5D0 \uACF5\uBC31\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. ++ ExternalIDorPublicIDRequired = "{0}" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC5D0\uB294 \uC2DC\uC2A4\uD15C \uB610\uB294 \uACF5\uC6A9 \uC2DD\uBCC4\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ NotationDeclUnterminated = "{0}" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC740 ''>''\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. + + # Validation messages +- DuplicateTypeInMixedContent = \uC694\uC18C \uC720\uD615 \"{1}\"\uC774(\uAC00) \uC694\uC18C \uC120\uC5B8 \"{0}\"\uC758 \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +- ENTITIESInvalid = ENTITIES \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{1}\"\uC740(\uB294) \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uD558\uB098 \uC774\uC0C1\uC758 \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- ENTITYInvalid = ENTITY \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{1}\"\uC740(\uB294) \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- IDDefaultTypeInvalid = ID \uC18D\uC131 \"{0}\"\uC758 \uC120\uC5B8\uB41C \uAE30\uBCF8\uAC12\uC740 \"#IMPLIED\" \uB610\uB294 \"#REQUIRED\"\uC5EC\uC57C \uD569\uB2C8\uB2E4. +- IDInvalid = ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- IDInvalidWithNamespaces = \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- IDNotUnique = ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uBB38\uC11C \uB0B4\uC5D0\uC11C \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. +- IDREFInvalid = IDREF \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- IDREFInvalidWithNamespaces = \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 IDREF \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- IDREFSInvalid = IDREFS \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uD558\uB098 \uC774\uC0C1\uC758 \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uAC00 \uC804\uCCB4 \uC120\uC5B8\uC73C\uB85C \uC0AC\uC6A9\uB41C \uACBD\uC6B0 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- ImproperDeclarationNesting = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- ImproperGroupNesting = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uAD04\uD638 \uC30D\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- INVALID_PE_IN_CONDITIONAL = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC804\uCCB4 \uC870\uAC74\uBD80 \uC139\uC158\uC774 \uD3EC\uD568\uB418\uAC70\uB098 INCLUDE \uB610\uB294 IGNORE\uB9CC \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_ATTRIBUTE_NOT_DECLARED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC744 \uC120\uC5B8\uD574\uC57C \uD569\uB2C8\uB2E4. +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \uAC12\uC774 \"{1}\"\uC778 \"{0}\" \uC18D\uC131\uC5D0\uB294 \"{2}\" \uBAA9\uB85D\uC758 \uAC12\uC774 \uC0AC\uC6A9\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \"{0}\" \uC18D\uC131\uC758 \"{1}\" \uAC12\uC740 \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C \uC815\uADDC\uD654\uC5D0 \uC758\uD574 \"{2}\"(\uC73C)\uB85C \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +- MSG_CONTENT_INCOMPLETE = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uCF58\uD150\uCE20\uAC00 \uBD88\uC644\uC804\uD569\uB2C8\uB2E4. \uD574\uB2F9 \uCF58\uD150\uCE20\uB294 \"{1}\"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. +- MSG_CONTENT_INVALID = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uCF58\uD150\uCE20\uB294 \"{1}\"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. +- MSG_CONTENT_INVALID_SPECIFIED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC758 \uCF58\uD150\uCE20\uB294 \"{1}\"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. \"{2}\" \uC720\uD615\uC758 \uD558\uC704 \uD56D\uBAA9\uC740 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC5D0 \uAE30\uBCF8\uAC12\uC774 \uC788\uC73C\uBA70 \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_DUPLICATE_ATTDEF = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD55C \"{1}\" \uC18D\uC131\uC774 \uC774\uBBF8 \uC120\uC5B8\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +- MSG_ELEMENT_ALREADY_DECLARED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC740(\uB294) \uB450 \uBC88 \uC774\uC0C1 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +- MSG_ELEMENT_NOT_DECLARED = \uC694\uC18C \uC720\uD615 \"{0}\"\uC744(\uB97C) \uC120\uC5B8\uD574\uC57C \uD569\uB2C8\uB2E4. ++ DuplicateTypeInMixedContent = \uC694\uC18C \uC720\uD615 "{1}"\uC774(\uAC00) \uC694\uC18C \uC120\uC5B8 "{0}"\uC758 \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0 \uC774\uBBF8 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ++ ENTITIESInvalid = ENTITIES \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{1}"\uC740(\uB294) \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uD558\uB098 \uC774\uC0C1\uC758 \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ ENTITYInvalid = ENTITY \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{1}"\uC740(\uB294) \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ IDDefaultTypeInvalid = ID \uC18D\uC131 "{0}"\uC758 \uC120\uC5B8\uB41C \uAE30\uBCF8\uAC12\uC740 "#IMPLIED" \uB610\uB294 "#REQUIRED"\uC5EC\uC57C \uD569\uB2C8\uB2E4. ++ IDInvalid = ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ IDInvalidWithNamespaces = \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ IDNotUnique = ID \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uBB38\uC11C \uB0B4\uC5D0\uC11C \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. ++ IDREFInvalid = IDREF \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ IDREFInvalidWithNamespaces = \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 IDREF \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ IDREFSInvalid = IDREFS \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uD558\uB098 \uC774\uC0C1\uC758 \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uAC00 \uC804\uCCB4 \uC120\uC5B8\uC73C\uB85C \uC0AC\uC6A9\uB41C \uACBD\uC6B0 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "{0}"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ ImproperDeclarationNesting = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "{0}"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ ImproperGroupNesting = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "{0}"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC81C\uB300\uB85C \uC911\uCCA9\uB41C \uAD04\uD638 \uC30D\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ INVALID_PE_IN_CONDITIONAL = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "{0}"\uC758 \uB300\uCCB4 \uD14D\uC2A4\uD2B8\uC5D0\uB294 \uC804\uCCB4 \uC870\uAC74\uBD80 \uC139\uC158\uC774 \uD3EC\uD568\uB418\uAC70\uB098 INCLUDE \uB610\uB294 IGNORE\uB9CC \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ATTRIBUTE_NOT_DECLARED = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC744 \uC120\uC5B8\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \uAC12\uC774 "{1}"\uC778 "{0}" \uC18D\uC131\uC5D0\uB294 "{2}" \uBAA9\uB85D\uC758 \uAC12\uC774 \uC0AC\uC6A9\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = "{0}" \uC18D\uC131\uC758 "{1}" \uAC12\uC740 \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C \uC815\uADDC\uD654\uC5D0 \uC758\uD574 "{2}"(\uC73C)\uB85C \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ MSG_CONTENT_INCOMPLETE = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uCF58\uD150\uCE20\uAC00 \uBD88\uC644\uC804\uD569\uB2C8\uB2E4. \uD574\uB2F9 \uCF58\uD150\uCE20\uB294 "{1}"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_CONTENT_INVALID = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uCF58\uD150\uCE20\uB294 "{1}"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. ++ MSG_CONTENT_INVALID_SPECIFIED = \uC694\uC18C \uC720\uD615 "{0}"\uC758 \uCF58\uD150\uCE20\uB294 "{1}"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. "{2}" \uC720\uD615\uC758 \uD558\uC704 \uD56D\uBAA9\uC740 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC5D0 \uAE30\uBCF8\uAC12\uC774 \uC788\uC73C\uBA70 \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_DUPLICATE_ATTDEF = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD55C "{1}" \uC18D\uC131\uC774 \uC774\uBBF8 \uC120\uC5B8\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. ++ MSG_ELEMENT_ALREADY_DECLARED = \uC694\uC18C \uC720\uD615 "{0}"\uC740(\uB294) \uB450 \uBC88 \uC774\uC0C1 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ELEMENT_NOT_DECLARED = \uC694\uC18C \uC720\uD615 "{0}"\uC744(\uB97C) \uC120\uC5B8\uD574\uC57C \uD569\uB2C8\uB2E4. + MSG_GRAMMAR_NOT_FOUND = \uBB38\uC11C\uAC00 \uBD80\uC801\uD569\uD568: \uBB38\uBC95\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +- MSG_ELEMENT_WITH_ID_REQUIRED = \uC2DD\uBCC4\uC790\uAC00 \"{0}\"\uC778 \uC694\uC18C\uAC00 \uBB38\uC11C\uC5D0 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C\uB294 \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC5D0 \uB300\uD55C \uCC38\uC870\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- MSG_FIXED_ATTVALUE_INVALID = \uAC12\uC774 \"{2}\"\uC778 \"{1}\" \uC18D\uC131\uC758 \uAC12\uC740 \"{3}\"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 ID \uC720\uD615\uC758 \"{1}\" \uC18D\uC131\uC774 \uC774\uBBF8 \uC788\uC73C\uBBC0\uB85C ID \uC720\uD615\uC758 \uB450\uBC88\uC9F8 \uC18D\uC131 \"{2}\"\uC774(\uAC00) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 NOTATION \uC720\uD615\uC758 \"{1}\" \uC18D\uC131\uC774 \uC774\uBBF8 \uC788\uC73C\uBBC0\uB85C NOTATION \uC720\uD615\uC758 \uB450\uBC88\uC9F8 \uC18D\uC131 \"{2}\"\uC774(\uAC00) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \"{1}\" \uD45C\uAE30\uBC95\uC740 \"{0}\" \uC18D\uC131\uC5D0 \uB300\uD55C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC5D0\uC11C \uCC38\uC870\uB418\uB294 \uACBD\uC6B0 \uC120\uC5B8\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \"{1}\" \uD45C\uAE30\uBC95\uC740 \"{0}\"\uC5D0 \uB300\uD574 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C \uCC38\uC870\uB418\uB294 \uACBD\uC6B0 \uC120\uC5B8\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C\uB294 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uC678\uBD80 \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC120\uC5B8\uB41C \"{0}\" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \"{1}\" \uC18D\uC131\uC774 \uD544\uC694\uD558\uBA70 \uC694\uC18C \uC720\uD615 \"{0}\"\uC5D0 \uB300\uD574 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_ELEMENT_WITH_ID_REQUIRED = \uC2DD\uBCC4\uC790\uAC00 "{0}"\uC778 \uC694\uC18C\uAC00 \uBB38\uC11C\uC5D0 \uB098\uD0C0\uB098\uC57C \uD569\uB2C8\uB2E4. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C\uB294 \uC678\uBD80 \uC5D4\uD2F0\uD2F0 "{0}"\uC5D0 \uB300\uD55C \uCC38\uC870\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ MSG_FIXED_ATTVALUE_INVALID = \uAC12\uC774 "{2}"\uC778 "{1}" \uC18D\uC131\uC758 \uAC12\uC740 "{3}"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 ID \uC720\uD615\uC758 "{1}" \uC18D\uC131\uC774 \uC774\uBBF8 \uC788\uC73C\uBBC0\uB85C ID \uC720\uD615\uC758 \uB450\uBC88\uC9F8 \uC18D\uC131 "{2}"\uC774(\uAC00) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 NOTATION \uC720\uD615\uC758 "{1}" \uC18D\uC131\uC774 \uC774\uBBF8 \uC788\uC73C\uBBC0\uB85C NOTATION \uC720\uD615\uC758 \uB450\uBC88\uC9F8 \uC18D\uC131 "{2}"\uC774(\uAC00) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = "{1}" \uD45C\uAE30\uBC95\uC740 "{0}" \uC18D\uC131\uC5D0 \uB300\uD55C \uD45C\uAE30\uBC95 \uC720\uD615 \uBAA9\uB85D\uC5D0\uC11C \uCC38\uC870\uB418\uB294 \uACBD\uC6B0 \uC120\uC5B8\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = "{1}" \uD45C\uAE30\uBC95\uC740 "{0}"\uC5D0 \uB300\uD574 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0 \uC120\uC5B8\uC5D0\uC11C \uCC38\uC870\uB418\uB294 \uACBD\uC6B0 \uC120\uC5B8\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C\uB294 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uC678\uBD80 \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC120\uC5B8\uB41C "{0}" \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = "{1}" \uC18D\uC131\uC774 \uD544\uC694\uD558\uBA70 \uC694\uC18C \uC720\uD615 "{0}"\uC5D0 \uB300\uD574 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \uB3C5\uB9BD\uD615 \uBB38\uC11C\uC5D0\uC11C\uB294 \uC694\uC18C \uCF58\uD150\uCE20\uB97C \uAC00\uC9C0\uBA70 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uC678\uBD80 \uC5D4\uD2F0\uD2F0\uC5D0\uC11C \uC120\uC5B8\uB41C \uC694\uC18C \uC0AC\uC774\uC5D0 \uACF5\uBC31\uC774 \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- NMTOKENInvalid = NMTOKEN \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uC774\uB984 \uD1A0\uD070\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- NMTOKENSInvalid = NMTOKENS \uC720\uD615\uC758 \uC18D\uC131\uAC12 \"{0}\"\uC740(\uB294) \uD558\uB098 \uC774\uC0C1\uC758 \uC774\uB984 \uD1A0\uD070\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +- NoNotationOnEmptyElement = EMPTY\uB85C \uC120\uC5B8\uB41C \uC694\uC18C \uC720\uD615 \"{0}\"\uC740(\uB294) NOTATION \uC720\uD615\uC758 \"{1}\" \uC18D\uC131\uC744 \uC120\uC5B8\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +- RootElementTypeMustMatchDoctypedecl = \uBB38\uC11C \uB8E8\uD2B8 \uC694\uC18C \"{1}\"\uC740(\uB294) DOCTYPE \uB8E8\uD2B8 \"{0}\"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. +- UndeclaredElementInContentSpec = \"{0}\" \uC694\uC18C\uC758 \uCF58\uD150\uCE20 \uBAA8\uB378\uC774 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC740 \uC694\uC18C \"{1}\"\uC744(\uB97C) \uCC38\uC870\uD569\uB2C8\uB2E4. +- UniqueNotationName = \"{0}\" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC774 \uACE0\uC720\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC81C\uACF5\uB41C \uC774\uB984\uC740 \uB450 \uAC1C \uC774\uC0C1\uC758 \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C \uC120\uC5B8\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. ++ NMTOKENInvalid = NMTOKEN \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uC774\uB984 \uD1A0\uD070\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ NMTOKENSInvalid = NMTOKENS \uC720\uD615\uC758 \uC18D\uC131\uAC12 "{0}"\uC740(\uB294) \uD558\uB098 \uC774\uC0C1\uC758 \uC774\uB984 \uD1A0\uD070\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. ++ NoNotationOnEmptyElement = EMPTY\uB85C \uC120\uC5B8\uB41C \uC694\uC18C \uC720\uD615 "{0}"\uC740(\uB294) NOTATION \uC720\uD615\uC758 "{1}" \uC18D\uC131\uC744 \uC120\uC5B8\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ++ RootElementTypeMustMatchDoctypedecl = \uBB38\uC11C \uB8E8\uD2B8 \uC694\uC18C "{1}"\uC740(\uB294) DOCTYPE \uB8E8\uD2B8 "{0}"\uACFC(\uC640) \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. ++ UndeclaredElementInContentSpec = "{0}" \uC694\uC18C\uC758 \uCF58\uD150\uCE20 \uBAA8\uB378\uC774 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC740 \uC694\uC18C "{1}"\uC744(\uB97C) \uCC38\uC870\uD569\uB2C8\uB2E4. ++ UniqueNotationName = "{0}" \uD45C\uAE30\uBC95\uC5D0 \uB300\uD55C \uC120\uC5B8\uC774 \uACE0\uC720\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC81C\uACF5\uB41C \uC774\uB984\uC740 \uB450 \uAC1C \uC774\uC0C1\uC758 \uD45C\uAE30\uBC95 \uC120\uC5B8\uC5D0\uC11C \uC120\uC5B8\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. + ENTITYFailedInitializeGrammar = ENTITYDatatype \uAC80\uC99D\uAE30: \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC801\uD569\uD55C \uBB38\uBC95 \uCC38\uC870\uB85C \uCD08\uAE30\uD654 \uBA54\uC18C\uB4DC\uB97C \uD638\uCD9C\uD574\uC57C \uD569\uB2C8\uB2E4. \t +- ENTITYNotUnparsed = ENTITY \"{0}\"\uC758 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +- ENTITYNotValid = ENTITY \"{0}\"\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. ++ ENTITYNotUnparsed = ENTITY "{0}"\uC758 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. ++ ENTITYNotValid = ENTITY "{0}"\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. + EmptyList = ENTITIES, IDREFS \uBC0F NMTOKENS \uC720\uD615\uC758 \uAC12\uC740 \uBE48 \uBAA9\uB85D\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = \uC18D\uC131\uAC12\uC5D0\uC11C\uB294 \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \"&{0};\"\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = \uC18D\uC131\uAC12\uC5D0\uC11C\uB294 \uC678\uBD80 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 "&{0};"\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ AccessExternalDTD = \uC678\uBD80 DTD: accessExternalDTD \uC18D\uC131\uC73C\uB85C \uC124\uC815\uB41C \uC81C\uD55C\uC73C\uB85C \uC778\uD574 ''{1}'' \uC561\uC138\uC2A4\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC73C\uBBC0\uB85C \uC678\uBD80 DTD ''{0}'' \uC77D\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. ++ AccessExternalEntity = \uC678\uBD80 \uC5D4\uD2F0\uD2F0: accessExternalDTD \uC18D\uC131\uC73C\uB85C \uC124\uC815\uB41C \uC81C\uD55C\uC73C\uB85C \uC778\uD574 ''{1}'' \uC561\uC138\uC2A4\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC73C\uBBC0\uB85C \uC678\uBD80 \uBB38\uC11C ''{0}'' \uC77D\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. + + # 4.1 Character and Entity References +- EntityNotDeclared = \"{0}\" \uC5D4\uD2F0\uD2F0\uAC00 \uCC38\uC870\uB418\uC5C8\uC9C0\uB9CC \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +- ReferenceToUnparsedEntity = \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \"&{0};\"\uC740(\uB294) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +- RecursiveReference = \"{0}\"\uC740(\uB294) \uC21C\uD658 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). +- RecursiveGeneralReference = \"&{0};\"\uC740 \uC21C\uD658 \uC77C\uBC18 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). +- RecursivePEReference = \"%{0};\"\uC740 \uC21C\uD658 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). ++ EntityNotDeclared = "{0}" \uC5D4\uD2F0\uD2F0\uAC00 \uCC38\uC870\uB418\uC5C8\uC9C0\uB9CC \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. ++ ReferenceToUnparsedEntity = \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 "&{0};"\uC740(\uB294) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ RecursiveReference = "{0}"\uC740(\uB294) \uC21C\uD658 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). ++ RecursiveGeneralReference = "&{0};"\uC740 \uC21C\uD658 \uC77C\uBC18 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). ++ RecursivePEReference = "%{0};"\uC740 \uC21C\uD658 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870\uC785\uB2C8\uB2E4(\uCC38\uC870 \uACBD\uB85C: {1}). + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = \"{0}\" \uC778\uCF54\uB529\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++ EncodingNotSupported = "{0}" \uC778\uCF54\uB529\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + EncodingRequired = UTF-8 \uB610\uB294 UTF-16\uC73C\uB85C \uC778\uCF54\uB529\uB418\uC9C0 \uC54A\uC740 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB41C \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uC778\uCF54\uB529 \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = \uC694\uC18C \uB610\uB294 \uC18D\uC131\uC774 QName \uC791\uC131\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC74C: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = \"{0}\" \uC694\uC18C\uC5D0\uB294 \"xmlns\"\uAC00 \uC811\uB450\uC5B4\uB85C \uC0AC\uC6A9\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +- ElementPrefixUnbound = \"{1}\" \uC694\uC18C\uC5D0 \uB300\uD55C \"{0}\" \uC811\uB450\uC5B4\uAC00 \uBC14\uC778\uB4DC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +- AttributePrefixUnbound = \uC694\uC18C \uC720\uD615 \"{0}\"\uACFC(\uC640) \uC5F0\uAD00\uB41C \"{1}\" \uC18D\uC131\uC758 \"{2}\" \uC811\uB450\uC5B4\uAC00 \uBC14\uC778\uB4DC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +- EmptyPrefixedAttName = \"{0}\" \uC18D\uC131\uC758 \uAC12\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. \uC811\uB450\uC5B4\uAC00 \uC9C0\uC815\uB41C \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uBC14\uC778\uB529\uC740 \uBE44\uC6CC \uB458 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +- PrefixDeclared = \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC811\uB450\uC5B4 \"{0}\"\uC774(\uAC00) \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. ++ ElementXMLNSPrefix = "{0}" \uC694\uC18C\uC5D0\uB294 "xmlns"\uAC00 \uC811\uB450\uC5B4\uB85C \uC0AC\uC6A9\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ++ ElementPrefixUnbound = "{1}" \uC694\uC18C\uC5D0 \uB300\uD55C "{0}" \uC811\uB450\uC5B4\uAC00 \uBC14\uC778\uB4DC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. ++ AttributePrefixUnbound = \uC694\uC18C \uC720\uD615 "{0}"\uACFC(\uC640) \uC5F0\uAD00\uB41C "{1}" \uC18D\uC131\uC758 "{2}" \uC811\uB450\uC5B4\uAC00 \uBC14\uC778\uB4DC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. ++ EmptyPrefixedAttName = "{0}" \uC18D\uC131\uC758 \uAC12\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. \uC811\uB450\uC5B4\uAC00 \uC9C0\uC815\uB41C \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uBC14\uC778\uB529\uC740 \uBE44\uC6CC \uB458 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ++ PrefixDeclared = \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC811\uB450\uC5B4 "{0}"\uC774(\uAC00) \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. + CantBindXMLNS = "xmlns" \uC811\uB450\uC5B4\uB294 \uBA85\uC2DC\uC801\uC73C\uB85C \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uBC14\uC778\uB4DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. "xmlns"\uC5D0 \uB300\uD55C \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uB3C4 \uBA85\uC2DC\uC801\uC73C\uB85C \uC811\uB450\uC5B4\uC5D0 \uBC14\uC778\uB4DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + CantBindXML = "xml" \uC811\uB450\uC5B4\uB294 \uC77C\uBC18 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC544\uB2CC \uB2E4\uB978 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uBC14\uC778\uB4DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. "xml"\uC5D0 \uB300\uD55C \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uB3C4 "xml" \uC774\uC678\uC758 \uC811\uB450\uC5B4\uC5D0 \uBC14\uC778\uB4DC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +- MSG_ATT_DEFAULT_INVALID = \"{0}\" \uC18D\uC131\uC758 defaultValue \"{1}\"\uC740(\uB294) \uC774 \uC18D\uC131 \uC720\uD615\uC758 \uB809\uC2DC\uCE7C \uC81C\uC57D \uC870\uAC74\uC5D0 \uB300\uD55C \uAC12\uC73C\uB85C \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. ++ MSG_ATT_DEFAULT_INVALID = "{0}" \uC18D\uC131\uC758 defaultValue "{1}"\uC740(\uB294) \uC774 \uC18D\uC131 \uC720\uD615\uC758 \uB809\uC2DC\uCE7C \uC81C\uC57D \uC870\uAC74\uC5D0 \uB300\uD55C \uAC12\uC73C\uB85C \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=\uAD6C\uBB38 \uBD84\uC11D\uAE30\uAC00 \uC774 \uBB38\uC11C\uC5D0\uC11C \"{0}\"\uAC1C\uB97C \uCD08\uACFC\uD558\uB294 \uC5D4\uD2F0\uD2F0 \uD655\uC7A5\uC744 \uBC1C\uACAC\uD588\uC2B5\uB2C8\uB2E4. \uC774\uB294 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC5D0\uC11C \uC801\uC6A9\uD558\uB294 \uC81C\uD55C\uC785\uB2C8\uB2E4. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: \uAD6C\uBB38 \uBD84\uC11D\uAE30\uAC00 \uC774 \uBB38\uC11C\uC5D0\uC11C "{0}"\uAC1C\uB97C \uCD08\uACFC\uD558\uB294 \uC5D4\uD2F0\uD2F0 \uD655\uC7A5\uC744 \uBC1C\uACAC\uD588\uC2B5\uB2C8\uB2E4. \uC774\uB294 JDK\uC5D0\uC11C \uC801\uC6A9\uD558\uB294 \uC81C\uD55C\uC785\uB2C8\uB2E4. ++ ElementAttributeLimit=JAXP00010002: "{0}" \uC694\uC18C\uC5D0 "{1}"\uAC1C\uB97C \uCD08\uACFC\uD558\uB294 \uC18D\uC131\uC774 \uC788\uC2B5\uB2C8\uB2E4. "{1}"\uC740(\uB294) JDK\uC5D0\uC11C \uC801\uC6A9\uD558\uB294 \uC81C\uD55C\uC785\uB2C8\uB2E4. ++ MaxEntitySizeLimit=JAXP00010003: "{0}" \uC5D4\uD2F0\uD2F0\uC758 \uAE38\uC774\uAC00 "{3}"\uC5D0\uC11C \uC124\uC815\uB41C "{2}" \uC81C\uD55C\uC744 \uCD08\uACFC\uD558\uB294 "{1}"\uC785\uB2C8\uB2E4. ++ TotalEntitySizeLimit=JAXP00010004: \uC5D4\uD2F0\uD2F0\uC758 \uB204\uC801 \uD06C\uAE30 "{0}"\uC774(\uAC00) "{2}"\uC5D0\uC11C \uC124\uC815\uB41C "{1}" \uC81C\uD55C\uC744 \uCD08\uACFC\uD588\uC2B5\uB2C8\uB2E4. ++ MaxXMLNameLimit=JAXP00010005: "{0}" \uC774\uB984\uC774 "{2}"\uC5D0\uC11C \uC124\uC815\uB41C "{1}" \uC81C\uD55C\uC744 \uCD08\uACFC\uD588\uC2B5\uB2C8\uB2E4. + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= \"{0}\" \uC694\uC18C\uC5D0 \"{1}\"\uAC1C\uB97C \uCD08\uACFC\uD558\uB294 \uC18D\uC131\uC774 \uC788\uC2B5\uB2C8\uB2E4. \"{1}\"\uC740(\uB294) \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC5D0\uC11C \uC801\uC6A9\uD558\uB294 \uC81C\uD55C\uC785\uB2C8\uB2E4. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_pt_BR.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_pt_BR.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - +-/* +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = Um caractere XML inv\u00E1lido (Unicode: 0x {0}) foi encontrado no pr\u00F3logo do documento. + InvalidCharInXMLDecl = Um caractere XML inv\u00E1lido (Unicode: 0x{0}) foi encontrado na declara\u00E7\u00E3o XML. + # 2.4 Character Data and Markup +- CDEndInContent = A sequ\u00EAncia de caracteres \"]]>\" n\u00E3o deve aparecer no conte\u00FAdo, a menos que seja usada para marcar o fim de uma se\u00E7\u00E3o CDATA. ++ CDEndInContent = A sequ\u00EAncia de caracteres "]]>" n\u00E3o deve aparecer no conte\u00FAdo, a menos que seja usada para marcar o fim de uma se\u00E7\u00E3o CDATA. + # 2.7 CDATA Sections +- CDSectUnterminated = A se\u00E7\u00E3o CDATA deve terminar com \"]]>\". ++ CDSectUnterminated = A se\u00E7\u00E3o CDATA deve terminar com "]]>". + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = A declara\u00E7\u00E3o XML pode aparecer somente bem no in\u00EDcio do documento. +- EqRequiredInXMLDecl = O caractere '' = '' deve estar ap\u00F3s \"{0}\" na declara\u00E7\u00E3o XML. +- QuoteRequiredInXMLDecl = O valor ap\u00F3s \"{0}\" na declara\u00E7\u00E3o XML deve ser uma string entre aspas. +- XMLDeclUnterminated = A declara\u00E7\u00E3o XML deve terminar com \"?>\". ++ EqRequiredInXMLDecl = O caractere '' = '' deve estar ap\u00F3s "{0}" na declara\u00E7\u00E3o XML. ++ QuoteRequiredInXMLDecl = O valor ap\u00F3s "{0}" na declara\u00E7\u00E3o XML deve ser uma string entre aspas. ++ XMLDeclUnterminated = A declara\u00E7\u00E3o XML deve terminar com "?>". + VersionInfoRequired = A vers\u00E3o \u00E9 obrigat\u00F3ria na declara\u00E7\u00E3o XML. + SpaceRequiredBeforeVersionInXMLDecl = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes do pseudo-atributo da vers\u00E3o na declara\u00E7\u00E3o XML. + SpaceRequiredBeforeEncodingInXMLDecl = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes de codificar o pseudo-atributo na declara\u00E7\u00E3o XML. +@@ -71,85 +68,86 @@ + ReferenceIllegalInTrailingMisc=A refer\u00EAncia n\u00E3o \u00E9 permitida na se\u00E7\u00E3o \u00E0 esquerda. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = O valor da declara\u00E7\u00E3o do documento stand-alone deve ser \"sim\" ou \"n\u00E3o\", mas n\u00E3o deve ser \"{0}\". ++ SDDeclInvalid = O valor da declara\u00E7\u00E3o do documento stand-alone deve ser "sim" ou "n\u00E3o", mas n\u00E3o deve ser "{0}". ++ SDDeclNameInvalid = O nome standalone na declara\u00E7\u00E3o XML pode estar grafado incorretamente. + # 2.12 Language Identification +- XMLLangInvalid = O valor do atributo xml:lang \"{0}\" \u00E9 um identificador de idioma inv\u00E1lido. ++ XMLLangInvalid = O valor do atributo xml:lang "{0}" \u00E9 um identificador de idioma inv\u00E1lido. + # 3. Logical Structures +- ETagRequired = O tipo de elemento {0}\" deve ser encerrado pela tag final correspondente \"</{0}>\". ++ ETagRequired = O tipo de elemento {0}" deve ser encerrado pela tag final correspondente "</{0}>". + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = O tipo de elemento \"{0}\" deve ser seguido pelas especifica\u00E7\u00F5es do atributo, \">\" ou \"/>\". +- EqRequiredInAttribute = O nome do atributo \"{1}\" associado a um tipo de elemento \"{0}\" deve ser seguido do caractere '' = ''. +- OpenQuoteExpected = S\u00E3o esperadas aspas de abertura para o atributo \"{1}\" associado a um tipo de elemento \"{0}\". +- CloseQuoteExpected = S\u00E3o esperadas aspas de fechamento para o atributo \"{1}\" associado a um tipo de elemento \"{0}\". +- AttributeNotUnique = O atributo \"{1}\" j\u00E1 foi especificado para o elemento \"{0}\". +- AttributeNSNotUnique = O atributo \"{1}\" vinculado ao namespace \"{2}\" j\u00E1 foi especificado para o elemento \"{0}\". +- ETagUnterminated = A tag final do tipo de elemento \"{0}\" deve terminar com um delimitador ''>". ++ ElementUnterminated = O tipo de elemento "{0}" deve ser seguido pelas especifica\u00E7\u00F5es do atributo, ">" ou "/>". ++ EqRequiredInAttribute = O nome do atributo "{1}" associado a um tipo de elemento "{0}" deve ser seguido do caractere '' = ''. ++ OpenQuoteExpected = S\u00E3o esperadas aspas de abertura para o atributo "{1}" associado a um tipo de elemento "{0}". ++ CloseQuoteExpected = S\u00E3o esperadas aspas de fechamento para o atributo "{1}" associado a um tipo de elemento "{0}". ++ AttributeNotUnique = O atributo "{1}" j\u00E1 foi especificado para o elemento "{0}". ++ AttributeNSNotUnique = O atributo "{1}" vinculado ao namespace "{2}" j\u00E1 foi especificado para o elemento "{0}". ++ ETagUnterminated = A tag final do tipo de elemento "{0}" deve terminar com um delimitador ''>". + MarkupNotRecognizedInContent = O conte\u00FAdo dos elementos deve consistir em dados ou marca\u00E7\u00E3o do caractere correto. + DoctypeIllegalInContent = Um DOCTYPE n\u00E3o \u00E9 permitido no conte\u00FAdo. + # 4.1 Character and Entity References + ReferenceUnterminated = A refer\u00EAncia deve ser encerrada por um delimitador ';'. + # 4.3.2 Well-Formed Parsed Entities +- ReferenceNotInOneEntity = A refer\u00EAncia deve estar totalmente contida na mesma entidade submetida a parse. +- ElementEntityMismatch = O elemento \"{0}\" deve come\u00E7ar e terminar com a mesma entidade. ++ ReferenceNotInOneEntity = A refer\u00EAncia deve estar totalmente contida na mesma entidade submetida a parsing. ++ ElementEntityMismatch = O elemento "{0}" deve come\u00E7ar e terminar com a mesma entidade. + MarkupEntityMismatch=As estruturas do documento XML devem come\u00E7ar e terminar com a mesma entidade. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = Um caractere XML inv\u00E1lido (Unicode: 0x {2}) foi encontrado no valor do atributo \"{1}\" e o elemento \u00E9 \"{0}\". ++ InvalidCharInAttValue = Um caractere XML inv\u00E1lido (Unicode: 0x {2}) foi encontrado no valor do atributo "{1}" e o elemento \u00E9 "{0}". + InvalidCharInComment = Um caractere XML inv\u00E1lido (Unicode: 0x{0}) foi encontrado no coment\u00E1rio. + InvalidCharInPI = Um caractere XML inv\u00E1lido (Unicode: 0x{0}) foi encontrado na instru\u00E7\u00E3o de processamento. + InvalidCharInInternalSubset = Um caractere XML inv\u00E1lido (Unicode: 0x {0}) foi encontrado no subconjunto interno do DTD. + InvalidCharInTextDecl = Um caractere XML inv\u00E1lido (Unicode: 0x{0}) foi encontrado na declara\u00E7\u00E3o de texto. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = O valor do atributo \"{1}\" deve come\u00E7ar com aspas simples ou duplas. +- LessthanInAttValue = O valor do atributo \"{1}\" associado a um tipo de elemento \"{0}\" n\u00E3o deve conter o caractere ''<''. +- AttributeValueUnterminated = O valor do atributo \"{1}\" deve terminar com as aspas correspondentes. ++ QuoteRequiredInAttValue = O valor do atributo "{1}" deve come\u00E7ar com aspas simples ou duplas. ++ LessthanInAttValue = O valor do atributo "{1}" associado a um tipo de elemento "{0}" n\u00E3o deve conter o caractere ''<''. ++ AttributeValueUnterminated = O valor do atributo "{1}" deve terminar com as aspas correspondentes. + # 2.5 Comments +- InvalidCommentStart = O coment\u00E1rio deve come\u00E7ar com \"<!--\". +- DashDashInComment = A string \"--\" n\u00E3o \u00E9 permitida nos coment\u00E1rios. +- CommentUnterminated = O coment\u00E1rio deve terminar com \"-->\". ++ InvalidCommentStart = O coment\u00E1rio deve come\u00E7ar com "<!--". ++ DashDashInComment = A string "--" n\u00E3o \u00E9 permitida nos coment\u00E1rios. ++ CommentUnterminated = O coment\u00E1rio deve terminar com "-->". + COMMENT_NOT_IN_ONE_ENTITY = O coment\u00E1rio n\u00E3o est\u00E1 entre chaves na mesma entidade. + # 2.6 Processing Instructions + PITargetRequired = A instru\u00E7\u00E3o de processamento deve come\u00E7ar com o nome do destino. + SpaceRequiredInPI = O espa\u00E7o em branco \u00E9 obrigat\u00F3rio entre o destino da instru\u00E7\u00E3o de processamento e os dados. +- PIUnterminated = A instru\u00E7\u00E3o de processamento deve terminar com \"?>\". +- ReservedPITarget = O destino da instru\u00E7\u00E3o de processamento correspondente \"[xX][mM][lL]\" n\u00E3o \u00E9 permitido. ++ PIUnterminated = A instru\u00E7\u00E3o de processamento deve terminar com "?>". ++ ReservedPITarget = O destino da instru\u00E7\u00E3o de processamento correspondente "[xX][mM][lL]" n\u00E3o \u00E9 permitido. + PI_NOT_IN_ONE_ENTITY = A instru\u00E7\u00E3o de processamento n\u00E3o est\u00E1 entre chaves na mesma entidade. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Vers\u00E3o inv\u00E1lida \"{0}\". +- VersionNotSupported = Vers\u00E3o XML \"{0}\" n\u00E3o suportada; somente XML 1.0 \u00E9 suportada. +- VersionNotSupported11 = Vers\u00E3o XML \"{0}\" n\u00E3o suportada, somente XML 1.0 e XML 1.1 s\u00E3o suportadas. ++ VersionInfoInvalid = Vers\u00E3o inv\u00E1lida "{0}". ++ VersionNotSupported = Vers\u00E3o XML "{0}" n\u00E3o suportada; somente XML 1.0 \u00E9 suportada. ++ VersionNotSupported11 = Vers\u00E3o XML "{0}" n\u00E3o suportada, somente XML 1.0 e XML 1.1 s\u00E3o suportadas. + VersionMismatch= Uma entidade n\u00E3o pode incluir outra entidade de uma vers\u00E3o posterior. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Uma representa\u00E7\u00E3o decimal deve seguir imediatamente o \"&#\" em uma refer\u00EAncia de caractere. +- HexdigitRequiredInCharRef = Uma representa\u00E7\u00E3o hexadecimal deve seguir imediatamente o \"&#\" em uma refer\u00EAncia de caractere. ++ DigitRequiredInCharRef = Uma representa\u00E7\u00E3o decimal deve seguir imediatamente o "&#" em uma refer\u00EAncia de caractere. ++ HexdigitRequiredInCharRef = Uma representa\u00E7\u00E3o hexadecimal deve seguir imediatamente o "&#" em uma refer\u00EAncia de caractere. + SemicolonRequiredInCharRef = A refer\u00EAncia de caractere deve terminar com o delimitador ';'. +- InvalidCharRef = A refer\u00EAncia do caractere \"&#{0}\" \u00E9 um caractere XML inv\u00E1lido. ++ InvalidCharRef = A refer\u00EAncia do caractere "&#{0}" \u00E9 um caractere XML inv\u00E1lido. + NameRequiredInReference = O nome da entidade deve seguir imediatamente o '&' na refer\u00EAncia da entidade. +- SemicolonRequiredInReference = A refer\u00EAncia \u00E0 entidade \"{0}\" deve terminar com o delimitador '';''. ++ SemicolonRequiredInReference = A refer\u00EAncia \u00E0 entidade "{0}" deve terminar com o delimitador '';''. + # 4.3.1 The Text Declaration +- TextDeclMustBeFirst = A declara\u00E7\u00E3o de texto somente pode aparecer bem no in\u00EDcio da entidade externa submetida a parse. +- EqRequiredInTextDecl = O caractere '' = '' deve estar ap\u00F3s \"{0}\" na declara\u00E7\u00E3o de texto. +- QuoteRequiredInTextDecl = O valor ap\u00F3s \"{0}\" na declara\u00E7\u00E3o de texto deve ser uma string entre aspas. +- CloseQuoteMissingInTextDecl = n\u00E3o foi encontrada a aspa de fechamento no valor ap\u00F3s "{0}\" na declara\u00E7\u00E3o de texto. ++ TextDeclMustBeFirst = A declara\u00E7\u00E3o de texto somente pode aparecer bem no in\u00EDcio da entidade externa submetida a parsing. ++ EqRequiredInTextDecl = O caractere '' = '' deve estar ap\u00F3s "{0}" na declara\u00E7\u00E3o de texto. ++ QuoteRequiredInTextDecl = O valor ap\u00F3s "{0}" na declara\u00E7\u00E3o de texto deve ser uma string entre aspas. ++ CloseQuoteMissingInTextDecl = n\u00E3o foi encontrada a aspa de fechamento no valor ap\u00F3s "{0}" na declara\u00E7\u00E3o de texto. + SpaceRequiredBeforeVersionInTextDecl = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes do pseudo-atributo da vers\u00E3o na declara\u00E7\u00E3o de texto. + SpaceRequiredBeforeEncodingInTextDecl = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes de codificar o pseudo-atributo na declara\u00E7\u00E3o de texto. +- TextDeclUnterminated = A declara\u00E7\u00E3o de texto deve terminar com \"?>\". ++ TextDeclUnterminated = A declara\u00E7\u00E3o de texto deve terminar com "?>". + EncodingDeclRequired = A declara\u00E7\u00E3o de codifica\u00E7\u00E3o \u00E9 necess\u00E1ria na declara\u00E7\u00E3o de texto. + NoMorePseudoAttributes = N\u00E3o s\u00E3o mais permitidos pseudo-atributos. + MorePseudoAttributes = S\u00E3o esperados mais pseudo-atributos. + PseudoAttrNameExpected = \u00C9 esperado um nome de um pseudo-atributo. + # 4.3.2 Well-Formed Parsed Entities +- CommentNotInOneEntity = O coment\u00E1rio deve estar totalmente contido na mesma entidade submetida a parse. +- PINotInOneEntity = A instru\u00E7\u00E3o de processamento deve estar totalmente contida na mesma entidade submetida a parse. ++ CommentNotInOneEntity = O coment\u00E1rio deve estar totalmente contido na mesma entidade submetida a parsing. ++ PINotInOneEntity = A instru\u00E7\u00E3o de processamento deve estar totalmente contida na mesma entidade submetida a parsing. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Nome da codifica\u00E7\u00E3o inv\u00E1lida \"{0}\". +- EncodingByteOrderUnsupported = A ordem de bytes fornecida para codifica\u00E7\u00E3o \"{0}\" n\u00E3o \u00E9 suportada. ++ EncodingDeclInvalid = Nome da codifica\u00E7\u00E3o inv\u00E1lida "{0}". ++ EncodingByteOrderUnsupported = A ordem de bytes fornecida para codifica\u00E7\u00E3o "{0}" n\u00E3o \u00E9 suportada. + InvalidByte = Byte inv\u00E1lido {0} da sequ\u00EAncia UTF-8 do byte {1}. + ExpectedByte = Esperava {0} byte da sequ\u00EAncia UTF-8 do byte {1}. + InvalidHighSurrogate = Os bits substitutos altos na sequ\u00EAncia da UTF-8 n\u00E3o devem exceder 0x10 mas foi encontrado 0x{0}. +- OperationNotSupported = A opera\u00E7\u00E3o \"{0}\" n\u00E3o \u00E9 suportada pelo leitor {1}. +- InvalidASCII = O byte \"{0}\" n\u00E3o \u00E9 membro do conjunto de caracteres ASCII (7 bits). ++ OperationNotSupported = A opera\u00E7\u00E3o "{0}" n\u00E3o \u00E9 suportada pelo leitor {1}. ++ InvalidASCII = O byte "{0}" n\u00E3o \u00E9 membro do conjunto de caracteres ASCII (7 bits). + CharConversionFailure = Uma entidade destinada a estar em uma determinada codifica\u00E7\u00E3o n\u00E3o deve conter sequ\u00EAncias inv\u00E1lidas na referida codifica\u00E7\u00E3o. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = O caractere XML (Unicode: 0x{0}) n\u00E3o \u00E9 permitido no identificador p\u00FAblico. + SpaceRequiredBetweenPublicAndSystem = Espa\u00E7os em branco s\u00E3o necess\u00E1rios entre publicId e systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s \"<!DOCTYPE\" na declara\u00E7\u00E3o do tipo de documento. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = O tipo de elemento-raiz deve aparecer ap\u00F3s \"<!DOCTYPE\" na declara\u00E7\u00E3o do tipo de documento. +- DoctypedeclUnterminated = A declara\u00E7\u00E3o do tipo de documento do tipo de elemento \"{0}\" deve terminar com ''>''. +- PEReferenceWithinMarkup = A refer\u00EAncia da entidade do par\u00E2metro \"%{0};\" n\u00E3o pode ocorrer na marca\u00E7\u00E3o no subconjunto interno do DTD. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s "<!DOCTYPE" na declara\u00E7\u00E3o do tipo de documento. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = O tipo de elemento-raiz deve aparecer ap\u00F3s "<!DOCTYPE" na declara\u00E7\u00E3o do tipo de documento. ++ DoctypedeclUnterminated = A declara\u00E7\u00E3o do tipo de documento do tipo de elemento "{0}" deve terminar com ''>''. ++ PEReferenceWithinMarkup = A refer\u00EAncia da entidade do par\u00E2metro "%{0};" n\u00E3o pode ocorrer na marca\u00E7\u00E3o no subconjunto interno do DTD. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = As declara\u00E7\u00F5es de marca\u00E7\u00E3o contidas ou apontadas pela declara\u00E7\u00E3o do tipo de documento devem estar corretas. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = Deve ser fornecida a declara\u00E7\u00E3o do atributo para \"xml:space\" como um tipo enumerado, cujo os \u00FAnicos valores poss\u00EDveis s\u00E3o \"default\" e \"preserve\". ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = Deve ser fornecida a declara\u00E7\u00E3o do atributo para "xml:space" como um tipo enumerado, cujo os \u00FAnicos valores poss\u00EDveis s\u00E3o "default" e "preserve". + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s \"<!ELEMENT\" na declara\u00E7\u00E3o do tipo de elemento. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s "<!ELEMENT" na declara\u00E7\u00E3o do tipo de elemento. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = O tipo de elemento \u00E9 necess\u00E1rio na declara\u00E7\u00E3o do tipo de elemento. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s o tipo de elemento \"{0}\" na declara\u00E7\u00E3o do tipo de elemento. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = A restri\u00E7\u00E3o \u00E9 necess\u00E1ria ap\u00F3s o tipo de elemento \"{0}\" na declara\u00E7\u00E3o do tipo de elemento. +- ElementDeclUnterminated = A declara\u00E7\u00E3o do tipo de elemento \"{0}\" deve terminar com ''>''. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s o tipo de elemento "{0}" na declara\u00E7\u00E3o do tipo de elemento. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = A restri\u00E7\u00E3o \u00E9 necess\u00E1ria ap\u00F3s o tipo de elemento "{0}" na declara\u00E7\u00E3o do tipo de elemento. ++ ElementDeclUnterminated = A declara\u00E7\u00E3o do tipo de elemento "{0}" deve terminar com ''>''. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u00C9 necess\u00E1rio um caractere ''('' ou um tipo de elemento na declara\u00E7\u00E3o do tipo de elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u00C9 necess\u00E1rio um caractere '')'' na declara\u00E7\u00E3o do tipo de elemento \"{0}\". ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u00C9 necess\u00E1rio um caractere ''('' ou um tipo de elemento na declara\u00E7\u00E3o do tipo de elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u00C9 necess\u00E1rio um caractere '')'' na declara\u00E7\u00E3o do tipo de elemento "{0}". + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u00C9 necess\u00E1rio um tipo de elemento na declara\u00E7\u00E3o do tipo de elemento \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u00C9 necess\u00E1rio um caractere '')'' na declara\u00E7\u00E3o do tipo de elemento \"{0}\". +- MixedContentUnterminated = O modelo de conte\u00FAdo misto \"{0}\" deve terminar com \")*\" quando os tipos de elementos filhos forem restringidos. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u00C9 necess\u00E1rio um tipo de elemento na declara\u00E7\u00E3o do tipo de elemento "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u00C9 necess\u00E1rio um caractere '')'' na declara\u00E7\u00E3o do tipo de elemento "{0}". ++ MixedContentUnterminated = O modelo de conte\u00FAdo misto "{0}" deve terminar com ")*" quando os tipos de elementos filhos forem restringidos. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s \"<!ATTLIST\" na declara\u00E7\u00E3o da lista de atributos. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s "<!ATTLIST" na declara\u00E7\u00E3o da lista de atributos. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = \u00C9 necess\u00E1rio o tipo de elemento na declara\u00E7\u00E3o da lista de atributos. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do nome do atributo na declara\u00E7\u00E3o da lista de atributos do elemento \"{0}\". +- AttNameRequiredInAttDef = O nome do atributo deve ser especificado na declara\u00E7\u00E3o da lista de atributos do elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do tipo de atributo na declara\u00E7\u00E3o do atributo \"{1}\" do elemento \"{0}\". +- AttTypeRequiredInAttDef = \u00C9 necess\u00E1rio o tipo de atributo na declara\u00E7\u00E3o do atributo \"{1}\" do elemento \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do default do atributo na declara\u00E7\u00E3o do atributo \"{1}\" do elemento \"{0}\". +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Mais de uma defini\u00E7\u00E3o de atributo fornecida para o mesmo atributo \"{1}\" de um determinado elemento \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do nome do atributo na declara\u00E7\u00E3o da lista de atributos do elemento "{0}". ++ AttNameRequiredInAttDef = O nome do atributo deve ser especificado na declara\u00E7\u00E3o da lista de atributos do elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do tipo de atributo na declara\u00E7\u00E3o do atributo "{1}" do elemento "{0}". ++ AttTypeRequiredInAttDef = \u00C9 necess\u00E1rio o tipo de atributo na declara\u00E7\u00E3o do atributo "{1}" do elemento "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u00C9 necess\u00E1rio o espa\u00E7o em branco antes do default do atributo na declara\u00E7\u00E3o do atributo "{1}" do elemento "{0}". ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Mais de uma defini\u00E7\u00E3o de atributo fornecida para o mesmo atributo "{1}" de um determinado elemento "{0}". + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = O espa\u00E7o em branco deve aparecer ap\u00F3s \"NOTATION\" na declara\u00E7\u00E3o do atributo \"{1}\". +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = O caractere ''('' deve estar ap\u00F3s \"NOTATION\" na declara\u00E7\u00E3o do atributo \"{1}\". +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \u00C9 necess\u00E1rio o nome da nota\u00E7\u00E3o na lista de tipos de nota\u00E7\u00E3o para a declara\u00E7\u00E3o do atributo \"{1}\". +- NotationTypeUnterminated = A lista de tipos de nota\u00E7\u00E3o deve terminar com '')'' na declara\u00E7\u00E3o do atributo \"{1}\". +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = O token do nome \u00E9 obrigat\u00F3rio na lista de tipos enumerada para a declara\u00E7\u00E3o do atributo \"{1}\". +- EnumerationUnterminated = A lista de tipos enumerada deve terminar com '')'' na declara\u00E7\u00E3o do atributo \"{1}\". +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = O valor da enumera\u00E7\u00E3o \"{1}\" foi especificado mais de uma vez na declara\u00E7\u00E3o do atributo \"{2}\" do elemento \"{0}\". Os NMTOKENS em uma declara\u00E7\u00E3o de atributo de Enumera\u00E7\u00E3o \u00FAnica devem ser todos distintos. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = O valor da enumera\u00E7\u00E3o \"{1}\" foi especificado mais de uma vez na declara\u00E7\u00E3o do atributo \"{2}\" do elemento \"{0}\". Os nomes da NOTATION em uma declara\u00E7\u00E3o do atributo NotationType \u00FAnica devem ser todos distintos. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = O espa\u00E7o em branco deve aparecer ap\u00F3s "NOTATION" na declara\u00E7\u00E3o do atributo "{1}". ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = O caractere ''('' deve estar ap\u00F3s "NOTATION" na declara\u00E7\u00E3o do atributo "{1}". ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \u00C9 necess\u00E1rio o nome da nota\u00E7\u00E3o na lista de tipos de nota\u00E7\u00E3o para a declara\u00E7\u00E3o do atributo "{1}". ++ NotationTypeUnterminated = A lista de tipos de nota\u00E7\u00E3o deve terminar com '')'' na declara\u00E7\u00E3o do atributo "{1}". ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = O token do nome \u00E9 obrigat\u00F3rio na lista de tipos enumerada para a declara\u00E7\u00E3o do atributo "{1}". ++ EnumerationUnterminated = A lista de tipos enumerada deve terminar com '')'' na declara\u00E7\u00E3o do atributo "{1}". ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = O valor da enumera\u00E7\u00E3o "{1}" foi especificado mais de uma vez na declara\u00E7\u00E3o do atributo "{2}" do elemento "{0}". Os NMTOKENS em uma declara\u00E7\u00E3o de atributo de Enumera\u00E7\u00E3o \u00FAnica devem ser todos distintos. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = O valor da enumera\u00E7\u00E3o "{1}" foi especificado mais de uma vez na declara\u00E7\u00E3o do atributo "{2}" do elemento "{0}". Os nomes da NOTATION em uma declara\u00E7\u00E3o do atributo NotationType \u00FAnica devem ser todos distintos. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = O espa\u00E7o em branco deve aparecer ap\u00F3s \"FIXED\" na declara\u00E7\u00E3o do atributo \"{1}\". ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = O espa\u00E7o em branco deve aparecer ap\u00F3s "FIXED" na declara\u00E7\u00E3o do atributo "{1}". + # 3.4 Conditional Sections +- IncludeSectUnterminated = A se\u00E7\u00E3o condicional inclu\u00EDda deve terminar com \"]]>\". +- IgnoreSectUnterminated = A se\u00E7\u00E3o condicional exclu\u00EDda deve terminar com \"]]>\". ++ IncludeSectUnterminated = A se\u00E7\u00E3o condicional inclu\u00EDda deve terminar com "]]>". ++ IgnoreSectUnterminated = A se\u00E7\u00E3o condicional exclu\u00EDda deve terminar com "]]>". + # 4.1 Character and Entity References + NameRequiredInPEReference = O nome da entidade deve seguir imediatamente o '%' na refer\u00EAncia da entidade do par\u00E2metro. +- SemicolonRequiredInPEReference = A refer\u00EAncia da entidade do par\u00E2metro \"%{0};\" deve terminar com o delimitador '';". ++ SemicolonRequiredInPEReference = A refer\u00EAncia da entidade do par\u00E2metro "%{0};" deve terminar com o delimitador '';". + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s \"<!ENTITY\" na declara\u00E7\u00E3o da entidade. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre \"<!ENTITY\" e o caractere '%' na declara\u00E7\u00E3o da entidade do par\u00E2metro. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s "<!ENTITY" na declara\u00E7\u00E3o da entidade. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre "<!ENTITY" e o caractere '%' na declara\u00E7\u00E3o da entidade do par\u00E2metro. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre '%' e o nome da entidade na declara\u00E7\u00E3o da entidade do par\u00E2metro. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = O nome da entidade \u00E9 necess\u00E1rio na declara\u00E7\u00E3o da entidade. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre o nome da entidade \"{0}\" e a defini\u00E7\u00E3o da declara\u00E7\u00E3o da entidade. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u00C9 necess\u00E1rio um espa\u00E7o em branco entre \"NDATA\" e o nome da nota\u00E7\u00E3o na declara\u00E7\u00E3o da entidade \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes de \"NDATA\" na declara\u00E7\u00E3o da entidade \"{0}\". +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = O nome da nota\u00E7\u00E3o \u00E9 necess\u00E1rio ap\u00F3s \"NDATA\" na declara\u00E7\u00E3o da entidade \"{0}\". +- EntityDeclUnterminated = A declara\u00E7\u00E3o da entidade \"{0}\" deve terminar com ''>''. +- MSG_DUPLICATE_ENTITY_DEFINITION = A entidade \"{0}\" foi declarada mais de uma vez. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre o nome da entidade "{0}" e a defini\u00E7\u00E3o da declara\u00E7\u00E3o da entidade. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u00C9 necess\u00E1rio um espa\u00E7o em branco entre "NDATA" e o nome da nota\u00E7\u00E3o na declara\u00E7\u00E3o da entidade "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio antes de "NDATA" na declara\u00E7\u00E3o da entidade "{0}". ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = O nome da nota\u00E7\u00E3o \u00E9 necess\u00E1rio ap\u00F3s "NDATA" na declara\u00E7\u00E3o da entidade "{0}". ++ EntityDeclUnterminated = A declara\u00E7\u00E3o da entidade "{0}" deve terminar com ''>''. ++ MSG_DUPLICATE_ENTITY_DEFINITION = A entidade "{0}" foi declarada mais de uma vez. + # 4.2.2 External Entities +- ExternalIDRequired = A declara\u00E7\u00E3o da entidade externa deve come\u00E7ar com \"SYSTEM\" ou \"PUBLIC\". +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre \"PUBLIC\" e o identificador p\u00FAblico. ++ ExternalIDRequired = A declara\u00E7\u00E3o da entidade externa deve come\u00E7ar com "SYSTEM" ou "PUBLIC". ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre "PUBLIC" e o identificador p\u00FAblico. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre o identificador p\u00FAblico e o identificador do sistema. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre \"SYSTEM\" e o identificador do sistema. +- MSG_URI_FRAGMENT_IN_SYSTEMID = O identificador do fragmento n\u00E3o deve ser especificado como parte do identificador do sistema \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = O espa\u00E7o em branco \u00E9 necess\u00E1rio entre "SYSTEM" e o identificador do sistema. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = O identificador do fragmento n\u00E3o deve ser especificado como parte do identificador do sistema "{0}". + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s \"<!NOTATION\" na declara\u00E7\u00E3o da nota\u00E7\u00E3o. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s "<!NOTATION" na declara\u00E7\u00E3o da nota\u00E7\u00E3o. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = O nome da nota\u00E7\u00E3o \u00E9 obrigat\u00F3rio na declara\u00E7\u00E3o de nota\u00E7\u00E3o. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s o nome da nota\u00E7\u00E3o \"{0}\" na declara\u00E7\u00E3o de nota\u00E7\u00E3o. +- ExternalIDorPublicIDRequired = A declara\u00E7\u00E3o da nota\u00E7\u00E3o \"{0}\" deve incluir um identificador p\u00FAblico ou do sistema. +- NotationDeclUnterminated = A declara\u00E7\u00E3o da nota\u00E7\u00E3o \"{0}\" deve terminar com ''>''. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = O espa\u00E7o em branco \u00E9 necess\u00E1rio ap\u00F3s o nome da nota\u00E7\u00E3o "{0}" na declara\u00E7\u00E3o de nota\u00E7\u00E3o. ++ ExternalIDorPublicIDRequired = A declara\u00E7\u00E3o da nota\u00E7\u00E3o "{0}" deve incluir um identificador p\u00FAblico ou do sistema. ++ NotationDeclUnterminated = A declara\u00E7\u00E3o da nota\u00E7\u00E3o "{0}" deve terminar com ''>''. + + # Validation messages +- DuplicateTypeInMixedContent = O tipo de elemento \"{1}\" j\u00E1 foi especificado no modelo de conte\u00FAdo da declara\u00E7\u00E3o do elemento \"{0}\". +- ENTITIESInvalid = O valor do atributo \"{1}\" do tipo ENTITIES deve ser o nome de uma ou mais entidades n\u00E3o submetidas a parse. +- ENTITYInvalid = O valor do atributo \"{1}\" do tipo ENTITY deve ser o nome de uma entidade n\u00E3o submetida a parse. +- IDDefaultTypeInvalid = O atributo do ID \"{0}\" deve ter um default declarado \"#IMPLIED\" ou \"#REQUIRED\". +- IDInvalid = O valor do atributo \"{0}\" do ID de tipo deve ser um nome. +- IDInvalidWithNamespaces = O valor do atributo \"{0}\" do ID de tipo deve ser um NCName quando os namespaces estiverem ativados. +- IDNotUnique = O valor do atributo \"{0}\" do ID de tipo deve ser exclusivo no documento. +- IDREFInvalid = O valor do atributo \"{0}\" do IDREF de tipo deve ser um nome. +- IDREFInvalidWithNamespaces = O valor do atributo \"{0}\" do IDREF de tipo deve ser um NCName quando os namespaces estiverem ativados. +- IDREFSInvalid = O valor do atributo \"{0}\" de tipo IDREFS deve ter um ou mais nomes. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro \"{0}\" deve incluir as declara\u00E7\u00F5es aninhadas corretamente quando a refer\u00EAncia da entidade for usada como uma declara\u00E7\u00E3o completa. +- ImproperDeclarationNesting = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro \"{0}\" deve incluir as declara\u00E7\u00F5es aninhadas corretamente. +- ImproperGroupNesting = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro \"{0}\" deve incluir pares de par\u00EAnteses aninhados corretamente. +- INVALID_PE_IN_CONDITIONAL = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro \"{0}\" deve incluir a se\u00E7\u00E3o condicional inteira ou apenas INCLUDE ou IGNORE. +- MSG_ATTRIBUTE_NOT_DECLARED = O atributo \"{1}\" deve ser declarado para o tipo de elemento \"{0}\". +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = O atributo \"{0}\" com o valor \"{1}\" deve ter um valor da lista \"{2}\". +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = O valor \"{1}\" do atributo \"{0}\" n\u00E3o deve ser alterado por meio da normaliza\u00E7\u00E3o (para \"{2}\") em um documento stand-alone. +- MSG_CONTENT_INCOMPLETE = O conte\u00FAdo do tipo de elemento \"{0}\" est\u00E1 incompleto; ele deve corresponder a \"{1}\". +- MSG_CONTENT_INVALID = O conte\u00FAdo do tipo de elemento \"{0}\" deve corresponder a \"{1}\". +- MSG_CONTENT_INVALID_SPECIFIED = O conte\u00FAdo do tipo de elemento \"{0}\" deve corresponder a \"{1}\". N\u00E3o s\u00E3o permitidos os filhos do tipo \"{2}\". +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = O atributo \"{1}\" do tipo de elemento \"{0}\" tem um valor default e deve ser especificado em um documento stand-alone. +- MSG_DUPLICATE_ATTDEF = O atributo \"{1}\" j\u00E1 foi declarado para o tipo de elemento \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = O tipo de elemento \"{0}\" n\u00E3o deve ser declarado mais de uma vez. +- MSG_ELEMENT_NOT_DECLARED = O tipo de elemento \"{0}\" deve ser declarado. ++ DuplicateTypeInMixedContent = O tipo de elemento "{1}" j\u00E1 foi especificado no modelo de conte\u00FAdo da declara\u00E7\u00E3o do elemento "{0}". ++ ENTITIESInvalid = O valor do atributo "{1}" do tipo ENTITIES deve ser o nome de uma ou mais entidades n\u00E3o submetidas a parsing. ++ ENTITYInvalid = O valor do atributo "{1}" do tipo ENTITY deve ser o nome de uma entidade n\u00E3o submetida a parsing. ++ IDDefaultTypeInvalid = O atributo do ID "{0}" deve ter um default declarado "#IMPLIED" ou "#REQUIRED". ++ IDInvalid = O valor do atributo "{0}" do ID de tipo deve ser um nome. ++ IDInvalidWithNamespaces = O valor do atributo "{0}" do ID de tipo deve ser um NCName quando os namespaces estiverem ativados. ++ IDNotUnique = O valor do atributo "{0}" do ID de tipo deve ser exclusivo no documento. ++ IDREFInvalid = O valor do atributo "{0}" do IDREF de tipo deve ser um nome. ++ IDREFInvalidWithNamespaces = O valor do atributo "{0}" do IDREF de tipo deve ser um NCName quando os namespaces estiverem ativados. ++ IDREFSInvalid = O valor do atributo "{0}" de tipo IDREFS deve ter um ou mais nomes. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro "{0}" deve incluir as declara\u00E7\u00F5es aninhadas corretamente quando a refer\u00EAncia da entidade for usada como uma declara\u00E7\u00E3o completa. ++ ImproperDeclarationNesting = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro "{0}" deve incluir as declara\u00E7\u00F5es aninhadas corretamente. ++ ImproperGroupNesting = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro "{0}" deve incluir pares de par\u00EAnteses aninhados corretamente. ++ INVALID_PE_IN_CONDITIONAL = O texto de substitui\u00E7\u00E3o da entidade do par\u00E2metro "{0}" deve incluir a se\u00E7\u00E3o condicional inteira ou apenas INCLUDE ou IGNORE. ++ MSG_ATTRIBUTE_NOT_DECLARED = O atributo "{1}" deve ser declarado para o tipo de elemento "{0}". ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = O atributo "{0}" com o valor "{1}" deve ter um valor da lista "{2}". ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = O valor "{1}" do atributo "{0}" n\u00E3o deve ser alterado por meio da normaliza\u00E7\u00E3o (para "{2}") em um documento stand-alone. ++ MSG_CONTENT_INCOMPLETE = O conte\u00FAdo do tipo de elemento "{0}" est\u00E1 incompleto; ele deve corresponder a "{1}". ++ MSG_CONTENT_INVALID = O conte\u00FAdo do tipo de elemento "{0}" deve corresponder a "{1}". ++ MSG_CONTENT_INVALID_SPECIFIED = O conte\u00FAdo do tipo de elemento "{0}" deve corresponder a "{1}". N\u00E3o s\u00E3o permitidos os filhos do tipo "{2}". ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = O atributo "{1}" do tipo de elemento "{0}" tem um valor default e deve ser especificado em um documento stand-alone. ++ MSG_DUPLICATE_ATTDEF = O atributo "{1}" j\u00E1 foi declarado para o tipo de elemento "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = O tipo de elemento "{0}" n\u00E3o deve ser declarado mais de uma vez. ++ MSG_ELEMENT_NOT_DECLARED = O tipo de elemento "{0}" deve ser declarado. + MSG_GRAMMAR_NOT_FOUND = O documento \u00E9 inv\u00E1lido: nenhuma gram\u00E1tica encontrada. +- MSG_ELEMENT_WITH_ID_REQUIRED = Um elemento com o identificador \"{0}\" deve aparecer no documento. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = A refer\u00EAncia \u00E0 entidade externa \"{0}\" n\u00E3o \u00E9 permitida em um documento stand-alone. +- MSG_FIXED_ATTVALUE_INVALID = O atributo \"{1}\" com o valor \"{2}\" deve ter um valor \"{3}\". +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = O tipo de elemento \"{0}\" j\u00E1 tem o atributo \"{1}\" do ID do tipo; um segundo atributo \"{2}\" do ID de tipo n\u00E3o \u00E9 permitido. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = O tipo de elemento \"{0}\" j\u00E1 tem o atributo \"{1}\" do tipo NOTATION; um segundo atributo \"{2}\" do tipo NOTATION n\u00E3o \u00E9 permitido. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = A nota\u00E7\u00E3o \"{1}\" deve ser declarada quando referenciada na lista de tipos de nota\u00E7\u00E3o do atributo \"{0}\". +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = A nota\u00E7\u00E3o \"{1}\" deve ser declarada quando referenciada na declara\u00E7\u00E3o da entidade n\u00E3o submetida a parse para \"{0}\". +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = A refer\u00EAncia \u00E0 entidade \"{0}\" declarada em uma entidade externa submetida a parse n\u00E3o \u00E9 permitida em um documento stand-alone. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = O atributo \"{1}\" \u00E9 necess\u00E1rio e deve ser especificado para o tipo de elemento \"{0}\". +- MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = N\u00E3o deve haver espa\u00E7o em branco entre os elementos declarados em uma entidade externa submetida a parse com o conte\u00FAdo do elemento em um documento stand-alone. +- NMTOKENInvalid = O valor do atributo \"{0}\" do tipo NMTOKEN deve ser um token de nome. +- NMTOKENSInvalid = O valor do atributo \"{0}\" do tipo NMTOKENS deve ter um ou mais tokens de nome. +- NoNotationOnEmptyElement = O tipo de elemento \"{0}\" que foi declarado EMPTY n\u00E3o pode declarar o atributo \"{1}\" do tipo NOTATION. +- RootElementTypeMustMatchDoctypedecl = O elemento-raiz do documento \"{1}\" deve corresponder \u00E0 raiz de DOCTYPE \"{0}\". +- UndeclaredElementInContentSpec = O modelo do conte\u00FAdo do elemento \"{0}\" refere-se ao elemento n\u00E3o declarado \"{1}\". +- UniqueNotationName = A declara\u00E7\u00E3o da nota\u00E7\u00E3o \"{0}\" n\u00E3o \u00E9 exclusiva. Um Nome fornecido n\u00E3o deve ser declarado em mais de uma declara\u00E7\u00E3o de nota\u00E7\u00E3o. ++ MSG_ELEMENT_WITH_ID_REQUIRED = Um elemento com o identificador "{0}" deve aparecer no documento. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = A refer\u00EAncia \u00E0 entidade externa "{0}" n\u00E3o \u00E9 permitida em um documento stand-alone. ++ MSG_FIXED_ATTVALUE_INVALID = O atributo "{1}" com o valor "{2}" deve ter um valor "{3}". ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = O tipo de elemento "{0}" j\u00E1 tem o atributo "{1}" do ID do tipo; um segundo atributo "{2}" do ID de tipo n\u00E3o \u00E9 permitido. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = O tipo de elemento "{0}" j\u00E1 tem o atributo "{1}" do tipo NOTATION; um segundo atributo "{2}" do tipo NOTATION n\u00E3o \u00E9 permitido. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = A nota\u00E7\u00E3o "{1}" deve ser declarada quando referenciada na lista de tipos de nota\u00E7\u00E3o do atributo "{0}". ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = A nota\u00E7\u00E3o "{1}" deve ser declarada quando referenciada na declara\u00E7\u00E3o da entidade n\u00E3o submetida a parsing para "{0}". ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = A refer\u00EAncia \u00E0 entidade "{0}" declarada em uma entidade externa submetida a parsing n\u00E3o \u00E9 permitida em um documento stand-alone. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = O atributo "{1}" \u00E9 necess\u00E1rio e deve ser especificado para o tipo de elemento "{0}". ++ MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = N\u00E3o deve haver espa\u00E7o em branco entre os elementos declarados em uma entidade externa submetida a parsing com o conte\u00FAdo do elemento em um documento stand-alone. ++ NMTOKENInvalid = O valor do atributo "{0}" do tipo NMTOKEN deve ser um token de nome. ++ NMTOKENSInvalid = O valor do atributo "{0}" do tipo NMTOKENS deve ter um ou mais tokens de nome. ++ NoNotationOnEmptyElement = O tipo de elemento "{0}" que foi declarado EMPTY n\u00E3o pode declarar o atributo "{1}" do tipo NOTATION. ++ RootElementTypeMustMatchDoctypedecl = O elemento-raiz do documento "{1}" deve corresponder \u00E0 raiz de DOCTYPE "{0}". ++ UndeclaredElementInContentSpec = O modelo do conte\u00FAdo do elemento "{0}" refere-se ao elemento n\u00E3o declarado "{1}". ++ UniqueNotationName = A declara\u00E7\u00E3o da nota\u00E7\u00E3o "{0}" n\u00E3o \u00E9 exclusiva. Um Nome fornecido n\u00E3o deve ser declarado em mais de uma declara\u00E7\u00E3o de nota\u00E7\u00E3o. + ENTITYFailedInitializeGrammar = Validador de ENTITYDatatype: Falha ao chamar o m\u00E9todo de inicializa\u00E7\u00E3o com uma refer\u00EAncia de Gram\u00E1tica v\u00E1lida. \t +- ENTITYNotUnparsed = ENTITY \"{0}\" n\u00E3o \u00E9 submetida a parse. +- ENTITYNotValid = ENTITY \"{0}\" n\u00E3o \u00E9 v\u00E1lida. ++ ENTITYNotUnparsed = ENTITY "{0}" n\u00E3o \u00E9 submetida a parsing. ++ ENTITYNotValid = ENTITY "{0}" n\u00E3o \u00E9 v\u00E1lida. + EmptyList = O valor dos tipos ENTITIES, IDREFS e NMTOKENS n\u00E3o pode estar na lista vazia. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = A refer\u00EAncia da entidade externa \"&{0};\" n\u00E3o \u00E9 permitida em um valor do atributo. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = A refer\u00EAncia da entidade externa "&{0};" n\u00E3o \u00E9 permitida em um valor do atributo. ++ AccessExternalDTD = DTD Externo: falha ao ler o DTD ''{0}'' externo porque o acesso a ''{1}'' n\u00E3o \u00E9 permitido em decorr\u00EAncia de uma restri\u00E7\u00E3o definida pela propriedade accessExternalDTD. ++ AccessExternalEntity = Entidade Externa: falha ao ler o documento ''{0}'' externo porque o acesso a ''{1}'' n\u00E3o \u00E9 permitido em decorr\u00EAncia de uma restri\u00E7\u00E3o definida pela propriedade accessExternalDTD. + + # 4.1 Character and Entity References +- EntityNotDeclared = A entidade \"{0}\" foi referenciada, mas n\u00E3o declarada. +- ReferenceToUnparsedEntity = A refer\u00EAncia da entidade n\u00E3o submetida a parse \"&{0};\" n\u00E3o \u00E9 permitida. +- RecursiveReference = Refer\u00EAncia da entidade recursiva \"{0}\". (Caminho de refer\u00EAncia: {1}), +- RecursiveGeneralReference = Refer\u00EAncia geral da entidade recursiva \"&{0};\". (Caminho de refer\u00EAncia: {1}), +- RecursivePEReference = Refer\u00EAncia da entidade do par\u00E2metro recursivo \"%{0};\". (Caminho de refer\u00EAncia: {1}), ++ EntityNotDeclared = A entidade "{0}" foi referenciada, mas n\u00E3o declarada. ++ ReferenceToUnparsedEntity = A refer\u00EAncia da entidade n\u00E3o submetida a parsing "&{0};" n\u00E3o \u00E9 permitida. ++ RecursiveReference = Refer\u00EAncia da entidade recursiva "{0}". (Caminho de refer\u00EAncia: {1}), ++ RecursiveGeneralReference = Refer\u00EAncia geral da entidade recursiva "&{0};". (Caminho de refer\u00EAncia: {1}), ++ RecursivePEReference = Refer\u00EAncia da entidade do par\u00E2metro recursivo "%{0};". (Caminho de refer\u00EAncia: {1}), + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = A codifica\u00E7\u00E3o \"{0}\" n\u00E3o \u00E9 suportada. +- EncodingRequired = Uma entidade submetida a parse n\u00E3o codificada em UTF-8 nem em UTF-16 deve conter uma declara\u00E7\u00E3o de codifica\u00E7\u00E3o. ++ EncodingNotSupported = A codifica\u00E7\u00E3o "{0}" n\u00E3o \u00E9 suportada. ++ EncodingRequired = Uma entidade submetida a parsing n\u00E3o codificada em UTF-8 nem em UTF-16 deve conter uma declara\u00E7\u00E3o de codifica\u00E7\u00E3o. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = O elemento ou o atributo n\u00E3o correspondem \u00E0 produ\u00E7\u00E3o QName: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = O elemento \"{0}\" n\u00E3o pode ter \"xmlns\" como seu prefixo. +- ElementPrefixUnbound = O prefixo \"{0}\" do elemento \"{1}\" n\u00E3o est\u00E1 vinculado. +- AttributePrefixUnbound = O prefixo \"{2}\" do atributo \"{1}\" associado a um tipo de elemento \"{0}\" n\u00E3o est\u00E1 vinculado. +- EmptyPrefixedAttName = O valor do atributo \"{0}\" \u00E9 inv\u00E1lido. Associa\u00E7\u00F5es de namespace prefixadas n\u00E3o podem ficar vazias. +- PrefixDeclared = O prefixo do namespace \"{0}\" n\u00E3o foi declarado. ++ ElementXMLNSPrefix = O elemento "{0}" n\u00E3o pode ter "xmlns" como seu prefixo. ++ ElementPrefixUnbound = O prefixo "{0}" do elemento "{1}" n\u00E3o est\u00E1 vinculado. ++ AttributePrefixUnbound = O prefixo "{2}" do atributo "{1}" associado a um tipo de elemento "{0}" n\u00E3o est\u00E1 vinculado. ++ EmptyPrefixedAttName = O valor do atributo "{0}" \u00E9 inv\u00E1lido. Associa\u00E7\u00F5es de namespace prefixadas n\u00E3o podem ficar vazias. ++ PrefixDeclared = O prefixo do namespace "{0}" n\u00E3o foi declarado. + CantBindXMLNS = O prefixo "xmlns" n\u00E3o pode ser vinculado a um namespace explicitamente, assim como o namespace de "xmlns" n\u00E3o pode ser vinculado a um prefixo explicitamente. + CantBindXML = O prefixo "xml" n\u00E3o pode ser vinculado a um namespace diferente do namespace comum, assim como o namespace de "xml" n\u00E3o pode ser vinculado a um prefixo diferente de "xml". +- MSG_ATT_DEFAULT_INVALID = O defaultValue \"{1}\" do atributo \"{0}\" n\u00E3o \u00E9 v\u00E1lido para as restri\u00E7\u00F5es l\u00E9xicas deste tipo de atributo. ++ MSG_ATT_DEFAULT_INVALID = O defaultValue "{1}" do atributo "{0}" n\u00E3o \u00E9 v\u00E1lido para as restri\u00E7\u00F5es l\u00E9xicas deste tipo de atributo. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=O parser detectou mais de \"{0}\" expans\u00F5es da entidade neste documento. Este \u00E9 o limite imposto pela aplica\u00E7\u00E3o. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: O parser detectou mais de "{0}" expans\u00F5es da entidade neste documento. Este \u00E9 o limite imposto pelo JDK. ++ ElementAttributeLimit=JAXP00010002: o elemento "{0}" tem mais de "{1}" atributos. "{1}" \u00E9 o limite imposto pelo JDK. ++ MaxEntitySizeLimit=JAXP00010003: o tamanho da entidade "{0}" \u00E9 "{1}", o que excede o limite de "{2}" definido por "{3}". ++ TotalEntitySizeLimit=JAXP00010004: o tamanho acumulado "{0}" de entidades excedeu o limite de "{1}" definido por "{2}". ++ MaxXMLNameLimit=JAXP00010005: o nome "{0}" excedeu o limite de "{1}" definido por "{2}". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= O elemento \"{0}\" tem mais de \"{1}\" atributos. \"{1}\" \u00E9 o limite imposto pela aplica\u00E7\u00E3o. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_sv.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_sv.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - ---- hotspot/test/runtime/7158800/Test7158800.sh 2012-08-10 09:29:19.000000000 -0700 -+++ hotspot/test/runtime/7158800/Test7158800.sh 2013-04-28 16:29:17.000000000 -0700 -@@ -46,7 +46,7 @@ - # set platform-dependent variables - OS=`uname -s` - case "$OS" in -- SunOS | Linux ) -+ SunOS | Linux | *BSD ) - NULL=/dev/null - PS=":" - FS="/" ---- hotspot/test/runtime/7158804/Test7158804.sh 1969-12-31 16:00:00.000000000 -0800 -+++ hotspot/test/runtime/7158804/Test7158804.sh 2013-03-03 08:48:48.000000000 -0800 -@@ -0,0 +1,30 @@ -+#!/bin/sh +-/* +- * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. +- */ +# -+# Copyright (c) 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. +# -+ -+## -+## @test Test7158804.sh -+## @bug 7158804 -+## @summary Improve config file parsing -+## @run shell Test7158804.sh -+## -+ -+if [ "${TESTJAVA}" = "" ] -+then -+ echo "TESTJAVA not set. Test cannot execute. Failed." -+ exit 1 -+fi -+echo "TESTJAVA=${TESTJAVA}" -+ -+rm -f .hotspotrc -+echo -XX:+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa >.hotspotrc -+${TESTJAVA}/bin/java ${TESTVMOPTS} -XX:+IgnoreUnrecognizedVMOptions -XX:Flags=.hotspotrc -version -+if [ $? -ne 0 ] -+then -+ echo "Test Failed" -+ exit 1 -+fi -+rm -f .hotspotrc -+exit 0 ---- hotspot/test/runtime/7162488/Test7162488.sh 1969-12-31 16:00:00.000000000 -0800 -+++ hotspot/test/runtime/7162488/Test7162488.sh 2013-03-03 08:48:48.000000000 -0800 -@@ -0,0 +1,77 @@ ++# 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. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. +# -+# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. -+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ++# 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). +# -+# 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. ++# 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. +# -+# 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). ++# 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. +# -+# 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. + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i dokumentets prolog. + InvalidCharInXMLDecl = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i XML-deklarationen. + # 2.4 Character Data and Markup +- CDEndInContent = Teckensekvensen \"]]>\" f\u00E5r inte f\u00F6rekomma i inneh\u00E5llet, s\u00E5vida det inte anv\u00E4nds f\u00F6r att markera slut av CDATA-sektion. ++ CDEndInContent = Teckensekvensen "]]>" f\u00E5r inte f\u00F6rekomma i inneh\u00E5llet, s\u00E5vida det inte anv\u00E4nds f\u00F6r att markera slut av CDATA-sektion. + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA-sektionen m\u00E5ste sluta med \"]]>\". ++ CDSectUnterminated = CDATA-sektionen m\u00E5ste sluta med "]]>". + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML-deklarationen f\u00E5r endast f\u00F6rekomma allra \u00F6verst i dokumentet. +- EqRequiredInXMLDecl = Tecknet '' = '' m\u00E5ste anges efter \"{0}\" i XML-deklarationen. +- QuoteRequiredInXMLDecl = V\u00E4rdet som f\u00F6ljer \"{0}\" i XML-deklarationen m\u00E5ste omges av citattecken. +- XMLDeclUnterminated = XML-deklarationen m\u00E5ste avslutas med \"?>\". ++ EqRequiredInXMLDecl = Tecknet '' = '' m\u00E5ste anges efter "{0}" i XML-deklarationen. ++ QuoteRequiredInXMLDecl = V\u00E4rdet som f\u00F6ljer "{0}" i XML-deklarationen m\u00E5ste omges av citattecken. ++ XMLDeclUnterminated = XML-deklarationen m\u00E5ste avslutas med "?>". + VersionInfoRequired = Versionen kr\u00E4vs i XML-deklarationen. + SpaceRequiredBeforeVersionInXMLDecl = Tomt utrymme kr\u00E4vs f\u00F6re versionens pseudoattribut i XML-deklarationen. + SpaceRequiredBeforeEncodingInXMLDecl = Tomt utrymme kr\u00E4vs f\u00F6re kodningens pseudoattribut i XML-deklarationen. +@@ -71,70 +68,71 @@ + ReferenceIllegalInTrailingMisc=Referensen \u00E4r inte till\u00E5ten i efterf\u00F6ljande avsnitt. + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = Deklarationsv\u00E4rdet f\u00F6r frist\u00E5ende dokument m\u00E5ste vara \"yes\" eller \"no\", inte \"{0}\". ++ SDDeclInvalid = Deklarationsv\u00E4rdet f\u00F6r frist\u00E5ende dokument m\u00E5ste vara "yes" eller "no", inte "{0}". ++ SDDeclNameInvalid = Det frist\u00E5ende namnet i XML-deklarationen kan vara felstavat. + # 2.12 Language Identification +- XMLLangInvalid = Attributv\u00E4rdet \"{0}\" f\u00F6r xml:lang \u00E4r en ogiltig spr\u00E5kidentifierare. ++ XMLLangInvalid = Attributv\u00E4rdet "{0}" f\u00F6r xml:lang \u00E4r en ogiltig spr\u00E5kidentifierare. + # 3. Logical Structures +- ETagRequired = Elementtyp \"{0}\" m\u00E5ste avslutas med matchande sluttagg \"</{0}>\". ++ ETagRequired = Elementtyp "{0}" m\u00E5ste avslutas med matchande sluttagg "</{0}>". + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = Elementtyp \"{0}\" m\u00E5ste f\u00F6ljas av n\u00E5gondera av attributspecifikationerna \">\" eller \"/>\". +- EqRequiredInAttribute = Attributnamnet \"{1}\" som associeras med elementtyp \"{0}\" m\u00E5ste f\u00F6ljas av likhetstecknet ('' = ''). +- OpenQuoteExpected = \u00D6ppningscitattecken f\u00F6rv\u00E4ntas f\u00F6r attributet \"{1}\" som associeras med elementtyp \"{0}\". +- CloseQuoteExpected = Slutcitattecken f\u00F6rv\u00E4ntas f\u00F6r attributet \"{1}\" som associeras med elementtyp \"{0}\". +- AttributeNotUnique = Attributet \"{1}\" har redan angetts f\u00F6r elementet \"{0}\". +- AttributeNSNotUnique = Attributet \"{1}\" bundet till namnrymden \"{2}\" har redan angetts f\u00F6r elementet \"{0}\". +- ETagUnterminated = Sluttaggen f\u00F6r elementtyp \"{0}\" m\u00E5ste avslutas med en ''>''-avgr\u00E4nsare. ++ ElementUnterminated = Elementtyp "{0}" m\u00E5ste f\u00F6ljas av n\u00E5gondera av attributspecifikationerna ">" eller "/>". ++ EqRequiredInAttribute = Attributnamnet "{1}" som associeras med elementtyp "{0}" m\u00E5ste f\u00F6ljas av likhetstecknet ('' = ''). ++ OpenQuoteExpected = \u00D6ppningscitattecken f\u00F6rv\u00E4ntas f\u00F6r attributet "{1}" som associeras med elementtyp "{0}". ++ CloseQuoteExpected = Slutcitattecken f\u00F6rv\u00E4ntas f\u00F6r attributet "{1}" som associeras med elementtyp "{0}". ++ AttributeNotUnique = Attributet "{1}" har redan angetts f\u00F6r elementet "{0}". ++ AttributeNSNotUnique = Attributet "{1}" bundet till namnrymden "{2}" har redan angetts f\u00F6r elementet "{0}". ++ ETagUnterminated = Sluttaggen f\u00F6r elementtyp "{0}" m\u00E5ste avslutas med en ''>''-avgr\u00E4nsare. + MarkupNotRecognizedInContent = Elementinneh\u00E5llet m\u00E5ste best\u00E5 av v\u00E4lformulerad(e) teckendata eller kodtext. + DoctypeIllegalInContent = DOCTYPE \u00E4r inte till\u00E5tet i inneh\u00E5llet. + # 4.1 Character and Entity References + ReferenceUnterminated = Referensen m\u00E5ste avslutas med en ';'-avgr\u00E4nsare. + # 4.3.2 Well-Formed Parsed Entities + ReferenceNotInOneEntity = Referensen m\u00E5ste finnas med inom samma tolkade enhet. +- ElementEntityMismatch = Elementet \"{0}\" m\u00E5ste b\u00F6rja och sluta inom samma enhet. ++ ElementEntityMismatch = Elementet "{0}" m\u00E5ste b\u00F6rja och sluta inom samma enhet. + MarkupEntityMismatch=XML-dokumentstrukturer m\u00E5ste b\u00F6rja och sluta inom samma enhet. + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = Ett ogiltigt XML-tecken (Unicode: 0x{2}) hittades i attributv\u00E4rdet \"{1}\" och elementet \u00E4r \"{0}\". ++ InvalidCharInAttValue = Ett ogiltigt XML-tecken (Unicode: 0x{2}) hittades i attributv\u00E4rdet "{1}" och elementet \u00E4r "{0}". + InvalidCharInComment = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i kommentaren. +- InvalidCharInPI = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades bearbetningsinstruktionen. ++ InvalidCharInPI = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i bearbetningsinstruktionen. + InvalidCharInInternalSubset = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i den interna delm\u00E4ngden i DTD. + InvalidCharInTextDecl = Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i textdeklarationen. + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = Attributv\u00E4rdet \"{1}\" m\u00E5ste b\u00F6rja med antingen enkelt eller dubbelt citattecken. +- LessthanInAttValue = Attributv\u00E4rdet \"{1}\" som associeras med elementtyp \"{0}\" f\u00E5r inte inneh\u00E5lla n\u00E5got ''<''-tecken. +- AttributeValueUnterminated = Attributv\u00E4rdet \"{1}\" m\u00E5ste avslutas med matchande citattecken. ++ QuoteRequiredInAttValue = Attributv\u00E4rdet "{1}" m\u00E5ste b\u00F6rja med antingen enkelt eller dubbelt citattecken. ++ LessthanInAttValue = Attributv\u00E4rdet "{1}" som associeras med elementtyp "{0}" f\u00E5r inte inneh\u00E5lla n\u00E5got ''<''-tecken. ++ AttributeValueUnterminated = Attributv\u00E4rdet "{1}" m\u00E5ste avslutas med matchande citattecken. + # 2.5 Comments +- InvalidCommentStart = Kommentarer m\u00E5ste inledas med \"<!--\". +- DashDashInComment = Str\u00E4ngen \"--\" \u00E4r inte till\u00E5ten inom kommentarer. +- CommentUnterminated = Kommentaren m\u00E5ste avslutas med \"-->\". ++ InvalidCommentStart = Kommentarer m\u00E5ste inledas med "<!--". ++ DashDashInComment = Str\u00E4ngen "--" \u00E4r inte till\u00E5ten inom kommentarer. ++ CommentUnterminated = Kommentaren m\u00E5ste avslutas med "-->". + COMMENT_NOT_IN_ONE_ENTITY = Kommentaren innesluts inte i samma enhet. + # 2.6 Processing Instructions + PITargetRequired = Bearbetningsinstruktionen m\u00E5ste b\u00F6rja med m\u00E5lnamnet. + SpaceRequiredInPI = Tomt utrymme kr\u00E4vs mellan bearbetningsinstruktionens m\u00E5l och data. +- PIUnterminated = Bearbetningsinstruktionen m\u00E5ste avslutas med \"?>\". +- ReservedPITarget = Bearbetningsinstruktionens m\u00E5lmatchning \"[xX][mM][lL]\" \u00E4r inte till\u00E5ten. ++ PIUnterminated = Bearbetningsinstruktionen m\u00E5ste avslutas med "?>". ++ ReservedPITarget = Bearbetningsinstruktionens m\u00E5lmatchning "[xX][mM][lL]" \u00E4r inte till\u00E5ten. + PI_NOT_IN_ONE_ENTITY = Bearbetningsinstruktionen innesluts inte i samma enhet. + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = Ogiltig version \"{0}\". +- VersionNotSupported = XML-versionen \"{0}\" st\u00F6ds inte, endast XML 1.0 st\u00F6ds. +- VersionNotSupported11 = XML-versionen \"{0}\" st\u00F6ds inte, endast XML 1.0 och XML 1.1 st\u00F6ds. ++ VersionInfoInvalid = Ogiltig version "{0}". ++ VersionNotSupported = XML-versionen "{0}" st\u00F6ds inte, endast XML 1.0 st\u00F6ds. ++ VersionNotSupported11 = XML-versionen "{0}" st\u00F6ds inte, endast XML 1.0 och XML 1.1 st\u00F6ds. + VersionMismatch= En enhet kan inte inkludera n\u00E5gon annan enhet som har en senare version. + # 4.1 Character and Entity References +- DigitRequiredInCharRef = Ett decimalt uttryck m\u00E5ste anges direkt efter \"&#\" i en teckenreferens. +- HexdigitRequiredInCharRef = Ett hexadecimalt uttryck m\u00E5ste anges direkt efter \"&#x\" i en teckenreferens. ++ DigitRequiredInCharRef = Ett decimalt uttryck m\u00E5ste anges direkt efter "&#" i en teckenreferens. ++ HexdigitRequiredInCharRef = Ett hexadecimalt uttryck m\u00E5ste anges direkt efter "&#x" i en teckenreferens. + SemicolonRequiredInCharRef = Teckenreferensen m\u00E5ste avslutas med ';'-avgr\u00E4nsare. +- InvalidCharRef = Teckenreferensen \"&#{0}\" \u00E4r ett ogiltigt XML-tecken. ++ InvalidCharRef = Teckenreferensen "&#{0}" \u00E4r ett ogiltigt XML-tecken. + NameRequiredInReference = Enhetsnamnet m\u00E5ste omedelbart f\u00F6ljas av '&' i enhetsreferensen. +- SemicolonRequiredInReference = Referensen till enhet \"{0}\" m\u00E5ste avslutas med '';''-avgr\u00E4nsare. ++ SemicolonRequiredInReference = Referensen till enhet "{0}" m\u00E5ste avslutas med '';''-avgr\u00E4nsare. + # 4.3.1 The Text Declaration + TextDeclMustBeFirst = Textdeklarationen m\u00E5ste anges direkt i b\u00F6rjan av externt tolkad enhet. +- EqRequiredInTextDecl = Ett likhetstecken ('' = '') m\u00E5ste anges efter \"{0}\" i textdeklarationen. +- QuoteRequiredInTextDecl = V\u00E4rdet som f\u00F6ljer \"{0}\" i textdeklarationen m\u00E5ste omges av citattecken. +- CloseQuoteMissingInTextDecl = avslutande citattecken saknas f\u00F6r v\u00E4rdet efter \"{0}\" i textdeklarationen. ++ EqRequiredInTextDecl = Ett likhetstecken ('' = '') m\u00E5ste anges efter "{0}" i textdeklarationen. ++ QuoteRequiredInTextDecl = V\u00E4rdet som f\u00F6ljer "{0}" i textdeklarationen m\u00E5ste omges av citattecken. ++ CloseQuoteMissingInTextDecl = avslutande citattecken saknas f\u00F6r v\u00E4rdet efter "{0}" i textdeklarationen. + SpaceRequiredBeforeVersionInTextDecl = Tomt utrymme kr\u00E4vs f\u00F6re versionens pseudoattribut i textdeklarationen. + SpaceRequiredBeforeEncodingInTextDecl = Tomt utrymme kr\u00E4vs f\u00F6re kodningens pseudoattribut i textdeklarationen. +- TextDeclUnterminated = Textdeklarationen m\u00E5ste avslutas med \"?>\". ++ TextDeclUnterminated = Textdeklarationen m\u00E5ste avslutas med "?>". + EncodingDeclRequired = Koddeklaration kr\u00E4vs i textdeklarationen. + NoMorePseudoAttributes = Inga fler pseudoattribut \u00E4r till\u00E5tna. + MorePseudoAttributes = Ytterligare pseudoattribut f\u00F6rv\u00E4ntas. +@@ -143,13 +141,13 @@ + CommentNotInOneEntity = Kommentaren m\u00E5ste finnas med inom samma tolkade enhet. + PINotInOneEntity = Bearbetningsinstruktionen m\u00E5ste finnas med inom samma tolkade enhet. + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = Ogiltigt kodnamn, \"{0}\". +- EncodingByteOrderUnsupported = Angiven byteordningsf\u00F6ljd i kodning \"{0}\" st\u00F6ds inte. ++ EncodingDeclInvalid = Ogiltigt kodnamn, "{0}". ++ EncodingByteOrderUnsupported = Angiven byteordningsf\u00F6ljd i kodning "{0}" st\u00F6ds inte. + InvalidByte = Ogiltig byte {0} i UTF-8-sekvensen f\u00F6r {1}-byte. + ExpectedByte = F\u00F6rv\u00E4ntad byte {0} i UTF-8-sekvensen f\u00F6r {1}-byte. + InvalidHighSurrogate = H\u00F6ga surrogatbitar i UTF-8-sekvens f\u00E5r inte \u00F6verskrida 0x10, men 0x{0} hittades. +- OperationNotSupported = Operation \"{0}\" st\u00F6ds inte i l\u00E4saren {1}. +- InvalidASCII = Byte \"{0}\" ing\u00E5r inte i ASCII-teckenupps\u00E4ttningen (7 bitar). ++ OperationNotSupported = Operation "{0}" st\u00F6ds inte i l\u00E4saren {1}. ++ InvalidASCII = Byte "{0}" ing\u00E5r inte i ASCII-teckenupps\u00E4ttningen (7 bitar). + CharConversionFailure = En enhet som fastst\u00E4lls anv\u00E4nda ett visst kodformat f\u00E5r inte inneh\u00E5lla sekvenser som \u00E4r otill\u00E5tna i kodningen. + + # DTD Messages +@@ -169,150 +167,150 @@ + PubidCharIllegal = Tecknet (Unicode: 0x{0}) \u00E4r inte till\u00E5tet i den allm\u00E4nna identifieraren. + SpaceRequiredBetweenPublicAndSystem = Tomma utrymmen kr\u00E4vs mellan publicId och systemId. + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Tomt utrymme kr\u00E4vs efter \"<!DOCTYPE\" i dokumenttypdeklarationen. +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = Rotelementtyp m\u00E5ste anges efter \"<!DOCTYPE\" i dokumenttypdeklarationen. +- DoctypedeclUnterminated = Dokumenttypdeklarationen f\u00F6r rotelementtyp \"{0}\" m\u00E5ste avslutas med ''>''. +- PEReferenceWithinMarkup = Parameterreferensen \"%{0};\" f\u00E5r inte f\u00F6rekomma i kodtexten i den interna delm\u00E4ngden i DTD. ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = Tomt utrymme kr\u00E4vs efter "<!DOCTYPE" i dokumenttypdeklarationen. ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = Rotelementtyp m\u00E5ste anges efter "<!DOCTYPE" i dokumenttypdeklarationen. ++ DoctypedeclUnterminated = Dokumenttypdeklarationen f\u00F6r rotelementtyp "{0}" m\u00E5ste avslutas med ''>''. ++ PEReferenceWithinMarkup = Parameterreferensen "%{0};" f\u00E5r inte f\u00F6rekomma i kodtexten i den interna delm\u00E4ngden i DTD. + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = Kodtextdeklarationerna som finns med eller pekas till fr\u00E5n dokumenttypdeklarationen m\u00E5ste vara v\u00E4lformulerade. + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = Attributdeklarationen f\u00F6r \"xml:space\" m\u00E5ste anges som uppr\u00E4kningstyp vars enda m\u00F6jliga v\u00E4rden \u00E4r \"default\" och \"preserve\". ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = Attributdeklarationen f\u00F6r "xml:space" m\u00E5ste anges som uppr\u00E4kningstyp vars enda m\u00F6jliga v\u00E4rden \u00E4r "default" och "preserve". + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Tomt utrymme kr\u00E4vs efter \"<!ELEMENT\" i elementtypdeklarationen. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = Tomt utrymme kr\u00E4vs efter "<!ELEMENT" i elementtypdeklarationen. + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = Elementtyp m\u00E5ste anges i elementtypdeklarationen. +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Tomt utrymme kr\u00E4vs efter elementtyp \"{0}\" i elementtypdeklarationen. +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Begr\u00E4nsningen kr\u00E4vs efter elementtyp \"{0}\" i elementtypdeklarationen. +- ElementDeclUnterminated = Deklarationen f\u00F6r elementtyp \"{0}\" m\u00E5ste avslutas med ''>''. ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = Tomt utrymme kr\u00E4vs efter elementtyp "{0}" i elementtypdeklarationen. ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = Begr\u00E4nsningen kr\u00E4vs efter elementtyp "{0}" i elementtypdeklarationen. ++ ElementDeclUnterminated = Deklarationen f\u00F6r elementtyp "{0}" m\u00E5ste avslutas med ''>''. + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Tecknet ''('' eller en elementtyp m\u00E5ste anges i deklarationen av elementtyp \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Tecknet '')'' m\u00E5ste anges i deklarationen av elementtyp \"{0}\". ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = Tecknet ''('' eller en elementtyp m\u00E5ste anges i deklarationen av elementtyp "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = Tecknet '')'' m\u00E5ste anges i deklarationen av elementtyp "{0}". + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = En elementtyp m\u00E5ste anges i deklarationen av elementtyp \"{0}\". +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Tecknet '')'' m\u00E5ste anges i deklarationen av elementtyp \"{0}\". +- MixedContentUnterminated = Modellen med blandat inneh\u00E5ll \"{0}\" m\u00E5ste avslutas med \")*\" om typer av underordnade element \u00E4r begr\u00E4nsade. ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = En elementtyp m\u00E5ste anges i deklarationen av elementtyp "{0}". ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = Tecknet '')'' m\u00E5ste anges i deklarationen av elementtyp "{0}". ++ MixedContentUnterminated = Modellen med blandat inneh\u00E5ll "{0}" m\u00E5ste avslutas med ")*" om typer av underordnade element \u00E4r begr\u00E4nsade. + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Tomt utrymme kr\u00E4vs efter \"<!ATTLIST\" i deklarationen f\u00F6r attributlista. ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = Tomt utrymme kr\u00E4vs efter "<!ATTLIST" i deklarationen f\u00F6r attributlista. + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = Elementtyp m\u00E5ste anges i deklarationen f\u00F6r attributlista. +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributnamnet i deklarationen f\u00F6r attributlista f\u00F6r elementet \"{0}\". +- AttNameRequiredInAttDef = Attributnamnet m\u00E5ste anges i deklarationen f\u00F6r attributlista f\u00F6r elementet \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributtyp i deklarationen f\u00F6r attributet \"{1}\" f\u00F6r elementet \"{0}\". +- AttTypeRequiredInAttDef = Attributtyp m\u00E5ste anges i deklarationen f\u00F6r attributet \"{1}\" f\u00F6r elementet \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributstandardv\u00E4rde i deklarationen f\u00F6r attributet \"{1}\" f\u00F6r elementet \"{0}\". +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Det finns fler \u00E4n en attributdefinition f\u00F6r samma attribut \"{1}\" f\u00F6r angivet element \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributnamnet i deklarationen f\u00F6r attributlista f\u00F6r elementet "{0}". ++ AttNameRequiredInAttDef = Attributnamnet m\u00E5ste anges i deklarationen f\u00F6r attributlista f\u00F6r elementet "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributtyp i deklarationen f\u00F6r attributet "{1}" f\u00F6r elementet "{0}". ++ AttTypeRequiredInAttDef = Attributtyp m\u00E5ste anges i deklarationen f\u00F6r attributet "{1}" f\u00F6r elementet "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = Tomt utrymme kr\u00E4vs f\u00F6re attributstandardv\u00E4rde i deklarationen f\u00F6r attributet "{1}" f\u00F6r elementet "{0}". ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = Det finns fler \u00E4n en attributdefinition f\u00F6r samma attribut "{1}" f\u00F6r angivet element "{0}". + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Tomt utrymme m\u00E5ste anges efter \"NOTATION\" i attributdeklarationen \"{1}\". +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Tecknet ''('' m\u00E5ste anges efter \"NOTATION\" i attributdeklarationen \"{1}\". +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Notationsnamn m\u00E5ste anges i notationstyplistan f\u00F6r attributdeklarationen \"{1}\". +- NotationTypeUnterminated = Notationstyplistan m\u00E5ste avslutas med '')'' i attributdeklarationen \"{1}\". +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Namntecken m\u00E5ste anges i uppr\u00E4kningstyplistan f\u00F6r attributdeklarationen \"{1}\". +- EnumerationUnterminated = Uppr\u00E4kningstyplistan m\u00E5ste avslutas med '')'' i attributdeklarationen \"{1}\". +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = Uppr\u00E4kningsv\u00E4rdet \"{1}\" har angetts fler \u00E4n en g\u00E5ng i attributdeklarationen \"{2}\" f\u00F6r elementet \"{0}\". Alla NMTOKENS i en och samma attributdeklaration f\u00F6r Enumeration m\u00E5ste vara unika. +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = Uppr\u00E4kningsv\u00E4rdet \"{1}\" har angetts fler \u00E4n en g\u00E5ng i attributdeklarationen \"{2}\" f\u00F6r elementet \"{0}\". Alla NOTATION-namn i en och samma attributdeklaration f\u00F6r NotationType m\u00E5ste vara unika. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = Tomt utrymme m\u00E5ste anges efter "NOTATION" i attributdeklarationen "{1}". ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = Tecknet ''('' m\u00E5ste anges efter "NOTATION" i attributdeklarationen "{1}". ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = Notationsnamn m\u00E5ste anges i notationstyplistan f\u00F6r attributdeklarationen "{1}". ++ NotationTypeUnterminated = Notationstyplistan m\u00E5ste avslutas med '')'' i attributdeklarationen "{1}". ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = Namntecken m\u00E5ste anges i uppr\u00E4kningstyplistan f\u00F6r attributdeklarationen "{1}". ++ EnumerationUnterminated = Uppr\u00E4kningstyplistan m\u00E5ste avslutas med '')'' i attributdeklarationen "{1}". ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = Uppr\u00E4kningsv\u00E4rdet "{1}" har angetts fler \u00E4n en g\u00E5ng i attributdeklarationen "{2}" f\u00F6r elementet "{0}". Alla NMTOKENS i en och samma attributdeklaration f\u00F6r Enumeration m\u00E5ste vara unika. ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = Uppr\u00E4kningsv\u00E4rdet "{1}" har angetts fler \u00E4n en g\u00E5ng i attributdeklarationen "{2}" f\u00F6r elementet "{0}". Alla NOTATION-namn i en och samma attributdeklaration f\u00F6r NotationType m\u00E5ste vara unika. + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Tomt utrymme m\u00E5ste anges efter \"FIXED\" i attributdeklarationen \"{1}\". ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = Tomt utrymme m\u00E5ste anges efter "FIXED" i attributdeklarationen "{1}". + # 3.4 Conditional Sections +- IncludeSectUnterminated = Inkluderat villkorsavsnitt m\u00E5ste avslutas med \"]]>\". +- IgnoreSectUnterminated = Exkluderat villkorsavsnitt m\u00E5ste avslutas med \"]]>\". ++ IncludeSectUnterminated = Inkluderat villkorsavsnitt m\u00E5ste avslutas med "]]>". ++ IgnoreSectUnterminated = Exkluderat villkorsavsnitt m\u00E5ste avslutas med "]]>". + # 4.1 Character and Entity References + NameRequiredInPEReference = Enhetsnamnet m\u00E5ste omedelbart f\u00F6ljas av '%' i parameterreferensen. +- SemicolonRequiredInPEReference = Parameterreferensen \"%{0};\" m\u00E5ste avslutas med '';''-avgr\u00E4nsare. ++ SemicolonRequiredInPEReference = Parameterreferensen "%{0};" m\u00E5ste avslutas med '';''-avgr\u00E4nsare. + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Tomt utrymme kr\u00E4vs efter \"<!ENTITY\" i enhetsdeklarationen. +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Tomt utrymme kr\u00E4vs mellan \"<!ENTITY\" och '%'-tecknet i parameterdeklarationen. ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = Tomt utrymme kr\u00E4vs efter "<!ENTITY" i enhetsdeklarationen. ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = Tomt utrymme kr\u00E4vs mellan "<!ENTITY" och '%'-tecknet i parameterdeklarationen. + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = Tomt utrymme kr\u00E4vs mellan '%' och enhetsnamnet i parameterdeklarationen. + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = Namnet p\u00E5 enheten m\u00E5ste anges i enhetsdeklarationen. +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Tomt utrymme kr\u00E4vs mellan enhetsnamnet \"{0}\" och definitionen i enhetsdeklarationen. +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Tomt utrymme kr\u00E4vs mellan \"NDATA\" och notationsnamnet i deklarationen f\u00F6r enheten \"{0}\". +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Tomt utrymme kr\u00E4vs f\u00F6re \"NDATA\" i deklarationen f\u00F6r enheten \"{0}\". +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Notationsnamnet m\u00E5ste anges efter \"NDATA\" i deklarationen f\u00F6r enheten \"{0}\". +- EntityDeclUnterminated = Deklarationen f\u00F6r enheten \"{0}\" m\u00E5ste avslutas med ''>''. +- MSG_DUPLICATE_ENTITY_DEFINITION = Enheten \"{0}\" har deklarerats mer \u00E4n en g\u00E5ng. ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = Tomt utrymme kr\u00E4vs mellan enhetsnamnet "{0}" och definitionen i enhetsdeklarationen. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = Tomt utrymme kr\u00E4vs mellan "NDATA" och notationsnamnet i deklarationen f\u00F6r enheten "{0}". ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = Tomt utrymme kr\u00E4vs f\u00F6re "NDATA" i deklarationen f\u00F6r enheten "{0}". ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = Notationsnamnet m\u00E5ste anges efter "NDATA" i deklarationen f\u00F6r enheten "{0}". ++ EntityDeclUnterminated = Deklarationen f\u00F6r enheten "{0}" m\u00E5ste avslutas med ''>''. ++ MSG_DUPLICATE_ENTITY_DEFINITION = Enheten "{0}" har deklarerats mer \u00E4n en g\u00E5ng. + # 4.2.2 External Entities +- ExternalIDRequired = Den externa enhetsdeklarationen m\u00E5ste inledas med antingen \"SYSTEM\" eller \"PUBLIC\". +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Tomt utrymme kr\u00E4vs mellan \"PUBLIC\" och den allm\u00E4nna identifieraren. ++ ExternalIDRequired = Den externa enhetsdeklarationen m\u00E5ste inledas med antingen "SYSTEM" eller "PUBLIC". ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = Tomt utrymme kr\u00E4vs mellan "PUBLIC" och den allm\u00E4nna identifieraren. + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = Tomt utrymme kr\u00E4vs mellan den allm\u00E4nna identifieraren och systemidentifieraren. +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Tomt utrymme kr\u00E4vs mellan \"SYSTEM\" och systemidentifieraren. +- MSG_URI_FRAGMENT_IN_SYSTEMID = Fragmentidentifieraren f\u00E5r inte anges som del av systemidentifieraren \"{0}\". ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = Tomt utrymme kr\u00E4vs mellan "SYSTEM" och systemidentifieraren. ++ MSG_URI_FRAGMENT_IN_SYSTEMID = Fragmentidentifieraren f\u00E5r inte anges som del av systemidentifieraren "{0}". + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Tomt utrymme kr\u00E4vs efter \"<!NOTATION\" i notationsdeklarationen. ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = Tomt utrymme kr\u00E4vs efter "<!NOTATION" i notationsdeklarationen. + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = Namnet p\u00E5 notationen m\u00E5ste anges i notationsdeklarationen. +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Tomt utrymme kr\u00E4vs efter notationsnamnet \"{0}\" i notationsdeklarationen. +- ExternalIDorPublicIDRequired = Deklarationen f\u00F6r notationen \"{0}\" m\u00E5ste inkludera systemidentifierare eller allm\u00E4n identifierare. +- NotationDeclUnterminated = Deklarationen f\u00F6r notationen \"{0}\" m\u00E5ste avslutas med ''>''. ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = Tomt utrymme kr\u00E4vs efter notationsnamnet "{0}" i notationsdeklarationen. ++ ExternalIDorPublicIDRequired = Deklarationen f\u00F6r notationen "{0}" m\u00E5ste inkludera systemidentifierare eller allm\u00E4n identifierare. ++ NotationDeclUnterminated = Deklarationen f\u00F6r notationen "{0}" m\u00E5ste avslutas med ''>''. + + # Validation messages +- DuplicateTypeInMixedContent = Elementtyp \"{1}\" har redan angetts i modellen med inneh\u00E5ll f\u00F6r elementdeklarationen \"{0}\". +- ENTITIESInvalid = Attributv\u00E4rdet \"{1}\" av typen ENTITIES m\u00E5ste motsvara namnen p\u00E5 en eller flera otolkade enheter. +- ENTITYInvalid = Attributv\u00E4rdet \"{1}\" av typen ENTITY m\u00E5ste motsvara namnet p\u00E5 en otolkad enhet. +- IDDefaultTypeInvalid = Id-attributet \"{0}\" m\u00E5ste inneh\u00E5lla deklarerat standardv\u00E4rde \"#IMPLIED\" eller \"#REQUIRED\". +- IDInvalid = Attributv\u00E4rdet \"{0}\" av typen ID m\u00E5ste vara ett namn. +- IDInvalidWithNamespaces = Attributv\u00E4rdet \"{0}\" av typen ID m\u00E5ste vara NCName om namnrymder anv\u00E4nds. +- IDNotUnique = Attributv\u00E4rdet \"{0}\" av typen ID m\u00E5ste vara unikt inom dokumentet. +- IDREFInvalid = Attributv\u00E4rdet \"{0}\" av typen IDREF m\u00E5ste vara ett namn. +- IDREFInvalidWithNamespaces = Attributv\u00E4rdet \"{0}\" av typen IDREF m\u00E5ste vara NCName om namnrymder anv\u00E4nds. +- IDREFSInvalid = Attributv\u00E4rdet \"{0}\" av typen IDREFS m\u00E5ste vara ett eller flera namn. +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Ers\u00E4ttningstexten f\u00F6r parameterenheten \"{0}\" m\u00E5ste inkludera korrekt kapslade deklarationer om enhetsreferensen anv\u00E4nds som fullst\u00E4ndig deklaration. +- ImproperDeclarationNesting = Ers\u00E4ttningstexten f\u00F6r parameterenheten \"{0}\" m\u00E5ste inkludera deklarationer som \u00E4r korrekt kapslade. +- ImproperGroupNesting = Ers\u00E4ttningstexten f\u00F6r parameterenheten \"{0}\" m\u00E5ste inkludera parentespar som \u00E4r korrekt kapslade. +- INVALID_PE_IN_CONDITIONAL = Ers\u00E4ttningstexten f\u00F6r parameterenheten \"{0}\" m\u00E5st inkludera hela villkorsavsnittet eller endast INCLUDE eller IGNORE. +- MSG_ATTRIBUTE_NOT_DECLARED = Attributet \"{1}\" m\u00E5ste deklareras f\u00F6r elementtyp \"{0}\". +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = Attributet \"{0}\" med v\u00E4rdet \"{1}\" m\u00E5ste ha ett v\u00E4rde fr\u00E5n listan \"{2}\". +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = V\u00E4rdet \"{1}\" f\u00F6r attributet \"{0}\" f\u00E5r inte \u00E4ndras vid normalisering (till \"{2}\") i ett frist\u00E5ende dokument. +- MSG_CONTENT_INCOMPLETE = Inneh\u00E5llet i elementtyp \"{0}\" \u00E4r ofullst\u00E4ndigt, det m\u00E5ste matcha \"{1}\". +- MSG_CONTENT_INVALID = Inneh\u00E5llet i elementtyp \"{0}\" m\u00E5ste matcha \"{1}\". +- MSG_CONTENT_INVALID_SPECIFIED = Inneh\u00E5llet i elementtyp \"{0}\" m\u00E5ste matcha \"{1}\". Underordnade till typ \"{2}\" \u00E4r inte till\u00E5tna. +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = Attributet \"{1}\" f\u00F6r elementtyp \"{0}\" har ett standardv\u00E4rde och m\u00E5ste anges i ett frist\u00E5ende dokument. +- MSG_DUPLICATE_ATTDEF = Attributet \"{1}\" har redan deklarerats f\u00F6r elementtyp \"{0}\". +- MSG_ELEMENT_ALREADY_DECLARED = Elementtyp \"{0}\" f\u00E5r deklareras endast en g\u00E5ng. +- MSG_ELEMENT_NOT_DECLARED = Elementtyp \"{0}\" m\u00E5ste deklareras. ++ DuplicateTypeInMixedContent = Elementtyp "{1}" har redan angetts i modellen med inneh\u00E5ll f\u00F6r elementdeklarationen "{0}". ++ ENTITIESInvalid = Attributv\u00E4rdet "{1}" av typen ENTITIES m\u00E5ste motsvara namnen p\u00E5 en eller flera otolkade enheter. ++ ENTITYInvalid = Attributv\u00E4rdet "{1}" av typen ENTITY m\u00E5ste motsvara namnet p\u00E5 en otolkad enhet. ++ IDDefaultTypeInvalid = Id-attributet "{0}" m\u00E5ste inneh\u00E5lla deklarerat standardv\u00E4rde "#IMPLIED" eller "#REQUIRED". ++ IDInvalid = Attributv\u00E4rdet "{0}" av typen ID m\u00E5ste vara ett namn. ++ IDInvalidWithNamespaces = Attributv\u00E4rdet "{0}" av typen ID m\u00E5ste vara NCName om namnrymder anv\u00E4nds. ++ IDNotUnique = Attributv\u00E4rdet "{0}" av typen ID m\u00E5ste vara unikt inom dokumentet. ++ IDREFInvalid = Attributv\u00E4rdet "{0}" av typen IDREF m\u00E5ste vara ett namn. ++ IDREFInvalidWithNamespaces = Attributv\u00E4rdet "{0}" av typen IDREF m\u00E5ste vara NCName om namnrymder anv\u00E4nds. ++ IDREFSInvalid = Attributv\u00E4rdet "{0}" av typen IDREFS m\u00E5ste vara ett eller flera namn. ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = Ers\u00E4ttningstexten f\u00F6r parameterenheten "{0}" m\u00E5ste inkludera korrekt kapslade deklarationer om enhetsreferensen anv\u00E4nds som fullst\u00E4ndig deklaration. ++ ImproperDeclarationNesting = Ers\u00E4ttningstexten f\u00F6r parameterenheten "{0}" m\u00E5ste inkludera deklarationer som \u00E4r korrekt kapslade. ++ ImproperGroupNesting = Ers\u00E4ttningstexten f\u00F6r parameterenheten "{0}" m\u00E5ste inkludera parentespar som \u00E4r korrekt kapslade. ++ INVALID_PE_IN_CONDITIONAL = Ers\u00E4ttningstexten f\u00F6r parameterenheten "{0}" m\u00E5st inkludera hela villkorsavsnittet eller endast INCLUDE eller IGNORE. ++ MSG_ATTRIBUTE_NOT_DECLARED = Attributet "{1}" m\u00E5ste deklareras f\u00F6r elementtyp "{0}". ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = Attributet "{0}" med v\u00E4rdet "{1}" m\u00E5ste ha ett v\u00E4rde fr\u00E5n listan "{2}". ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = V\u00E4rdet "{1}" f\u00F6r attributet "{0}" f\u00E5r inte \u00E4ndras vid normalisering (till "{2}") i ett frist\u00E5ende dokument. ++ MSG_CONTENT_INCOMPLETE = Inneh\u00E5llet i elementtyp "{0}" \u00E4r ofullst\u00E4ndigt, det m\u00E5ste matcha "{1}". ++ MSG_CONTENT_INVALID = Inneh\u00E5llet i elementtyp "{0}" m\u00E5ste matcha "{1}". ++ MSG_CONTENT_INVALID_SPECIFIED = Inneh\u00E5llet i elementtyp "{0}" m\u00E5ste matcha "{1}". Underordnade till typ "{2}" \u00E4r inte till\u00E5tna. ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = Attributet "{1}" f\u00F6r elementtyp "{0}" har ett standardv\u00E4rde och m\u00E5ste anges i ett frist\u00E5ende dokument. ++ MSG_DUPLICATE_ATTDEF = Attributet "{1}" har redan deklarerats f\u00F6r elementtyp "{0}". ++ MSG_ELEMENT_ALREADY_DECLARED = Elementtyp "{0}" f\u00E5r deklareras endast en g\u00E5ng. ++ MSG_ELEMENT_NOT_DECLARED = Elementtyp "{0}" m\u00E5ste deklareras. + MSG_GRAMMAR_NOT_FOUND = Dokumentet \u00E4r ogiltigt: hittade ingen grammatik. +- MSG_ELEMENT_WITH_ID_REQUIRED = Ett element med identifieraren \"{0}\" m\u00E5ste finnas med i dokumentet. +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Referens till den externa enheten \"{0}\" \u00E4r inte till\u00E5tet i frist\u00E5ende dokument. +- MSG_FIXED_ATTVALUE_INVALID = Attributet \"{1}\" med v\u00E4rdet \"{2}\" m\u00E5ste ha v\u00E4rdet \"{3}\". +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Elementtyp \"{0}\" har redan attributet \"{1}\" av id-typ, ett andra attribut \"{2}\" av samma typ \u00E4r inte till\u00E5tet. +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Elementtyp \"{0}\" har redan attributet \"{1}\" av NOTATION-typ, ett andra attribut \"{2}\" av samma typ \u00E4r inte till\u00E5tet. +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = Notationen \"{1}\" m\u00E5ste deklareras vid referens i notationstyplistan f\u00F6r attributet \"{0}\". +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = Notationen \"{1}\" m\u00E5ste deklareras vid referens i otolkad enhetsdeklaration f\u00F6r \"{0}\". +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Referensen till enheten \"{0}\" som har deklarerats i en externt tolkad enhet \u00E4r inte till\u00E5tet i frist\u00E5ende dokument. +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = Attributet \"{1}\" m\u00E5ste anges f\u00F6r elementtyp \"{0}\". ++ MSG_ELEMENT_WITH_ID_REQUIRED = Ett element med identifieraren "{0}" m\u00E5ste finnas med i dokumentet. ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = Referens till den externa enheten "{0}" \u00E4r inte till\u00E5tet i frist\u00E5ende dokument. ++ MSG_FIXED_ATTVALUE_INVALID = Attributet "{1}" med v\u00E4rdet "{2}" m\u00E5ste ha v\u00E4rdet "{3}". ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = Elementtyp "{0}" har redan attributet "{1}" av id-typ, ett andra attribut "{2}" av samma typ \u00E4r inte till\u00E5tet. ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = Elementtyp "{0}" har redan attributet "{1}" av NOTATION-typ, ett andra attribut "{2}" av samma typ \u00E4r inte till\u00E5tet. ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = Notationen "{1}" m\u00E5ste deklareras vid referens i notationstyplistan f\u00F6r attributet "{0}". ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = Notationen "{1}" m\u00E5ste deklareras vid referens i otolkad enhetsdeklaration f\u00F6r "{0}". ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = Referensen till enheten "{0}" som har deklarerats i en externt tolkad enhet \u00E4r inte till\u00E5tet i frist\u00E5ende dokument. ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = Attributet "{1}" m\u00E5ste anges f\u00F6r elementtyp "{0}". + MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = Tomt utrymme f\u00E5r inte f\u00F6rekomma mellan element som har deklarerats i en externt tolkad enhet med elementinneh\u00E5ll i frist\u00E5ende dokument. +- NMTOKENInvalid = Attributv\u00E4rdet \"{0}\" av typen NMTOKEN m\u00E5ste vara ett namntecken. +- NMTOKENSInvalid = Attributv\u00E4rdet \"{0}\" av typen NMTOKENS m\u00E5ste vara ett eller flera namntecken. +- NoNotationOnEmptyElement = Elementtyp \"{0}\" med deklarationen EMPTY kan inte deklareras med attributet \"{1}\" av typen NOTATION. +- RootElementTypeMustMatchDoctypedecl = Dokumentrotelementet \"{1}\" m\u00E5ste matcha DOCTYPE-roten \"{0}\". +- UndeclaredElementInContentSpec = Modellen med inneh\u00E5ll f\u00F6r elementet \"{0}\" refererar till elementet \"{1}\" som inte har deklarerats. +- UniqueNotationName = Deklarationen f\u00F6r notationen \"{0}\" \u00E4r inte unik. Ett namn f\u00E5r inte deklareras i fler \u00E4n en notationsdeklaration. ++ NMTOKENInvalid = Attributv\u00E4rdet "{0}" av typen NMTOKEN m\u00E5ste vara ett namntecken. ++ NMTOKENSInvalid = Attributv\u00E4rdet "{0}" av typen NMTOKENS m\u00E5ste vara ett eller flera namntecken. ++ NoNotationOnEmptyElement = Elementtyp "{0}" med deklarationen EMPTY kan inte deklareras med attributet "{1}" av typen NOTATION. ++ RootElementTypeMustMatchDoctypedecl = Dokumentrotelementet "{1}" m\u00E5ste matcha DOCTYPE-roten "{0}". ++ UndeclaredElementInContentSpec = Modellen med inneh\u00E5ll f\u00F6r elementet "{0}" refererar till elementet "{1}" som inte har deklarerats. ++ UniqueNotationName = Deklarationen f\u00F6r notationen "{0}" \u00E4r inte unik. Ett namn f\u00E5r inte deklareras i fler \u00E4n en notationsdeklaration. + ENTITYFailedInitializeGrammar = ENTITYDatatype-validerare: Behov att anropa initieringsmetod med giltig grammatikreferens utf\u00F6rdes inte. \t +- ENTITYNotUnparsed = ENTITY \"{0}\" \u00E4r otolkat. +- ENTITYNotValid = ENTITY \"{0}\" \u00E4r inte giltigt. ++ ENTITYNotUnparsed = ENTITY "{0}" \u00E4r otolkat. ++ ENTITYNotValid = ENTITY "{0}" \u00E4r inte giltigt. + EmptyList = V\u00E4rdet f\u00F6r typ ENTITIES, IDREFS och NMTOKENS f\u00E5r inte vara en tom lista. + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = Den externa enhetsreferensen \"&{0};\" till\u00E5ts inte i ett attributv\u00E4rde. +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = Den externa enhetsreferensen "&{0};" till\u00E5ts inte i ett attributv\u00E4rde. ++ AccessExternalDTD = Extern DTD: Kunde inte l\u00E4sa extern DTD ''{0}'', eftersom ''{1}'' \u00E5tkomst inte till\u00E5ts p\u00E5 grund av begr\u00E4nsning som anges av accessExternalDTD-egenskapen. ++ AccessExternalEntity = Extern enhet: Kunde inte l\u00E4sa externt dokument ''{0}'', eftersom ''{1}'' \u00E5tkomst inte till\u00E5ts p\u00E5 grund av begr\u00E4nsning som anges av accessExternalDTD-egenskapen. + + # 4.1 Character and Entity References +- EntityNotDeclared = Enheten \"{0}\" har refererats, men \u00E4r inte deklarerad. +- ReferenceToUnparsedEntity = Den otolkade enhetsreferensen \"&{0};\" \u00E4r inte till\u00E5ten. +- RecursiveReference = Rekursiv enhetsreferens \"{0}\". (Referenss\u00F6kv\u00E4g: {1}), +- RecursiveGeneralReference = Rekursiv allm\u00E4n enhetsreferens \"&{0};\". (Referenss\u00F6kv\u00E4g: {1}), +- RecursivePEReference = Rekursiv parameterreferens \"%{0};\". (Referenss\u00F6kv\u00E4g: {1}), ++ EntityNotDeclared = Enheten "{0}" har refererats, men \u00E4r inte deklarerad. ++ ReferenceToUnparsedEntity = Den otolkade enhetsreferensen "&{0};" \u00E4r inte till\u00E5ten. ++ RecursiveReference = Rekursiv enhetsreferens "{0}". (Referenss\u00F6kv\u00E4g: {1}), ++ RecursiveGeneralReference = Rekursiv allm\u00E4n enhetsreferens "&{0};". (Referenss\u00F6kv\u00E4g: {1}), ++ RecursivePEReference = Rekursiv parameterreferens "%{0};". (Referenss\u00F6kv\u00E4g: {1}), + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = Kodningen \"{0}\" st\u00F6ds inte. ++ EncodingNotSupported = Kodningen "{0}" st\u00F6ds inte. + EncodingRequired = En tolkad enhet som inte \u00E4r kodad i varken UTF-8 eller UTF-16 m\u00E5ste ha en kodningsdeklaration. + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = Element eller attribut matchar inte QName-produktion: QName::=(NCName':')?NCName. +- ElementXMLNSPrefix = Elementet \"{0}\" kan inte anv\u00E4ndas med \"xmlns\" som prefix. +- ElementPrefixUnbound = Prefixet \"{0}\" f\u00F6r elementet \"{1}\" \u00E4r inte bundet. +- AttributePrefixUnbound = Prefixet \"{2}\" f\u00F6r attributet \"{1}\" som associeras med elementtyp \"{0}\" \u00E4r inte bundet. +- EmptyPrefixedAttName = Ogiltigt v\u00E4rde f\u00F6r attributet \"{0}\". Namnrymdsbindningar som prefix kanske inte \u00E4r tomma. +- PrefixDeclared = Namnrymdsprefixet \"{0}\" har inte deklarerats. ++ ElementXMLNSPrefix = Elementet "{0}" kan inte anv\u00E4ndas med "xmlns" som prefix. ++ ElementPrefixUnbound = Prefixet "{0}" f\u00F6r elementet "{1}" \u00E4r inte bundet. ++ AttributePrefixUnbound = Prefixet "{2}" f\u00F6r attributet "{1}" som associeras med elementtyp "{0}" \u00E4r inte bundet. ++ EmptyPrefixedAttName = Ogiltigt v\u00E4rde f\u00F6r attributet "{0}". Namnrymdsbindningar som prefix kanske inte \u00E4r tomma. ++ PrefixDeclared = Namnrymdsprefixet "{0}" har inte deklarerats. + CantBindXMLNS = Prefixet "xmlns" kan inte bindas till en specifik namnrymd och namnrymden f\u00F6r "xmlns" kan inte heller bindas till ett specifikt prefix. + CantBindXML = Prefixet "xml" kan inte bindas till en namnrymd ut\u00F6ver den vanliga och namnrymden f\u00F6r "xml" kan inte heller bindas till n\u00E5got annat prefix \u00E4n "xml". +- MSG_ATT_DEFAULT_INVALID = defaultValue \"{1}\" f\u00F6r attributet \"{0}\" \u00E4r inte till\u00E5tet vad g\u00E4ller de lexikala begr\u00E4nsningarna f\u00F6r denna attributtyp. ++ MSG_ATT_DEFAULT_INVALID = defaultValue "{1}" f\u00F6r attributet "{0}" \u00E4r inte till\u00E5tet vad g\u00E4ller de lexikala begr\u00E4nsningarna f\u00F6r denna attributtyp. + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=Parsern har p\u00E5tr\u00E4ffat fler \u00E4n \"{0}\" enhetstill\u00E4gg i dokumentet - applikationens gr\u00E4nsv\u00E4rde har uppn\u00E5tts. ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: Parsern har p\u00E5tr\u00E4ffat fler \u00E4n "{0}" enhetstill\u00E4gg i dokumentet - gr\u00E4nsv\u00E4rdet f\u00F6r JDK har uppn\u00E5tts. ++ ElementAttributeLimit=JAXP00010002: Elementet "{0}" har fler \u00E4n "{1}" attribut, "{1}" \u00E4r gr\u00E4nsv\u00E4rdet f\u00F6r JDK. ++ MaxEntitySizeLimit=JAXP00010003: L\u00E4ngden p\u00E5 enheten "{0}" \u00E4r "{1}" som \u00F6verskriver gr\u00E4nsv\u00E4rdet p\u00E5 "{2}" som anges av "{3}". ++ TotalEntitySizeLimit=JAXP00010004: Den ackumulerade storleken "{0}" f\u00F6r enheter \u00F6verskred gr\u00E4nsv\u00E4rdet p\u00E5 "{1}" som anges av "{2}". ++ MaxXMLNameLimit=JAXP00010005: Namnet "{0}" \u00F6verskred gr\u00E4nsv\u00E4rdet p\u00E5 "{1}" som anges av "{2}". + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= Elementet \"{0}\" har fler \u00E4n \"{1}\" attribut, \"{1}\" \u00E4r applikationens gr\u00E4nsv\u00E4rde. +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_CN.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_CN.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,26 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ +- +-/* +- * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. +- */ +# -+# 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. ++# 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +44,14 @@ + InvalidCharInProlog = \u5728\u6587\u6863\u524D\u8A00\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + InvalidCharInXMLDecl = \u5728 XML \u58F0\u660E\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + # 2.4 Character Data and Markup +- CDEndInContent = \u9664\u975E\u4F7F\u7528\u5B57\u7B26\u5E8F\u5217 \"]]>\" \u6765\u6807\u8BB0 CDATA \u8282\u7684\u7ED3\u5C3E, \u5426\u5219\u8BE5\u5B57\u7B26\u5E8F\u5217\u4E0D\u80FD\u51FA\u73B0\u5728\u5185\u5BB9\u4E2D\u3002 ++ CDEndInContent = \u9664\u975E\u4F7F\u7528\u5B57\u7B26\u5E8F\u5217 "]]>" \u6765\u6807\u8BB0 CDATA \u8282\u7684\u7ED3\u5C3E, \u5426\u5219\u8BE5\u5B57\u7B26\u5E8F\u5217\u4E0D\u80FD\u51FA\u73B0\u5728\u5185\u5BB9\u4E2D\u3002 + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA \u8282\u5FC5\u987B\u4EE5 \"]]>\" \u7ED3\u5C3E\u3002 ++ CDSectUnterminated = CDATA \u8282\u5FC5\u987B\u4EE5 "]]>" \u7ED3\u5C3E\u3002 + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML \u58F0\u660E\u53EA\u80FD\u51FA\u73B0\u5728\u6587\u6863\u7684\u6700\u5F00\u5934\u5904\u3002 +- EqRequiredInXMLDecl = \u5728 XML \u58F0\u660E\u4E2D, \"{0}\" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 '' = '' \u5B57\u7B26\u3002 +- QuoteRequiredInXMLDecl = XML \u58F0\u660E\u4E2D \"{0}\" \u540E\u9762\u8DDF\u968F\u7684\u503C\u5FC5\u987B\u662F\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\u5B57\u7B26\u4E32\u3002 +- XMLDeclUnterminated = XML \u58F0\u660E\u5FC5\u987B\u4EE5 \"?>\" \u7ED3\u5C3E\u3002 ++ EqRequiredInXMLDecl = \u5728 XML \u58F0\u660E\u4E2D, "{0}" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 '' = '' \u5B57\u7B26\u3002 ++ QuoteRequiredInXMLDecl = XML \u58F0\u660E\u4E2D "{0}" \u540E\u9762\u8DDF\u968F\u7684\u503C\u5FC5\u987B\u662F\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\u5B57\u7B26\u4E32\u3002 ++ XMLDeclUnterminated = XML \u58F0\u660E\u5FC5\u987B\u4EE5 "?>" \u7ED3\u5C3E\u3002 + VersionInfoRequired = XML \u58F0\u660E\u4E2D\u9700\u8981\u6B64\u7248\u672C\u3002 + SpaceRequiredBeforeVersionInXMLDecl = \u5728 XML \u58F0\u660E\u4E2D\u7684\u7248\u672C\u4F2A\u5C5E\u6027\u524D\u9762\u5FC5\u987B\u6709\u7A7A\u683C\u3002 + SpaceRequiredBeforeEncodingInXMLDecl = \u5728 XML \u58F0\u660E\u4E2D\u7684\u7F16\u7801\u4F2A\u5C5E\u6027\u524D\u9762\u5FC5\u987B\u6709\u7A7A\u683C\u3002 +@@ -71,85 +67,86 @@ + ReferenceIllegalInTrailingMisc=\u5C3E\u968F\u8282\u4E2D\u4E0D\u5141\u8BB8\u6709\u5F15\u7528\u3002 + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = \u72EC\u7ACB\u6587\u6863\u58F0\u660E\u503C\u5FC5\u987B\u4E3A \"\u662F\" \u6216 \"\u5426\", \u4E0D\u80FD\u4E3A \"{0}\"\u3002 ++ SDDeclInvalid = \u72EC\u7ACB\u6587\u6863\u58F0\u660E\u503C\u5FC5\u987B\u4E3A "\u662F" \u6216 "\u5426", \u4E0D\u80FD\u4E3A "{0}"\u3002 ++ SDDeclNameInvalid = XML \u58F0\u660E\u4E2D\u7684\u72EC\u7ACB\u540D\u79F0\u53EF\u80FD\u62FC\u5199\u6709\u8BEF\u3002 + # 2.12 Language Identification +- XMLLangInvalid = xml:lang \u5C5E\u6027\u503C \"{0}\" \u662F\u65E0\u6548\u7684\u8BED\u8A00\u6807\u8BC6\u7B26\u3002 ++ XMLLangInvalid = xml:lang \u5C5E\u6027\u503C "{0}" \u662F\u65E0\u6548\u7684\u8BED\u8A00\u6807\u8BC6\u7B26\u3002 + # 3. Logical Structures +- ETagRequired = \u5143\u7D20\u7C7B\u578B \"{0}\" \u5FC5\u987B\u7531\u5339\u914D\u7684\u7ED3\u675F\u6807\u8BB0 \"</{0}>\" \u7EC8\u6B62\u3002 ++ ETagRequired = \u5143\u7D20\u7C7B\u578B "{0}" \u5FC5\u987B\u7531\u5339\u914D\u7684\u7ED3\u675F\u6807\u8BB0 "</{0}>" \u7EC8\u6B62\u3002 + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = \u5143\u7D20\u7C7B\u578B \"{0}\" \u5FC5\u987B\u540E\u8DDF\u5C5E\u6027\u89C4\u8303 \">\" \u6216 \"/>\"\u3002 +- EqRequiredInAttribute = \u4E0E\u5143\u7D20\u7C7B\u578B \"{0}\" \u76F8\u5173\u8054\u7684\u5C5E\u6027\u540D \"{1}\" \u5FC5\u987B\u540E\u8DDF '' = '' \u5B57\u7B26\u3002 +- OpenQuoteExpected = \u4E0E\u5143\u7D20\u7C7B\u578B \"{0}\" \u76F8\u5173\u8054\u7684\u5C5E\u6027 \"{1}\" \u5E94\u6709\u5DE6\u5F15\u53F7\u3002 +- CloseQuoteExpected = \u4E0E\u5143\u7D20\u7C7B\u578B \"{0}\" \u76F8\u5173\u8054\u7684\u5C5E\u6027 \"{1}\" \u5E94\u6709\u53F3\u5F15\u53F7\u3002 +- AttributeNotUnique = \u5DF2\u7ECF\u4E3A\u5143\u7D20 \"{0}\" \u6307\u5B9A\u5C5E\u6027 \"{1}\"\u3002 +- AttributeNSNotUnique = \u5DF2\u7ECF\u4E3A\u5143\u7D20 \"{0}\" \u6307\u5B9A\u7ED1\u5B9A\u5230\u540D\u79F0\u7A7A\u95F4 \"{2}\" \u7684\u5C5E\u6027 \"{1}\"\u3002 +- ETagUnterminated = \u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u7ED3\u675F\u6807\u8BB0\u5FC5\u987B\u4EE5 ''>'' \u5206\u9694\u7B26\u7ED3\u675F\u3002 ++ ElementUnterminated = \u5143\u7D20\u7C7B\u578B "{0}" \u5FC5\u987B\u540E\u8DDF\u5C5E\u6027\u89C4\u8303 ">" \u6216 "/>"\u3002 ++ EqRequiredInAttribute = \u4E0E\u5143\u7D20\u7C7B\u578B "{0}" \u76F8\u5173\u8054\u7684\u5C5E\u6027\u540D "{1}" \u5FC5\u987B\u540E\u8DDF '' = '' \u5B57\u7B26\u3002 ++ OpenQuoteExpected = \u4E0E\u5143\u7D20\u7C7B\u578B "{0}" \u76F8\u5173\u8054\u7684\u5C5E\u6027 "{1}" \u5E94\u6709\u5DE6\u5F15\u53F7\u3002 ++ CloseQuoteExpected = \u4E0E\u5143\u7D20\u7C7B\u578B "{0}" \u76F8\u5173\u8054\u7684\u5C5E\u6027 "{1}" \u5E94\u6709\u53F3\u5F15\u53F7\u3002 ++ AttributeNotUnique = \u5DF2\u7ECF\u4E3A\u5143\u7D20 "{0}" \u6307\u5B9A\u5C5E\u6027 "{1}"\u3002 ++ AttributeNSNotUnique = \u5DF2\u7ECF\u4E3A\u5143\u7D20 "{0}" \u6307\u5B9A\u7ED1\u5B9A\u5230\u540D\u79F0\u7A7A\u95F4 "{2}" \u7684\u5C5E\u6027 "{1}"\u3002 ++ ETagUnterminated = \u5143\u7D20\u7C7B\u578B "{0}" \u7684\u7ED3\u675F\u6807\u8BB0\u5FC5\u987B\u4EE5 ''>'' \u5206\u9694\u7B26\u7ED3\u675F\u3002 + MarkupNotRecognizedInContent = \u5143\u7D20\u5185\u5BB9\u5FC5\u987B\u7531\u683C\u5F0F\u6B63\u786E\u7684\u5B57\u7B26\u6570\u636E\u6216\u6807\u8BB0\u7EC4\u6210\u3002 + DoctypeIllegalInContent = \u5185\u5BB9\u4E2D\u4E0D\u5141\u8BB8\u6709 DOCTYPE\u3002 + # 4.1 Character and Entity References + ReferenceUnterminated = \u5F15\u7528\u5FC5\u987B\u4EE5 ';' \u5206\u9694\u7B26\u7EC8\u6B62\u3002 + # 4.3.2 Well-Formed Parsed Entities +- ReferenceNotInOneEntity = \u5F15\u7528\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u5185\u3002 +- ElementEntityMismatch = \u5143\u7D20 \"{0}\" \u5FC5\u987B\u4ECE\u5934\u81F3\u5C3E\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5B9E\u4F53\u5185\u3002 ++ ReferenceNotInOneEntity = \u5F15\u7528\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u89E3\u6790\u5B9E\u4F53\u5185\u3002 ++ ElementEntityMismatch = \u5143\u7D20 "{0}" \u5FC5\u987B\u4ECE\u5934\u81F3\u5C3E\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5B9E\u4F53\u5185\u3002 + MarkupEntityMismatch=XML \u6587\u6863\u7ED3\u6784\u5FC5\u987B\u4ECE\u5934\u81F3\u5C3E\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5B9E\u4F53\u5185\u3002 + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = \u5728 \"{1}\" \u5C5E\u6027\u503C\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{2}), \u5E76\u4E14\u5143\u7D20\u4E3A \"{0}\"\u3002 ++ InvalidCharInAttValue = \u5728 "{1}" \u5C5E\u6027\u503C\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{2}), \u5E76\u4E14\u5143\u7D20\u4E3A "{0}"\u3002 + InvalidCharInComment = \u5728\u6CE8\u91CA\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + InvalidCharInPI = \u5728\u5904\u7406\u6307\u4EE4\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + InvalidCharInInternalSubset = \u5728 DTD \u7684\u5185\u90E8\u5B50\u96C6\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + InvalidCharInTextDecl = \u5728\u6587\u672C\u58F0\u660E\u4E2D\u627E\u5230\u65E0\u6548\u7684 XML \u5B57\u7B26 (Unicode: 0x{0})\u3002 + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = \"{1}\" \u5C5E\u6027\u503C\u5FC5\u987B\u4EE5\u5355\u5F15\u53F7\u5B57\u7B26\u6216\u53CC\u5F15\u53F7\u5B57\u7B26\u5F00\u5934\u3002 +- LessthanInAttValue = \u4E0E\u5143\u7D20\u7C7B\u578B \"{0}\" \u76F8\u5173\u8054\u7684 \"{1}\" \u5C5E\u6027\u503C\u4E0D\u80FD\u5305\u542B ''<'' \u5B57\u7B26\u3002 +- AttributeValueUnterminated = \"{1}\" \u5C5E\u6027\u503C\u5FC5\u987B\u4EE5\u5339\u914D\u7684\u5F15\u53F7\u5B57\u7B26\u7ED3\u5C3E\u3002 ++ QuoteRequiredInAttValue = "{1}" \u5C5E\u6027\u503C\u5FC5\u987B\u4EE5\u5355\u5F15\u53F7\u5B57\u7B26\u6216\u53CC\u5F15\u53F7\u5B57\u7B26\u5F00\u5934\u3002 ++ LessthanInAttValue = \u4E0E\u5143\u7D20\u7C7B\u578B "{0}" \u76F8\u5173\u8054\u7684 "{1}" \u5C5E\u6027\u503C\u4E0D\u80FD\u5305\u542B ''<'' \u5B57\u7B26\u3002 ++ AttributeValueUnterminated = "{1}" \u5C5E\u6027\u503C\u5FC5\u987B\u4EE5\u5339\u914D\u7684\u5F15\u53F7\u5B57\u7B26\u7ED3\u5C3E\u3002 + # 2.5 Comments +- InvalidCommentStart = \u6CE8\u91CA\u5FC5\u987B\u4EE5 \"<!--\" \u5F00\u5934\u3002 +- DashDashInComment = \u6CE8\u91CA\u4E2D\u4E0D\u5141\u8BB8\u51FA\u73B0\u5B57\u7B26\u4E32 \"--\"\u3002 +- CommentUnterminated = \u6CE8\u91CA\u5FC5\u987B\u4EE5 \"-->\" \u7ED3\u5C3E\u3002 ++ InvalidCommentStart = \u6CE8\u91CA\u5FC5\u987B\u4EE5 "<!--" \u5F00\u5934\u3002 ++ DashDashInComment = \u6CE8\u91CA\u4E2D\u4E0D\u5141\u8BB8\u51FA\u73B0\u5B57\u7B26\u4E32 "--"\u3002 ++ CommentUnterminated = \u6CE8\u91CA\u5FC5\u987B\u4EE5 "-->" \u7ED3\u5C3E\u3002 + COMMENT_NOT_IN_ONE_ENTITY = \u6CE8\u91CA\u6CA1\u6709\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5B9E\u4F53\u5185\u3002 + # 2.6 Processing Instructions + PITargetRequired = \u5904\u7406\u6307\u4EE4\u5FC5\u987B\u4EE5\u76EE\u6807\u540D\u79F0\u5F00\u5934\u3002 + SpaceRequiredInPI = \u5728\u5904\u7406\u6307\u4EE4\u76EE\u6807\u548C\u6570\u636E\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 +- PIUnterminated = \u5904\u7406\u6307\u4EE4\u5FC5\u987B\u4EE5 \"?>\" \u7ED3\u5C3E\u3002 +- ReservedPITarget = \u4E0D\u5141\u8BB8\u6709\u5339\u914D \"[xX][mM][lL]\" \u7684\u5904\u7406\u6307\u4EE4\u76EE\u6807\u3002 ++ PIUnterminated = \u5904\u7406\u6307\u4EE4\u5FC5\u987B\u4EE5 "?>" \u7ED3\u5C3E\u3002 ++ ReservedPITarget = \u4E0D\u5141\u8BB8\u6709\u5339\u914D "[xX][mM][lL]" \u7684\u5904\u7406\u6307\u4EE4\u76EE\u6807\u3002 + PI_NOT_IN_ONE_ENTITY = \u5904\u7406\u6307\u4EE4\u6CA1\u6709\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5B9E\u4F53\u5185\u3002 + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = \u7248\u672C \"{0}\" \u65E0\u6548\u3002 +- VersionNotSupported = \u4E0D\u652F\u6301 XML \u7248\u672C \"{0}\", \u53EA\u652F\u6301 XML 1.0\u3002 +- VersionNotSupported11 = \u4E0D\u652F\u6301 XML \u7248\u672C \"{0}\", \u53EA\u652F\u6301 XML 1.0 \u548C XML 1.1\u3002 ++ VersionInfoInvalid = \u7248\u672C "{0}" \u65E0\u6548\u3002 ++ VersionNotSupported = \u4E0D\u652F\u6301 XML \u7248\u672C "{0}", \u53EA\u652F\u6301 XML 1.0\u3002 ++ VersionNotSupported11 = \u4E0D\u652F\u6301 XML \u7248\u672C "{0}", \u53EA\u652F\u6301 XML 1.0 \u548C XML 1.1\u3002 + VersionMismatch= \u5B9E\u4F53\u4E0D\u80FD\u5305\u542B\u8F83\u9AD8\u7248\u672C\u7684\u53E6\u4E00\u4E2A\u5B9E\u4F53\u3002 + # 4.1 Character and Entity References +- DigitRequiredInCharRef = \u5728\u5B57\u7B26\u5F15\u7528\u4E2D, \u5341\u8FDB\u5236\u8868\u793A\u65B9\u6CD5\u5FC5\u987B\u7D27\u8DDF\u5728 \"&#\" \u540E\u9762\u3002 +- HexdigitRequiredInCharRef = \u5728\u5B57\u7B26\u5F15\u7528\u4E2D, \u5341\u516D\u8FDB\u5236\u8868\u793A\u65B9\u6CD5\u5FC5\u987B\u7D27\u8DDF\u5728 \"&#x\" \u540E\u9762\u3002 ++ DigitRequiredInCharRef = \u5728\u5B57\u7B26\u5F15\u7528\u4E2D, \u5341\u8FDB\u5236\u8868\u793A\u65B9\u6CD5\u5FC5\u987B\u7D27\u8DDF\u5728 "&#" \u540E\u9762\u3002 ++ HexdigitRequiredInCharRef = \u5728\u5B57\u7B26\u5F15\u7528\u4E2D, \u5341\u516D\u8FDB\u5236\u8868\u793A\u65B9\u6CD5\u5FC5\u987B\u7D27\u8DDF\u5728 "&#x" \u540E\u9762\u3002 + SemicolonRequiredInCharRef = \u5B57\u7B26\u5F15\u7528\u5FC5\u987B\u4EE5 ';' \u5206\u9694\u7B26\u7ED3\u5C3E\u3002 +- InvalidCharRef = \u5B57\u7B26\u5F15\u7528 \"&#{0}\" \u662F\u65E0\u6548\u7684 XML \u5B57\u7B26\u3002 ++ InvalidCharRef = \u5B57\u7B26\u5F15\u7528 "&#{0}" \u662F\u65E0\u6548\u7684 XML \u5B57\u7B26\u3002 + NameRequiredInReference = \u5728\u5B9E\u4F53\u5F15\u7528\u4E2D, \u5B9E\u4F53\u540D\u79F0\u5FC5\u987B\u7D27\u8DDF\u5728 '&' \u540E\u9762\u3002 +- SemicolonRequiredInReference = \u5BF9\u5B9E\u4F53 \"{0}\" \u7684\u5F15\u7528\u5FC5\u987B\u4EE5 '';'' \u5206\u9694\u7B26\u7ED3\u5C3E\u3002 ++ SemicolonRequiredInReference = \u5BF9\u5B9E\u4F53 "{0}" \u7684\u5F15\u7528\u5FC5\u987B\u4EE5 '';'' \u5206\u9694\u7B26\u7ED3\u5C3E\u3002 + # 4.3.1 The Text Declaration +- TextDeclMustBeFirst = \u6587\u672C\u58F0\u660E\u53EA\u80FD\u51FA\u73B0\u5728\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5916\u90E8\u5B9E\u4F53\u7684\u6700\u5F00\u5934\u5904\u3002 +- EqRequiredInTextDecl = \u5728\u6587\u672C\u58F0\u660E\u4E2D, \"{0}\" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 '' = '' \u5B57\u7B26\u3002 +- QuoteRequiredInTextDecl = \u6587\u672C\u58F0\u660E\u4E2D \"{0}\" \u540E\u9762\u8DDF\u968F\u7684\u503C\u5FC5\u987B\u662F\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\u5B57\u7B26\u4E32\u3002 +- CloseQuoteMissingInTextDecl = \u6587\u672C\u58F0\u660E\u4E2D \"{0}\" \u540E\u9762\u8DDF\u968F\u7684\u503C\u7F3A\u5C11\u53F3\u5F15\u53F7\u3002 ++ TextDeclMustBeFirst = \u6587\u672C\u58F0\u660E\u53EA\u80FD\u51FA\u73B0\u5728\u5DF2\u89E3\u6790\u7684\u5916\u90E8\u5B9E\u4F53\u7684\u6700\u5F00\u5934\u5904\u3002 ++ EqRequiredInTextDecl = \u5728\u6587\u672C\u58F0\u660E\u4E2D, "{0}" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 '' = '' \u5B57\u7B26\u3002 ++ QuoteRequiredInTextDecl = \u6587\u672C\u58F0\u660E\u4E2D "{0}" \u540E\u9762\u8DDF\u968F\u7684\u503C\u5FC5\u987B\u662F\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\u5B57\u7B26\u4E32\u3002 ++ CloseQuoteMissingInTextDecl = \u6587\u672C\u58F0\u660E\u4E2D "{0}" \u540E\u9762\u8DDF\u968F\u7684\u503C\u7F3A\u5C11\u53F3\u5F15\u53F7\u3002 + SpaceRequiredBeforeVersionInTextDecl = \u5728\u6587\u672C\u58F0\u660E\u4E2D\u7684\u7248\u672C\u4F2A\u5C5E\u6027\u524D\u9762\u5FC5\u987B\u6709\u7A7A\u683C\u3002 + SpaceRequiredBeforeEncodingInTextDecl = \u5728\u6587\u672C\u58F0\u660E\u4E2D\u7684\u7F16\u7801\u4F2A\u5C5E\u6027\u524D\u9762\u5FC5\u987B\u6709\u7A7A\u683C\u3002 +- TextDeclUnterminated = \u6587\u672C\u58F0\u660E\u5FC5\u987B\u4EE5 \"?>\" \u7ED3\u5C3E\u3002 ++ TextDeclUnterminated = \u6587\u672C\u58F0\u660E\u5FC5\u987B\u4EE5 "?>" \u7ED3\u5C3E\u3002 + EncodingDeclRequired = \u6587\u672C\u58F0\u660E\u4E2D\u9700\u8981\u7F16\u7801\u58F0\u660E\u3002 + NoMorePseudoAttributes = \u4E0D\u5141\u8BB8\u4F7F\u7528\u66F4\u591A\u7684\u4F2A\u5C5E\u6027\u3002 + MorePseudoAttributes = \u5E94\u8BE5\u6709\u66F4\u591A\u7684\u4F2A\u5C5E\u6027\u3002 + PseudoAttrNameExpected = \u5E94\u8BE5\u6709\u4F2A\u5C5E\u6027\u540D\u3002 + # 4.3.2 Well-Formed Parsed Entities +- CommentNotInOneEntity = \u6CE8\u91CA\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u5185\u3002 +- PINotInOneEntity = \u5904\u7406\u6307\u4EE4\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u5185\u3002 ++ CommentNotInOneEntity = \u6CE8\u91CA\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u89E3\u6790\u5B9E\u4F53\u5185\u3002 ++ PINotInOneEntity = \u5904\u7406\u6307\u4EE4\u5FC5\u987B\u5B8C\u5168\u5305\u542B\u5728\u540C\u4E00\u4E2A\u5DF2\u89E3\u6790\u5B9E\u4F53\u5185\u3002 + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = \u7F16\u7801\u540D\u79F0 \"{0}\" \u65E0\u6548\u3002 +- EncodingByteOrderUnsupported = \u4E0D\u652F\u6301\u7F16\u7801 \"{0}\" \u7684\u7ED9\u5B9A\u5B57\u8282\u987A\u5E8F\u3002 ++ EncodingDeclInvalid = \u7F16\u7801\u540D\u79F0 "{0}" \u65E0\u6548\u3002 ++ EncodingByteOrderUnsupported = \u4E0D\u652F\u6301\u7F16\u7801 "{0}" \u7684\u7ED9\u5B9A\u5B57\u8282\u987A\u5E8F\u3002 + InvalidByte = {1} \u5B57\u8282\u7684 UTF-8 \u5E8F\u5217\u7684\u5B57\u8282 {0} \u65E0\u6548\u3002 + ExpectedByte = \u5E94\u4E3A {1} \u5B57\u8282\u7684 UTF-8 \u5E8F\u5217\u7684\u5B57\u8282 {0}\u3002 + InvalidHighSurrogate = UTF-8 \u5E8F\u5217\u4E2D\u7684\u9AD8\u4EE3\u7406\u4F4D\u4E0D\u80FD\u8D85\u8FC7 0x10, \u4F46\u627E\u5230 0x{0}\u3002 +- OperationNotSupported = {1}\u8BFB\u8FDB\u7A0B\u4E0D\u652F\u6301\u64CD\u4F5C \"{0}\"\u3002 +- InvalidASCII = \u5B57\u8282 \"{0}\" \u4E0D\u662F (7 \u4F4D) ASCII \u5B57\u7B26\u96C6\u7684\u6210\u5458\u3002 ++ OperationNotSupported = {1}\u8BFB\u8FDB\u7A0B\u4E0D\u652F\u6301\u64CD\u4F5C "{0}"\u3002 ++ InvalidASCII = \u5B57\u8282 "{0}" \u4E0D\u662F (7 \u4F4D) ASCII \u5B57\u7B26\u96C6\u7684\u6210\u5458\u3002 + CharConversionFailure = \u786E\u5B9A\u5C5E\u4E8E\u67D0\u4E2A\u7F16\u7801\u7684\u5B9E\u4F53\u4E0D\u80FD\u5305\u542B\u5728\u8BE5\u7F16\u7801\u4E2D\u975E\u6CD5\u7684\u5E8F\u5217\u3002 + + # DTD Messages +@@ -169,150 +166,150 @@ + PubidCharIllegal = \u516C\u5171\u6807\u8BC6\u7B26\u4E2D\u4E0D\u5141\u8BB8\u4F7F\u7528\u8BE5\u5B57\u7B26 (Unicode: 0x{0})\u3002 + SpaceRequiredBetweenPublicAndSystem = \u5728 publicId \u548C systemId \u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u5728\u6587\u6863\u7C7B\u578B\u58F0\u660E\u4E2D\u7684 \"<!DOCTYPE\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u5728\u6587\u6863\u7C7B\u578B\u58F0\u660E\u4E2D, \u6839\u5143\u7D20\u7C7B\u578B\u5FC5\u987B\u51FA\u73B0\u5728 \"<!DOCTYPE\" \u540E\u9762\u3002 +- DoctypedeclUnterminated = \u6839\u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u6587\u6863\u7C7B\u578B\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 +- PEReferenceWithinMarkup = \u53C2\u6570\u5B9E\u4F53\u5F15\u7528 \"%{0};\" \u4E0D\u80FD\u51FA\u73B0\u5728 DTD \u7684\u5185\u90E8\u5B50\u96C6\u4E2D\u7684\u6807\u8BB0\u5185\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u5728\u6587\u6863\u7C7B\u578B\u58F0\u660E\u4E2D\u7684 "<!DOCTYPE" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u5728\u6587\u6863\u7C7B\u578B\u58F0\u660E\u4E2D, \u6839\u5143\u7D20\u7C7B\u578B\u5FC5\u987B\u51FA\u73B0\u5728 "<!DOCTYPE" \u540E\u9762\u3002 ++ DoctypedeclUnterminated = \u6839\u5143\u7D20\u7C7B\u578B "{0}" \u7684\u6587\u6863\u7C7B\u578B\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 ++ PEReferenceWithinMarkup = \u53C2\u6570\u5B9E\u4F53\u5F15\u7528 "%{0};" \u4E0D\u80FD\u51FA\u73B0\u5728 DTD \u7684\u5185\u90E8\u5B50\u96C6\u4E2D\u7684\u6807\u8BB0\u5185\u3002 + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = \u6587\u6863\u7C7B\u578B\u58F0\u660E\u5305\u542B\u6216\u6307\u5411\u7684\u6807\u8BB0\u58F0\u660E\u5FC5\u987B\u683C\u5F0F\u6B63\u786E\u3002 + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = \"xml:space\" \u7684\u5C5E\u6027\u58F0\u660E\u5FC5\u987B\u6307\u5B9A\u4E3A\u679A\u4E3E\u7C7B\u578B, \u5B83\u7684\u53EF\u80FD\u503C\u53EA\u6709 \"default\" \u548C \"preserve\"\u3002 ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = "xml:space" \u7684\u5C5E\u6027\u58F0\u660E\u5FC5\u987B\u6307\u5B9A\u4E3A\u679A\u4E3E\u7C7B\u578B, \u5B83\u7684\u53EF\u80FD\u503C\u53EA\u6709 "default" \u548C "preserve"\u3002 + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684 \"<!ELEMENT\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684 "<!ELEMENT" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = \u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5143\u7D20\u7C7B\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u7C7B\u578B \"{0}\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u7C7B\u578B \"{0}\" \u540E\u9762\u9700\u8981\u6709\u7EA6\u675F\u6761\u4EF6\u3002 +- ElementDeclUnterminated = \u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u7C7B\u578B "{0}" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u5728\u5143\u7D20\u7C7B\u578B\u58F0\u660E\u4E2D\u7684\u5143\u7D20\u7C7B\u578B "{0}" \u540E\u9762\u9700\u8981\u6709\u7EA6\u675F\u6761\u4EF6\u3002 ++ ElementDeclUnterminated = \u5143\u7D20\u7C7B\u578B "{0}" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u5728\u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 ''('' \u5B57\u7B26\u6216\u5143\u7D20\u7C7B\u578B\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u5728\u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 '')''\u3002 ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u5728\u5143\u7D20\u7C7B\u578B "{0}" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 ''('' \u5B57\u7B26\u6216\u5143\u7D20\u7C7B\u578B\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u5728\u5143\u7D20\u7C7B\u578B "{0}" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 '')''\u3002 + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u5728\u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5143\u7D20\u7C7B\u578B\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u5728\u5143\u7D20\u7C7B\u578B \"{0}\" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 '')''\u3002 +- MixedContentUnterminated = \u5F53\u5B50\u5143\u7D20\u7C7B\u578B\u53D7\u7EA6\u675F\u65F6, \u6DF7\u5408\u5185\u5BB9\u6A21\u578B \"{0}\" \u5FC5\u987B\u4EE5 \")*\" \u7ED3\u5C3E\u3002 ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u5728\u5143\u7D20\u7C7B\u578B "{0}" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5143\u7D20\u7C7B\u578B\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u5728\u5143\u7D20\u7C7B\u578B "{0}" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709 '')''\u3002 ++ MixedContentUnterminated = \u5F53\u5B50\u5143\u7D20\u7C7B\u578B\u53D7\u7EA6\u675F\u65F6, \u6DF7\u5408\u5185\u5BB9\u6A21\u578B "{0}" \u5FC5\u987B\u4EE5 ")*" \u7ED3\u5C3E\u3002 + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5728\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u7684 \"<!ATTLIST\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5728\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u7684 "<!ATTLIST" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = \u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5143\u7D20\u7C7B\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u7684\u5C5E\u6027\u540D\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- AttNameRequiredInAttDef = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u5FC5\u987B\u6307\u5B9A\u5C5E\u6027\u540D\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027 \"{1}\" \u7684\u58F0\u660E\u4E2D, \u5728\u5C5E\u6027\u7C7B\u578B\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- AttTypeRequiredInAttDef = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027 \"{1}\" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5C5E\u6027\u7C7B\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027 \"{1}\" \u7684\u58F0\u660E\u4E2D, \u5728\u5C5E\u6027\u9ED8\u8BA4\u503C\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u4E3A\u6307\u5B9A\u5143\u7D20 \"{0}\" \u7684\u540C\u4E00\u5C5E\u6027 \"{1}\" \u63D0\u4F9B\u4E86\u591A\u4E2A\u5C5E\u6027\u5B9A\u4E49\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u7684\u5C5E\u6027\u540D\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ AttNameRequiredInAttDef = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027\u5217\u8868\u58F0\u660E\u4E2D\u5FC5\u987B\u6307\u5B9A\u5C5E\u6027\u540D\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027 "{1}" \u7684\u58F0\u660E\u4E2D, \u5728\u5C5E\u6027\u7C7B\u578B\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ AttTypeRequiredInAttDef = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027 "{1}" \u7684\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5C5E\u6027\u7C7B\u578B\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027 "{1}" \u7684\u58F0\u660E\u4E2D, \u5728\u5C5E\u6027\u9ED8\u8BA4\u503C\u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u4E3A\u6307\u5B9A\u5143\u7D20 "{0}" \u7684\u540C\u4E00\u5C5E\u6027 "{1}" \u63D0\u4F9B\u4E86\u591A\u4E2A\u5C5E\u6027\u5B9A\u4E49\u3002 + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u4E2D, \u7A7A\u683C\u5FC5\u987B\u51FA\u73B0\u5728 \"NOTATION\" \u540E\u9762\u3002 +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u4E2D, \"NOTATION\" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 ''('' \u5B57\u7B26\u3002 +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u7684\u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u4E2D\u9700\u8981\u6709\u8BB0\u53F7\u540D\u79F0\u3002 +- NotationTypeUnterminated = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u4E2D, \u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u5FC5\u987B\u4EE5 '')'' \u7ED3\u5C3E\u3002 +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u7684\u679A\u4E3E\u7C7B\u578B\u5217\u8868\u4E2D\u9700\u8981\u6709\u540D\u79F0\u6807\u8BB0\u3002 +- EnumerationUnterminated = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u4E2D, \u679A\u4E3E\u7C7B\u578B\u5217\u8868\u5FC5\u987B\u4EE5 '')'' \u7ED3\u5C3E\u3002 +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027 \"{2}\" \u7684\u58F0\u660E\u4E2D, \u679A\u4E3E\u503C \"{1}\" \u6307\u5B9A\u4E86\u591A\u6B21\u3002\u5355\u4E2A\u679A\u4E3E\u5C5E\u6027\u58F0\u660E\u4E2D\u7684 NMTOKENS \u5FC5\u987B\u5168\u90E8\u4E0D\u76F8\u540C\u3002 +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u5728\u5143\u7D20 \"{0}\" \u7684\u5C5E\u6027 \"{2}\" \u7684\u58F0\u660E\u4E2D, \u679A\u4E3E\u503C \"{1}\" \u6307\u5B9A\u4E86\u591A\u6B21\u3002\u5355\u4E2A NotationType \u5C5E\u6027\u58F0\u660E\u4E2D\u7684 NOTATION \u540D\u79F0\u5FC5\u987B\u5168\u90E8\u4E0D\u76F8\u540C\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u4E2D, \u7A7A\u683C\u5FC5\u987B\u51FA\u73B0\u5728 "NOTATION" \u540E\u9762\u3002 ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u4E2D, "NOTATION" \u540E\u9762\u5FC5\u987B\u8DDF\u6709 ''('' \u5B57\u7B26\u3002 ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u7684\u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u4E2D\u9700\u8981\u6709\u8BB0\u53F7\u540D\u79F0\u3002 ++ NotationTypeUnterminated = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u4E2D, \u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u5FC5\u987B\u4EE5 '')'' \u7ED3\u5C3E\u3002 ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u7684\u679A\u4E3E\u7C7B\u578B\u5217\u8868\u4E2D\u9700\u8981\u6709\u540D\u79F0\u6807\u8BB0\u3002 ++ EnumerationUnterminated = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u4E2D, \u679A\u4E3E\u7C7B\u578B\u5217\u8868\u5FC5\u987B\u4EE5 '')'' \u7ED3\u5C3E\u3002 ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027 "{2}" \u7684\u58F0\u660E\u4E2D, \u679A\u4E3E\u503C "{1}" \u6307\u5B9A\u4E86\u591A\u6B21\u3002\u5355\u4E2A\u679A\u4E3E\u5C5E\u6027\u58F0\u660E\u4E2D\u7684 NMTOKENS \u5FC5\u987B\u5168\u90E8\u4E0D\u76F8\u540C\u3002 ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u5728\u5143\u7D20 "{0}" \u7684\u5C5E\u6027 "{2}" \u7684\u58F0\u660E\u4E2D, \u679A\u4E3E\u503C "{1}" \u6307\u5B9A\u4E86\u591A\u6B21\u3002\u5355\u4E2A NotationType \u5C5E\u6027\u58F0\u660E\u4E2D\u7684 NOTATION \u540D\u79F0\u5FC5\u987B\u5168\u90E8\u4E0D\u76F8\u540C\u3002 + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = \u5728 \"{1}\" \u5C5E\u6027\u58F0\u660E\u4E2D, \u7A7A\u683C\u5FC5\u987B\u51FA\u73B0\u5728 \"FIXED\" \u540E\u9762\u3002 ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = \u5728 "{1}" \u5C5E\u6027\u58F0\u660E\u4E2D, \u7A7A\u683C\u5FC5\u987B\u51FA\u73B0\u5728 "FIXED" \u540E\u9762\u3002 + # 3.4 Conditional Sections +- IncludeSectUnterminated = \u5305\u542B\u7684\u6761\u4EF6\u8282\u5FC5\u987B\u4EE5 \"]]>\" \u7ED3\u5C3E\u3002 +- IgnoreSectUnterminated = \u6392\u9664\u7684\u6761\u4EF6\u8282\u5FC5\u987B\u4EE5 \"]]>\" \u7ED3\u5C3E\u3002 ++ IncludeSectUnterminated = \u5305\u542B\u7684\u6761\u4EF6\u8282\u5FC5\u987B\u4EE5 "]]>" \u7ED3\u5C3E\u3002 ++ IgnoreSectUnterminated = \u6392\u9664\u7684\u6761\u4EF6\u8282\u5FC5\u987B\u4EE5 "]]>" \u7ED3\u5C3E\u3002 + # 4.1 Character and Entity References + NameRequiredInPEReference = \u5728\u53C2\u6570\u5B9E\u4F53\u5F15\u7528\u4E2D, \u5B9E\u4F53\u540D\u79F0\u5FC5\u987B\u7D27\u8DDF\u5728 '%' \u540E\u9762\u3002 +- SemicolonRequiredInPEReference = \u53C2\u6570\u5B9E\u4F53\u5F15\u7528 \"%{0};\" \u5FC5\u987B\u4EE5 '';'' \u5206\u9694\u7B26\u7ED3\u5C3E\u3002 ++ SemicolonRequiredInPEReference = \u53C2\u6570\u5B9E\u4F53\u5F15\u7528 "%{0};" \u5FC5\u987B\u4EE5 '';'' \u5206\u9694\u7B26\u7ED3\u5C3E\u3002 + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684 \"<!ENTITY\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u5728\u53C2\u6570\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684 \"<!ENTITY\" \u548C '%' \u5B57\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684 "<!ENTITY" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u5728\u53C2\u6570\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684 "<!ENTITY" \u548C '%' \u5B57\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \u5728\u53C2\u6570\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684 '%' \u548C\u5B9E\u4F53\u540D\u79F0\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = \u5B9E\u4F53\u58F0\u660E\u4E2D\u9700\u8981\u6709\u5B9E\u4F53\u540D\u79F0\u3002 +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684\u5B9E\u4F53\u540D\u79F0 \"{0}\" \u548C\u5B9A\u4E49\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 \"{0}\" \u7684\u58F0\u660E\u4E2D\u7684 \"NDATA\" \u548C\u8BB0\u53F7\u540D\u79F0\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 \"{0}\" \u7684\u58F0\u660E\u4E2D\u7684 \"NDATA\" \u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 \"{0}\" \u7684\u58F0\u660E\u4E2D\u7684 \"NDATA\" \u540E\u9762\u9700\u8981\u6709\u8BB0\u53F7\u540D\u79F0\u3002 +- EntityDeclUnterminated = \u5B9E\u4F53 \"{0}\" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 +- MSG_DUPLICATE_ENTITY_DEFINITION = \u5B9E\u4F53 \"{0}\" \u58F0\u660E\u4E86\u591A\u6B21\u3002 ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5B9E\u4F53\u58F0\u660E\u4E2D\u7684\u5B9E\u4F53\u540D\u79F0 "{0}" \u548C\u5B9A\u4E49\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 "{0}" \u7684\u58F0\u660E\u4E2D\u7684 "NDATA" \u548C\u8BB0\u53F7\u540D\u79F0\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 "{0}" \u7684\u58F0\u660E\u4E2D\u7684 "NDATA" \u524D\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u5728\u5B9E\u4F53 "{0}" \u7684\u58F0\u660E\u4E2D\u7684 "NDATA" \u540E\u9762\u9700\u8981\u6709\u8BB0\u53F7\u540D\u79F0\u3002 ++ EntityDeclUnterminated = \u5B9E\u4F53 "{0}" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 ++ MSG_DUPLICATE_ENTITY_DEFINITION = \u5B9E\u4F53 "{0}" \u58F0\u660E\u4E86\u591A\u6B21\u3002 + # 4.2.2 External Entities +- ExternalIDRequired = \u5916\u90E8\u5B9E\u4F53\u58F0\u660E\u5FC5\u987B\u4EE5 \"SYSTEM\" \u6216 \"PUBLIC\" \u5F00\u5934\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \u5728 \"PUBLIC\" \u548C\u516C\u5171\u6807\u8BC6\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ ExternalIDRequired = \u5916\u90E8\u5B9E\u4F53\u58F0\u660E\u5FC5\u987B\u4EE5 "SYSTEM" \u6216 "PUBLIC" \u5F00\u5934\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \u5728 "PUBLIC" \u548C\u516C\u5171\u6807\u8BC6\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = \u5728\u516C\u5171\u6807\u8BC6\u7B26\u548C\u7CFB\u7EDF\u6807\u8BC6\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \u5728 \"SYSTEM\" \u548C\u7CFB\u7EDF\u6807\u8BC6\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 +- MSG_URI_FRAGMENT_IN_SYSTEMID = \u7247\u6BB5\u6807\u8BC6\u7B26\u4E0D\u80FD\u6307\u5B9A\u4E3A\u7CFB\u7EDF\u6807\u8BC6\u7B26 \"{0}\" \u7684\u4E00\u90E8\u5206\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \u5728 "SYSTEM" \u548C\u7CFB\u7EDF\u6807\u8BC6\u7B26\u4E4B\u95F4\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_URI_FRAGMENT_IN_SYSTEMID = \u7247\u6BB5\u6807\u8BC6\u7B26\u4E0D\u80FD\u6307\u5B9A\u4E3A\u7CFB\u7EDF\u6807\u8BC6\u7B26 "{0}" \u7684\u4E00\u90E8\u5206\u3002 + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8BB0\u53F7\u58F0\u660E\u4E2D\u7684 \"<!NOTATION\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8BB0\u53F7\u58F0\u660E\u4E2D\u7684 "<!NOTATION" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = \u8BB0\u53F7\u58F0\u660E\u4E2D\u9700\u8981\u6709\u8BB0\u53F7\u540D\u79F0\u3002 +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8BB0\u53F7\u58F0\u660E\u4E2D\u7684\u8BB0\u53F7\u540D\u79F0 \"{0}\" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 +- ExternalIDorPublicIDRequired = \u8BB0\u53F7 \"{0}\" \u7684\u58F0\u660E\u5FC5\u987B\u5305\u542B\u7CFB\u7EDF\u6807\u8BC6\u7B26\u6216\u516C\u5171\u6807\u8BC6\u7B26\u3002 +- NotationDeclUnterminated = \u8BB0\u53F7 \"{0}\" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8BB0\u53F7\u58F0\u660E\u4E2D\u7684\u8BB0\u53F7\u540D\u79F0 "{0}" \u540E\u9762\u9700\u8981\u6709\u7A7A\u683C\u3002 ++ ExternalIDorPublicIDRequired = \u8BB0\u53F7 "{0}" \u7684\u58F0\u660E\u5FC5\u987B\u5305\u542B\u7CFB\u7EDF\u6807\u8BC6\u7B26\u6216\u516C\u5171\u6807\u8BC6\u7B26\u3002 ++ NotationDeclUnterminated = \u8BB0\u53F7 "{0}" \u7684\u58F0\u660E\u5FC5\u987B\u4EE5 ''>'' \u7ED3\u5C3E\u3002 + + # Validation messages +- DuplicateTypeInMixedContent = \u5728\u5143\u7D20\u58F0\u660E \"{0}\" \u7684\u5185\u5BB9\u6A21\u578B\u4E2D\u5DF2\u7ECF\u6307\u5B9A\u4E86\u5143\u7D20\u7C7B\u578B \"{1}\"\u3002 +- ENTITIESInvalid = \u7C7B\u578B\u4E3A ENTITIES \u7684\u5C5E\u6027\u503C \"{1}\" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u7684\u540D\u79F0\u3002 +- ENTITYInvalid = \u7C7B\u578B\u4E3A ENTITY \u7684\u5C5E\u6027\u503C \"{1}\" \u5FC5\u987B\u662F\u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u7684\u540D\u79F0\u3002 +- IDDefaultTypeInvalid = ID \u5C5E\u6027 \"{0}\" \u5FC5\u987B\u5177\u6709\u5DF2\u58F0\u660E\u7684\u9ED8\u8BA4\u503C \"#IMPLIED\" \u6216 \"#REQUIRED\"\u3002 +- IDInvalid = \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F\u540D\u79F0\u3002 +- IDInvalidWithNamespaces = \u542F\u7528\u540D\u79F0\u7A7A\u95F4\u65F6, \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F NCName\u3002 +- IDNotUnique = \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C \"{0}\" \u5728\u6587\u6863\u5185\u5FC5\u987B\u662F\u552F\u4E00\u7684\u3002 +- IDREFInvalid = \u7C7B\u578B\u4E3A IDREF \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F\u540D\u79F0\u3002 +- IDREFInvalidWithNamespaces = \u542F\u7528\u540D\u79F0\u7A7A\u95F4\u65F6, \u7C7B\u578B\u4E3A IDREF \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F NCName\u3002 +- IDREFSInvalid = \u7C7B\u578B\u4E3A IDREFS \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u540D\u79F0\u3002 +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u5F53\u5B9E\u4F53\u5F15\u7528\u7528\u4F5C\u5B8C\u6574\u58F0\u660E\u65F6, \u53C2\u6570\u5B9E\u4F53 \"{0}\" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u58F0\u660E\u3002 +- ImproperDeclarationNesting = \u53C2\u6570\u5B9E\u4F53 \"{0}\" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u58F0\u660E\u3002 +- ImproperGroupNesting = \u53C2\u6570\u5B9E\u4F53 \"{0}\" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u62EC\u53F7\u5BF9\u3002 +- INVALID_PE_IN_CONDITIONAL = \u53C2\u6570\u5B9E\u4F53 \"{0}\" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6574\u4E2A\u6761\u4EF6\u8282, \u6216\u8005\u4EC5\u5305\u542B INCLUDE \u6216 IGNORE\u3002 +- MSG_ATTRIBUTE_NOT_DECLARED = \u5FC5\u987B\u4E3A\u5143\u7D20\u7C7B\u578B \"{0}\" \u58F0\u660E\u5C5E\u6027 \"{1}\"\u3002 +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u503C\u4E3A \"{1}\" \u7684\u5C5E\u6027 \"{0}\" \u5FC5\u987B\u5177\u6709\u5217\u8868 \"{2}\" \u4E2D\u7684\u503C\u3002 +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D, \u5C5E\u6027 \"{0}\" \u7684\u503C \"{1}\" \u4E0D\u80FD\u901A\u8FC7\u89C4\u8303\u5316\u8FDB\u884C\u66F4\u6539 (\u66F4\u6539\u4E3A \"{2}\")\u3002 +- MSG_CONTENT_INCOMPLETE = \u5143\u7D20\u7C7B\u578B\u4E3A \"{0}\" \u7684\u5185\u5BB9\u4E0D\u5B8C\u6574, \u5B83\u5FC5\u987B\u5339\u914D \"{1}\"\u3002 +- MSG_CONTENT_INVALID = \u5143\u7D20\u7C7B\u578B\u4E3A \"{0}\" \u7684\u5185\u5BB9\u5FC5\u987B\u5339\u914D \"{1}\"\u3002 +- MSG_CONTENT_INVALID_SPECIFIED = \u5143\u7D20\u7C7B\u578B\u4E3A \"{0}\" \u7684\u5185\u5BB9\u5FC5\u987B\u5339\u914D \"{1}\"\u3002\u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A \"{2}\" \u7684\u5B50\u7EA7\u3002 +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u7C7B\u578B\u4E3A \"{0}\" \u7684\u5C5E\u6027 \"{1}\" \u5177\u6709\u9ED8\u8BA4\u503C, \u5E76\u4E14\u5FC5\u987B\u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u6307\u5B9A\u3002 +- MSG_DUPLICATE_ATTDEF = \u5DF2\u7ECF\u4E3A\u5143\u7D20\u7C7B\u578B \"{0}\" \u58F0\u660E\u5C5E\u6027 \"{1}\"\u3002 +- MSG_ELEMENT_ALREADY_DECLARED = \u5143\u7D20\u7C7B\u578B \"{0}\" \u4E0D\u80FD\u58F0\u660E\u591A\u6B21\u3002 +- MSG_ELEMENT_NOT_DECLARED = \u5FC5\u987B\u58F0\u660E\u5143\u7D20\u7C7B\u578B \"{0}\"\u3002 ++ DuplicateTypeInMixedContent = \u5728\u5143\u7D20\u58F0\u660E "{0}" \u7684\u5185\u5BB9\u6A21\u578B\u4E2D\u5DF2\u7ECF\u6307\u5B9A\u4E86\u5143\u7D20\u7C7B\u578B "{1}"\u3002 ++ ENTITIESInvalid = \u7C7B\u578B\u4E3A ENTITIES \u7684\u5C5E\u6027\u503C "{1}" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u672A\u89E3\u6790\u5B9E\u4F53\u7684\u540D\u79F0\u3002 ++ ENTITYInvalid = \u7C7B\u578B\u4E3A ENTITY \u7684\u5C5E\u6027\u503C "{1}" \u5FC5\u987B\u662F\u672A\u89E3\u6790\u5B9E\u4F53\u7684\u540D\u79F0\u3002 ++ IDDefaultTypeInvalid = ID \u5C5E\u6027 "{0}" \u5FC5\u987B\u5177\u6709\u5DF2\u58F0\u660E\u7684\u9ED8\u8BA4\u503C "#IMPLIED" \u6216 "#REQUIRED"\u3002 ++ IDInvalid = \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F\u540D\u79F0\u3002 ++ IDInvalidWithNamespaces = \u542F\u7528\u540D\u79F0\u7A7A\u95F4\u65F6, \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F NCName\u3002 ++ IDNotUnique = \u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027\u503C "{0}" \u5728\u6587\u6863\u5185\u5FC5\u987B\u662F\u552F\u4E00\u7684\u3002 ++ IDREFInvalid = \u7C7B\u578B\u4E3A IDREF \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F\u540D\u79F0\u3002 ++ IDREFInvalidWithNamespaces = \u542F\u7528\u540D\u79F0\u7A7A\u95F4\u65F6, \u7C7B\u578B\u4E3A IDREF \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F NCName\u3002 ++ IDREFSInvalid = \u7C7B\u578B\u4E3A IDREFS \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u540D\u79F0\u3002 ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u5F53\u5B9E\u4F53\u5F15\u7528\u7528\u4F5C\u5B8C\u6574\u58F0\u660E\u65F6, \u53C2\u6570\u5B9E\u4F53 "{0}" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u58F0\u660E\u3002 ++ ImproperDeclarationNesting = \u53C2\u6570\u5B9E\u4F53 "{0}" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u58F0\u660E\u3002 ++ ImproperGroupNesting = \u53C2\u6570\u5B9E\u4F53 "{0}" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6B63\u786E\u5D4C\u5957\u7684\u62EC\u53F7\u5BF9\u3002 ++ INVALID_PE_IN_CONDITIONAL = \u53C2\u6570\u5B9E\u4F53 "{0}" \u7684\u66FF\u6362\u6587\u672C\u5FC5\u987B\u5305\u542B\u6574\u4E2A\u6761\u4EF6\u8282, \u6216\u8005\u4EC5\u5305\u542B INCLUDE \u6216 IGNORE\u3002 ++ MSG_ATTRIBUTE_NOT_DECLARED = \u5FC5\u987B\u4E3A\u5143\u7D20\u7C7B\u578B "{0}" \u58F0\u660E\u5C5E\u6027 "{1}"\u3002 ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u503C\u4E3A "{1}" \u7684\u5C5E\u6027 "{0}" \u5FC5\u987B\u5177\u6709\u5217\u8868 "{2}" \u4E2D\u7684\u503C\u3002 ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D, \u5C5E\u6027 "{0}" \u7684\u503C "{1}" \u4E0D\u80FD\u901A\u8FC7\u89C4\u8303\u5316\u8FDB\u884C\u66F4\u6539 (\u66F4\u6539\u4E3A "{2}")\u3002 ++ MSG_CONTENT_INCOMPLETE = \u5143\u7D20\u7C7B\u578B\u4E3A "{0}" \u7684\u5185\u5BB9\u4E0D\u5B8C\u6574, \u5B83\u5FC5\u987B\u5339\u914D "{1}"\u3002 ++ MSG_CONTENT_INVALID = \u5143\u7D20\u7C7B\u578B\u4E3A "{0}" \u7684\u5185\u5BB9\u5FC5\u987B\u5339\u914D "{1}"\u3002 ++ MSG_CONTENT_INVALID_SPECIFIED = \u5143\u7D20\u7C7B\u578B\u4E3A "{0}" \u7684\u5185\u5BB9\u5FC5\u987B\u5339\u914D "{1}"\u3002\u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A "{2}" \u7684\u5B50\u7EA7\u3002 ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u7C7B\u578B\u4E3A "{0}" \u7684\u5C5E\u6027 "{1}" \u5177\u6709\u9ED8\u8BA4\u503C, \u5E76\u4E14\u5FC5\u987B\u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u6307\u5B9A\u3002 ++ MSG_DUPLICATE_ATTDEF = \u5DF2\u7ECF\u4E3A\u5143\u7D20\u7C7B\u578B "{0}" \u58F0\u660E\u5C5E\u6027 "{1}"\u3002 ++ MSG_ELEMENT_ALREADY_DECLARED = \u5143\u7D20\u7C7B\u578B "{0}" \u4E0D\u80FD\u58F0\u660E\u591A\u6B21\u3002 ++ MSG_ELEMENT_NOT_DECLARED = \u5FC5\u987B\u58F0\u660E\u5143\u7D20\u7C7B\u578B "{0}"\u3002 + MSG_GRAMMAR_NOT_FOUND = \u6587\u6863\u65E0\u6548: \u627E\u4E0D\u5230\u8BED\u6CD5\u3002 +- MSG_ELEMENT_WITH_ID_REQUIRED = \u6587\u6863\u4E2D\u5FC5\u987B\u5305\u542B\u6807\u8BC6\u7B26\u4E3A \"{0}\" \u7684\u5143\u7D20\u3002 +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u4E0D\u5141\u8BB8\u5F15\u7528\u5916\u90E8\u5B9E\u4F53 \"{0}\"\u3002 +- MSG_FIXED_ATTVALUE_INVALID = \u503C\u4E3A \"{2}\" \u7684\u5C5E\u6027 \"{1}\" \u5FC5\u987B\u5177\u6709 \"{3}\" \u7684\u503C\u3002 +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u5143\u7D20\u7C7B\u578B \"{0}\" \u5DF2\u7ECF\u5177\u6709\u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027 \"{1}\", \u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A ID \u7684\u53E6\u4E00\u4E2A\u5C5E\u6027 \"{2}\"\u3002 +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u5143\u7D20\u7C7B\u578B \"{0}\" \u5DF2\u7ECF\u5177\u6709\u7C7B\u578B\u4E3A NOTATION \u7684\u5C5E\u6027 \"{1}\", \u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A NOTATION \u7684\u53E6\u4E00\u4E2A\u5C5E\u6027 \"{2}\"\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u5728\u5C5E\u6027 \"{0}\" \u7684\u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u4E2D\u5F15\u7528\u8BB0\u53F7 \"{1}\" \u65F6, \u5FC5\u987B\u58F0\u660E\u8BE5\u8BB0\u53F7\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \u5728 \"{0}\" \u7684\u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u58F0\u660E\u4E2D\u5F15\u7528\u8BB0\u53F7 \"{1}\" \u65F6, \u5FC5\u987B\u58F0\u660E\u8BE5\u8BB0\u53F7\u3002 +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u4E0D\u5141\u8BB8\u5F15\u7528\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5916\u90E8\u5B9E\u4F53\u4E2D\u58F0\u660E\u7684\u5B9E\u4F53 \"{0}\"\u3002 +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u9700\u8981\u5C5E\u6027 \"{1}\", \u5E76\u4E14\u5FC5\u987B\u4E3A\u5143\u7D20\u7C7B\u578B \"{0}\" \u6307\u5B9A\u8BE5\u5C5E\u6027\u3002 +- MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \u5BF9\u4E8E\u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u5177\u6709\u5143\u7D20\u5185\u5BB9\u7684\u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5916\u90E8\u5B9E\u4F53, \u5728\u8BE5\u5B9E\u4F53\u4E2D\u58F0\u660E\u7684\u5143\u7D20\u4E4B\u95F4\u4E0D\u80FD\u51FA\u73B0\u7A7A\u683C\u3002 +- NMTOKENInvalid = \u7C7B\u578B\u4E3A NMTOKEN \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F\u540D\u79F0\u6807\u8BB0\u3002 +- NMTOKENSInvalid = \u7C7B\u578B\u4E3A NMTOKENS \u7684\u5C5E\u6027\u503C \"{0}\" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u540D\u79F0\u6807\u8BB0\u3002 +- NoNotationOnEmptyElement = \u5DF2\u58F0\u660E\u4E3A EMPTY \u7684\u5143\u7D20\u7C7B\u578B \"{0}\" \u4E0D\u80FD\u58F0\u660E\u7C7B\u578B\u4E3A NOTATION \u7684\u5C5E\u6027 \"{1}\"\u3002 +- RootElementTypeMustMatchDoctypedecl = \u6587\u6863\u6839\u5143\u7D20 \"{1}\" \u5FC5\u987B\u5339\u914D DOCTYPE \u6839 \"{0}\"\u3002 +- UndeclaredElementInContentSpec = \u5143\u7D20 \"{0}\" \u7684\u5185\u5BB9\u6A21\u578B\u5F15\u7528\u672A\u58F0\u660E\u7684\u5143\u7D20 \"{1}\"\u3002 +- UniqueNotationName = \u8BB0\u53F7 \"{0}\" \u7684\u58F0\u660E\u4E0D\u662F\u552F\u4E00\u7684\u3002\u4E0D\u80FD\u5728\u591A\u4E2A\u8BB0\u53F7\u58F0\u660E\u4E2D\u58F0\u660E\u6307\u5B9A\u7684\u540D\u79F0\u3002 ++ MSG_ELEMENT_WITH_ID_REQUIRED = \u6587\u6863\u4E2D\u5FC5\u987B\u5305\u542B\u6807\u8BC6\u7B26\u4E3A "{0}" \u7684\u5143\u7D20\u3002 ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u4E0D\u5141\u8BB8\u5F15\u7528\u5916\u90E8\u5B9E\u4F53 "{0}"\u3002 ++ MSG_FIXED_ATTVALUE_INVALID = \u503C\u4E3A "{2}" \u7684\u5C5E\u6027 "{1}" \u5FC5\u987B\u5177\u6709 "{3}" \u7684\u503C\u3002 ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u5143\u7D20\u7C7B\u578B "{0}" \u5DF2\u7ECF\u5177\u6709\u7C7B\u578B\u4E3A ID \u7684\u5C5E\u6027 "{1}", \u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A ID \u7684\u53E6\u4E00\u4E2A\u5C5E\u6027 "{2}"\u3002 ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u5143\u7D20\u7C7B\u578B "{0}" \u5DF2\u7ECF\u5177\u6709\u7C7B\u578B\u4E3A NOTATION \u7684\u5C5E\u6027 "{1}", \u4E0D\u5141\u8BB8\u4F7F\u7528\u7C7B\u578B\u4E3A NOTATION \u7684\u53E6\u4E00\u4E2A\u5C5E\u6027 "{2}"\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u5728\u5C5E\u6027 "{0}" \u7684\u8BB0\u53F7\u7C7B\u578B\u5217\u8868\u4E2D\u5F15\u7528\u8BB0\u53F7 "{1}" \u65F6, \u5FC5\u987B\u58F0\u660E\u8BE5\u8BB0\u53F7\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \u5728 "{0}" \u7684\u672A\u89E3\u6790\u5B9E\u4F53\u58F0\u660E\u4E2D\u5F15\u7528\u8BB0\u53F7 "{1}" \u65F6, \u5FC5\u987B\u58F0\u660E\u8BE5\u8BB0\u53F7\u3002 ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u4E0D\u5141\u8BB8\u5F15\u7528\u5DF2\u89E3\u6790\u7684\u5916\u90E8\u5B9E\u4F53\u4E2D\u58F0\u660E\u7684\u5B9E\u4F53 "{0}"\u3002 ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u9700\u8981\u5C5E\u6027 "{1}", \u5E76\u4E14\u5FC5\u987B\u4E3A\u5143\u7D20\u7C7B\u578B "{0}" \u6307\u5B9A\u8BE5\u5C5E\u6027\u3002 ++ MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \u5BF9\u4E8E\u5728\u72EC\u7ACB\u6587\u6863\u4E2D\u5177\u6709\u5143\u7D20\u5185\u5BB9\u7684\u5DF2\u89E3\u6790\u7684\u5916\u90E8\u5B9E\u4F53, \u5728\u8BE5\u5B9E\u4F53\u4E2D\u58F0\u660E\u7684\u5143\u7D20\u4E4B\u95F4\u4E0D\u80FD\u51FA\u73B0\u7A7A\u683C\u3002 ++ NMTOKENInvalid = \u7C7B\u578B\u4E3A NMTOKEN \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F\u540D\u79F0\u6807\u8BB0\u3002 ++ NMTOKENSInvalid = \u7C7B\u578B\u4E3A NMTOKENS \u7684\u5C5E\u6027\u503C "{0}" \u5FC5\u987B\u662F\u4E00\u4E2A\u6216\u591A\u4E2A\u540D\u79F0\u6807\u8BB0\u3002 ++ NoNotationOnEmptyElement = \u5DF2\u58F0\u660E\u4E3A EMPTY \u7684\u5143\u7D20\u7C7B\u578B "{0}" \u4E0D\u80FD\u58F0\u660E\u7C7B\u578B\u4E3A NOTATION \u7684\u5C5E\u6027 "{1}"\u3002 ++ RootElementTypeMustMatchDoctypedecl = \u6587\u6863\u6839\u5143\u7D20 "{1}" \u5FC5\u987B\u5339\u914D DOCTYPE \u6839 "{0}"\u3002 ++ UndeclaredElementInContentSpec = \u5143\u7D20 "{0}" \u7684\u5185\u5BB9\u6A21\u578B\u5F15\u7528\u672A\u58F0\u660E\u7684\u5143\u7D20 "{1}"\u3002 ++ UniqueNotationName = \u8BB0\u53F7 "{0}" \u7684\u58F0\u660E\u4E0D\u662F\u552F\u4E00\u7684\u3002\u4E0D\u80FD\u5728\u591A\u4E2A\u8BB0\u53F7\u58F0\u660E\u4E2D\u58F0\u660E\u6307\u5B9A\u7684\u540D\u79F0\u3002 + ENTITYFailedInitializeGrammar = ENTITYDatatype \u9A8C\u8BC1\u7A0B\u5E8F: \u672A\u80FD\u4F7F\u7528\u6709\u6548\u7684\u8BED\u6CD5\u5F15\u7528\u8C03\u7528\u521D\u59CB\u5316\u65B9\u6CD5\u3002\t +- ENTITYNotUnparsed = ENTITY \"{0}\" \u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u3002 +- ENTITYNotValid = ENTITY \"{0}\" \u65E0\u6548\u3002 ++ ENTITYNotUnparsed = ENTITY "{0}" \u4E0D\u662F\u672A\u89E3\u6790\u7684\u3002 ++ ENTITYNotValid = ENTITY "{0}" \u65E0\u6548\u3002 + EmptyList = \u7C7B\u578B\u4E3A ENTITIES, IDREFS \u548C NMTOKENS \u7684\u503C\u4E0D\u80FD\u662F\u7A7A\u5217\u8868\u3002 + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = \u5C5E\u6027\u503C\u4E2D\u4E0D\u5141\u8BB8\u91C7\u7528\u5916\u90E8\u5B9E\u4F53\u5F15\u7528 \"&{0};\"\u3002 +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = \u5C5E\u6027\u503C\u4E2D\u4E0D\u5141\u8BB8\u91C7\u7528\u5916\u90E8\u5B9E\u4F53\u5F15\u7528 "&{0};"\u3002 ++ AccessExternalDTD = \u5916\u90E8 DTD: \u65E0\u6CD5\u8BFB\u53D6\u5916\u90E8 DTD ''{0}'', \u56E0\u4E3A accessExternalDTD \u5C5E\u6027\u8BBE\u7F6E\u7684\u9650\u5236\u5BFC\u81F4\u4E0D\u5141\u8BB8 ''{1}'' \u8BBF\u95EE\u3002 ++ AccessExternalEntity = \u5916\u90E8\u5B9E\u4F53: \u65E0\u6CD5\u8BFB\u53D6\u5916\u90E8\u6587\u6863 ''{0}'', \u56E0\u4E3A accessExternalDTD \u5C5E\u6027\u8BBE\u7F6E\u7684\u9650\u5236\u5BFC\u81F4\u4E0D\u5141\u8BB8 ''{1}'' \u8BBF\u95EE\u3002 + + # 4.1 Character and Entity References +- EntityNotDeclared = \u5F15\u7528\u4E86\u5B9E\u4F53 \"{0}\", \u4F46\u672A\u58F0\u660E\u5B83\u3002 +- ReferenceToUnparsedEntity = \u4E0D\u5141\u8BB8\u4F7F\u7528\u672A\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u5F15\u7528 \"&{0};\"\u3002 +- RecursiveReference = \u9012\u5F52\u5B9E\u4F53\u5F15\u7528 \"{0}\"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), +- RecursiveGeneralReference = \u9012\u5F52\u4E00\u822C\u5B9E\u4F53\u5F15\u7528 \"&{0};\"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), +- RecursivePEReference = \u9012\u5F52\u53C2\u6570\u5B9E\u4F53\u5F15\u7528 \"%{0};\"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), ++ EntityNotDeclared = \u5F15\u7528\u4E86\u5B9E\u4F53 "{0}", \u4F46\u672A\u58F0\u660E\u5B83\u3002 ++ ReferenceToUnparsedEntity = \u4E0D\u5141\u8BB8\u4F7F\u7528\u672A\u89E3\u6790\u7684\u5B9E\u4F53\u5F15\u7528 "&{0};"\u3002 ++ RecursiveReference = \u9012\u5F52\u5B9E\u4F53\u5F15\u7528 "{0}"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), ++ RecursiveGeneralReference = \u9012\u5F52\u4E00\u822C\u5B9E\u4F53\u5F15\u7528 "&{0};"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), ++ RecursivePEReference = \u9012\u5F52\u53C2\u6570\u5B9E\u4F53\u5F15\u7528 "%{0};"\u3002(\u5F15\u7528\u8DEF\u5F84: {1}), + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = \u4E0D\u652F\u6301\u7F16\u7801 \"{0}\"\u3002 +- EncodingRequired = \u5982\u679C\u5DF2\u8FDB\u884C\u8BED\u6CD5\u5206\u6790\u7684\u5B9E\u4F53\u672A\u4F7F\u7528 UTF-8 \u6216 UTF-16 \u8FDB\u884C\u7F16\u7801, \u5219\u8BE5\u5B9E\u4F53\u5FC5\u987B\u5305\u542B\u7F16\u7801\u58F0\u660E\u3002 ++ EncodingNotSupported = \u4E0D\u652F\u6301\u7F16\u7801 "{0}"\u3002 ++ EncodingRequired = \u5982\u679C\u5DF2\u89E3\u6790\u7684\u5B9E\u4F53\u672A\u4F7F\u7528 UTF-8 \u6216 UTF-16 \u8FDB\u884C\u7F16\u7801, \u5219\u8BE5\u5B9E\u4F53\u5FC5\u987B\u5305\u542B\u7F16\u7801\u58F0\u660E\u3002 + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = \u5143\u7D20\u6216\u5C5E\u6027\u4E0D\u5339\u914D QName \u751F\u4EA7: QName::=(NCName':')?NCName\u3002 +- ElementXMLNSPrefix = \u5143\u7D20 \"{0}\" \u4E0D\u80FD\u4F7F\u7528 \"xmlns\" \u4F5C\u4E3A\u524D\u7F00\u3002 +- ElementPrefixUnbound = \u5143\u7D20 \"{1}\" \u7684\u524D\u7F00 \"{0}\" \u672A\u7ED1\u5B9A\u3002 +- AttributePrefixUnbound = \u4E0E\u5143\u7D20\u7C7B\u578B \"{0}\" \u76F8\u5173\u8054\u7684\u5C5E\u6027 \"{1}\" \u7684\u524D\u7F00 \"{2}\" \u672A\u7ED1\u5B9A\u3002 +- EmptyPrefixedAttName = \u5C5E\u6027 \"{0}\" \u7684\u503C\u65E0\u6548\u3002\u5E26\u524D\u7F00\u7684\u540D\u79F0\u7A7A\u95F4\u7ED1\u5B9A\u4E0D\u80FD\u4E3A\u7A7A\u3002 +- PrefixDeclared = \u672A\u58F0\u660E\u540D\u79F0\u7A7A\u95F4\u524D\u7F00 \"{0}\"\u3002 ++ ElementXMLNSPrefix = \u5143\u7D20 "{0}" \u4E0D\u80FD\u4F7F\u7528 "xmlns" \u4F5C\u4E3A\u524D\u7F00\u3002 ++ ElementPrefixUnbound = \u5143\u7D20 "{1}" \u7684\u524D\u7F00 "{0}" \u672A\u7ED1\u5B9A\u3002 ++ AttributePrefixUnbound = \u4E0E\u5143\u7D20\u7C7B\u578B "{0}" \u76F8\u5173\u8054\u7684\u5C5E\u6027 "{1}" \u7684\u524D\u7F00 "{2}" \u672A\u7ED1\u5B9A\u3002 ++ EmptyPrefixedAttName = \u5C5E\u6027 "{0}" \u7684\u503C\u65E0\u6548\u3002\u5E26\u524D\u7F00\u7684\u540D\u79F0\u7A7A\u95F4\u7ED1\u5B9A\u4E0D\u80FD\u4E3A\u7A7A\u3002 ++ PrefixDeclared = \u672A\u58F0\u660E\u540D\u79F0\u7A7A\u95F4\u524D\u7F00 "{0}"\u3002 + CantBindXMLNS = \u524D\u7F00 "xmlns" \u4E0D\u80FD\u663E\u5F0F\u7ED1\u5B9A\u5230\u4EFB\u4F55\u540D\u79F0\u7A7A\u95F4; "xmlns" \u7684\u540D\u79F0\u7A7A\u95F4\u4E5F\u4E0D\u80FD\u663E\u5F0F\u7ED1\u5B9A\u5230\u4EFB\u4F55\u524D\u7F00\u3002 + CantBindXML = \u524D\u7F00 "xml" \u4E0D\u80FD\u7ED1\u5B9A\u5230\u9664\u5B83\u7684\u5E38\u7528\u540D\u79F0\u7A7A\u95F4\u5916\u7684\u4EFB\u4F55\u540D\u79F0\u7A7A\u95F4; "xml" \u7684\u540D\u79F0\u7A7A\u95F4\u4E5F\u4E0D\u80FD\u7ED1\u5B9A\u5230\u9664 "xml" \u5916\u7684\u4EFB\u4F55\u524D\u7F00\u3002 +- MSG_ATT_DEFAULT_INVALID = \u5C5E\u6027 \"{0}\" \u7684 defaultValue \"{1}\" \u975E\u6CD5, \u56E0\u4E3A\u6B64\u5C5E\u6027\u7C7B\u578B\u5177\u6709\u8BCD\u6C47\u7EA6\u675F\u6761\u4EF6\u3002 ++ MSG_ATT_DEFAULT_INVALID = \u5C5E\u6027 "{0}" \u7684 defaultValue "{1}" \u975E\u6CD5, \u56E0\u4E3A\u6B64\u5C5E\u6027\u7C7B\u578B\u5177\u6709\u8BCD\u6C47\u7EA6\u675F\u6761\u4EF6\u3002 + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +317,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=\u8BED\u6CD5\u5206\u6790\u5668\u5728\u6B64\u6587\u6863\u4E2D\u9047\u5230\u591A\u4E2A \"{0}\" \u5B9E\u4F53\u6269\u5C55; \u8FD9\u662F\u5E94\u7528\u7A0B\u5E8F\u65BD\u52A0\u7684\u9650\u5236\u3002 ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: \u89E3\u6790\u5668\u5728\u6B64\u6587\u6863\u4E2D\u9047\u5230\u591A\u4E2A "{0}" \u5B9E\u4F53\u6269\u5C55; \u8FD9\u662F JDK \u65BD\u52A0\u7684\u9650\u5236\u3002 ++ ElementAttributeLimit=JAXP00010002: \u5143\u7D20 "{0}" \u5177\u6709\u591A\u4E2A "{1}" \u5C5E\u6027, "{1}" \u662F JDK \u65BD\u52A0\u7684\u9650\u5236\u3002 ++ MaxEntitySizeLimit=JAXP00010003: \u5B9E\u4F53 "{0}" \u7684\u957F\u5EA6\u4E3A "{1}", \u8D85\u8FC7\u4E86 "{3}" \u8BBE\u7F6E\u7684 "{2}" \u9650\u5236\u3002 ++ TotalEntitySizeLimit=JAXP00010004: \u5B9E\u4F53\u7684\u7D2F\u8BA1\u5927\u5C0F "{0}" \u8D85\u8FC7\u4E86 "{2}" \u8BBE\u7F6E\u7684 "{1}" \u9650\u5236\u3002 ++ MaxXMLNameLimit=JAXP00010005: \u540D\u79F0 "{0}" \u8D85\u8FC7\u4E86 "{2}" \u8BBE\u7F6E\u7684 "{1}" \u9650\u5236\u3002 + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= \u5143\u7D20 \"{0}\" \u5177\u6709\u591A\u4E2A \"{1}\" \u5C5E\u6027, \"{1}\" \u662F\u5E94\u7528\u7A0B\u5E8F\u65BD\u52A0\u7684\u9650\u5236\u3002 +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_TW.properties 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_TW.properties 2013-12-01 11:13:41.000000000 -0800 +@@ -1,30 +1,27 @@ +-/* +- * 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ +- +-/* +- * Copyright (c) 2009 by Oracle Corporation. 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 ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# + + # This file contains error and warning messages related to XML + # The messages are arranged in key and value tuples in a ListResourceBundle. +@@ -48,14 +45,14 @@ + InvalidCharInProlog = \u5728\u6587\u4EF6\u5BA3\u544A\u96C6\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + # 2.4 Character Data and Markup +- CDEndInContent = \u5B57\u5143\u9806\u5E8F \"]]>\" \u4E0D\u53EF\u51FA\u73FE\u5728\u5167\u5BB9\u4E2D\uFF0C\u9664\u975E\u7528\u65BC\u6A19\u793A CDATA \u6BB5\u843D\u7684\u7D50\u5C3E\u3002 ++ CDEndInContent = \u5B57\u5143\u9806\u5E8F "]]>" \u4E0D\u53EF\u51FA\u73FE\u5728\u5167\u5BB9\u4E2D\uFF0C\u9664\u975E\u7528\u65BC\u6A19\u793A CDATA \u6BB5\u843D\u7684\u7D50\u5C3E\u3002 + # 2.7 CDATA Sections +- CDSectUnterminated = CDATA \u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F \"]]>\"\u3002 ++ CDSectUnterminated = CDATA \u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F "]]>"\u3002 + # 2.8 Prolog and Document Type Declaration + XMLDeclMustBeFirst = XML \u5BA3\u544A\u50C5\u80FD\u51FA\u73FE\u5728\u6587\u4EF6\u7684\u958B\u982D\u3002 +- EqRequiredInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C'' = '' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 \"{0}\" \u4E4B\u5F8C\u3002 +- QuoteRequiredInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C\"{0}\" \u4E4B\u5F8C\u7684\u503C\u5FC5\u9808\u662F\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u5B57\u4E32\u3002 +- XMLDeclUnterminated = XML \u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u662F \"?>\"\u3002 ++ EqRequiredInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C'' = '' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 "{0}" \u4E4B\u5F8C\u3002 ++ QuoteRequiredInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C"{0}" \u4E4B\u5F8C\u7684\u503C\u5FC5\u9808\u662F\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u5B57\u4E32\u3002 ++ XMLDeclUnterminated = XML \u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u662F "?>"\u3002 + VersionInfoRequired = XML \u5BA3\u544A\u4E2D\u9700\u8981\u7248\u672C\u3002 + SpaceRequiredBeforeVersionInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C\u7248\u672C\u865B\u64EC\u5C6C\u6027\u4E4B\u524D\u9700\u8981\u6709\u7A7A\u683C\u3002 + SpaceRequiredBeforeEncodingInXMLDecl = \u5728 XML \u5BA3\u544A\u4E2D\uFF0C\u7DE8\u78BC\u865B\u64EC\u5C6C\u6027\u4E4B\u524D\u9700\u8981\u6709\u7A7A\u683C\u3002 +@@ -71,90 +68,91 @@ + ReferenceIllegalInTrailingMisc=\u5C3E\u7AEF\u6BB5\u843D\u4E2D\u4E0D\u5141\u8A31\u53C3\u7167\u3002 + + # 2.9 Standalone Document Declaration +- SDDeclInvalid = \u7368\u7ACB\u6587\u4EF6\u5BA3\u544A\u503C\u5FC5\u9808\u662F \"yes\" \u6216 \"no\"\uFF0C\u800C\u975E \"{0}\"\u3002 ++ SDDeclInvalid = \u7368\u7ACB\u6587\u4EF6\u5BA3\u544A\u503C\u5FC5\u9808\u662F "yes" \u6216 "no"\uFF0C\u800C\u975E "{0}"\u3002 ++ SDDeclNameInvalid = XML \u5BA3\u544A\u4E2D\u7684\u7368\u7ACB\u540D\u7A31\u53EF\u80FD\u62FC\u932F\u4E86\u3002 + # 2.12 Language Identification +- XMLLangInvalid = xml:lang \u5C6C\u6027\u503C \"{0}\" \u70BA\u7121\u6548\u7684\u8A9E\u8A00 ID\u3002 ++ XMLLangInvalid = xml:lang \u5C6C\u6027\u503C "{0}" \u70BA\u7121\u6548\u7684\u8A9E\u8A00 ID\u3002 + # 3. Logical Structures +- ETagRequired = \u5143\u7D20\u985E\u578B \"{0}\" \u5FC5\u9808\u7531\u914D\u5C0D\u7684\u7D50\u675F\u6A19\u8A18 \"</{0}>\" \u7D42\u6B62\u3002 ++ ETagRequired = \u5143\u7D20\u985E\u578B "{0}" \u5FC5\u9808\u7531\u914D\u5C0D\u7684\u7D50\u675F\u6A19\u8A18 "</{0}>" \u7D42\u6B62\u3002 + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ElementUnterminated = \u5143\u7D20\u985E\u578B \"{0}\" \u4E4B\u5F8C\u5FC5\u9808\u7DCA\u63A5\u5C6C\u6027\u8A2D\u5B9A \">\" \u6216 \"/>\"\u3002 +- EqRequiredInAttribute = \u95DC\u806F\u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5C6C\u6027\u540D\u7A31 \"{1}\" \u4E4B\u5F8C\u5FC5\u9808\u7DCA\u63A5 '' = '' \u5B57\u5143\u3002 +- OpenQuoteExpected = \u95DC\u806F\u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5C6C\u6027 \"{1}\" \u9810\u671F\u6709\u958B\u982D\u5F15\u865F\u3002 +- CloseQuoteExpected = \u95DC\u806F\u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5C6C\u6027 \"{1}\" \u9810\u671F\u6709\u7D50\u675F\u5F15\u865F\u3002 +- AttributeNotUnique = \u5DF2\u7D93\u70BA\u5143\u7D20 \"{0}\" \u6307\u5B9A\u5C6C\u6027 \"{1}\"\u3002 +- AttributeNSNotUnique = \u5DF2\u7D93\u70BA\u5143\u7D20 \"{0}\" \u6307\u5B9A\u9023\u7D50\u547D\u540D\u7A7A\u9593 \"{2}\" \u7684\u5C6C\u6027 \"{1}\"\u3002 +- ETagUnterminated = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u7D50\u675F\u6A19\u8A18\u7D50\u5C3E\u5FC5\u9808\u662F ''>'' \u5206\u754C\u5B57\u5143\u3002 ++ ElementUnterminated = \u5143\u7D20\u985E\u578B "{0}" \u4E4B\u5F8C\u5FC5\u9808\u7DCA\u63A5\u5C6C\u6027\u8A2D\u5B9A ">" \u6216 "/>"\u3002 ++ EqRequiredInAttribute = \u95DC\u806F\u5143\u7D20\u985E\u578B "{0}" \u7684\u5C6C\u6027\u540D\u7A31 "{1}" \u4E4B\u5F8C\u5FC5\u9808\u7DCA\u63A5 '' = '' \u5B57\u5143\u3002 ++ OpenQuoteExpected = \u95DC\u806F\u5143\u7D20\u985E\u578B "{0}" \u7684\u5C6C\u6027 "{1}" \u9810\u671F\u6709\u958B\u982D\u5F15\u865F\u3002 ++ CloseQuoteExpected = \u95DC\u806F\u5143\u7D20\u985E\u578B "{0}" \u7684\u5C6C\u6027 "{1}" \u9810\u671F\u6709\u7D50\u675F\u5F15\u865F\u3002 ++ AttributeNotUnique = \u5DF2\u7D93\u70BA\u5143\u7D20 "{0}" \u6307\u5B9A\u5C6C\u6027 "{1}"\u3002 ++ AttributeNSNotUnique = \u5DF2\u7D93\u70BA\u5143\u7D20 "{0}" \u6307\u5B9A\u9023\u7D50\u547D\u540D\u7A7A\u9593 "{2}" \u7684\u5C6C\u6027 "{1}"\u3002 ++ ETagUnterminated = \u5143\u7D20\u985E\u578B "{0}" \u7684\u7D50\u675F\u6A19\u8A18\u7D50\u5C3E\u5FC5\u9808\u662F ''>'' \u5206\u754C\u5B57\u5143\u3002 + MarkupNotRecognizedInContent = \u5143\u7D20\u7684\u5167\u5BB9\u5FC5\u9808\u7531\u683C\u5F0F\u6B63\u78BA\u7684\u4F4D\u63CF\u8FF0\u8CC7\u6599\u6216\u6A19\u8A18\u6240\u7D44\u6210\u3002 + DoctypeIllegalInContent = \u5167\u5BB9\u4E0D\u5141\u8A31 DOCTYPE\u3002 + # 4.1 Character and Entity References + ReferenceUnterminated = \u53C3\u7167\u5FC5\u9808\u7531 ';' \u5206\u754C\u5B57\u5143\u7D42\u6B62\u3002 + # 4.3.2 Well-Formed Parsed Entities +- ReferenceNotInOneEntity = \u53C3\u7167\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u500B\u9AD4\u5167\u3002 +- ElementEntityMismatch = \u5143\u7D20 \"{0}\" \u7684\u958B\u982D\u8207\u7D50\u5C3E\u5FC5\u9808\u5728\u76F8\u540C\u500B\u9AD4\u5167\u3002 +- MarkupEntityMismatch=XML \u6587\u4EF6\u7D50\u69CB\u7684\u958B\u982D\u8207\u7D50\u5C3E\u5FC5\u9808\u5728\u76F8\u540C\u500B\u9AD4\u5167\u3002 ++ ReferenceNotInOneEntity = \u53C3\u7167\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u5BE6\u9AD4\u5167\u3002 ++ ElementEntityMismatch = \u5143\u7D20 "{0}" \u7684\u958B\u982D\u8207\u7D50\u5C3E\u5FC5\u9808\u5728\u76F8\u540C\u5BE6\u9AD4\u5167\u3002 ++ MarkupEntityMismatch=XML \u6587\u4EF6\u7D50\u69CB\u7684\u958B\u982D\u8207\u7D50\u5C3E\u5FC5\u9808\u5728\u76F8\u540C\u5BE6\u9AD4\u5167\u3002 + + # Messages common to Document and DTD + # 2.2 Characters +- InvalidCharInAttValue = \u5728\u5C6C\u6027 \"{1}\" \u7684\u503C\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{2}) \u4E14\u5143\u7D20\u70BA \"{0}\"\u3002 ++ InvalidCharInAttValue = \u5728\u5C6C\u6027 "{1}" \u7684\u503C\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{2}) \u4E14\u5143\u7D20\u70BA "{0}"\u3002 + InvalidCharInComment = \u5728\u8A3B\u89E3\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInPI = \u5728\u8655\u7406\u6307\u793A\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInInternalSubset = \u5728 DTD \u5167\u90E8\u5B50\u96C6\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInTextDecl = \u5728\u6587\u5B57\u5BA3\u544A\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + # 2.3 Common Syntactic Constructs +- QuoteRequiredInAttValue = \u5C6C\u6027 \"{1}\" \u7684\u503C\u958B\u982D\u5FC5\u9808\u70BA\u55AE\u5F15\u865F\u6216\u96D9\u5F15\u865F\u5B57\u5143\u3002 +- LessthanInAttValue = \u95DC\u806F\u5143\u7D20\u985E\u578B \"{0}\" \u4E4B\u5C6C\u6027 \"{1}\" \u7684\u503C\u4E0D\u53EF\u5305\u542B ''<'' \u5B57\u5143\u3002 +- AttributeValueUnterminated = \u5C6C\u6027 \"{1}\" \u7684\u503C\u7D50\u5C3E\u5FC5\u9808\u662F\u914D\u5C0D\u7684\u5F15\u865F\u5B57\u5143\u3002 ++ QuoteRequiredInAttValue = \u5C6C\u6027 "{1}" \u7684\u503C\u958B\u982D\u5FC5\u9808\u70BA\u55AE\u5F15\u865F\u6216\u96D9\u5F15\u865F\u5B57\u5143\u3002 ++ LessthanInAttValue = \u95DC\u806F\u5143\u7D20\u985E\u578B "{0}" \u4E4B\u5C6C\u6027 "{1}" \u7684\u503C\u4E0D\u53EF\u5305\u542B ''<'' \u5B57\u5143\u3002 ++ AttributeValueUnterminated = \u5C6C\u6027 "{1}" \u7684\u503C\u7D50\u5C3E\u5FC5\u9808\u662F\u914D\u5C0D\u7684\u5F15\u865F\u5B57\u5143\u3002 + # 2.5 Comments +- InvalidCommentStart = \u8A3B\u89E3\u958B\u982D\u5FC5\u9808\u70BA \"<!--\"\u3002 +- DashDashInComment = \u8A3B\u89E3\u4E0D\u5141\u8A31\u5B57\u4E32 \"--\"\u3002 +- CommentUnterminated = \u8A3B\u89E3\u7D50\u5C3E\u5FC5\u9808\u70BA \"-->\"\u3002 +- COMMENT_NOT_IN_ONE_ENTITY = \u8A3B\u89E3\u672A\u5305\u542B\u5728\u76F8\u540C\u500B\u9AD4\u5167\u3002 ++ InvalidCommentStart = \u8A3B\u89E3\u958B\u982D\u5FC5\u9808\u70BA "<!--"\u3002 ++ DashDashInComment = \u8A3B\u89E3\u4E0D\u5141\u8A31\u5B57\u4E32 "--"\u3002 ++ CommentUnterminated = \u8A3B\u89E3\u7D50\u5C3E\u5FC5\u9808\u70BA "-->"\u3002 ++ COMMENT_NOT_IN_ONE_ENTITY = \u8A3B\u89E3\u672A\u5305\u542B\u5728\u76F8\u540C\u5BE6\u9AD4\u5167\u3002 + # 2.6 Processing Instructions + PITargetRequired = \u8655\u7406\u6307\u793A\u7684\u958B\u982D\u5FC5\u9808\u662F\u76EE\u6A19\u7684\u540D\u7A31\u3002 + SpaceRequiredInPI = \u8655\u7406\u6307\u793A\u76EE\u6A19\u8207\u8CC7\u6599\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- PIUnterminated = \u8655\u7406\u6307\u793A\u7D50\u5C3E\u5FC5\u9808\u662F \"?>\"\u3002 +- ReservedPITarget = \u4E0D\u5141\u8A31\u7B26\u5408 \"[xX][mM][lL]\" \u7684\u8655\u7406\u6307\u793A\u76EE\u6A19\u3002 +- PI_NOT_IN_ONE_ENTITY = \u8655\u7406\u6307\u793A\u672A\u5305\u542B\u5728\u76F8\u540C\u500B\u9AD4\u5167\u3002 ++ PIUnterminated = \u8655\u7406\u6307\u793A\u7D50\u5C3E\u5FC5\u9808\u662F "?>"\u3002 ++ ReservedPITarget = \u4E0D\u5141\u8A31\u7B26\u5408 "[xX][mM][lL]" \u7684\u8655\u7406\u6307\u793A\u76EE\u6A19\u3002 ++ PI_NOT_IN_ONE_ENTITY = \u8655\u7406\u6307\u793A\u672A\u5305\u542B\u5728\u76F8\u540C\u5BE6\u9AD4\u5167\u3002 + # 2.8 Prolog and Document Type Declaration +- VersionInfoInvalid = \u7121\u6548\u7684\u7248\u672C \"{0}\"\u3002 +- VersionNotSupported = \u4E0D\u652F\u63F4 XML \u7248\u672C \"{0}\"\uFF0C\u50C5\u652F\u63F4 XML 1.0\u3002 +- VersionNotSupported11 = \u4E0D\u652F\u63F4 XML \u7248\u672C \"{0}\"\uFF0C\u50C5\u652F\u63F4 XML 1.0 \u8207 XML 1.1\u3002 +- VersionMismatch= \u500B\u9AD4\u4E0D\u53EF\u5305\u542B\u8F03\u65B0\u7248\u672C\u7684\u5176\u4ED6\u500B\u9AD4\u3002 ++ VersionInfoInvalid = \u7121\u6548\u7684\u7248\u672C "{0}"\u3002 ++ VersionNotSupported = \u4E0D\u652F\u63F4 XML \u7248\u672C "{0}"\uFF0C\u50C5\u652F\u63F4 XML 1.0\u3002 ++ VersionNotSupported11 = \u4E0D\u652F\u63F4 XML \u7248\u672C "{0}"\uFF0C\u50C5\u652F\u63F4 XML 1.0 \u8207 XML 1.1\u3002 ++ VersionMismatch= \u5BE6\u9AD4\u4E0D\u53EF\u5305\u542B\u8F03\u65B0\u7248\u672C\u7684\u5176\u4ED6\u5BE6\u9AD4\u3002 + # 4.1 Character and Entity References +- DigitRequiredInCharRef = \u5728\u5B57\u5143\u53C3\u7167\u4E2D\uFF0C\u5341\u9032\u4F4D\u8868\u793A\u6CD5\u5FC5\u9808\u7DCA\u63A5\u5728 \"&#\" \u4E4B\u5F8C\u3002 +- HexdigitRequiredInCharRef = \u5728\u5B57\u5143\u53C3\u7167\u4E2D\uFF0C\u5341\u516D\u9032\u4F4D\u8868\u793A\u6CD5\u5FC5\u9808\u7DCA\u63A5\u5728 \"&#x\" \u4E4B\u5F8C\u3002 ++ DigitRequiredInCharRef = \u5728\u5B57\u5143\u53C3\u7167\u4E2D\uFF0C\u5341\u9032\u4F4D\u8868\u793A\u6CD5\u5FC5\u9808\u7DCA\u63A5\u5728 "&#" \u4E4B\u5F8C\u3002 ++ HexdigitRequiredInCharRef = \u5728\u5B57\u5143\u53C3\u7167\u4E2D\uFF0C\u5341\u516D\u9032\u4F4D\u8868\u793A\u6CD5\u5FC5\u9808\u7DCA\u63A5\u5728 "&#x" \u4E4B\u5F8C\u3002 + SemicolonRequiredInCharRef = \u5B57\u5143\u53C3\u7167\u7684\u7D50\u5C3E\u5FC5\u9808\u662F ';' \u5206\u754C\u5B57\u5143\u3002 +- InvalidCharRef = \u5B57\u5143\u53C3\u7167 \"&#{0}\" \u70BA\u7121\u6548\u7684 XML \u5B57\u5143\u3002 +- NameRequiredInReference = \u5728\u500B\u9AD4\u53C3\u7167\u4E2D\uFF0C\u500B\u9AD4\u540D\u7A31\u5FC5\u9808\u7DCA\u63A5\u5728 '&' \u4E4B\u5F8C\u3002 +- SemicolonRequiredInReference = \u500B\u9AD4 \"{0}\" \u7684\u53C3\u7167\u7D50\u5C3E\u5FC5\u9808\u70BA '';'' \u5206\u754C\u5B57\u5143\u3002 ++ InvalidCharRef = \u5B57\u5143\u53C3\u7167 "&#{0}" \u70BA\u7121\u6548\u7684 XML \u5B57\u5143\u3002 ++ NameRequiredInReference = \u5728\u5BE6\u9AD4\u53C3\u7167\u4E2D\uFF0C\u5BE6\u9AD4\u540D\u7A31\u5FC5\u9808\u7DCA\u63A5\u5728 '&' \u4E4B\u5F8C\u3002 ++ SemicolonRequiredInReference = \u5BE6\u9AD4 "{0}" \u7684\u53C3\u7167\u7D50\u5C3E\u5FC5\u9808\u70BA '';'' \u5206\u754C\u5B57\u5143\u3002 + # 4.3.1 The Text Declaration +- TextDeclMustBeFirst = \u6587\u5B57\u5BA3\u544A\u50C5\u80FD\u51FA\u73FE\u5728\u5916\u90E8\u5256\u6790\u500B\u9AD4\u7684\u958B\u982D\u3002 +- EqRequiredInTextDecl = \u5728\u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C'' = '' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 \"{0}\" \u4E4B\u5F8C\u3002 +- QuoteRequiredInTextDecl = \u6587\u5B57\u5BA3\u544A\u4E2D \"{0}\" \u4E4B\u5F8C\u7684\u503C\u5FC5\u9808\u662F\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u5B57\u4E32\u3002 +- CloseQuoteMissingInTextDecl = \u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C\u907A\u6F0F \"{0}\" \u4E4B\u5F8C\u7684\u503C\u7684\u7D50\u675F\u5F15\u865F\u3002 ++ TextDeclMustBeFirst = \u6587\u5B57\u5BA3\u544A\u50C5\u80FD\u51FA\u73FE\u5728\u5916\u90E8\u5256\u6790\u5BE6\u9AD4\u7684\u958B\u982D\u3002 ++ EqRequiredInTextDecl = \u5728\u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C'' = '' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 "{0}" \u4E4B\u5F8C\u3002 ++ QuoteRequiredInTextDecl = \u6587\u5B57\u5BA3\u544A\u4E2D "{0}" \u4E4B\u5F8C\u7684\u503C\u5FC5\u9808\u662F\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u5B57\u4E32\u3002 ++ CloseQuoteMissingInTextDecl = \u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C\u907A\u6F0F "{0}" \u4E4B\u5F8C\u7684\u503C\u7684\u7D50\u675F\u5F15\u865F\u3002 + SpaceRequiredBeforeVersionInTextDecl = \u5728\u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C\u7248\u672C\u865B\u64EC\u5C6C\u6027\u4E4B\u524D\u9700\u8981\u6709\u7A7A\u683C\u3002 + SpaceRequiredBeforeEncodingInTextDecl = \u5728\u6587\u5B57\u5BA3\u544A\u4E2D\uFF0C\u7DE8\u78BC\u865B\u64EC\u5C6C\u6027\u4E4B\u524D\u9700\u8981\u6709\u7A7A\u683C\u3002 +- TextDeclUnterminated = \u6587\u5B57\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u662F \"?>\"\u3002 ++ TextDeclUnterminated = \u6587\u5B57\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u662F "?>"\u3002 + EncodingDeclRequired = \u6587\u5B57\u5BA3\u544A\u4E2D\u9700\u8981\u7DE8\u78BC\u5BA3\u544A\u3002 + NoMorePseudoAttributes = \u4E0D\u5141\u8A31\u66F4\u591A\u7684\u865B\u64EC\u5C6C\u6027\u3002 + MorePseudoAttributes = \u9810\u671F\u66F4\u591A\u7684\u865B\u64EC\u5C6C\u6027\u3002 + PseudoAttrNameExpected = \u9810\u671F\u4E00\u500B\u865B\u64EC\u5C6C\u6027\u540D\u7A31\u3002 + # 4.3.2 Well-Formed Parsed Entities +- CommentNotInOneEntity = \u8A3B\u89E3\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u500B\u9AD4\u5167\u3002 +- PINotInOneEntity = \u8655\u7406\u6307\u793A\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u500B\u9AD4\u5167\u3002 ++ CommentNotInOneEntity = \u8A3B\u89E3\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u5BE6\u9AD4\u5167\u3002 ++ PINotInOneEntity = \u8655\u7406\u6307\u793A\u5FC5\u9808\u6574\u500B\u5305\u542B\u5728\u76F8\u540C\u7684\u5256\u6790\u5BE6\u9AD4\u5167\u3002 + # 4.3.3 Character Encoding in Entities +- EncodingDeclInvalid = \u7121\u6548\u7684\u7DE8\u78BC\u540D\u7A31 \"{0}\"\u3002 +- EncodingByteOrderUnsupported = \u4E0D\u652F\u63F4\u7DE8\u78BC \"{0}\" \u7684\u6307\u5B9A\u4F4D\u5143\u7D44\u9806\u5E8F\u3002 ++ EncodingDeclInvalid = \u7121\u6548\u7684\u7DE8\u78BC\u540D\u7A31 "{0}"\u3002 ++ EncodingByteOrderUnsupported = \u4E0D\u652F\u63F4\u7DE8\u78BC "{0}" \u7684\u6307\u5B9A\u4F4D\u5143\u7D44\u9806\u5E8F\u3002 + InvalidByte = {1}-byte UTF-8 \u5E8F\u5217\u7684\u7121\u6548\u4F4D\u5143\u7D44 {0}\u3002 + ExpectedByte = {1}-byte UTF-8 \u5E8F\u5217\u9810\u671F\u7684\u4F4D\u5143\u7D44 {0}\u3002 + InvalidHighSurrogate = UTF-8 \u5E8F\u5217\u4E2D\u9AD8\u66FF\u4EE3\u4F4D\u5143\u4E0D\u53EF\u8D85\u904E 0x10\uFF0C\u4F46\u627E\u5230 0x{0}\u3002 +- OperationNotSupported = {1} \u8B80\u53D6\u5668\u4E0D\u652F\u63F4\u4F5C\u696D \"{0}\"\u3002 +- InvalidASCII = \u7D44\u5143\u7D44 \"{0}\" \u4E0D\u662F (7 \u4F4D\u5143) ASCII \u5B57\u5143\u96C6\u7684\u6210\u54E1\u3002 +- CharConversionFailure = \u6C7A\u5B9A\u4F7F\u7528\u7279\u5B9A\u7DE8\u78BC\u7684\u500B\u9AD4\uFF0C\u5728\u8A72\u7DE8\u78BC\u4E2D\u4E0D\u53EF\u5305\u542B\u7121\u6548\u7684\u5E8F\u5217\u3002 ++ OperationNotSupported = {1} \u8B80\u53D6\u5668\u4E0D\u652F\u63F4\u4F5C\u696D "{0}"\u3002 ++ InvalidASCII = \u7D44\u5143\u7D44 "{0}" \u4E0D\u662F (7 \u4F4D\u5143) ASCII \u5B57\u5143\u96C6\u7684\u6210\u54E1\u3002 ++ CharConversionFailure = \u6C7A\u5B9A\u4F7F\u7528\u7279\u5B9A\u7DE8\u78BC\u7684\u5BE6\u9AD4\uFF0C\u5728\u8A72\u7DE8\u78BC\u4E2D\u4E0D\u53EF\u5305\u542B\u7121\u6548\u7684\u5E8F\u5217\u3002 + + # DTD Messages + # 2.2 Characters +- InvalidCharInEntityValue = \u5728\u6587\u5B57\u500B\u9AD4\u503C\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 ++ InvalidCharInEntityValue = \u5728\u6587\u5B57\u5BE6\u9AD4\u503C\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInExternalSubset = \u5728 DTD \u5916\u90E8\u5B50\u96C6\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInIgnoreSect = \u5728\u6392\u9664\u7684\u689D\u4EF6\u6027\u6BB5\u843D\u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 + InvalidCharInPublicID = \u5728\u516C\u7528 ID \u4E2D\u627E\u5230\u7121\u6548\u7684 XML \u5B57\u5143 (Unicode: 0x{0})\u3002 +@@ -169,150 +167,150 @@ + PubidCharIllegal = \u516C\u7528 ID \u4E2D\u4E0D\u5141\u8A31\u5B57\u5143 (Unicode: 0x{0})\u3002 + SpaceRequiredBetweenPublicAndSystem = publicId \u8207 systemId \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 + # 2.8 Prolog and Document Type Declaration +- MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u5728\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u4E2D \"<!DOCTYPE\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 +- MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u5728\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u4E2D\uFF0C\u6839\u5143\u7D20\u985E\u578B\u5FC5\u9808\u51FA\u73FE\u5728 \"<!DOCTYPE\" \u4E4B\u5F8C\u3002 +- DoctypedeclUnterminated = \u6839\u5143\u7D20\u985E\u578B \"{0}\" \u7684\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 +- PEReferenceWithinMarkup = DTD \u5167\u90E8\u5B57\u96C6\u7684\u6A19\u8A18\u5167\u4E0D\u80FD\u51FA\u73FE\u53C3\u6578\u500B\u9AD4\u53C3\u7167 \"%{0};\"\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL = \u5728\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u4E2D "<!DOCTYPE" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_ROOT_ELEMENT_TYPE_REQUIRED = \u5728\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u4E2D\uFF0C\u6839\u5143\u7D20\u985E\u578B\u5FC5\u9808\u51FA\u73FE\u5728 "<!DOCTYPE" \u4E4B\u5F8C\u3002 ++ DoctypedeclUnterminated = \u6839\u5143\u7D20\u985E\u578B "{0}" \u7684\u6587\u4EF6\u985E\u578B\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 ++ PEReferenceWithinMarkup = DTD \u5167\u90E8\u5B57\u96C6\u7684\u6A19\u8A18\u5167\u4E0D\u80FD\u51FA\u73FE\u53C3\u6578\u5BE6\u9AD4\u53C3\u7167 "%{0};"\u3002 + MSG_MARKUP_NOT_RECOGNIZED_IN_DTD = \u6587\u4EF6\u985E\u578B\u5BA3\u544A\u5305\u542B\u6216\u6307\u5411\u7684\u6A19\u8A18\u5BA3\u544A\u5FC5\u9808\u683C\u5F0F\u6B63\u78BA\u3002 + # 2.10 White Space Handling +- MSG_XML_SPACE_DECLARATION_ILLEGAL = \"xml:space\" \u7684\u5C6C\u6027\u5BA3\u544A\u5FC5\u9808\u6307\u5B9A\u70BA\u5217\u8209\u985E\u578B\uFF0C\u5176\u53EF\u80FD\u7684\u503C\u70BA \"default\" \u8207 \"preserve\"\u3002 ++ MSG_XML_SPACE_DECLARATION_ILLEGAL = "xml:space" \u7684\u5C6C\u6027\u5BA3\u544A\u5FC5\u9808\u6307\u5B9A\u70BA\u5217\u8209\u985E\u578B\uFF0C\u5176\u53EF\u80FD\u7684\u503C\u70BA "default" \u8207 "preserve"\u3002 + # 3.2 Element Type Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D \"<!ELEMENT\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D "<!ELEMENT" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL = \u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D\u9700\u8981\u5143\u7D20\u985E\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D\u5143\u7D20\u985E\u578B \"{0}\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 +- MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D\u5143\u7D20\u985E\u578B \"{0}\" \u4E4B\u5F8C\u9700\u8981\u9650\u5236\u689D\u4EF6\u3002 +- ElementDeclUnterminated = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D\u5143\u7D20\u985E\u578B "{0}" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL = \u5728\u5143\u7D20\u985E\u578B\u5BA3\u544A\u4E2D\u5143\u7D20\u985E\u578B "{0}" \u4E4B\u5F8C\u9700\u8981\u9650\u5236\u689D\u4EF6\u3002 ++ ElementDeclUnterminated = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 + # 3.2.1 Element Content +- MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B ''('' \u5B57\u5143\u6216\u5143\u7D20\u985E\u578B\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B '')''\u3002 ++ MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B ''('' \u5B57\u5143\u6216\u5143\u7D20\u985E\u578B\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B '')''\u3002 + # 3.2.2 Mixed Content +- MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B\u5143\u7D20\u985E\u578B\u3002 +- MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B '')''\u3002 +- MixedContentUnterminated = \u5B50\u9805\u5143\u7D20\u7684\u985E\u578B\u53D7\u5230\u9650\u5236\u6642\uFF0C\u6DF7\u5408\u5167\u5BB9\u6A21\u578B \"{0}\" \u7684\u7D50\u5C3E\u5FC5\u9808\u70BA \")*\"\u3002 ++ MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B\u5143\u7D20\u985E\u578B\u3002 ++ MSG_CLOSE_PAREN_REQUIRED_IN_MIXED = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u4E00\u500B '')''\u3002 ++ MixedContentUnterminated = \u5B50\u9805\u5143\u7D20\u7684\u985E\u578B\u53D7\u5230\u9650\u5236\u6642\uFF0C\u6DF7\u5408\u5167\u5BB9\u6A21\u578B "{0}" \u7684\u7D50\u5C3E\u5FC5\u9808\u70BA ")*"\u3002 + # 3.3 Attribute-List Declarations +- MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5728 attribute-list \u5BA3\u544A\u4E2D \"<!ATTLIST\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL = \u5728 attribute-list \u5BA3\u544A\u4E2D "<!ATTLIST" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 + MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL = attribute-list \u5BA3\u544A\u4E2D\u9700\u8981\u5143\u7D20\u985E\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u5143\u7D20 \"{0}\" \u7684 attribute-list \u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u540D\u7A31\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 +- AttNameRequiredInAttDef = \u5143\u7D20 \"{0}\" \u7684 attribute-list \u5BA3\u544A\u5FC5\u9808\u6307\u5B9A\u5C6C\u6027\u540D\u7A31\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u5143\u7D20 \"{0}\" \u5C6C\u6027 \"{1}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u985E\u578B\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 +- AttTypeRequiredInAttDef = \u5143\u7D20 \"{0}\" \u5C6C\u6027 \"{1}\" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u5C6C\u6027\u985E\u578B\u3002 +- MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u5143\u7D20 \"{0}\" \u5C6C\u6027 \"{1}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u9810\u8A2D\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 +- MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u70BA\u6307\u5B9A\u5143\u7D20 \"{0}\" \u7684\u76F8\u540C\u5C6C\u6027 \"{1}\" \u63D0\u4F9B\u4E86\u8D85\u904E\u4E00\u500B\u4EE5\u4E0A\u7684\u5C6C\u6027\u5B9A\u7FA9\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF = \u5143\u7D20 "{0}" \u7684 attribute-list \u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u540D\u7A31\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 ++ AttNameRequiredInAttDef = \u5143\u7D20 "{0}" \u7684 attribute-list \u5BA3\u544A\u5FC5\u9808\u6307\u5B9A\u5C6C\u6027\u540D\u7A31\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF = \u5143\u7D20 "{0}" \u5C6C\u6027 "{1}" \u7684\u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u985E\u578B\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 ++ AttTypeRequiredInAttDef = \u5143\u7D20 "{0}" \u5C6C\u6027 "{1}" \u7684\u5BA3\u544A\u4E2D\u9700\u8981\u5C6C\u6027\u985E\u578B\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF = \u5143\u7D20 "{0}" \u5C6C\u6027 "{1}" \u7684\u5BA3\u544A\u4E2D\uFF0C\u5C6C\u6027\u9810\u8A2D\u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_DUPLICATE_ATTRIBUTE_DEFINITION = \u70BA\u6307\u5B9A\u5143\u7D20 "{0}" \u7684\u76F8\u540C\u5C6C\u6027 "{1}" \u63D0\u4F9B\u4E86\u8D85\u904E\u4E00\u500B\u4EE5\u4E0A\u7684\u5C6C\u6027\u5B9A\u7FA9\u3002 + # 3.3.1 Attribute Types +- MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = \"{1}\" \u5C6C\u6027\u5BA3\u544A\u4E2D \"NOTATION\" \u4E4B\u5F8C\u5FC5\u9808\u6709\u7A7A\u683C\u3002 +- MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \u5728 \"{1}\" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C''('' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 \"NOTATION\" \u4E4B\u5F8C\u3002 +- MSG_NAME_REQUIRED_IN_NOTATIONTYPE = \"{1}\" \u5C6C\u6027\u5BA3\u544A\u7684\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u4E2D\uFF0C\u9700\u8981\u8868\u793A\u6CD5\u540D\u7A31\u3002 +- NotationTypeUnterminated = \u5728 \"{1}\" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '')''\u3002 +- MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = \"{1}\" \u5C6C\u6027\u5BA3\u544A\u7684\u5217\u8209\u985E\u578B\u6E05\u55AE\u4E2D\uFF0C\u9700\u8981\u540D\u7A31\u8A18\u865F\u3002 +- EnumerationUnterminated = \u5728 \"{1}\" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C\u5217\u8209\u985E\u578B\u6E05\u55AE\u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '')''\u3002 +- MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u5143\u7D20 \"{0}\" \u7684\u5C6C\u6027 \"{2}\" \u5BA3\u544A\u4E2D\uFF0C\u6307\u5B9A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u7684\u5217\u8209\u503C \"{1}\"\u3002\u55AE\u4E00 Enumeration \u5C6C\u6027\u5BA3\u544A\u4E2D\u7684 NMTOKENS \u5FC5\u9808\u5168\u90E8\u90FD\u4E0D\u76F8\u540C\u3002 +- MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u5143\u7D20 \"{0}\" \u5C6C\u6027 \"{2}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\u6307\u5B9A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u7684\u5217\u8209\u503C \"{1}\"\u3002\u55AE\u4E00 NotationType \u5C6C\u6027\u5BA3\u544A\u4E2D\u7684 NOTATION \u540D\u7A31\u5FC5\u9808\u5168\u90E8\u90FD\u4E0D\u76F8\u540C\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE = "{1}" \u5C6C\u6027\u5BA3\u544A\u4E2D "NOTATION" \u4E4B\u5F8C\u5FC5\u9808\u6709\u7A7A\u683C\u3002 ++ MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE = \u5728 "{1}" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C''('' \u5B57\u5143\u5FC5\u9808\u7DCA\u63A5\u5728 "NOTATION" \u4E4B\u5F8C\u3002 ++ MSG_NAME_REQUIRED_IN_NOTATIONTYPE = "{1}" \u5C6C\u6027\u5BA3\u544A\u7684\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u4E2D\uFF0C\u9700\u8981\u8868\u793A\u6CD5\u540D\u7A31\u3002 ++ NotationTypeUnterminated = \u5728 "{1}" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '')''\u3002 ++ MSG_NMTOKEN_REQUIRED_IN_ENUMERATION = "{1}" \u5C6C\u6027\u5BA3\u544A\u7684\u5217\u8209\u985E\u578B\u6E05\u55AE\u4E2D\uFF0C\u9700\u8981\u540D\u7A31\u8A18\u865F\u3002 ++ EnumerationUnterminated = \u5728 "{1}" \u5C6C\u6027\u5BA3\u544A\u4E2D\uFF0C\u5217\u8209\u985E\u578B\u6E05\u55AE\u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '')''\u3002 ++ MSG_DISTINCT_TOKENS_IN_ENUMERATION = \u5143\u7D20 "{0}" \u7684\u5C6C\u6027 "{2}" \u5BA3\u544A\u4E2D\uFF0C\u6307\u5B9A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u7684\u5217\u8209\u503C "{1}"\u3002\u55AE\u4E00 Enumeration \u5C6C\u6027\u5BA3\u544A\u4E2D\u7684 NMTOKENS \u5FC5\u9808\u5168\u90E8\u90FD\u4E0D\u76F8\u540C\u3002 ++ MSG_DISTINCT_NOTATION_IN_ENUMERATION = \u5143\u7D20 "{0}" \u5C6C\u6027 "{2}" \u7684\u5BA3\u544A\u4E2D\uFF0C\u6307\u5B9A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u7684\u5217\u8209\u503C "{1}"\u3002\u55AE\u4E00 NotationType \u5C6C\u6027\u5BA3\u544A\u4E2D\u7684 NOTATION \u540D\u7A31\u5FC5\u9808\u5168\u90E8\u90FD\u4E0D\u76F8\u540C\u3002 + # 3.3.2 Attribute Defaults +- MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = \"{1}\" \u5C6C\u6027\u5BA3\u544A\u4E2D \"FIXED\" \u4E4B\u5F8C\u5FC5\u9808\u6709\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL = "{1}" \u5C6C\u6027\u5BA3\u544A\u4E2D "FIXED" \u4E4B\u5F8C\u5FC5\u9808\u6709\u7A7A\u683C\u3002 + # 3.4 Conditional Sections +- IncludeSectUnterminated = \u5305\u542B\u689D\u4EF6\u6027\u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F \"]]>\"\u3002 +- IgnoreSectUnterminated = \u6392\u9664\u689D\u4EF6\u6027\u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F \"]]>\"\u3002 ++ IncludeSectUnterminated = \u5305\u542B\u689D\u4EF6\u6027\u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F "]]>"\u3002 ++ IgnoreSectUnterminated = \u6392\u9664\u689D\u4EF6\u6027\u6BB5\u843D\u7D50\u5C3E\u5FC5\u9808\u662F "]]>"\u3002 + # 4.1 Character and Entity References +- NameRequiredInPEReference = \u5728\u53C3\u6578\u500B\u9AD4\u53C3\u7167\u4E2D\uFF0C\u500B\u9AD4\u540D\u7A31\u5FC5\u9808\u7DCA\u63A5\u5728 '%' \u4E4B\u5F8C\u3002 +- SemicolonRequiredInPEReference = \u53C3\u6578\u500B\u9AD4\u53C3\u7167 \"%{0};\" \u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '';'' \u5206\u754C\u5B57\u5143\u3002 ++ NameRequiredInPEReference = \u5728\u53C3\u6578\u5BE6\u9AD4\u53C3\u7167\u4E2D\uFF0C\u5BE6\u9AD4\u540D\u7A31\u5FC5\u9808\u7DCA\u63A5\u5728 '%' \u4E4B\u5F8C\u3002 ++ SemicolonRequiredInPEReference = \u53C3\u6578\u5BE6\u9AD4\u53C3\u7167 "%{0};" \u7684\u7D50\u5C3E\u5FC5\u9808\u70BA '';'' \u5206\u754C\u5B57\u5143\u3002 + # 4.2 Entity Declarations +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u5728\u500B\u9AD4\u5BA3\u544A\u4E2D \"<!ENTITY\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u5728\u53C3\u6578\u500B\u9AD4\u5BA3\u544A\u4E2D\uFF0C\"<!ENTITY\" \u8207 '%' \u5B57\u5143\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \u5728\u53C3\u6578\u500B\u9AD4\u5BA3\u544A\u4E2D\uFF0C'%' \u8207\u500B\u9AD4\u540D\u7A31\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = \u500B\u9AD4\u5BA3\u544A\u4E2D\u9700\u8981\u500B\u9AD4\u7684\u540D\u7A31\u3002 +- MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u5728\u500B\u9AD4\u5BA3\u544A\u4E2D\uFF0C\u500B\u9AD4\u540D\u7A31 \"{0}\" \u8207\u5B9A\u7FA9\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u5728\u500B\u9AD4 \"{0}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\"NDATA\" \u8207\u8868\u793A\u6CD5\u540D\u7A31\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u5728\u500B\u9AD4 \"{0}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\"NDATA\" \u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 +- MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u5728\u500B\u9AD4 \"{0}\" \u7684\u5BA3\u544A\u4E2D\uFF0C\"NDATA\" \u4E4B\u5F8C\u9700\u8981\u8868\u793A\u6CD5\u540D\u7A31\u3002 +- EntityDeclUnterminated = \u500B\u9AD4 \"{0}\" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 +- MSG_DUPLICATE_ENTITY_DEFINITION = \u500B\u9AD4 \"{0}\" \u5BA3\u544A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5BE6\u9AD4\u5BA3\u544A\u4E2D "<!ENTITY" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL = \u5728\u53C3\u6578\u5BE6\u9AD4\u5BA3\u544A\u4E2D\uFF0C"<!ENTITY" \u8207 '%' \u5B57\u5143\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL = \u5728\u53C3\u6578\u5BE6\u9AD4\u5BA3\u544A\u4E2D\uFF0C'%' \u8207\u5BE6\u9AD4\u540D\u7A31\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL = \u5BE6\u9AD4\u5BA3\u544A\u4E2D\u9700\u8981\u5BE6\u9AD4\u7684\u540D\u7A31\u3002 ++ MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL = \u5728\u5BE6\u9AD4\u5BA3\u544A\u4E2D\uFF0C\u5BE6\u9AD4\u540D\u7A31 "{0}" \u8207\u5B9A\u7FA9\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL = \u5728\u5BE6\u9AD4 "{0}" \u7684\u5BA3\u544A\u4E2D\uFF0C"NDATA" \u8207\u8868\u793A\u6CD5\u540D\u7A31\u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = \u5728\u5BE6\u9AD4 "{0}" \u7684\u5BA3\u544A\u4E2D\uFF0C"NDATA" \u4E4B\u524D\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = \u5728\u5BE6\u9AD4 "{0}" \u7684\u5BA3\u544A\u4E2D\uFF0C"NDATA" \u4E4B\u5F8C\u9700\u8981\u8868\u793A\u6CD5\u540D\u7A31\u3002 ++ EntityDeclUnterminated = \u5BE6\u9AD4 "{0}" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 ++ MSG_DUPLICATE_ENTITY_DEFINITION = \u5BE6\u9AD4 "{0}" \u5BA3\u544A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u3002 + # 4.2.2 External Entities +- ExternalIDRequired = \u5916\u90E8\u500B\u9AD4\u5BA3\u544A\u7684\u958B\u982D\u5FC5\u9808\u70BA \"SYSTEM\" \u6216 \"PUBLIC\"\u3002 +- MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = \"PUBLIC\" \u8207\u516C\u7528 ID \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ ExternalIDRequired = \u5916\u90E8\u5BE6\u9AD4\u5BA3\u544A\u7684\u958B\u982D\u5FC5\u9808\u70BA "SYSTEM" \u6216 "PUBLIC"\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = "PUBLIC" \u8207\u516C\u7528 ID \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 + MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID = \u516C\u7528 ID \u8207\u7CFB\u7D71 ID \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = \"SYSTEM\" \u8207\u7CFB\u7D71 ID \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 +- MSG_URI_FRAGMENT_IN_SYSTEMID = \u7247\u6BB5 ID \u4E0D\u61C9\u6307\u5B9A\u70BA\u7CFB\u7D71 ID \"{0}\" \u7684\u4E00\u90E8\u5206\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID = "SYSTEM" \u8207\u7CFB\u7D71 ID \u4E4B\u9593\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_URI_FRAGMENT_IN_SYSTEMID = \u7247\u6BB5 ID \u4E0D\u61C9\u6307\u5B9A\u70BA\u7CFB\u7D71 ID "{0}" \u7684\u4E00\u90E8\u5206\u3002 + # 4.7 Notation Declarations +- MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D \"<!NOTATION\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D "<!NOTATION" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 + MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL = \u8868\u793A\u6CD5\u5BA3\u544A\u4E2D\u9700\u8981\u8868\u793A\u6CD5\u7684\u540D\u7A31\u3002 +- MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D\u8868\u793A\u6CD5\u540D\u7A31 \"{0}\" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 +- ExternalIDorPublicIDRequired = \u8868\u793A\u6CD5 \"{0}\" \u7684\u5BA3\u544A\u5FC5\u9808\u5305\u542B\u7CFB\u7D71\u6216\u516C\u7528 ID\u3002 +- NotationDeclUnterminated = \u8868\u793A\u6CD5 \"{0}\" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 ++ MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL = \u5728\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D\u8868\u793A\u6CD5\u540D\u7A31 "{0}" \u4E4B\u5F8C\u9700\u8981\u7A7A\u683C\u3002 ++ ExternalIDorPublicIDRequired = \u8868\u793A\u6CD5 "{0}" \u7684\u5BA3\u544A\u5FC5\u9808\u5305\u542B\u7CFB\u7D71\u6216\u516C\u7528 ID\u3002 ++ NotationDeclUnterminated = \u8868\u793A\u6CD5 "{0}" \u7684\u5BA3\u544A\u7D50\u5C3E\u5FC5\u9808\u70BA ''>''\u3002 + + # Validation messages +- DuplicateTypeInMixedContent = \u5143\u7D20\u5BA3\u544A \"{0}\" \u7684\u5167\u5BB9\u6A21\u578B\u4E2D\u5DF2\u7D93\u6307\u5B9A\u5143\u7D20\u985E\u578B \"{1}\"\u3002 +- ENTITIESInvalid = \u985E\u578B ENTITIES \u7684\u5C6C\u6027\u503C \"{1}\" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u672A\u5256\u6790\u500B\u9AD4\u7684\u540D\u7A31\u3002 +- ENTITYInvalid = \u985E\u578B ENTITY \u7684\u5C6C\u6027\u503C \"{1}\" \u5FC5\u9808\u662F\u4E00\u500B\u672A\u5256\u6790\u500B\u9AD4\u7684\u540D\u7A31\u3002 +- IDDefaultTypeInvalid = ID \u5C6C\u6027 \"{0}\" \u5FC5\u9808\u5177\u6709 \"#IMPLIED\" \u6216 \"#REQUIRED\" \u7684\u5BA3\u544A\u9810\u8A2D\u3002 +- IDInvalid = \u985E\u578B ID \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u540D\u7A31\u3002 +- IDInvalidWithNamespaces = \u555F\u7528\u547D\u540D\u7A7A\u9593\u6642\uFF0C\u985E\u578B ID \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F NCName\u3002 +- IDNotUnique = \u985E\u578B ID \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u6587\u4EF6\u5167\u7684\u552F\u4E00\u503C\u3002 +- IDREFInvalid = \u985E\u578B IDREF \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u540D\u7A31\u3002 +- IDREFInvalidWithNamespaces = \u555F\u7528\u547D\u540D\u7A7A\u9593\u6642\uFF0C\u985E\u578B IDREF \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F NCName\u3002 +- IDREFSInvalid = \u985E\u578B IDREFS \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u540D\u7A31\u3002 +- ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u7576\u500B\u9AD4\u53C3\u7167\u7576\u4F5C\u5B8C\u6574\u5BA3\u544A\u6642\uFF0C\u53C3\u6578\u500B\u9AD4 \"{0}\" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u5BA3\u544A\u3002 +- ImproperDeclarationNesting = \u53C3\u6578\u500B\u9AD4 \"{0}\" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u5BA3\u544A\u3002 +- ImproperGroupNesting = \u53C3\u6578\u500B\u9AD4 \"{0}\" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u6210\u5C0D\u62EC\u865F\u3002 +- INVALID_PE_IN_CONDITIONAL = \u53C3\u6578\u500B\u9AD4 \"{0}\" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6574\u500B\u689D\u4EF6\u6027\u6BB5\u843D\u6216\u50C5\u5305\u542B INCLUDE \u6216 IGNORE\u3002 +- MSG_ATTRIBUTE_NOT_DECLARED = \u5143\u7D20\u985E\u578B \"{0}\" \u5FC5\u9808\u5BA3\u544A\u5C6C\u6027 \"{1}\"\u3002 +- MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u5177\u6709\u503C \"{1}\" \u7684\u5C6C\u6027 \"{0}\" \u5FC5\u9808\u5177\u6709\u4F86\u81EA\u6E05\u55AE \"{2}\" \u7684\u503C\u3002 +- MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u5C6C\u6027 \"{0}\" \u7684\u503C \"{1}\" \u4E0D\u53EF\u900F\u904E\u6B63\u898F\u5316\u9032\u884C\u8B8A\u66F4 (\u6210\u70BA \"{2}\")\u3002 +- MSG_CONTENT_INCOMPLETE = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5167\u5BB9\u4E0D\u5B8C\u6574\uFF0C\u5B83\u5FC5\u9808\u914D\u5C0D \"{1}\"\u3002 +- MSG_CONTENT_INVALID = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5167\u5BB9\u5FC5\u9808\u914D\u5C0D \"{1}\"\u3002 +- MSG_CONTENT_INVALID_SPECIFIED = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5167\u5BB9\u5FC5\u9808\u914D\u5C0D \"{1}\"\u3002\u4E0D\u5141\u8A31\u985E\u578B \"{2}\" \u7684\u5B50\u9805\u3002 +- MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u985E\u578B \"{0}\" \u7684\u5C6C\u6027 \"{1}\" \u5177\u6709\u9810\u8A2D\u503C\uFF0C\u4E14\u5FC5\u9808\u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\u6307\u5B9A\u3002 +- MSG_DUPLICATE_ATTDEF = \u5143\u7D20\u985E\u578B \"{0}\" \u5DF2\u7D93\u5BA3\u544A\u5C6C\u6027 \"{1}\"\u3002 +- MSG_ELEMENT_ALREADY_DECLARED = \u5143\u7D20\u985E\u578B \"{0}\" \u4E0D\u53EF\u5BA3\u544A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u3002 +- MSG_ELEMENT_NOT_DECLARED = \u5FC5\u9808\u5BA3\u544A\u5143\u7D20\u985E\u578B \"{0}\"\u3002 ++ DuplicateTypeInMixedContent = \u5143\u7D20\u5BA3\u544A "{0}" \u7684\u5167\u5BB9\u6A21\u578B\u4E2D\u5DF2\u7D93\u6307\u5B9A\u5143\u7D20\u985E\u578B "{1}"\u3002 ++ ENTITIESInvalid = \u985E\u578B ENTITIES \u7684\u5C6C\u6027\u503C "{1}" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u672A\u5256\u6790\u5BE6\u9AD4\u7684\u540D\u7A31\u3002 ++ ENTITYInvalid = \u985E\u578B ENTITY \u7684\u5C6C\u6027\u503C "{1}" \u5FC5\u9808\u662F\u4E00\u500B\u672A\u5256\u6790\u5BE6\u9AD4\u7684\u540D\u7A31\u3002 ++ IDDefaultTypeInvalid = ID \u5C6C\u6027 "{0}" \u5FC5\u9808\u5177\u6709 "#IMPLIED" \u6216 "#REQUIRED" \u7684\u5BA3\u544A\u9810\u8A2D\u3002 ++ IDInvalid = \u985E\u578B ID \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u540D\u7A31\u3002 ++ IDInvalidWithNamespaces = \u555F\u7528\u547D\u540D\u7A7A\u9593\u6642\uFF0C\u985E\u578B ID \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F NCName\u3002 ++ IDNotUnique = \u985E\u578B ID \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u6587\u4EF6\u5167\u7684\u552F\u4E00\u503C\u3002 ++ IDREFInvalid = \u985E\u578B IDREF \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u540D\u7A31\u3002 ++ IDREFInvalidWithNamespaces = \u555F\u7528\u547D\u540D\u7A7A\u9593\u6642\uFF0C\u985E\u578B IDREF \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F NCName\u3002 ++ IDREFSInvalid = \u985E\u578B IDREFS \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u540D\u7A31\u3002 ++ ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL = \u7576\u5BE6\u9AD4\u53C3\u7167\u7576\u4F5C\u5B8C\u6574\u5BA3\u544A\u6642\uFF0C\u53C3\u6578\u5BE6\u9AD4 "{0}" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u5BA3\u544A\u3002 ++ ImproperDeclarationNesting = \u53C3\u6578\u5BE6\u9AD4 "{0}" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u5BA3\u544A\u3002 ++ ImproperGroupNesting = \u53C3\u6578\u5BE6\u9AD4 "{0}" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6B63\u78BA\u5DE2\u72C0\u7D50\u69CB\u7684\u6210\u5C0D\u62EC\u865F\u3002 ++ INVALID_PE_IN_CONDITIONAL = \u53C3\u6578\u5BE6\u9AD4 "{0}" \u7684\u53D6\u4EE3\u6587\u5B57\u5FC5\u9808\u5305\u542B\u6574\u500B\u689D\u4EF6\u6027\u6BB5\u843D\u6216\u50C5\u5305\u542B INCLUDE \u6216 IGNORE\u3002 ++ MSG_ATTRIBUTE_NOT_DECLARED = \u5143\u7D20\u985E\u578B "{0}" \u5FC5\u9808\u5BA3\u544A\u5C6C\u6027 "{1}"\u3002 ++ MSG_ATTRIBUTE_VALUE_NOT_IN_LIST = \u5177\u6709\u503C "{1}" \u7684\u5C6C\u6027 "{0}" \u5FC5\u9808\u5177\u6709\u4F86\u81EA\u6E05\u55AE "{2}" \u7684\u503C\u3002 ++ MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u5C6C\u6027 "{0}" \u7684\u503C "{1}" \u4E0D\u53EF\u900F\u904E\u6B63\u898F\u5316\u9032\u884C\u8B8A\u66F4 (\u6210\u70BA "{2}")\u3002 ++ MSG_CONTENT_INCOMPLETE = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5167\u5BB9\u4E0D\u5B8C\u6574\uFF0C\u5B83\u5FC5\u9808\u914D\u5C0D "{1}"\u3002 ++ MSG_CONTENT_INVALID = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5167\u5BB9\u5FC5\u9808\u914D\u5C0D "{1}"\u3002 ++ MSG_CONTENT_INVALID_SPECIFIED = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5167\u5BB9\u5FC5\u9808\u914D\u5C0D "{1}"\u3002\u4E0D\u5141\u8A31\u985E\u578B "{2}" \u7684\u5B50\u9805\u3002 ++ MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u985E\u578B "{0}" \u7684\u5C6C\u6027 "{1}" \u5177\u6709\u9810\u8A2D\u503C\uFF0C\u4E14\u5FC5\u9808\u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\u6307\u5B9A\u3002 ++ MSG_DUPLICATE_ATTDEF = \u5143\u7D20\u985E\u578B "{0}" \u5DF2\u7D93\u5BA3\u544A\u5C6C\u6027 "{1}"\u3002 ++ MSG_ELEMENT_ALREADY_DECLARED = \u5143\u7D20\u985E\u578B "{0}" \u4E0D\u53EF\u5BA3\u544A\u8D85\u904E\u4E00\u6B21\u4EE5\u4E0A\u3002 ++ MSG_ELEMENT_NOT_DECLARED = \u5FC5\u9808\u5BA3\u544A\u5143\u7D20\u985E\u578B "{0}"\u3002 + MSG_GRAMMAR_NOT_FOUND = \u6587\u4EF6\u7121\u6548: \u627E\u4E0D\u5230\u6587\u6CD5\u3002 +- MSG_ELEMENT_WITH_ID_REQUIRED = ID \u70BA \"{0}\" \u7684\u5143\u7D20\u5FC5\u9808\u51FA\u73FE\u5728\u6587\u4EF6\u4E2D\u3002 +- MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u7368\u7ACB\u6587\u4EF6\u4E2D\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u500B\u9AD4 \"{0}\"\u3002 +- MSG_FIXED_ATTVALUE_INVALID = \u5177\u6709\u503C \"{2}\" \u7684\u5C6C\u6027 \"{1}\" \u5FC5\u9808\u5177\u6709 \"{3}\" \u7684\u503C\u3002 +- MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u5143\u7D20\u985E\u578B \"{0}\" \u5DF2\u7D93\u5177\u6709\u985E\u578B ID \u7684\u5C6C\u6027 \"{1}\"\uFF0C\u4E0D\u5141\u8A31\u8A72\u985E\u578B ID \u7684\u7B2C\u4E8C\u500B\u5C6C\u6027 \"{2}\"\u3002 +- MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u5143\u7D20\u985E\u578B \"{0}\" \u5DF2\u7D93\u5177\u6709\u985E\u578B NOTATION \u7684\u5C6C\u6027 \"{1}\"\uFF0C\u4E0D\u5141\u8A31\u8A72\u985E\u578B NOTATION \u7684\u7B2C\u4E8C\u500B\u5C6C\u6027 \"{2}\"\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u82E5\u8981\u5728\u5C6C\u6027 \"{0}\" \u7684\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u4E2D\u53C3\u7167\u8868\u793A\u6CD5 \"{1}\"\uFF0C\u5FC5\u9808\u4E88\u4EE5\u5BA3\u544A\u3002 +- MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \u82E5\u8981\u5728 \"{0}\" \u7684\u672A\u5256\u6790\u500B\u9AD4\u5BA3\u544A\u4E2D\u53C3\u7167\u8868\u793A\u6CD5 \"{1}\"\uFF0C\u5FC5\u9808\u4E88\u4EE5\u5BA3\u544A\u3002 +- MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u5256\u6790\u500B\u9AD4\u4E2D\u5BA3\u544A\u7684\u500B\u9AD4 \"{0}\"\u3002 +- MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u985E\u578B \"{0}\" \u9700\u8981\u5C6C\u6027 \"{1}\" \u4E14\u5FC5\u9808\u4E88\u4EE5\u6307\u5B9A\u3002 +- MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u5177\u6709\u5143\u7D20\u5167\u5BB9\u7684\u5916\u90E8\u5256\u6790\u500B\u9AD4\u4E2D\u5BA3\u544A\u7684\u5143\u7D20\u4E4B\u9593\uFF0C\u4E0D\u53EF\u6709\u7A7A\u683C\u3002 +- NMTOKENInvalid = \u985E\u578B NMTOKEN \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u540D\u7A31\u8A18\u865F\u3002 +- NMTOKENSInvalid = \u985E\u578B NMTOKENS \u7684\u5C6C\u6027\u503C \"{0}\" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u540D\u7A31\u8A18\u865F\u3002 +- NoNotationOnEmptyElement = \u5BA3\u544A EMPTY \u7684\u5143\u7D20\u985E\u578B \"{0}\" \u4E0D\u53EF\u5BA3\u544A\u985E\u578B NOTATION \u7684\u5C6C\u6027 \"{1}\"\u3002 +- RootElementTypeMustMatchDoctypedecl = \u6587\u4EF6\u6839\u5143\u7D20 \"{1}\" \u5FC5\u9808\u914D\u5C0D DOCTYPE \u6839 \"{0}\"\u3002 +- UndeclaredElementInContentSpec = \u5143\u7D20 \"{0}\" \u7684\u5167\u5BB9\u6A21\u578B\u53C3\u7167\u672A\u5BA3\u544A\u7684\u5143\u7D20 \"{1}\"\u3002 +- UniqueNotationName = \u8868\u793A\u6CD5 \"{0}\" \u7684\u5BA3\u544A\u4E26\u975E\u552F\u4E00\u3002\u6307\u5B9A\u7684 Name \u4E0D\u80FD\u5728\u4E00\u500B\u4EE5\u4E0A\u7684\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D\u5BA3\u544A\u3002 ++ MSG_ELEMENT_WITH_ID_REQUIRED = ID \u70BA "{0}" \u7684\u5143\u7D20\u5FC5\u9808\u51FA\u73FE\u5728\u6587\u4EF6\u4E2D\u3002 ++ MSG_EXTERNAL_ENTITY_NOT_PERMITTED = \u7368\u7ACB\u6587\u4EF6\u4E2D\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u5BE6\u9AD4 "{0}"\u3002 ++ MSG_FIXED_ATTVALUE_INVALID = \u5177\u6709\u503C "{2}" \u7684\u5C6C\u6027 "{1}" \u5FC5\u9808\u5177\u6709 "{3}" \u7684\u503C\u3002 ++ MSG_MORE_THAN_ONE_ID_ATTRIBUTE = \u5143\u7D20\u985E\u578B "{0}" \u5DF2\u7D93\u5177\u6709\u985E\u578B ID \u7684\u5C6C\u6027 "{1}"\uFF0C\u4E0D\u5141\u8A31\u8A72\u985E\u578B ID \u7684\u7B2C\u4E8C\u500B\u5C6C\u6027 "{2}"\u3002 ++ MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE = \u5143\u7D20\u985E\u578B "{0}" \u5DF2\u7D93\u5177\u6709\u985E\u578B NOTATION \u7684\u5C6C\u6027 "{1}"\uFF0C\u4E0D\u5141\u8A31\u8A72\u985E\u578B NOTATION \u7684\u7B2C\u4E8C\u500B\u5C6C\u6027 "{2}"\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE = \u82E5\u8981\u5728\u5C6C\u6027 "{0}" \u7684\u8868\u793A\u6CD5\u985E\u578B\u6E05\u55AE\u4E2D\u53C3\u7167\u8868\u793A\u6CD5 "{1}"\uFF0C\u5FC5\u9808\u4E88\u4EE5\u5BA3\u544A\u3002 ++ MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL = \u82E5\u8981\u5728 "{0}" \u7684\u672A\u5256\u6790\u5BE6\u9AD4\u5BA3\u544A\u4E2D\u53C3\u7167\u8868\u793A\u6CD5 "{1}"\uFF0C\u5FC5\u9808\u4E88\u4EE5\u5BA3\u544A\u3002 ++ MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u5256\u6790\u5BE6\u9AD4\u4E2D\u5BA3\u544A\u7684\u5BE6\u9AD4 "{0}"\u3002 ++ MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED = \u5143\u7D20\u985E\u578B "{0}" \u9700\u8981\u5C6C\u6027 "{1}" \u4E14\u5FC5\u9808\u4E88\u4EE5\u6307\u5B9A\u3002 ++ MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = \u5728\u7368\u7ACB\u6587\u4EF6\u4E2D\uFF0C\u5177\u6709\u5143\u7D20\u5167\u5BB9\u7684\u5916\u90E8\u5256\u6790\u5BE6\u9AD4\u4E2D\u5BA3\u544A\u7684\u5143\u7D20\u4E4B\u9593\uFF0C\u4E0D\u53EF\u6709\u7A7A\u683C\u3002 ++ NMTOKENInvalid = \u985E\u578B NMTOKEN \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u540D\u7A31\u8A18\u865F\u3002 ++ NMTOKENSInvalid = \u985E\u578B NMTOKENS \u7684\u5C6C\u6027\u503C "{0}" \u5FC5\u9808\u662F\u4E00\u6216\u591A\u500B\u540D\u7A31\u8A18\u865F\u3002 ++ NoNotationOnEmptyElement = \u5BA3\u544A EMPTY \u7684\u5143\u7D20\u985E\u578B "{0}" \u4E0D\u53EF\u5BA3\u544A\u985E\u578B NOTATION \u7684\u5C6C\u6027 "{1}"\u3002 ++ RootElementTypeMustMatchDoctypedecl = \u6587\u4EF6\u6839\u5143\u7D20 "{1}" \u5FC5\u9808\u914D\u5C0D DOCTYPE \u6839 "{0}"\u3002 ++ UndeclaredElementInContentSpec = \u5143\u7D20 "{0}" \u7684\u5167\u5BB9\u6A21\u578B\u53C3\u7167\u672A\u5BA3\u544A\u7684\u5143\u7D20 "{1}"\u3002 ++ UniqueNotationName = \u8868\u793A\u6CD5 "{0}" \u7684\u5BA3\u544A\u4E26\u975E\u552F\u4E00\u3002\u6307\u5B9A\u7684 Name \u4E0D\u80FD\u5728\u4E00\u500B\u4EE5\u4E0A\u7684\u8868\u793A\u6CD5\u5BA3\u544A\u4E2D\u5BA3\u544A\u3002 + ENTITYFailedInitializeGrammar = ENTITYDatatype \u9A57\u8B49\u7A0B\u5F0F: \u5931\u6557\u3002\u9700\u8981\u4F7F\u7528\u6709\u6548\u7684\u6587\u6CD5\u53C3\u7167\u4F86\u547C\u53EB\u8D77\u59CB\u65B9\u6CD5\u3002 \t +- ENTITYNotUnparsed = ENTITY \"{0}\" \u4E26\u975E\u672A\u7D93\u5256\u6790\u3002 +- ENTITYNotValid = ENTITY \"{0}\" \u7121\u6548\u3002 ++ ENTITYNotUnparsed = ENTITY "{0}" \u4E26\u975E\u672A\u7D93\u5256\u6790\u3002 ++ ENTITYNotValid = ENTITY "{0}" \u7121\u6548\u3002 + EmptyList = \u985E\u578B ENTITIES\u3001IDREFS \u8207 NMTOKENS \u7684\u503C\u4E0D\u53EF\u70BA\u7A7A\u767D\u6E05\u55AE\u3002 + + # Entity related messages + # 3.1 Start-Tags, End-Tags, and Empty-Element Tags +- ReferenceToExternalEntity = \u5C6C\u6027\u503C\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u500B\u9AD4 \"&{0};\"\u3002 +- AccessExternalDTD = External DTD: Failed to read external DTD ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. +- AccessExternalEntity = External Entity: Failed to read external document ''{0}'', because ''{1}'' access is not allowed due to restriction set by the accessExternalDTD property. ++ ReferenceToExternalEntity = \u5C6C\u6027\u503C\u4E0D\u5141\u8A31\u53C3\u7167\u5916\u90E8\u5BE6\u9AD4 "&{0};"\u3002 ++ AccessExternalDTD = \u5916\u90E8 DTD: \u7121\u6CD5\u8B80\u53D6\u5916\u90E8 DTD ''{0}''\uFF0C\u56E0\u70BA accessExternalDTD \u5C6C\u6027\u8A2D\u5B9A\u7684\u9650\u5236\uFF0C\u6240\u4EE5\u4E0D\u5141\u8A31 ''{1}'' \u5B58\u53D6\u3002 ++ AccessExternalEntity = \u5916\u90E8\u5BE6\u9AD4: \u7121\u6CD5\u8B80\u53D6\u5916\u90E8\u6587\u4EF6 ''{0}''\uFF0C\u56E0\u70BA accessExternalDTD \u5C6C\u6027\u8A2D\u5B9A\u7684\u9650\u5236\uFF0C\u6240\u4EE5\u4E0D\u5141\u8A31 ''{1}'' \u5B58\u53D6\u3002 + + # 4.1 Character and Entity References +- EntityNotDeclared = \u53C3\u7167\u4E86\u500B\u9AD4 \"{0}\"\uFF0C\u4F46\u662F\u672A\u5BA3\u544A\u3002 +- ReferenceToUnparsedEntity = \u4E0D\u5141\u8A31\u672A\u5256\u6790\u7684\u500B\u9AD4\u53C3\u7167 \"&{0};\"\u3002 +- RecursiveReference = \u905E\u8FF4\u500B\u9AD4\u53C3\u7167 \"{0}\"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C +- RecursiveGeneralReference = \u905E\u8FF4\u4E00\u822C\u500B\u9AD4\u53C3\u7167 \"&{0};\"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C +- RecursivePEReference = \u905E\u8FF4\u53C3\u6578\u500B\u9AD4\u53C3\u7167 \"%{0};\"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C ++ EntityNotDeclared = \u53C3\u7167\u4E86\u5BE6\u9AD4 "{0}"\uFF0C\u4F46\u662F\u672A\u5BA3\u544A\u3002 ++ ReferenceToUnparsedEntity = \u4E0D\u5141\u8A31\u672A\u5256\u6790\u7684\u5BE6\u9AD4\u53C3\u7167 "&{0};"\u3002 ++ RecursiveReference = \u905E\u8FF4\u5BE6\u9AD4\u53C3\u7167 "{0}"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C ++ RecursiveGeneralReference = \u905E\u8FF4\u4E00\u822C\u5BE6\u9AD4\u53C3\u7167 "&{0};"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C ++ RecursivePEReference = \u905E\u8FF4\u53C3\u6578\u5BE6\u9AD4\u53C3\u7167 "%{0};"\u3002(\u53C3\u7167\u8DEF\u5F91: {1})\uFF0C + # 4.3.3 Character Encoding in Entities +- EncodingNotSupported = \u4E0D\u652F\u63F4\u7DE8\u78BC \"{0}\"\u3002 +- EncodingRequired = \u672A\u4F7F\u7528 UTF-8 \u6216 UTF-16 \u7DE8\u78BC\u7684\u5256\u6790\u500B\u9AD4\uFF0C\u5FC5\u9808\u5305\u542B\u7DE8\u78BC\u5BA3\u544A\u3002 ++ EncodingNotSupported = \u4E0D\u652F\u63F4\u7DE8\u78BC "{0}"\u3002 ++ EncodingRequired = \u672A\u4F7F\u7528 UTF-8 \u6216 UTF-16 \u7DE8\u78BC\u7684\u5256\u6790\u5BE6\u9AD4\uFF0C\u5FC5\u9808\u5305\u542B\u7DE8\u78BC\u5BA3\u544A\u3002 + + # Namespaces support + # 4. Using Qualified Names + IllegalQName = \u5143\u7D20\u6216\u5C6C\u6027\u4E0D\u7B26\u5408 QName \u7522\u751F: QName::=(NCName':')?NCName\u3002 +- ElementXMLNSPrefix = \u5143\u7D20 \"{0}\" \u4E0D\u80FD\u4F7F\u7528 \"xmlns\" \u4F5C\u70BA\u524D\u7F6E\u78BC\u3002 +- ElementPrefixUnbound = \u5143\u7D20 \"{1}\" \u7684\u524D\u7F6E\u78BC \"{0}\" \u672A\u9023\u7D50\u3002 +- AttributePrefixUnbound = \u95DC\u806F\u5143\u7D20\u985E\u578B \"{0}\" \u4E4B\u5C6C\u6027 \"{1}\" \u7684\u524D\u7F6E\u78BC \"{2}\" \u672A\u9023\u7D50\u3002 +- EmptyPrefixedAttName = \u5C6C\u6027 \"{0}\" \u7684\u503C\u7121\u6548\u3002\u524D\u7F6E\u7684\u547D\u540D\u7A7A\u9593\u9023\u7D50\u4E0D\u53EF\u70BA\u7A7A\u767D\u3002 +- PrefixDeclared = \u672A\u5BA3\u544A\u547D\u540D\u7A7A\u9593\u524D\u7F6E\u78BC \"{0}\"\u3002 ++ ElementXMLNSPrefix = \u5143\u7D20 "{0}" \u4E0D\u80FD\u4F7F\u7528 "xmlns" \u4F5C\u70BA\u524D\u7F6E\u78BC\u3002 ++ ElementPrefixUnbound = \u5143\u7D20 "{1}" \u7684\u524D\u7F6E\u78BC "{0}" \u672A\u9023\u7D50\u3002 ++ AttributePrefixUnbound = \u95DC\u806F\u5143\u7D20\u985E\u578B "{0}" \u4E4B\u5C6C\u6027 "{1}" \u7684\u524D\u7F6E\u78BC "{2}" \u672A\u9023\u7D50\u3002 ++ EmptyPrefixedAttName = \u5C6C\u6027 "{0}" \u7684\u503C\u7121\u6548\u3002\u524D\u7F6E\u7684\u547D\u540D\u7A7A\u9593\u9023\u7D50\u4E0D\u53EF\u70BA\u7A7A\u767D\u3002 ++ PrefixDeclared = \u672A\u5BA3\u544A\u547D\u540D\u7A7A\u9593\u524D\u7F6E\u78BC "{0}"\u3002 + CantBindXMLNS = \u524D\u7F6E\u78BC "xmlns" \u7121\u6CD5\u660E\u78BA\u9023\u7D50\u4EFB\u4F55\u547D\u540D\u7A7A\u9593; "xmlns" \u7684\u547D\u540D\u7A7A\u9593\u4E5F\u7121\u6CD5\u660E\u78BA\u9023\u7D50\u4EFB\u4F55\u524D\u7F6E\u78BC\u3002 + CantBindXML = \u524D\u7F6E\u78BC "xml" \u7121\u6CD5\u9023\u7D50\u4E00\u822C\u547D\u540D\u7A7A\u9593\u4E4B\u5916\u7684\u4EFB\u4F55\u547D\u540D\u7A7A\u9593; "xml" \u7684\u547D\u540D\u7A7A\u9593\u4E5F\u7121\u6CD5\u9023\u7D50 "xml" \u4E4B\u5916\u7684\u4EFB\u4F55\u547D\u540D\u7A7A\u9593\u3002 +- MSG_ATT_DEFAULT_INVALID = \u7531\u65BC\u6B64\u5C6C\u6027\u985E\u578B\u7684\u8A9E\u5F59\u9650\u5236\u689D\u4EF6\uFF0C\u5C6C\u6027 \"{0}\" \u7684 defaultValue \"{1}\" \u7121\u6548\u3002 ++ MSG_ATT_DEFAULT_INVALID = \u7531\u65BC\u6B64\u5C6C\u6027\u985E\u578B\u7684\u8A9E\u5F59\u9650\u5236\u689D\u4EF6\uFF0C\u5C6C\u6027 "{0}" \u7684 defaultValue "{1}" \u7121\u6548\u3002 + + # REVISIT: These need messages + MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID=MSG_SPACE_REQUIRED_AFTER_SYSTEMLITERAL_IN_EXTERNALID +@@ -320,8 +318,10 @@ + InvalidCharInLiteral=InvalidCharInLiteral + + +-#Application can set the limit of number of entities that should be expanded by the parser. +-EntityExpansionLimitExceeded=\u5256\u6790\u5668\u5728\u6B64\u6587\u4EF6\u4E2D\u906D\u9047 \"{0}\" \u500B\u4EE5\u4E0A\u7684\u500B\u9AD4\u64F4\u5145; \u6B64\u70BA\u61C9\u7528\u7A0B\u5F0F\u6240\u898F\u5B9A\u7684\u9650\u5236\u3002 ++# Implementation limits ++ EntityExpansionLimitExceeded=JAXP00010001: \u5256\u6790\u5668\u5728\u6B64\u6587\u4EF6\u4E2D\u9047\u5230 "{0}" \u500B\u4EE5\u4E0A\u7684\u5BE6\u9AD4\u64F4\u5145; \u9019\u662F JDK \u6240\u898F\u5B9A\u7684\u9650\u5236\u3002 ++ ElementAttributeLimit=JAXP00010002: \u5143\u7D20 "{0}" \u5177\u6709\u8D85\u904E "{1}" \u500B\u4EE5\u4E0A\u7684\u5C6C\u6027\uFF0C"{1}" \u662F JDK \u6240\u898F\u5B9A\u7684\u9650\u5236\u3002 ++ MaxEntitySizeLimit=JAXP00010003: \u5BE6\u9AD4 "{0}" \u7684\u9577\u5EA6\u70BA "{1}"\uFF0C\u8D85\u904E "{3}" \u6240\u8A2D\u5B9A\u7684 "{2}" \u9650\u5236\u3002 ++ TotalEntitySizeLimit=JAXP00010004: \u5BE6\u9AD4\u7684\u7D2F\u7A4D\u5927\u5C0F "{0}" \u8D85\u904E "{2}" \u8A2D\u5B9A\u7684 "{1}" \u9650\u5236\u3002 ++ MaxXMLNameLimit=JAXP00010005: \u540D\u7A31 "{0}" \u8D85\u904E "{2}" \u8A2D\u5B9A\u7684 "{1}" \u9650\u5236\u3002 + +-# Application can set the limit of number of attributes of entity that should be expanded by the parser. +-ElementAttributeLimit= \u5143\u7D20 \"{0}\" \u5177\u6709\u8D85\u904E \"{1}\" \u500B\u4EE5\u4E0A\u7684\u5C6C\u6027\uFF0C\"{1}\" \u70BA\u61C9\u7528\u7A0B\u5F0F\u6240\u898F\u5B9A\u7684\u9650\u5236\u3002 +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/CMNodeFactory.java 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/CMNodeFactory.java 2013-12-01 11:13:41.000000000 -0800 +@@ -21,13 +21,13 @@ + + package com.sun.org.apache.xerces.internal.impl.xs.models; + ++import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter; +-import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager; +-import com.sun.org.apache.xerces.internal.util.SecurityManager ; + import com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode; +-import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException; + import com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter; +-import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; ++import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager; ++import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException; + + /** + * +@@ -68,7 +68,7 @@ + + // stores defaults for different security holes (maxOccurLimit in current context) if it has + // been set on the configuration. +- private SecurityManager fSecurityManager = null; ++ private XMLSecurityManager fSecurityManager = null; + + /** default constructor */ + public CMNodeFactory() { +@@ -77,10 +77,10 @@ + public void reset(XMLComponentManager componentManager){ + fErrorReporter = (XMLErrorReporter)componentManager.getProperty(ERROR_REPORTER); + try { +- fSecurityManager = (SecurityManager)componentManager.getProperty(SECURITY_MANAGER); ++ fSecurityManager = (XMLSecurityManager)componentManager.getProperty(SECURITY_MANAGER); + //we are setting the limit of number of nodes to 3times the maxOccur value.. + if(fSecurityManager != null){ +- maxNodeLimit = fSecurityManager.getMaxOccurNodeLimit() * MULTIPLICITY ; ++ maxNodeLimit = fSecurityManager.getLimit(XMLSecurityManager.Limit.MAX_OCCUR_NODE_LIMIT) * MULTIPLICITY ; + } + } + catch (XMLConfigurationException e) { +@@ -109,7 +109,8 @@ + } + + public void nodeCountCheck(){ +- if( fSecurityManager != null && nodeCount++ > maxNodeLimit){ ++ if( fSecurityManager != null && !fSecurityManager.isNoLimit(maxNodeLimit) && ++ nodeCount++ > maxNodeLimit){ + if(DEBUG){ + System.out.println("nodeCount = " + nodeCount ) ; + System.out.println("nodeLimit = " + maxNodeLimit ) ; +@@ -150,8 +151,9 @@ + + if (suffixLength == Constants.SECURITY_MANAGER_PROPERTY.length() && + propertyId.endsWith(Constants.SECURITY_MANAGER_PROPERTY)) { +- fSecurityManager = (SecurityManager)value; +- maxNodeLimit = (fSecurityManager != null) ? fSecurityManager.getMaxOccurNodeLimit() * MULTIPLICITY : 0 ; ++ fSecurityManager = (XMLSecurityManager)value; ++ maxNodeLimit = (fSecurityManager != null) ? ++ fSecurityManager.getLimit(XMLSecurityManager.Limit.MAX_OCCUR_NODE_LIMIT) * MULTIPLICITY : 0 ; + return; + } + if (suffixLength == Constants.ERROR_REPORTER_PROPERTY.length() && +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker.java 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker.java 2013-12-01 11:13:41.000000000 -0800 +@@ -40,6 +40,7 @@ + import com.sun.org.apache.xerces.internal.util.SymbolTable; + import com.sun.org.apache.xerces.internal.util.XMLChar; + import com.sun.org.apache.xerces.internal.util.XMLSymbols; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.xni.QName; + import com.sun.org.apache.xerces.internal.xs.XSConstants; + import java.util.HashMap; +@@ -1194,8 +1195,8 @@ + if (!optimize) { + //Revisit :: IMO this is not right place to check + // maxOccurNodeLimit. +- int maxOccurNodeLimit = fSchemaHandler.fSecureProcessing.getMaxOccurNodeLimit(); +- if (max > maxOccurNodeLimit) { ++ int maxOccurNodeLimit = fSchemaHandler.fSecureProcessing.getLimit(XMLSecurityManager.Limit.MAX_OCCUR_NODE_LIMIT); ++ if (max > maxOccurNodeLimit && !fSchemaHandler.fSecureProcessing.isNoLimit(maxOccurNodeLimit)) { + reportSchemaFatalError("maxOccurLimit", new Object[] {new Integer(maxOccurNodeLimit)}, element); + + // reset max values in case processing continues on error +--- jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java 2013-09-06 11:22:59.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java 2013-12-01 11:13:41.000000000 -0800 +@@ -70,7 +70,6 @@ + import com.sun.org.apache.xerces.internal.util.DefaultErrorHandler; + import com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper; + import com.sun.org.apache.xerces.internal.util.SAXInputSource; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.StAXInputSource; + import com.sun.org.apache.xerces.internal.util.StAXLocationWrapper; + import com.sun.org.apache.xerces.internal.util.SymbolHash; +@@ -78,6 +77,7 @@ + import com.sun.org.apache.xerces.internal.util.XMLSymbols; + import com.sun.org.apache.xerces.internal.util.URI.MalformedURIException; + import com.sun.org.apache.xerces.internal.utils.SecuritySupport; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.QName; + import com.sun.org.apache.xerces.internal.xni.XNIException; +@@ -257,7 +257,7 @@ + * + * <p>Protected to allow access by any traverser.</p> + */ +- protected SecurityManager fSecureProcessing = null; ++ protected XMLSecurityManager fSecureProcessing = null; + + private String fAccessExternalSchema; + private String fAccessExternalDTD; +@@ -2251,12 +2251,12 @@ + } + catch (SAXException se) {} + +- try { +- parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, fAccessExternalDTD); +- } catch (SAXNotRecognizedException exc) { +- System.err.println("Warning: " + parser.getClass().getName() + ": " + +- exc.getMessage()); +- } ++ try { ++ parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, fAccessExternalDTD); ++ } catch (SAXNotRecognizedException exc) { ++ System.err.println("Warning: " + parser.getClass().getName() + ": " + ++ exc.getMessage()); ++ } + } + // If XML names and Namespace URIs are already internalized we + // can avoid running them through the SymbolTable. +@@ -3509,7 +3509,7 @@ + + fSecureProcessing = null; + if( componentManager!=null ) { +- fSecureProcessing = (SecurityManager) componentManager.getProperty(SECURE_PROCESSING, null); ++ fSecureProcessing = (XMLSecurityManager) componentManager.getProperty(SECURE_PROCESSING, null); + } + + //set entity resolver +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderImpl.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -36,7 +36,7 @@ + import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator; + import com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer; + import com.sun.org.apache.xerces.internal.parsers.DOMParser; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager.Property; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager.State; +@@ -46,7 +46,6 @@ + import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException; + import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource; + import com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration; +-import javax.xml.XMLConstants; + import org.w3c.dom.DOMImplementation; + import org.w3c.dom.Document; + import org.xml.sax.EntityResolver; +@@ -110,7 +109,6 @@ + /** Property identifier: access to external schema */ + public static final String ACCESS_EXTERNAL_SCHEMA = XMLConstants.ACCESS_EXTERNAL_SCHEMA; + +- + private final DOMParser domParser; + private final Schema grammar; + +@@ -125,6 +123,7 @@ + /** Initial EntityResolver */ + private final EntityResolver fInitEntityResolver; + ++ private XMLSecurityManager fSecurityManager; + private XMLSecurityPropertyManager fSecurityPropertyMgr; + + DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Hashtable dbfAttrs, Hashtable features) +@@ -173,10 +172,10 @@ + fSecurityPropertyMgr = new XMLSecurityPropertyManager(); + domParser.setProperty(XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr); + +- // If the secure processing feature is on set a security manager. +- if (secureProcessing) { +- domParser.setProperty(SECURITY_MANAGER, new SecurityManager()); ++ fSecurityManager = new XMLSecurityManager(secureProcessing); ++ domParser.setProperty(SECURITY_MANAGER, fSecurityManager); + ++ if (secureProcessing) { + /** + * If secure processing is explicitly set on the factory, the + * access properties will be set unless the corresponding +@@ -250,9 +249,9 @@ + String feature = (String) entry.getKey(); + boolean value = ((Boolean) entry.getValue()).booleanValue(); + domParser.setFeature(feature, value); +- } + } + } ++ } + + /** + * Set any DocumentBuilderFactory attributes of our underlying DOMParser +@@ -289,30 +288,33 @@ + // spec when schema validation is enabled + domParser.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA); + } +- } +- } else if(JAXP_SCHEMA_SOURCE.equals(name)){ +- if( isValidating() ) { +- String value=(String)dbfAttrs.get(JAXP_SCHEMA_LANGUAGE); +- if(value !=null && W3C_XML_SCHEMA.equals(value)){ +- domParser.setProperty(name, val); +- }else{ ++ } ++ } else if(JAXP_SCHEMA_SOURCE.equals(name)){ ++ if( isValidating() ) { ++ String value=(String)dbfAttrs.get(JAXP_SCHEMA_LANGUAGE); ++ if(value !=null && W3C_XML_SCHEMA.equals(value)){ ++ domParser.setProperty(name, val); ++ }else{ + throw new IllegalArgumentException( + DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, + "jaxp-order-not-supported", + new Object[] {JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE})); ++ } ++ } ++ } else { ++ //check if the property is managed by security manager ++ if (fSecurityManager == null || ++ !fSecurityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, val)) { ++ //check if the property is managed by security property manager ++ if (fSecurityPropertyMgr == null || ++ !fSecurityPropertyMgr.setValue(name, XMLSecurityPropertyManager.State.APIPROPERTY, val)) { ++ //fall back to the existing property manager ++ domParser.setProperty(name, val); + } +- } +- } else { +- int index = fSecurityPropertyMgr.getIndex(name); +- if (index > -1) { +- fSecurityPropertyMgr.setValue(index, +- XMLSecurityPropertyManager.State.APIPROPERTY, (String)val); +- } else { +- // Let Xerces code handle the property +- domParser.setProperty(name, val); + } +- } +- } + ++ } ++ } + } + } + +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java 2013-12-01 11:13:41.000000000 -0800 +@@ -34,8 +34,8 @@ + import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator; + import com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer; + import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.Status; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler; + import com.sun.org.apache.xerces.internal.xni.parser.XMLComponent; +@@ -112,6 +112,7 @@ + /** Initial EntityResolver */ + private final EntityResolver fInitEntityResolver; + ++ private final XMLSecurityManager fSecurityManager; + private final XMLSecurityPropertyManager fSecurityPropertyMgr; + + /** +@@ -130,10 +131,10 @@ + SAXParserImpl(SAXParserFactoryImpl spf, Hashtable features, boolean secureProcessing) + throws SAXException + { ++ fSecurityManager = new XMLSecurityManager(secureProcessing); + fSecurityPropertyMgr = new XMLSecurityPropertyManager(); +- + // Instantiate a SAXParser directly and not through SAX so that we use the right ClassLoader +- xmlReader = new JAXPSAXParser(this, fSecurityPropertyMgr); ++ xmlReader = new JAXPSAXParser(this, fSecurityPropertyMgr, fSecurityManager); + + // JAXP "namespaceAware" == SAX Namespaces feature + // Note: there is a compatibility problem here with default values: +@@ -154,9 +155,9 @@ + + xmlReader.setProperty0(XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr); + +- // If the secure processing feature is on set a security manager. ++ xmlReader.setProperty0(SECURITY_MANAGER, fSecurityManager); + -+# @test Test7162488.sh -+# @bug 7162488 -+# @summary VM not printing unknown -XX options -+# @run shell Test7162488.sh -+# + if (secureProcessing) { +- xmlReader.setProperty0(SECURITY_MANAGER, new SecurityManager()); + /** + * By default, secure processing is set, no external access is allowed. + * However, we need to check if it is actively set on the factory since we +@@ -164,6 +165,7 @@ + * the default value + */ + if (features != null) { + -+if [ "${TESTSRC}" = "" ] -+ then TESTSRC=. -+fi + Object temp = features.get(XMLConstants.FEATURE_SECURE_PROCESSING); + if (temp != null) { + boolean value = ((Boolean) temp).booleanValue(); +@@ -172,7 +174,6 @@ + XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP); + fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_SCHEMA, + XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP); +- + } + } + } +@@ -398,22 +399,34 @@ + private final HashMap fInitFeatures = new HashMap(); + private final HashMap fInitProperties = new HashMap(); + private final SAXParserImpl fSAXParser; ++ private XMLSecurityManager fSecurityManager; + private XMLSecurityPropertyManager fSecurityPropertyMgr; + + + public JAXPSAXParser() { +- this(null, null); ++ this(null, null, null); + } + +- JAXPSAXParser(SAXParserImpl saxParser, XMLSecurityPropertyManager spm) { ++ JAXPSAXParser(SAXParserImpl saxParser, XMLSecurityPropertyManager securityPropertyMgr, ++ XMLSecurityManager securityManager) { + super(); + fSAXParser = saxParser; +- fSecurityPropertyMgr = spm; +- ++ fSecurityManager = securityManager; ++ fSecurityPropertyMgr = securityPropertyMgr; + /** + * This class may be used directly. So initialize the security manager if + * it is null. + */ ++ if (fSecurityManager == null) { ++ fSecurityManager = new XMLSecurityManager(true); ++ try { ++ super.setProperty(SECURITY_MANAGER, fSecurityManager); ++ } catch (SAXException e) { ++ throw new UnsupportedOperationException( ++ SAXMessageFormatter.formatMessage(fConfiguration.getLocale(), ++ "property-not-recognized", new Object [] {SECURITY_MANAGER}), e); ++ } ++ } + if (fSecurityPropertyMgr == null) { + fSecurityPropertyMgr = new XMLSecurityPropertyManager(); + try { +@@ -421,7 +434,7 @@ + } catch (SAXException e) { + throw new UnsupportedOperationException( + SAXMessageFormatter.formatMessage(fConfiguration.getLocale(), +- "property-not-recognized", new Object [] {SECURITY_MANAGER}), e); ++ "property-not-recognized", new Object [] {XML_SECURITY_PROPERTY_MANAGER}), e); + } + } + } +@@ -439,7 +452,8 @@ + } + if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { + try { +- setProperty(SECURITY_MANAGER, value ? new SecurityManager() : null); ++ fSecurityManager.setSecureProcessing(value); ++ setProperty(SECURITY_MANAGER, fSecurityManager); + } + catch (SAXNotRecognizedException exc) { + // If the property is not supported +@@ -475,13 +489,7 @@ + throw new NullPointerException(); + } + if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { +- try { +- return (super.getProperty(SECURITY_MANAGER) != null); +- } +- // If the property is not supported the value must be false. +- catch (SAXException exc) { +- return false; +- } ++ return fSecurityManager.isSecureProcessing(); + } + return super.getFeature(name); + } +@@ -560,17 +568,21 @@ + if (fSAXParser != null && fSAXParser.fSchemaValidator != null) { + setSchemaValidatorProperty(name, value); + } +- /** Check to see if the property is managed by the property manager **/ +- int index = (fSecurityPropertyMgr != null) ? fSecurityPropertyMgr.getIndex(name) : -1; +- if (index > -1) { +- fSecurityPropertyMgr.setValue(index, +- XMLSecurityPropertyManager.State.APIPROPERTY, (String)value); +- } else { +- if (!fInitProperties.containsKey(name)) { +- fInitProperties.put(name, super.getProperty(name)); + -+if [ "${TESTJAVA}" = "" ] -+then -+ PARENT=`dirname \`which java\`` -+ TESTJAVA=`dirname ${PARENT}` -+ printf "TESTJAVA not set, selecting " ${TESTJAVA} -+ printf " If this is incorrect, try setting the variable manually.\n" -+fi ++ //check if the property is managed by security manager ++ if (fSecurityManager == null || ++ !fSecurityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, value)) { ++ //check if the property is managed by security property manager ++ if (fSecurityPropertyMgr == null || ++ !fSecurityPropertyMgr.setValue(name, XMLSecurityPropertyManager.State.APIPROPERTY, value)) { ++ //fall back to the existing property manager ++ if (!fInitProperties.containsKey(name)) { ++ fInitProperties.put(name, super.getProperty(name)); ++ } ++ super.setProperty(name, value); + } +- super.setProperty(name, value); + } + -+# set platform-dependent variables -+OS=`uname -s` -+case "$OS" in -+ Windows_* ) -+ FS="\\" -+ ;; -+ * ) -+ FS="/" -+ ;; -+esac + } + + public synchronized Object getProperty(String name) +@@ -583,9 +595,18 @@ + // JAXP 1.2 support + return fSAXParser.schemaLanguage; + } +- int index = (fSecurityPropertyMgr != null) ? fSecurityPropertyMgr.getIndex(name) : -1; +- if (index > -1) { +- return fSecurityPropertyMgr.getValueByIndex(index); + -+JAVA=${TESTJAVA}${FS}bin${FS}java ++ /** Check to see if the property is managed by the security manager **/ ++ String propertyValue = (fSecurityManager != null) ? ++ fSecurityManager.getLimitAsString(name) : null; ++ if (propertyValue != null) { ++ return propertyValue; ++ } else { ++ propertyValue = (fSecurityPropertyMgr != null) ? ++ fSecurityPropertyMgr.getValue(name) : null; ++ if (propertyValue != null) { ++ return propertyValue; ++ } + } + + return super.getProperty(name); +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/StAXValidatorHelper.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/StAXValidatorHelper.java 2013-12-01 11:13:41.000000000 -0800 +@@ -26,6 +26,7 @@ + package com.sun.org.apache.xerces.internal.jaxp.validation; + + import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import java.io.IOException; + + import javax.xml.transform.Result; +@@ -73,6 +74,19 @@ + SAXTransformerFactory tf = fComponentManager.getFeature(Constants.ORACLE_FEATURE_SERVICE_MECHANISM) ? + (SAXTransformerFactory)SAXTransformerFactory.newInstance() + : (SAXTransformerFactory) TransformerFactory.newInstance(DEFAULT_TRANSFORMER_IMPL, StAXValidatorHelper.class.getClassLoader()); ++ XMLSecurityManager securityManager = (XMLSecurityManager)fComponentManager.getProperty(Constants.SECURITY_MANAGER); ++ if (securityManager != null) { ++ for (XMLSecurityManager.Limit limit : XMLSecurityManager.Limit.values()) { ++ if (securityManager.isSet(limit.ordinal())){ ++ tf.setAttribute(limit.apiProperty(), ++ securityManager.getLimitValueAsString(limit)); ++ } ++ } ++ if (securityManager.printEntityCountInfo()) { ++ tf.setAttribute(Constants.JDK_ENTITY_COUNT_INFO, "yes"); ++ } ++ } + -+# -+# Just run with an option we are confident will not be recognized, -+# and check for the message: -+# -+OPTION=this_is_not_an_option + identityTransformer1 = tf.newTransformer(); + identityTransformer2 = tf.newTransformerHandler(); + } catch (TransformerConfigurationException e) { +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/StreamValidatorHelper.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/StreamValidatorHelper.java 2013-12-01 11:13:41.000000000 -0800 +@@ -20,28 +20,27 @@ + + package com.sun.org.apache.xerces.internal.jaxp.validation; + +-import java.lang.ref.SoftReference; +-import java.io.IOException; +- +-import javax.xml.transform.Result; +-import javax.xml.transform.Source; +-import javax.xml.transform.sax.SAXTransformerFactory; +-import javax.xml.transform.sax.TransformerHandler; +-import javax.xml.transform.stream.StreamSource; +-import javax.xml.transform.stream.StreamResult; +-import javax.xml.transform.TransformerConfigurationException; +-import javax.xml.transform.TransformerFactory; +-import javax.xml.transform.TransformerFactoryConfigurationError; +-import javax.xml.XMLConstants; +- + import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter; + import com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter; + import com.sun.org.apache.xerces.internal.parsers.XML11Configuration; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource; + import com.sun.org.apache.xerces.internal.xni.parser.XMLParseException; + import com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration; ++import java.io.IOException; ++import java.lang.ref.SoftReference; ++import javax.xml.XMLConstants; ++import javax.xml.transform.Result; ++import javax.xml.transform.Source; ++import javax.xml.transform.TransformerConfigurationException; ++import javax.xml.transform.TransformerFactory; ++import javax.xml.transform.TransformerFactoryConfigurationError; ++import javax.xml.transform.sax.SAXTransformerFactory; ++import javax.xml.transform.sax.TransformerHandler; ++import javax.xml.transform.stream.StreamResult; ++import javax.xml.transform.stream.StreamSource; + import org.xml.sax.SAXException; + + /** +@@ -86,6 +85,11 @@ + Constants.XERCES_PROPERTY_PREFIX + Constants.VALIDATION_MANAGER_PROPERTY; + + private static final String DEFAULT_TRANSFORMER_IMPL = "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"; + -+${JAVA} ${TESTVMOPTS} -showversion -XX:${OPTION} 2>&1 | grep "Unrecognized VM option" -+if [ "$?" != "0" ] -+then -+ printf "FAILED: option not flagged as unrecognized.\n" -+ exit 1 -+fi ++ /** Property id: security manager. */ ++ private static final String SECURITY_MANAGER = ++ Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; + -+${JAVA} ${TESTVMOPTS} -showversion -XX:${OPTION} 2>&1 | grep ${OPTION} -+if [ "$?" != "0" ] -+then -+ printf "FAILED: bad option not named as being bad.\n" -+ exit 1 -+fi + // + // Data + // +@@ -165,6 +169,9 @@ + + private XMLParserConfiguration initialize() { + XML11Configuration config = new XML11Configuration(); ++ if (fComponentManager.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING)) { ++ config.setProperty(SECURITY_MANAGER, new XMLSecurityManager()); ++ } + config.setProperty(ENTITY_RESOLVER, fComponentManager.getProperty(ENTITY_RESOLVER)); + config.setProperty(ERROR_HANDLER, fComponentManager.getProperty(ERROR_HANDLER)); + XMLErrorReporter errorReporter = (XMLErrorReporter) fComponentManager.getProperty(ERROR_REPORTER); +@@ -182,6 +189,8 @@ + config.setDTDContentModelHandler(null); + config.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, + fComponentManager.getProperty(Constants.XML_SECURITY_PROPERTY_MANAGER)); ++ config.setProperty(Constants.SECURITY_MANAGER, ++ fComponentManager.getProperty(Constants.SECURITY_MANAGER)); + fConfiguration = new SoftReference(config); + return config; + } +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl.java 2014-01-18 12:16:08.000000000 -0800 +@@ -49,10 +49,10 @@ + import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolTable; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.URI; + import com.sun.org.apache.xerces.internal.util.XMLAttributesImpl; + import com.sun.org.apache.xerces.internal.util.XMLSymbols; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.xni.NamespaceContext; +@@ -679,10 +679,12 @@ + SAXParserFactory.newInstance() : new SAXParserFactoryImpl(); + spf.setNamespaceAware(true); + try { ++ spf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, ++ fComponentManager.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING)); + reader = spf.newSAXParser().getXMLReader(); + // If this is a Xerces SAX parser, set the security manager if there is one + if (reader instanceof com.sun.org.apache.xerces.internal.parsers.SAXParser) { +- SecurityManager securityManager = (SecurityManager) fComponentManager.getProperty(SECURITY_MANAGER); ++ XMLSecurityManager securityManager = (XMLSecurityManager) fComponentManager.getProperty(SECURITY_MANAGER); + if (securityManager != null) { + try { + reader.setProperty(SECURITY_MANAGER, securityManager); +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java 2013-12-01 11:13:41.000000000 -0800 +@@ -41,10 +41,10 @@ + import com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper; + import com.sun.org.apache.xerces.internal.util.SAXInputSource; + import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.StAXInputSource; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.XMLGrammarPoolImpl; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.grammars.Grammar; +@@ -79,7 +79,7 @@ + private static final String XMLGRAMMAR_POOL = + Constants.XERCES_PROPERTY_PREFIX + Constants.XMLGRAMMAR_POOL_PROPERTY; + +- /** Property identifier: SecurityManager. */ ++ /** Property identifier: XMLSecurityManager. */ + private static final String SECURITY_MANAGER = + Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; + +@@ -87,7 +87,6 @@ + private static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; + +- + // + // Data + // +@@ -108,7 +107,7 @@ + private ErrorHandlerWrapper fErrorHandlerWrapper; + + /** The SecurityManager. */ +- private SecurityManager fSecurityManager; ++ private XMLSecurityManager fSecurityManager; + + /** The Security property manager. */ + private XMLSecurityPropertyManager fSecurityPropertyMgr; +@@ -122,8 +121,6 @@ + * Note the default value (false) is the safe option.. + */ + private final boolean fUseServicesMechanism; +- +- + public XMLSchemaFactory() { + this(true); + } +@@ -141,7 +138,7 @@ + fXMLSchemaLoader.setErrorHandler(fErrorHandlerWrapper); + + // Enable secure processing feature by default +- fSecurityManager = new SecurityManager(); ++ fSecurityManager = new XMLSecurityManager(true); + fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager); + + fSecurityPropertyMgr = new XMLSecurityPropertyManager(); +@@ -301,7 +298,7 @@ + "FeatureNameNull", null)); + } + if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { +- return (fSecurityManager != null); ++ return (fSecurityManager !=null && fSecurityManager.isSecureProcessing()); + } + try { + return fXMLSchemaLoader.getFeature(name); +@@ -365,17 +362,15 @@ + SAXMessageFormatter.formatMessage(null, + "jaxp-secureprocessing-feature", null)); + } +- if (value) { +- fSecurityManager = new SecurityManager(); + ++ fSecurityManager.setSecureProcessing(value); ++ if (value) { + if (Constants.IS_JDK8_OR_ABOVE) { + fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD, + XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP); + fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_SCHEMA, + XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP); + } +- } else { +- fSecurityManager = null; + } + + fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager); +@@ -410,9 +405,17 @@ + "ProperyNameNull", null)); + } + if (name.equals(SECURITY_MANAGER)) { +- fSecurityManager = (SecurityManager) object; ++ fSecurityManager = XMLSecurityManager.convert(object, fSecurityManager); + fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager); + return; ++ } else if (name.equals(Constants.XML_SECURITY_PROPERTY_MANAGER)) { ++ if (object == null) { ++ fSecurityPropertyMgr = new XMLSecurityPropertyManager(); ++ } else { ++ fSecurityPropertyMgr = (XMLSecurityPropertyManager)object; ++ } ++ fXMLSchemaLoader.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr); ++ return; + } + else if (name.equals(XMLGRAMMAR_POOL)) { + throw new SAXNotSupportedException( +@@ -420,12 +423,15 @@ + "property-not-supported", new Object [] {name})); + } + try { +- int index = fSecurityPropertyMgr.getIndex(name); +- if (index > -1) { +- fSecurityPropertyMgr.setValue(index, +- XMLSecurityPropertyManager.State.APIPROPERTY, (String)object); +- } else { +- fXMLSchemaLoader.setProperty(name, object); ++ //check if the property is managed by security manager ++ if (fSecurityManager == null || ++ !fSecurityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, object)) { ++ //check if the property is managed by security property manager ++ if (fSecurityPropertyMgr == null || ++ !fSecurityPropertyMgr.setValue(name, XMLSecurityPropertyManager.State.APIPROPERTY, object)) { ++ //fall back to the existing property manager ++ fXMLSchemaLoader.setProperty(name, object); ++ } + } + } + catch (XMLConfigurationException e) { +--- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -39,9 +39,9 @@ + import com.sun.org.apache.xerces.internal.util.NamespaceSupport; + import com.sun.org.apache.xerces.internal.util.ParserConfigurationSettings; + import com.sun.org.apache.xerces.internal.util.PropertyState; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolTable; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.NamespaceContext; + import com.sun.org.apache.xerces.internal.xni.XNIException; +@@ -181,7 +181,7 @@ + private final HashMap fInitProperties = new HashMap(); + + /** Stores the initial security manager. */ +- private final SecurityManager fInitSecurityManager; ++ private XMLSecurityManager fInitSecurityManager; + + /** Stores the initial security property manager. */ + private final XMLSecurityPropertyManager fSecurityPropertyMgr; +@@ -221,12 +221,6 @@ + fComponents.put(ENTITY_RESOLVER, null); + fComponents.put(ERROR_HANDLER, null); + +- if (System.getSecurityManager() != null) { +- _isSecureMode = true; +- setProperty(SECURITY_MANAGER, new SecurityManager()); +- } else { +- fComponents.put(SECURITY_MANAGER, null); +- } + fComponents.put(SYMBOL_TABLE, new SymbolTable()); + + // setup grammar pool +@@ -241,15 +235,21 @@ + addRecognizedParamsAndSetDefaults(fErrorReporter, grammarContainer); + addRecognizedParamsAndSetDefaults(fSchemaValidator, grammarContainer); + +- // if the secure processing feature is set to true, add a security manager to the configuration +- Boolean secureProcessing = grammarContainer.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING); +- if (Boolean.TRUE.equals(secureProcessing)) { +- fInitSecurityManager = new SecurityManager(); ++ boolean secureProcessing = grammarContainer.getFeature(XMLConstants.FEATURE_SECURE_PROCESSING); ++ if (System.getSecurityManager() != null) { ++ _isSecureMode = true; ++ secureProcessing = true; + } +- else { +- fInitSecurityManager = null; + -+printf "Passed.\n" ++ fInitSecurityManager = (XMLSecurityManager) ++ grammarContainer.getProperty(SECURITY_MANAGER); ++ if (fInitSecurityManager != null ) { ++ fInitSecurityManager.setSecureProcessing(secureProcessing); ++ } else { ++ fInitSecurityManager = new XMLSecurityManager(secureProcessing); + } +- fComponents.put(SECURITY_MANAGER, fInitSecurityManager); + ---- jaxp/.hgtags 2012-08-10 09:35:08.000000000 -0700 -+++ jaxp/.hgtags 2013-06-22 09:41:30.000000000 -0700 -@@ -123,6 +123,7 @@ - bcd31fa1e3c6f51b4fdd427ef905188cdac57164 jdk7-b146 - 067fb18071e3872698f6218724958bd0cebf30a3 jdk7u1-b01 - fc268cd1dd5d2e903ccd4b0275e1f9c2461ed30c jdk7-b147 -+3170972bd3928a331c4c64a5c0c9632077fb399a 7u0 - 104ca42e1e7ca66b074a4619ce6420f15d8f454d jdk7u1-b02 - 64e323faadf65018c1ffc8bb9c97f7b664e87347 jdk7u1-b03 - 2256c20e66857f80cacda14ffdbc0979c929d7f8 jdk7u1-b04 -@@ -197,5 +198,81 @@ - 7403701aa75848ca2a7b297909908b858134e132 jdk7u6-b21 - fcf35906d1d88583878cd2e2d7c63dfba4e9f679 jdk7u6-b22 - 8824bcbfd7cd8059ededf70f1e7f2b06f02cb33f jdk7u6-b23 --1365e7472a3b737dda4a73e06ad41718d667d9be jdk7u8-b01 --0a313d4307930be3a64106b9b8c90f9342673aa0 jdk7u8-b02 -+378f719cfb9491b766cd9f7cd47ad7fa3503e141 jdk7u6-b24 -+5f1b80e8baec46fc28826a3a6ab8e1913c872f4c jdk7u6-b30 -+2eafa8a6fd8fdb54b10045e247d1a57f9817f473 jdk7u6-b31 -+2eafa8a6fd8fdb54b10045e247d1a57f9817f473 jdk7u7-b10 -+c4aa15da8529451cc678d5747e7b82e9cc38627e jdk7u7-b30 -+f6e11679b12e1548f407b78a940c568401dd2a19 jdk7u7-b11 -+7840a267c777e22004912ad0aadd5258ac3d36c6 jdk7u7-b31 -+61fc72e9fe26b3acf1572866143c22719c088b62 jdk7u7-b01 -+78d9e4853388a2e7be18ff18c0b5330c074cb514 jdk7u7-b02 -+fc7c5aa8c722f28c59560ce83140e803d853afc9 jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+61fc72e9fe26b3acf1572866143c22719c088b62 jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+78d9e4853388a2e7be18ff18c0b5330c074cb514 jdk7u9-b02 -+b12a2d557c5e302b614c5f7e25ad6c8a0e138742 jdk7u9-b04 -+ab4bbb93b3831aca230c62431f7fe02b56793450 jdk7u9-b05 -+039b21e98d2b2d0b26a19c325b37ce522bae39de jdk7u9-b31 -+d80a8e81fef0bc6e0bdb7891895bda527853add1 jdk7u9-b32 -+254ed6ae237ee631179819570cf7fb265c6fb3a8 jdk7u10-b10 -+c1df39bcc9c1bcdfb2a92682650264b3b7771ce8 jdk7u10-b11 -+00cfd60368048c4969785eb52ec50cf5691c4367 jdk7u10-b12 -+51efccc2b4e908fa0475075739c1463d1dd50efc jdk7u10-b13 -+c245a6332320a86342683e6f732f3f8f2f4de69a jdk7u10-b14 -+89b043ba2e01e969090e23a5a7a2e9f7165ff5a0 jdk7u10-b15 -+5449d5396bd8deee90f18f29899343129e3cdc4e jdk7u10-b16 -+86c75e6aa3a7fa9a587fc7dd2d08af8aa8ffb9a9 jdk7u10-b17 -+162a2c6ad8718a63253fa53724f704a4f85731bc jdk7u10-b18 -+c59eb287de720ae5ce8087f179ec01f4f6525a32 jdk7u10-b30 -+ec1e8ead41ee49d2b3f84a26ae0fac88e226692d jdk7u10-b31 -+853059839d38432f86e345ba951397ede235a374 jdk7u11-b20 -+453a52320a1b8bd425fdb55e14b64067b536f1e2 jdk7u11-b21 -+71353182d3f7c237047c5386d9f31186a5bd1519 jdk7u11-b32 -+af8f33c558d05aacdff5b5787be0cbaba9f10e98 jdk7u11-b33 -+5df9207c4378b7f4b24d70b365714c5ee6318982 jdk7u11-b03 -+6ee19b9c8313db32e6d8989aa3782830d2b09710 jdk7u11-b04 -+3312b258392eaeab9c4a20e3deb36d3ae3337efe jdk7u11-b05 -+86d0250b62bbb4aabab2a7c249aeb14847be2631 jdk7u11-b06 -+225aa78c36e9b776c87e585329bbb7ee0e3259a3 jdk7u11-b07 -+48491f5a58172f0fbdf9b774842c2ec1a42f609a jdk7u11-b08 -+eb9d57159e5126cf4316c9571ac39324a8b442a8 jdk7u13-b09 -+f9fe0d38b1103cb33073538c959d982e28ed7b11 jdk7u13-b10 -+0a6a09e5174a4c15632ff7e06d6b215164e3fa15 jdk7u13-b30 -+f9fe0d38b1103cb33073538c959d982e28ed7b11 jdk7u13-b20 -+99c114990b191f32e72c6158072033aec5816aaf jdk7u15-b01 -+edbaa584f09a78d0ad3c73389faf20409a552e46 jdk7u15-b02 -+14a9b60a2086f4e2f6ec43bee3375042946f6510 jdk7u15-b30 -+de6df3c10ebc0f8c704a11ad86c8eea1e1cc1442 jdk7u15-b31 -+039c31ff1fe6789859f2f55588218147623a9a9f jdk7u15-b33 -+a55f67cfe182dc42a86aae836674eb8ba5b79891 jdk7u15-b03 -+eb9d57159e5126cf4316c9571ac39324a8b442a8 jdk7u15-b32 -+8a9867ee429440b657eb5852c4dae5f029356022 jdk7u17-b01 -+7863a60ae4b4a0c7d762a95e77e589fafa4e50ae jdk7u17-b02 -+a5e6594fc1ae20101b5d69632f65078d7a99b76d jdk7u17-b30 -+8fb34202383ece5386acecc3a6c1dac68dccbf05 jdk7u17-b31 -+f7d8d2c003a10c38beac2f57e77d19303c71d6fc jdk7u17-b32 -+0a6a09e5174a4c15632ff7e06d6b215164e3fa15 jdk7u21-b01 -+99ed1a3d29509fee659aabec4810c896b7234d80 jdk7u21-b02 -+38d4d23d167c5a623e6d771a15b1fe2ee771ce38 jdk7u21-b03 -+acde12ee462d650d34cc148d9d3649f9a9bbca8a jdk7u21-b04 -+56b1ad031df90d20c52941c15ceae0e5a90893b8 jdk7u21-b05 -+ab51202418c1c96e01a45893a26829a2d9c7b956 jdk7u21-b06 -+3ab71deee4a4477d89530ee9e92a36017a6092fa jdk7u21-b07 -+f5ef2e76669bc3179f17dac42a8a407fb6bd4d91 jdk7u21-b08 -+65977091d010402ccbed41c96748866a1d50f0c4 jdk7u21-b09 -+bf2d62ea518d5e4130e442e07705e7a50b821ad9 jdk7u21-b10 -+3e0e331bdfb8f3adfd0cc78118e0ac588e73a2b5 jdk7u21-b11 -+980fe893d8fd86d8aee14771167b6e0ac75fa208 jdk7u21-b30 -+a320a590b4cac6eeff53829bde520ef46880b006 jdk7u21-b12 -+5704dc942da676677a820d16c9a08fc6cad5b3bb jdk7u25-b01 -+f9c1fe7cd1194e785807f07005369631b35b28d8 jdk7u25-b02 -+fe858d7d6a13829d0ef0a1f762bd0e769cd24fa1 jdk7u25-b03 -+1a2822a1d6a40c6e469f4089f39e41f642a87843 jdk7u25-b04 -+e927605d1678c5d94adfc44183160d6c4df05b8b jdk7u25-b05 -+8dfb4db227e7795120c072781927ba7d35186559 jdk7u25-b06 -+ad2732999848b6e57f564d85e18ddebab6315ac2 jdk7u25-b07 -+df9def2569705ebe316b50e673f847d2ec47eccf jdk7u25-b08 -+5952538d55e624132f97400332a50b71880c874c jdk7u25-b09 -+aa00dd983dd0f5b07269d0648a0325e9b3e0d957 jdk7u25-b10 ---- jaxp/src/com/sun/org/apache/bcel/internal/classfile/JavaClass.java 2012-08-10 09:35:19.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/bcel/internal/classfile/JavaClass.java 2013-04-28 16:29:20.000000000 -0700 -@@ -63,6 +63,7 @@ - import com.sun.org.apache.bcel.internal.util.ClassVector; - import com.sun.org.apache.bcel.internal.util.ClassQueue; - import com.sun.org.apache.bcel.internal.generic.Type; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - - import java.io.*; - import java.util.StringTokenizer; -@@ -77,6 +78,7 @@ - * class file. Those interested in programatically generating classes - * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. - -+ * @version $Id: JavaClass.java,v 1.4 2007-07-19 04:34:42 ofung Exp $ - * @see com.sun.org.apache.bcel.internal.generic.ClassGen - * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> - */ -@@ -451,9 +453,9 @@ - String debug = null, sep = null; ++ setProperty(SECURITY_MANAGER, fInitSecurityManager); - try { -- debug = System.getProperty("JavaClass.debug"); -+ debug = SecuritySupport.getSystemProperty("JavaClass.debug"); - // Get path separator either / or \ usually -- sep = System.getProperty("file.separator"); -+ sep = SecuritySupport.getSystemProperty("file.separator"); - } - catch (SecurityException e) { - // falls through ---- jaxp/src/com/sun/org/apache/bcel/internal/util/Class2HTML.java 2012-08-10 09:36:04.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/bcel/internal/util/Class2HTML.java 2013-04-28 16:29:20.000000000 -0700 -@@ -82,6 +82,7 @@ - * method in the Method's frame will jump to the appropiate method in - * the Code frame. - * -+ * @version $Id: Class2HTML.java,v 1.3 2007-07-19 04:34:52 ofung Exp $ - * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> - */ - public class Class2HTML implements Constants -@@ -137,7 +138,7 @@ - ClassParser parser=null; - JavaClass java_class=null; - String zip_file = null; -- char sep = System.getProperty("file.separator").toCharArray()[0]; -+ char sep = SecuritySupport.getSystemProperty("file.separator").toCharArray()[0]; - String dir = "." + sep; // Where to store HTML files + //pass on properties set on SchemaFactory + fSecurityPropertyMgr = (XMLSecurityPropertyManager) +@@ -281,7 +281,7 @@ + return FeatureState.is(fUseGrammarPoolOnly); + } + else if (XMLConstants.FEATURE_SECURE_PROCESSING.equals(featureId)) { +- return FeatureState.is(getProperty(SECURITY_MANAGER) != null); ++ return FeatureState.is(fInitSecurityManager.isSecureProcessing()); + } + else if (SCHEMA_ELEMENT_DEFAULT.equals(featureId)) { + return FeatureState.is(true); //pre-condition: VALIDATION and SCHEMA_VALIDATION are always true +@@ -311,7 +311,8 @@ + if (_isSecureMode && !value) { + throw new XMLConfigurationException(Status.NOT_ALLOWED, XMLConstants.FEATURE_SECURE_PROCESSING); + } +- setProperty(SECURITY_MANAGER, value ? new SecurityManager() : null); ++ fInitSecurityManager.setSecureProcessing(value); ++ setProperty(SECURITY_MANAGER, fInitSecurityManager); + + if (value && Constants.IS_JDK8_OR_ABOVE) { + fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD, +@@ -390,10 +391,20 @@ + fComponents.put(propertyId, value); + return; + } +- if (!fInitProperties.containsKey(propertyId)) { +- fInitProperties.put(propertyId, super.getProperty(propertyId)); ++ ++ //check if the property is managed by security manager ++ if (fInitSecurityManager == null || ++ !fInitSecurityManager.setLimit(propertyId, XMLSecurityManager.State.APIPROPERTY, value)) { ++ //check if the property is managed by security property manager ++ if (fSecurityPropertyMgr == null || ++ !fSecurityPropertyMgr.setValue(propertyId, XMLSecurityPropertyManager.State.APIPROPERTY, value)) { ++ //fall back to the existing property manager ++ if (!fInitProperties.containsKey(propertyId)) { ++ fInitProperties.put(propertyId, super.getProperty(propertyId)); ++ } ++ super.setProperty(propertyId, value); ++ } + } +- super.setProperty(propertyId, value); + } - try { ---- jaxp/src/com/sun/org/apache/bcel/internal/util/ClassPath.java 2012-08-10 09:36:04.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/bcel/internal/util/ClassPath.java 2013-04-28 16:29:20.000000000 -0700 -@@ -66,6 +66,7 @@ - * Responsible for loading (class) files from the CLASSPATH. Inspired by - * sun.tools.ClassPath. - * -+ * @version $Id: ClassPath.java,v 1.4 2007-07-19 04:34:52 ofung Exp $ - * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> - */ - public class ClassPath implements Serializable { -@@ -83,7 +84,7 @@ - ArrayList vec = new ArrayList(); - - for(StringTokenizer tok=new StringTokenizer(class_path, -- System.getProperty("path.separator")); -+ SecuritySupport.getSystemProperty("path.separator")); - tok.hasMoreTokens();) - { - String path = tok.nextToken(); -@@ -92,7 +93,7 @@ - File file = new File(path); + /** +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.java 2013-12-01 11:13:41.000000000 -0800 +@@ -20,18 +20,15 @@ + + package com.sun.org.apache.xerces.internal.parsers; +-import java.io.IOException; +-import java.util.Locale; +- + import com.sun.org.apache.xerces.internal.impl.Constants; +-import com.sun.org.apache.xerces.internal.util.Status; +-import com.sun.org.apache.xerces.internal.xs.PSVIProvider; +-import com.sun.org.apache.xerces.internal.util.EntityResolverWrapper; + import com.sun.org.apache.xerces.internal.util.EntityResolver2Wrapper; ++import com.sun.org.apache.xerces.internal.util.EntityResolverWrapper; + import com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper; + import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter; ++import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolHash; + import com.sun.org.apache.xerces.internal.util.XMLSymbols; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.xni.NamespaceContext; + import com.sun.org.apache.xerces.internal.xni.QName; +@@ -48,15 +45,17 @@ + import com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration; + import com.sun.org.apache.xerces.internal.xs.AttributePSVI; + import com.sun.org.apache.xerces.internal.xs.ElementPSVI; ++import com.sun.org.apache.xerces.internal.xs.PSVIProvider; ++import java.io.IOException; ++import java.util.Locale; ++import javax.xml.XMLConstants; + import org.xml.sax.AttributeList; +-import org.xml.sax.Attributes; + import org.xml.sax.ContentHandler; + import org.xml.sax.DTDHandler; + import org.xml.sax.DocumentHandler; + import org.xml.sax.EntityResolver; + import org.xml.sax.ErrorHandler; + import org.xml.sax.InputSource; +-import org.xml.sax.Locator; + import org.xml.sax.Parser; + import org.xml.sax.SAXException; + import org.xml.sax.SAXNotRecognizedException; +@@ -131,6 +130,10 @@ + protected static final String DOM_NODE = + Constants.SAX_PROPERTY_PREFIX + Constants.DOM_NODE_PROPERTY; + ++ /** Property id: security manager. */ ++ private static final String SECURITY_MANAGER = ++ Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; ++ + /** Recognized properties. */ + private static final String[] RECOGNIZED_PROPERTIES = { + LEXICAL_HANDLER, +@@ -1645,19 +1648,13 @@ + // Drop through and perform default processing + // + } +- +- // +- // Xerces Features +- // +- +- /* +- else if (featureId.startsWith(XERCES_FEATURES_PREFIX)) { +- String feature = featureId.substring(XERCES_FEATURES_PREFIX.length()); +- // +- // Drop through and perform default processing +- // ++ else if (featureId.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { ++ if (state) { ++ if (fConfiguration.getProperty(SECURITY_MANAGER )==null) { ++ fConfiguration.setProperty(SECURITY_MANAGER, new XMLSecurityManager()); ++ } ++ } + } +- */ + + // + // Default handling +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/DOMParser.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/DOMParser.java 2013-12-01 11:13:41.000000000 -0800 +@@ -29,6 +29,7 @@ + import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolTable; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; +@@ -531,7 +532,54 @@ + */ + public void setProperty(String propertyId, Object value) + throws SAXNotRecognizedException, SAXNotSupportedException { ++ /** ++ * It's possible for users to set a security manager through the interface. ++ * If it's the old SecurityManager, convert it to the new XMLSecurityManager ++ */ ++ if (propertyId.equals(Constants.SECURITY_MANAGER)) { ++ securityManager = XMLSecurityManager.convert(value, securityManager); ++ setProperty0(Constants.SECURITY_MANAGER, securityManager); ++ return; ++ } ++ if (propertyId.equals(Constants.XML_SECURITY_PROPERTY_MANAGER)) { ++ if (value == null) { ++ securityPropertyManager = new XMLSecurityPropertyManager(); ++ } else { ++ securityPropertyManager = (XMLSecurityPropertyManager)value; ++ } ++ setProperty0(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); ++ return; ++ } ++ ++ if (securityManager == null) { ++ securityManager = new XMLSecurityManager(true); ++ setProperty0(Constants.SECURITY_MANAGER, securityManager); ++ } ++ ++ if (securityPropertyManager == null) { ++ securityPropertyManager = new XMLSecurityPropertyManager(); ++ setProperty0(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); ++ } ++ int index = securityPropertyManager.getIndex(propertyId); ++ ++ if (index > -1) { ++ /** ++ * this is a direct call to this parser, not a subclass since ++ * internally the support of this property is done through ++ * XMLSecurityPropertyManager ++ */ ++ securityPropertyManager.setValue(index, XMLSecurityPropertyManager.State.APIPROPERTY, (String)value); ++ } else { ++ //check if the property is managed by security manager ++ if (!securityManager.setLimit(propertyId, XMLSecurityManager.State.APIPROPERTY, value)) { ++ //fall back to the default configuration to handle the property ++ setProperty0(propertyId, value); ++ } ++ } ++ } + ++ public void setProperty0(String propertyId, Object value) ++ throws SAXNotRecognizedException, SAXNotSupportedException { try { -- if(file.exists()) { -+ if(SecuritySupport.getFileExists(file)) { - if(file.isDirectory()) - vec.add(new Dir(path)); - else -@@ -143,8 +144,9 @@ - String name = tok.nextToken(); - File file = new File(name); + fConfiguration.setProperty(propertyId, value); + } +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/DTDConfiguration.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/DTDConfiguration.java 2013-12-01 11:13:41.000000000 -0800 +@@ -38,7 +38,6 @@ + import com.sun.org.apache.xerces.internal.util.PropertyState; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolTable; +-import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XMLLocator; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; +@@ -189,6 +188,9 @@ + protected static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; ++ + // debugging + + /** Set to true and recompile to print exception stack trace. */ +@@ -334,6 +336,7 @@ + JAXP_SCHEMA_SOURCE, + JAXP_SCHEMA_LANGUAGE, + LOCALE, ++ SECURITY_MANAGER, + XML_SECURITY_PROPERTY_MANAGER + }; + addRecognizedProperties(recognizedProperties); +@@ -411,8 +414,6 @@ + // do nothing + // REVISIT: What is the right thing to do? -Ac + } +- +- setProperty(XML_SECURITY_PROPERTY_MANAGER, new XMLSecurityPropertyManager()); + } // <init>(SymbolTable,XMLGrammarPool) + + // +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/NonValidatingConfiguration.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/NonValidatingConfiguration.java 2013-12-01 11:13:41.000000000 -0800 +@@ -36,7 +36,6 @@ + import com.sun.org.apache.xerces.internal.util.PropertyState; + import com.sun.org.apache.xerces.internal.util.Status; + import com.sun.org.apache.xerces.internal.util.SymbolTable; +-import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XMLLocator; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; +@@ -162,6 +161,9 @@ + protected static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; ++ + // debugging + + /** Set to true and recompile to print exception stack trace. */ +@@ -316,6 +318,7 @@ + DATATYPE_VALIDATOR_FACTORY, + VALIDATION_MANAGER, + LOCALE, ++ SECURITY_MANAGER, + XML_SECURITY_PROPERTY_MANAGER + }; + addRecognizedProperties(recognizedProperties); +@@ -372,8 +375,6 @@ + // do nothing + // REVISIT: What is the right thing to do? -Ac + } +- +- setProperty(XML_SECURITY_PROPERTY_MANAGER, new XMLSecurityPropertyManager()); + } // <init>(SymbolTable,XMLGrammarPool) + + // +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/SAXParser.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/SAXParser.java 2013-12-01 11:13:41.000000000 -0800 +@@ -22,6 +22,7 @@ -- if(file.exists()) -+ if(SecuritySupport.getFileExists(file)) { - list.add(name); + import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.util.SymbolTable; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; + import com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration; +@@ -76,7 +77,7 @@ + XMLGRAMMAR_POOL, + }; + +- XMLSecurityPropertyManager securityPropertyManager; ++ + // + // Constructors + // +@@ -130,11 +131,36 @@ + */ + public void setProperty(String name, Object value) + throws SAXNotRecognizedException, SAXNotSupportedException { ++ /** ++ * It's possible for users to set a security manager through the interface. ++ * If it's the old SecurityManager, convert it to the new XMLSecurityManager ++ */ ++ if (name.equals(Constants.SECURITY_MANAGER)) { ++ securityManager = XMLSecurityManager.convert(value, securityManager); ++ super.setProperty(Constants.SECURITY_MANAGER, securityManager); ++ return; + } - } ++ if (name.equals(Constants.XML_SECURITY_PROPERTY_MANAGER)) { ++ if (value == null) { ++ securityPropertyManager = new XMLSecurityPropertyManager(); ++ } else { ++ securityPropertyManager = (XMLSecurityPropertyManager)value; ++ } ++ super.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); ++ return; ++ } ++ ++ if (securityManager == null) { ++ securityManager = new XMLSecurityManager(true); ++ super.setProperty(Constants.SECURITY_MANAGER, securityManager); ++ } ++ + if (securityPropertyManager == null) { + securityPropertyManager = new XMLSecurityPropertyManager(); ++ super.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); + } +- int index = securityPropertyManager.getIndex(name); + ++ int index = securityPropertyManager.getIndex(name); + if (index > -1) { + /** + * this is a direct call to this parser, not a subclass since +@@ -142,9 +168,12 @@ + * XMLSecurityPropertyManager + */ + securityPropertyManager.setValue(index, XMLSecurityPropertyManager.State.APIPROPERTY, (String)value); +- super.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); + } else { +- super.setProperty(name, value); ++ //check if the property is managed by security manager ++ if (!securityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, value)) { ++ //fall back to the default configuration to handle the property ++ super.setProperty(name, value); ++ } + } } - } -@@ -159,9 +161,9 @@ - String class_path, boot_path, ext_path; + } // class SAXParser +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/SecurityConfiguration.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/SecurityConfiguration.java 2013-12-01 11:13:41.000000000 -0800 +@@ -23,8 +23,8 @@ + import com.sun.org.apache.xerces.internal.impl.Constants; + import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; + import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.SymbolTable; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; - try { -- class_path = System.getProperty("java.class.path"); -- boot_path = System.getProperty("sun.boot.class.path"); -- ext_path = System.getProperty("java.ext.dirs"); -+ class_path = SecuritySupport.getSystemProperty("java.class.path"); -+ boot_path = SecuritySupport.getSystemProperty("sun.boot.class.path"); -+ ext_path = SecuritySupport.getSystemProperty("java.ext.dirs"); - } - catch (SecurityException e) { - return ""; -@@ -176,8 +178,8 @@ - getPathComponents(ext_path, dirs); - - for(Iterator e = dirs.iterator(); e.hasNext(); ) { -- File ext_dir = new File((String)e.next()); -- String[] extensions = ext_dir.list(new FilenameFilter() { -+ File ext_dir = new File((String)e.next()); -+ String[] extensions = SecuritySupport.getFileList(ext_dir, new FilenameFilter() { - public boolean accept(File dir, String name) { - name = name.toLowerCase(); - return name.endsWith(".zip") || name.endsWith(".jar"); -@@ -342,7 +344,7 @@ - final File file = new File(dir + File.separatorChar + - name.replace('.', File.separatorChar) + suffix); - -- return file.exists()? new ClassFile() { -+ return SecuritySupport.getFileExists(file)? new ClassFile() { - public InputStream getInputStream() throws IOException { return new FileInputStream(file); } - - public String getPath() { try { ---- jaxp/src/com/sun/org/apache/bcel/internal/util/JavaWrapper.java 2012-08-10 09:36:05.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/bcel/internal/util/JavaWrapper.java 2013-04-28 16:29:20.000000000 -0700 -@@ -72,6 +72,7 @@ - * <pre>java com.sun.org.apache.bcel.internal.util.JavaWrapper -Dbcel.classloader=foo.MyLoader <real.class.name> [arguments]</pre> - * </p> + /** + * This configuration allows Xerces to behave in a security-conscious manner; that is, +@@ -44,6 +44,7 @@ + * + * @author Neil Graham, IBM * -+ * @version $Id: JavaWrapper.java,v 1.3 2007-07-19 04:34:52 ofung Exp $ - * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> - * @see ClassLoader ++ * @version $Id: SecurityConfiguration.java,v 1.6 2010-11-01 04:40:09 joehw Exp $ */ -@@ -79,7 +80,7 @@ - private java.lang.ClassLoader loader; - - private static java.lang.ClassLoader getClassLoader() { -- String s = System.getProperty("bcel.classloader"); -+ String s = SecuritySupport.getSystemProperty("bcel.classloader"); - - if((s == null) || "".equals(s)) - s = "com.sun.org.apache.bcel.internal.util.ClassLoader"; ---- jaxp/src/com/sun/org/apache/bcel/internal/util/SecuritySupport.java 1969-12-31 16:00:00.000000000 -0800 -+++ jaxp/src/com/sun/org/apache/bcel/internal/util/SecuritySupport.java 2013-04-28 16:29:20.000000000 -0700 -@@ -0,0 +1,223 @@ + public class SecurityConfiguration extends XIncludeAwareParserConfiguration + { +@@ -107,7 +108,7 @@ + super(symbolTable, grammarPool, parentSettings); + + // create the SecurityManager property: +- setProperty(SECURITY_MANAGER_PROPERTY, new SecurityManager()); ++ setProperty(SECURITY_MANAGER_PROPERTY, new XMLSecurityManager(true)); + } // <init>(SymbolTable,XMLGrammarPool) + + } // class SecurityConfiguration +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.java 2013-12-01 11:13:41.000000000 -0800 +@@ -52,6 +52,7 @@ + import com.sun.org.apache.xerces.internal.util.ParserConfigurationSettings; + import com.sun.org.apache.xerces.internal.util.PropertyState; + import com.sun.org.apache.xerces.internal.util.SymbolTable; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XMLDTDContentModelHandler; + import com.sun.org.apache.xerces.internal.xni.XMLDTDHandler; +@@ -279,6 +280,8 @@ + private static final String XML_SECURITY_PROPERTY_MANAGER = + Constants.XML_SECURITY_PROPERTY_MANAGER; + ++ /** Property identifier: Security manager. */ ++ private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER; + + // debugging + +@@ -289,33 +292,33 @@ + // Data + // + +- protected SymbolTable fSymbolTable; ++ protected SymbolTable fSymbolTable; + protected XMLInputSource fInputSource; + protected ValidationManager fValidationManager; +- protected XMLVersionDetector fVersionDetector; ++ protected XMLVersionDetector fVersionDetector; + protected XMLLocator fLocator; +- protected Locale fLocale; ++ protected Locale fLocale; + +- /** XML 1.0 Components. */ +- protected ArrayList fComponents; ++ /** XML 1.0 Components. */ ++ protected ArrayList fComponents; + +- /** XML 1.1. Components. */ +- protected ArrayList fXML11Components = null; ++ /** XML 1.1. Components. */ ++ protected ArrayList fXML11Components = null; + +- /** Common components: XMLEntityManager, XMLErrorReporter, XMLSchemaValidator */ +- protected ArrayList fCommonComponents = null; ++ /** Common components: XMLEntityManager, XMLErrorReporter, XMLSchemaValidator */ ++ protected ArrayList fCommonComponents = null; + +- /** The document handler. */ +- protected XMLDocumentHandler fDocumentHandler; ++ /** The document handler. */ ++ protected XMLDocumentHandler fDocumentHandler; + +- /** The DTD handler. */ +- protected XMLDTDHandler fDTDHandler; ++ /** The DTD handler. */ ++ protected XMLDTDHandler fDTDHandler; + +- /** The DTD content model handler. */ +- protected XMLDTDContentModelHandler fDTDContentModelHandler; ++ /** The DTD content model handler. */ ++ protected XMLDTDContentModelHandler fDTDContentModelHandler; + +- /** Last component in the document pipeline */ +- protected XMLDocumentSource fLastComponent; ++ /** Last component in the document pipeline */ ++ protected XMLDocumentSource fLastComponent; + + /** + * True if a parse is in progress. This state is needed because +@@ -495,31 +498,31 @@ + fFeatures.put(SCHEMA_ELEMENT_DEFAULT, Boolean.TRUE); + fFeatures.put(NORMALIZE_DATA, Boolean.TRUE); + fFeatures.put(SCHEMA_AUGMENT_PSVI, Boolean.TRUE); +- fFeatures.put(GENERATE_SYNTHETIC_ANNOTATIONS, Boolean.FALSE); +- fFeatures.put(VALIDATE_ANNOTATIONS, Boolean.FALSE); +- fFeatures.put(HONOUR_ALL_SCHEMALOCATIONS, Boolean.FALSE); +- fFeatures.put(NAMESPACE_GROWTH, Boolean.FALSE); +- fFeatures.put(TOLERATE_DUPLICATES, Boolean.FALSE); +- fFeatures.put(USE_GRAMMAR_POOL_ONLY, Boolean.FALSE); ++ fFeatures.put(GENERATE_SYNTHETIC_ANNOTATIONS, Boolean.FALSE); ++ fFeatures.put(VALIDATE_ANNOTATIONS, Boolean.FALSE); ++ fFeatures.put(HONOUR_ALL_SCHEMALOCATIONS, Boolean.FALSE); ++ fFeatures.put(NAMESPACE_GROWTH, Boolean.FALSE); ++ fFeatures.put(TOLERATE_DUPLICATES, Boolean.FALSE); ++ fFeatures.put(USE_GRAMMAR_POOL_ONLY, Boolean.FALSE); + fFeatures.put(PARSER_SETTINGS, Boolean.TRUE); + fFeatures.put(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE); + + // add default recognized properties + final String[] recognizedProperties = + { +- SYMBOL_TABLE, +- ERROR_HANDLER, +- ENTITY_RESOLVER, ++ SYMBOL_TABLE, ++ ERROR_HANDLER, ++ ENTITY_RESOLVER, + ERROR_REPORTER, + ENTITY_MANAGER, + DOCUMENT_SCANNER, + DTD_SCANNER, + DTD_PROCESSOR, + DTD_VALIDATOR, +- DATATYPE_VALIDATOR_FACTORY, +- VALIDATION_MANAGER, +- SCHEMA_VALIDATOR, +- XML_STRING, ++ DATATYPE_VALIDATOR_FACTORY, ++ VALIDATION_MANAGER, ++ SCHEMA_VALIDATOR, ++ XML_STRING, + XMLGRAMMAR_POOL, + JAXP_SCHEMA_SOURCE, + JAXP_SCHEMA_LANGUAGE, +@@ -531,19 +534,20 @@ + SCHEMA_NONS_LOCATION, + LOCALE, + SCHEMA_DV_FACTORY, ++ SECURITY_MANAGER, + XML_SECURITY_PROPERTY_MANAGER + }; + addRecognizedProperties(recognizedProperties); + +- if (symbolTable == null) { +- symbolTable = new SymbolTable(); +- } +- fSymbolTable = symbolTable; +- fProperties.put(SYMBOL_TABLE, fSymbolTable); ++ if (symbolTable == null) { ++ symbolTable = new SymbolTable(); ++ } ++ fSymbolTable = symbolTable; ++ fProperties.put(SYMBOL_TABLE, fSymbolTable); + + fGrammarPool = grammarPool; + if (fGrammarPool != null) { +- fProperties.put(XMLGRAMMAR_POOL, fGrammarPool); ++ fProperties.put(XMLGRAMMAR_POOL, fGrammarPool); + } + + fEntityManager = new XMLEntityManager(); +@@ -579,8 +583,6 @@ + + fVersionDetector = new XMLVersionDetector(); + +- fProperties.put(XML_SECURITY_PROPERTY_MANAGER, new XMLSecurityPropertyManager()); +- + // add message formatters + if (fErrorReporter.getMessageFormatter(XMLMessageFormatter.XML_DOMAIN) == null) { + XMLMessageFormatter xmft = new XMLMessageFormatter(); +--- jaxp/src/com/sun/org/apache/xerces/internal/parsers/XMLParser.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/parsers/XMLParser.java 2014-01-18 12:16:08.000000000 -0800 +@@ -23,6 +23,8 @@ + import java.io.IOException; + + import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager; + import com.sun.org.apache.xerces.internal.xni.XNIException; + import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource; + import com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration; +@@ -78,6 +80,13 @@ + /** The parser configuration. */ + protected XMLParserConfiguration fConfiguration; + ++ /** The XML Security Manager. */ ++ XMLSecurityManager securityManager; ++ ++ /** The XML Security Property Manager. */ ++ XMLSecurityPropertyManager securityPropertyManager; ++ ++ + // + // Constructors + // +@@ -118,6 +127,15 @@ + */ + public void parse(XMLInputSource inputSource) + throws XNIException, IOException { ++ // null indicates that the parser is called directly, initialize them ++ if (securityManager == null) { ++ securityManager = new XMLSecurityManager(true); ++ fConfiguration.setProperty(Constants.SECURITY_MANAGER, securityManager); ++ } ++ if (securityPropertyManager == null) { ++ securityPropertyManager = new XMLSecurityPropertyManager(); ++ fConfiguration.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, securityPropertyManager); ++ } + + reset(); + fConfiguration.parse(inputSource); +--- jaxp/src/com/sun/org/apache/xerces/internal/util/SecurityManager.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/util/SecurityManager.java 2013-12-01 11:13:41.000000000 -0800 +@@ -61,8 +61,6 @@ + + package com.sun.org.apache.xerces.internal.util; + import com.sun.org.apache.xerces.internal.impl.Constants; +-import java.security.AccessController; +-import java.security.PrivilegedAction; + /** + * This class is a container for parser settings that relate to + * security, or more specifically, it is intended to be used to prevent denial-of-service +@@ -79,7 +77,6 @@ + * + * @author Neil Graham, IBM + * +- * @version $Id: SecurityManager.java,v 1.5 2010-11-01 04:40:14 joehw Exp $ + */ + public final class SecurityManager { + +@@ -179,48 +176,40 @@ + + private void readSystemProperties(){ + +- //TODO: also read SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT +- try { +- String value = getSystemProperty(Constants.ENTITY_EXPANSION_LIMIT); +- if(value != null && !value.equals("")){ +- entityExpansionLimit = Integer.parseInt(value); +- if (entityExpansionLimit < 0) +- entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; +- } +- else +- entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; +- }catch(Exception ex){} +- +- try { +- String value = getSystemProperty(Constants.MAX_OCCUR_LIMIT); +- if(value != null && !value.equals("")){ +- maxOccurLimit = Integer.parseInt(value); +- if (maxOccurLimit < 0) +- maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; +- } +- else +- maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; +- }catch(Exception ex){} +- +- try { +- String value = getSystemProperty(Constants.SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT); +- if(value != null && !value.equals("")){ +- fElementAttributeLimit = Integer.parseInt(value); +- if ( fElementAttributeLimit < 0) +- fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; +- } +- else +- fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; ++ try { ++ String value = System.getProperty(Constants.ENTITY_EXPANSION_LIMIT); ++ if(value != null && !value.equals("")){ ++ entityExpansionLimit = Integer.parseInt(value); ++ if (entityExpansionLimit < 0) ++ entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; ++ } ++ else ++ entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; ++ }catch(Exception ex){} ++ ++ try { ++ String value = System.getProperty(Constants.MAX_OCCUR_LIMIT); ++ if(value != null && !value.equals("")){ ++ maxOccurLimit = Integer.parseInt(value); ++ if (maxOccurLimit < 0) ++ maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; ++ } ++ else ++ maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; ++ }catch(Exception ex){} ++ ++ try { ++ String value = System.getProperty(Constants.ELEMENT_ATTRIBUTE_LIMIT); ++ if(value != null && !value.equals("")){ ++ fElementAttributeLimit = Integer.parseInt(value); ++ if ( fElementAttributeLimit < 0) ++ fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; ++ } ++ else ++ fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; + + }catch(Exception ex){} + + } + +- private String getSystemProperty(final String propName) { +- return AccessController.doPrivileged(new PrivilegedAction<String>() { +- public String run() { +- return System.getProperty(propName); +- } +- }); +- } + } // class SecurityManager +--- jaxp/src/com/sun/org/apache/xerces/internal/util/SymbolTable.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/util/SymbolTable.java 2013-12-01 11:13:41.000000000 -0800 +@@ -173,7 +173,7 @@ + for (int i = 0; i < length; i++) { + code = code * 37 + symbol.charAt(i); + } +- return code & 0x7FFFFFF; ++ return code & 0x7FFFFFFF; + + } // hash(String):int + +@@ -194,7 +194,7 @@ + for (int i = 0; i < length; i++) { + code = code * 37 + buffer[offset + i]; + } +- return code & 0x7FFFFFF; ++ return code & 0x7FFFFFFF; + + } // hash(char[],int,int):int + +--- jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLLimitAnalyzer.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLLimitAnalyzer.java 2014-01-18 12:16:08.000000000 -0800 +@@ -0,0 +1,237 @@ +/* -+ * reserved comment block -+ * DO NOT REMOVE OR ALTER! ++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. ++ * ++ * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. ++ * ++ * The contents of this file are subject to the terms of either the GNU ++ * General Public License Version 2 only ("GPL") or the Common Development ++ * and Distribution License("CDDL") (collectively, the "License"). You ++ * may not use this file except in compliance with the License. You can ++ * obtain a copy of the License at ++ * https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html ++ * or packager/legal/LICENSE.txt. See the License for the specific ++ * language governing permissions and limitations under the License. ++ * ++ * When distributing the software, include this License Header Notice in each ++ * file and include the License file at packager/legal/LICENSE.txt. ++ * ++ * GPL Classpath Exception: ++ * Oracle designates this particular file as subject to the "Classpath" ++ * exception as provided by Oracle in the GPL Version 2 section of the License ++ * file that accompanied this code. ++ * ++ * Modifications: ++ * If applicable, add the following below the License Header, with the fields ++ * enclosed by brackets [] replaced by your own identifying information: ++ * "Portions Copyright [year] [name of copyright owner]" ++ * ++ * Contributor(s): ++ * If you wish your version of this file to be governed by only the CDDL or ++ * only the GPL Version 2, indicate your decision by adding "[Contributor] ++ * elects to include this software in this distribution under the [CDDL or GPL ++ * Version 2] license." If you don't indicate a single choice of license, a ++ * recipient has the option to distribute your version of this file under ++ * either the CDDL, the GPL Version 2 or to extend the choice of license to ++ * its licensees as provided above. However, if you add GPL Version 2 code ++ * and therefore, elected the GPL Version 2 license, then the option applies ++ * only if the new code is made subject to such option by the copyright ++ * holder. ++ */ ++package com.sun.org.apache.xerces.internal.utils; ++ ++import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.Limit; ++import java.util.Formatter; ++import java.util.HashMap; ++import java.util.Map; ++ ++/** ++ * A helper for analyzing entity expansion limits ++ * ++ * @author Joe Wang Oracle Corp. ++ * + */ ++public final class XMLLimitAnalyzer { ++ ++ /** ++ * Map old property names with the new ones ++ */ ++ public static enum NameMap { ++ ENTITY_EXPANSION_LIMIT(Constants.SP_ENTITY_EXPANSION_LIMIT, Constants.ENTITY_EXPANSION_LIMIT), ++ MAX_OCCUR_NODE_LIMIT(Constants.SP_MAX_OCCUR_LIMIT, Constants.MAX_OCCUR_LIMIT), ++ ELEMENT_ATTRIBUTE_LIMIT(Constants.SP_ELEMENT_ATTRIBUTE_LIMIT, Constants.ELEMENT_ATTRIBUTE_LIMIT); ++ ++ final String newName; ++ final String oldName; ++ ++ NameMap(String newName, String oldName) { ++ this.newName = newName; ++ this.oldName = oldName; ++ } ++ ++ String getOldName(String newName) { ++ if (newName.equals(this.newName)) { ++ return oldName; ++ } ++ return null; ++ } ++ } ++ ++ /** ++ * Max value accumulated for each property ++ */ ++ private final int[] values; ++ /** ++ * Names of the entities corresponding to their max values ++ */ ++ private final String[] names; ++ /** ++ * Total value of accumulated entities ++ */ ++ private final int[] totalValue; ++ ++ /** ++ * Maintain values of the top 10 elements in the process of parsing ++ */ ++ private final Map[] caches; ++ ++ private String entityStart, entityEnd; ++ /** ++ * Default constructor. Establishes default values for known security ++ * vulnerabilities. ++ */ ++ public XMLLimitAnalyzer() { ++ values = new int[Limit.values().length]; ++ totalValue = new int[Limit.values().length]; ++ names = new String[Limit.values().length]; ++ caches = new Map[Limit.values().length]; ++ } ++ ++ /** ++ * Add the value to the current max count for the specified property ++ * To find the max value of all entities, set no limit ++ * ++ * @param limit the type of the property ++ * @param entityName the name of the entity ++ * @param value the value of the entity ++ */ ++ public void addValue(Limit limit, String entityName, int value) { ++ addValue(limit.ordinal(), entityName, value); ++ } ++ ++ /** ++ * Add the value to the current count by the index of the property ++ * @param index the index of the property ++ * @param entityName the name of the entity ++ * @param value the value of the entity ++ */ ++ public void addValue(int index, String entityName, int value) { ++ if (index == Limit.ENTITY_EXPANSION_LIMIT.ordinal() || ++ index == Limit.MAX_OCCUR_NODE_LIMIT.ordinal() || ++ index == Limit.ELEMENT_ATTRIBUTE_LIMIT.ordinal()) { ++ totalValue[index] += value; ++ return; ++ } ++ ++ Map<String, Integer> cache; ++ if (caches[index] == null) { ++ cache = new HashMap<String, Integer>(10); ++ caches[index] = cache; ++ } else { ++ cache = caches[index]; ++ } ++ ++ int accumulatedValue = value; ++ if (cache.containsKey(entityName)) { ++ accumulatedValue += cache.get(entityName).intValue(); ++ cache.put(entityName, Integer.valueOf(accumulatedValue)); ++ } else { ++ cache.put(entityName, Integer.valueOf(value)); ++ } ++ ++ if (accumulatedValue > values[index]) { ++ values[index] = accumulatedValue; ++ names[index] = entityName; ++ } ++ ++ ++ if (index == Limit.GENEAL_ENTITY_SIZE_LIMIT.ordinal() || ++ index == Limit.PARAMETER_ENTITY_SIZE_LIMIT.ordinal()) { ++ totalValue[Limit.TOTAL_ENTITY_SIZE_LIMIT.ordinal()] += value; ++ } ++ } ++ ++ /** ++ * Return the value of the current max count for the specified property ++ * ++ * @param limit the property ++ * @return the value of the property ++ */ ++ public int getValue(Limit limit) { ++ return values[limit.ordinal()]; ++ } ++ ++ public int getValue(int index) { ++ return values[index]; ++ } ++ /** ++ * Return the total value accumulated so far ++ * ++ * @param limit the property ++ * @return the accumulated value of the property ++ */ ++ public int getTotalValue(Limit limit) { ++ return totalValue[limit.ordinal()]; ++ } ++ ++ public int getTotalValue(int index) { ++ return totalValue[index]; ++ } ++ /** ++ * Return the current max value (count or length) by the index of a property ++ * @param index the index of a property ++ * @return count of a property ++ */ ++ public int getValueByIndex(int index) { ++ return values[index]; ++ } ++ ++ public void startEntity(String name) { ++ entityStart = name; ++ } ++ ++ public boolean isTracking(String name) { ++ if (entityStart == null) { ++ return false; ++ } ++ return entityStart.equals(name); ++ } ++ /** ++ * Stop tracking the entity ++ * @param limit the limit property ++ * @param name the name of an entity ++ */ ++ public void endEntity(Limit limit, String name) { ++ entityStart = ""; ++ Map<String, Integer> cache = caches[limit.ordinal()]; ++ if (cache != null) { ++ cache.remove(name); ++ } ++ } ++ ++ public void debugPrint(XMLSecurityManager securityManager) { ++ Formatter formatter = new Formatter(); ++ System.out.println(formatter.format("%30s %15s %15s %15s %30s", ++ "Property","Limit","Total size","Size","Entity Name")); ++ ++ for (Limit limit : Limit.values()) { ++ formatter = new Formatter(); ++ System.out.println(formatter.format("%30s %15d %15d %15d %30s", ++ limit.name(), ++ securityManager.getLimit(limit), ++ totalValue[limit.ordinal()], ++ values[limit.ordinal()], ++ names[limit.ordinal()])); ++ } ++ } ++} +--- jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -0,0 +1,540 @@ +/* -+ * Copyright 2002-2004 The Apache Software Foundation. ++ * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. ++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * -+ * Licensed under the Apache License, Version 2.0 (the "License"); -+ * you may not use this file except in compliance with the License. -+ * You may obtain a copy of the License at ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. + * -+ * http://www.apache.org/licenses/LICENSE-2.0 ++ * 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. + * -+ * Unless required by applicable law or agreed to in writing, software -+ * distributed under the License is distributed on an "AS IS" BASIS, -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -+ * See the License for the specific language governing permissions and -+ * limitations under the License. ++ * 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. + */ + -+package com.sun.org.apache.bcel.internal.util; ++package com.sun.org.apache.xerces.internal.utils; + -+import java.io.File; -+import java.io.FileInputStream; -+import java.io.FileNotFoundException; -+import java.io.FilenameFilter; -+import java.io.InputStream; -+import java.lang.ClassLoader; -+import java.security.AccessController; -+import java.security.PrivilegedAction; -+import java.security.PrivilegedActionException; -+import java.security.PrivilegedExceptionAction; -+import java.util.ListResourceBundle; -+import java.util.Locale; -+import java.util.MissingResourceException; -+import java.util.ResourceBundle; ++import com.sun.org.apache.xerces.internal.impl.Constants; ++import com.sun.org.apache.xerces.internal.util.SecurityManager; + +/** -+ * This class is duplicated for each subpackage so keep it in sync. It is -+ * package private and therefore is not exposed as part of any API. ++ * This class manages standard and implementation-specific limitations. + * -+ * @xerces.internal + */ -+public final class SecuritySupport { -+ -+ private static final SecuritySupport securitySupport = new SecuritySupport(); ++public final class XMLSecurityManager { + + /** -+ * Return an instance of this class. ++ * States of the settings of a property, in the order: default value, value ++ * set by FEATURE_SECURE_PROCESSING, jaxp.properties file, jaxp system ++ * properties, and jaxp api properties + */ -+ public static SecuritySupport getInstance() { -+ return securitySupport; ++ public static enum State { ++ //this order reflects the overriding order ++ ++ DEFAULT("default"), FSP("FEATURE_SECURE_PROCESSING"), ++ JAXPDOTPROPERTIES("jaxp.properties"), SYSTEMPROPERTY("system property"), ++ APIPROPERTY("property"); ++ ++ final String literal; ++ State(String literal) { ++ this.literal = literal; ++ } ++ ++ String literal() { ++ return literal; ++ } + } + -+ static ClassLoader getContextClassLoader() { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ ClassLoader cl = null; -+ try { -+ cl = Thread.currentThread().getContextClassLoader(); -+ } catch (SecurityException ex) { -+ } -+ return cl; -+ } -+ }); ++ /** ++ * Limits managed by the security manager ++ */ ++ public static enum Limit { ++ ++ ENTITY_EXPANSION_LIMIT(Constants.JDK_ENTITY_EXPANSION_LIMIT, Constants.SP_ENTITY_EXPANSION_LIMIT, 0, 64000), ++ MAX_OCCUR_NODE_LIMIT(Constants.JDK_MAX_OCCUR_LIMIT, Constants.SP_MAX_OCCUR_LIMIT, 0, 5000), ++ ELEMENT_ATTRIBUTE_LIMIT(Constants.JDK_ELEMENT_ATTRIBUTE_LIMIT, Constants.SP_ELEMENT_ATTRIBUTE_LIMIT, 0, 10000), ++ TOTAL_ENTITY_SIZE_LIMIT(Constants.JDK_TOTAL_ENTITY_SIZE_LIMIT, Constants.SP_TOTAL_ENTITY_SIZE_LIMIT, 0, 50000000), ++ GENEAL_ENTITY_SIZE_LIMIT(Constants.JDK_GENEAL_ENTITY_SIZE_LIMIT, Constants.SP_GENEAL_ENTITY_SIZE_LIMIT, 0, 0), ++ PARAMETER_ENTITY_SIZE_LIMIT(Constants.JDK_PARAMETER_ENTITY_SIZE_LIMIT, Constants.SP_PARAMETER_ENTITY_SIZE_LIMIT, 0, 1000000); ++ ++ final String apiProperty; ++ final String systemProperty; ++ final int defaultValue; ++ final int secureValue; ++ ++ Limit(String apiProperty, String systemProperty, int value, int secureValue) { ++ this.apiProperty = apiProperty; ++ this.systemProperty = systemProperty; ++ this.defaultValue = value; ++ this.secureValue = secureValue; ++ } ++ ++ public boolean equalsAPIPropertyName(String propertyName) { ++ return (propertyName == null) ? false : apiProperty.equals(propertyName); ++ } ++ ++ public boolean equalsSystemPropertyName(String propertyName) { ++ return (propertyName == null) ? false : systemProperty.equals(propertyName); ++ } ++ ++ public String apiProperty() { ++ return apiProperty; ++ } ++ ++ String systemProperty() { ++ return systemProperty; ++ } ++ ++ int defaultValue() { ++ return defaultValue; ++ } ++ ++ int secureValue() { ++ return secureValue; ++ } + } + -+ static ClassLoader getSystemClassLoader() { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ ClassLoader cl = null; -+ try { -+ cl = ClassLoader.getSystemClassLoader(); -+ } catch (SecurityException ex) { -+ } -+ return cl; ++ /** ++ * Map old property names with the new ones ++ */ ++ public static enum NameMap { ++ ++ ENTITY_EXPANSION_LIMIT(Constants.SP_ENTITY_EXPANSION_LIMIT, Constants.ENTITY_EXPANSION_LIMIT), ++ MAX_OCCUR_NODE_LIMIT(Constants.SP_MAX_OCCUR_LIMIT, Constants.MAX_OCCUR_LIMIT), ++ ELEMENT_ATTRIBUTE_LIMIT(Constants.SP_ELEMENT_ATTRIBUTE_LIMIT, Constants.ELEMENT_ATTRIBUTE_LIMIT); ++ final String newName; ++ final String oldName; ++ ++ NameMap(String newName, String oldName) { ++ this.newName = newName; ++ this.oldName = oldName; ++ } ++ ++ String getOldName(String newName) { ++ if (newName.equals(this.newName)) { ++ return oldName; + } -+ }); ++ return null; ++ } + } ++ private static final int NO_LIMIT = 0; ++ /** ++ * Values of the properties ++ */ ++ private final int[] values; ++ /** ++ * States of the settings for each property ++ */ ++ private State[] states; ++ /** ++ * Flag indicating if secure processing is set ++ */ ++ boolean secureProcessing; + -+ static ClassLoader getParentClassLoader(final ClassLoader cl) { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ ClassLoader parent = null; -+ try { -+ parent = cl.getParent(); -+ } catch (SecurityException ex) { -+ } ++ /** ++ * States that determine if properties are set explicitly ++ */ ++ private boolean[] isSet; + -+ // eliminate loops in case of the boot -+ // ClassLoader returning itself as a parent -+ return (parent == cl) ? null : parent; ++ ++ /** ++ * Index of the special entityCountInfo property ++ */ ++ private int indexEntityCountInfo = 10000; ++ private String printEntityCountInfo = ""; ++ ++ /** ++ * Default constructor. Establishes default values for known security ++ * vulnerabilities. ++ */ ++ public XMLSecurityManager() { ++ this(false); ++ } ++ ++ /** ++ * Instantiate Security Manager in accordance with the status of ++ * secure processing ++ * @param secureProcessing ++ */ ++ public XMLSecurityManager(boolean secureProcessing) { ++ values = new int[Limit.values().length]; ++ states = new State[Limit.values().length]; ++ isSet = new boolean[Limit.values().length]; ++ this.secureProcessing = secureProcessing; ++ for (Limit limit : Limit.values()) { ++ if (secureProcessing) { ++ values[limit.ordinal()] = limit.secureValue; ++ states[limit.ordinal()] = State.FSP; ++ } else { ++ values[limit.ordinal()] = limit.defaultValue(); ++ states[limit.ordinal()] = State.DEFAULT; + } -+ }); ++ } ++ //read system properties or jaxp.properties ++ readSystemProperties(); + } + -+ public static String getSystemProperty(final String propName) { -+ return (String) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return System.getProperty(propName); ++ /** ++ * Setting FEATURE_SECURE_PROCESSING explicitly ++ */ ++ public void setSecureProcessing(boolean secure) { ++ secureProcessing = secure; ++ for (Limit limit : Limit.values()) { ++ if (secure) { ++ setLimit(limit.ordinal(), State.FSP, limit.secureValue()); ++ } else { ++ setLimit(limit.ordinal(), State.FSP, limit.defaultValue()); + } -+ }); ++ } + } + -+ static FileInputStream getFileInputStream(final File file) -+ throws FileNotFoundException { -+ try { -+ return (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction() { -+ public Object run() throws FileNotFoundException { -+ return new FileInputStream(file); -+ } -+ }); -+ } catch (PrivilegedActionException e) { -+ throw (FileNotFoundException) e.getException(); ++ /** ++ * Return the state of secure processing ++ * @return the state of secure processing ++ */ ++ public boolean isSecureProcessing() { ++ return secureProcessing; ++ } ++ ++ ++ /** ++ * Set limit by property name and state ++ * @param propertyName property name ++ * @param state the state of the property ++ * @param value the value of the property ++ * @return true if the property is managed by the security manager; false ++ * if otherwise. ++ */ ++ public boolean setLimit(String propertyName, State state, Object value) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ setLimit(index, state, value); ++ return true; + } ++ return false; + } + + /** -+ * Return resource using the same classloader for the ObjectFactory by -+ * default or bootclassloader when Security Manager is in place ++ * Set the value for a specific limit. ++ * ++ * @param limit the limit ++ * @param state the state of the property ++ * @param value the value of the property + */ -+ public static InputStream getResourceAsStream(final String name) { -+ if (System.getSecurityManager() != null) { -+ return getResourceAsStream(null, name); ++ public void setLimit(Limit limit, State state, int value) { ++ setLimit(limit.ordinal(), state, value); ++ } ++ ++ /** ++ * Set the value of a property by its index ++ * ++ * @param index the index of the property ++ * @param state the state of the property ++ * @param value the value of the property ++ */ ++ public void setLimit(int index, State state, Object value) { ++ if (index == indexEntityCountInfo) { ++ printEntityCountInfo = (String)value; + } else { -+ return getResourceAsStream(findClassLoader(), name); ++ int temp; ++ if (Integer.class.isAssignableFrom(value.getClass())) { ++ temp = ((Integer)value).intValue(); ++ } else { ++ temp = Integer.parseInt((String) value); ++ if (temp < 0) { ++ temp = 0; ++ } ++ } ++ setLimit(index, state, temp); + } + } + -+ public static InputStream getResourceAsStream(final ClassLoader cl, -+ final String name) { -+ return (InputStream) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ InputStream ris; -+ if (cl == null) { -+ ris = Object.class.getResourceAsStream("/" + name); -+ } else { -+ ris = cl.getResourceAsStream(name); -+ } -+ return ris; ++ /** ++ * Set the value of a property by its index ++ * ++ * @param index the index of the property ++ * @param state the state of the property ++ * @param value the value of the property ++ */ ++ public void setLimit(int index, State state, int value) { ++ if (index == indexEntityCountInfo) { ++ //if it's explicitly set, it's treated as yes no matter the value ++ printEntityCountInfo = Constants.JDK_YES; ++ } else { ++ //only update if it shall override ++ if (state.compareTo(states[index]) >= 0) { ++ values[index] = value; ++ states[index] = state; ++ isSet[index] = true; + } -+ }); ++ } + } + + /** -+ * Gets a resource bundle using the specified base name, the default locale, -+ * and the caller's class loader. ++ * Return the value of the specified property + * -+ * @param bundle the base name of the resource bundle, a fully qualified -+ * class name -+ * @return a resource bundle for the given base name and the default locale ++ * @param propertyName the property name ++ * @return the value of the property as a string. If a property is managed ++ * by this manager, its value shall not be null. + */ -+ public static ListResourceBundle getResourceBundle(String bundle) { -+ return getResourceBundle(bundle, Locale.getDefault()); ++ public String getLimitAsString(String propertyName) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ return getLimitValueByIndex(index); ++ } ++ ++ return null; ++ } ++ /** ++ * Return the value of the specified property ++ * ++ * @param limit the property ++ * @return the value of the property ++ */ ++ public int getLimit(Limit limit) { ++ return values[limit.ordinal()]; + } + + /** -+ * Gets a resource bundle using the specified base name and locale, and the -+ * caller's class loader. ++ * Return the value of a property by its ordinal + * -+ * @param bundle the base name of the resource bundle, a fully qualified -+ * class name -+ * @param locale the locale for which a resource bundle is desired -+ * @return a resource bundle for the given base name and locale ++ * @param limit the property ++ * @return value of a property + */ -+ public static ListResourceBundle getResourceBundle(final String bundle, final Locale locale) { -+ return AccessController.doPrivileged(new PrivilegedAction<ListResourceBundle>() { -+ public ListResourceBundle run() { -+ try { -+ return (ListResourceBundle) ResourceBundle.getBundle(bundle, locale); -+ } catch (MissingResourceException e) { -+ try { -+ return (ListResourceBundle) ResourceBundle.getBundle(bundle, new Locale("en", "US")); -+ } catch (MissingResourceException e2) { -+ throw new MissingResourceException( -+ "Could not load any resource bundle by " + bundle, bundle, ""); -+ } -+ } -+ } -+ }); ++ public String getLimitValueAsString(Limit limit) { ++ return Integer.toString(values[limit.ordinal()]); + } + -+ public static String[] getFileList(final File f, final FilenameFilter filter) { -+ return ((String[]) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return f.list(filter); -+ } -+ })); ++ /** ++ * Return the value of a property by its ordinal ++ * ++ * @param index the index of a property ++ * @return limit of a property as a string ++ */ ++ public String getLimitValueByIndex(int index) { ++ if (index == indexEntityCountInfo) { ++ return printEntityCountInfo; ++ } ++ ++ return Integer.toString(values[index]); + } + -+ public static boolean getFileExists(final File f) { -+ return ((Boolean) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return f.exists() ? Boolean.TRUE : Boolean.FALSE; -+ } -+ })).booleanValue(); ++ /** ++ * Return the state of the limit property ++ * ++ * @param limit the limit ++ * @return the state of the limit property ++ */ ++ public State getState(Limit limit) { ++ return states[limit.ordinal()]; ++ } ++ ++ /** ++ * Return the state of the limit property ++ * ++ * @param limit the limit ++ * @return the state of the limit property ++ */ ++ public String getStateLiteral(Limit limit) { ++ return states[limit.ordinal()].literal(); + } + -+ static long getLastModified(final File f) { -+ return ((Long) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return new Long(f.lastModified()); ++ /** ++ * Get the index by property name ++ * ++ * @param propertyName property name ++ * @return the index of the property if found; return -1 if not ++ */ ++ public int getIndex(String propertyName) { ++ for (Limit limit : Limit.values()) { ++ if (limit.equalsAPIPropertyName(propertyName)) { ++ //internally, ordinal is used as index ++ return limit.ordinal(); + } -+ })).longValue(); ++ } ++ //special property to return entity count info ++ if (propertyName.equals(Constants.JDK_ENTITY_COUNT_INFO)) { ++ return indexEntityCountInfo; ++ } ++ return -1; ++ } ++ ++ /** ++ * Check if there's no limit defined by the Security Manager ++ * @param limit ++ * @return ++ */ ++ public boolean isNoLimit(int limit) { ++ return limit==NO_LIMIT; ++ } ++ /** ++ * Check if the size (length or count) of the specified limit property is ++ * over the limit ++ * ++ * @param limit the type of the limit property ++ * @param entityName the name of the entity ++ * @param size the size (count or length) of the entity ++ * @return true if the size is over the limit, false otherwise ++ */ ++ public boolean isOverLimit(Limit limit, String entityName, int size, ++ XMLLimitAnalyzer limitAnalyzer) { ++ return isOverLimit(limit.ordinal(), entityName, size, limitAnalyzer); + } + ++ /** ++ * Check if the value (length or count) of the specified limit property is ++ * over the limit ++ * ++ * @param index the index of the limit property ++ * @param entityName the name of the entity ++ * @param size the size (count or length) of the entity ++ * @return true if the size is over the limit, false otherwise ++ */ ++ public boolean isOverLimit(int index, String entityName, int size, ++ XMLLimitAnalyzer limitAnalyzer) { ++ if (values[index] == NO_LIMIT) { ++ return false; ++ } ++ if (size > values[index]) { ++ limitAnalyzer.addValue(index, entityName, size); ++ return true; ++ } ++ return false; ++ } + + /** -+ * Figure out which ClassLoader to use. ++ * Check against cumulated value ++ * ++ * @param limit the type of the limit property ++ * @param size the size (count or length) of the entity ++ * @return true if the size is over the limit, false otherwise + */ -+ public static ClassLoader findClassLoader() -+ { -+ if (System.getSecurityManager()!=null) { -+ //this will ensure bootclassloader is used -+ return null; ++ public boolean isOverLimit(Limit limit, XMLLimitAnalyzer limitAnalyzer) { ++ return isOverLimit(limit.ordinal(), limitAnalyzer); ++ } ++ ++ public boolean isOverLimit(int index, XMLLimitAnalyzer limitAnalyzer) { ++ if (values[index] == NO_LIMIT) { ++ return false; ++ } ++ ++ if (index==Limit.ELEMENT_ATTRIBUTE_LIMIT.ordinal() || ++ index==Limit.ENTITY_EXPANSION_LIMIT.ordinal() || ++ index==Limit.TOTAL_ENTITY_SIZE_LIMIT.ordinal()) { ++ return (limitAnalyzer.getTotalValue(index) > values[index]); + } else { -+ return SecuritySupport.class.getClassLoader(); ++ return (limitAnalyzer.getValue(index) > values[index]); + } -+ } // findClassLoader():ClassLoader ++ } + -+ private SecuritySupport() { ++ public void debugPrint(XMLLimitAnalyzer limitAnalyzer) { ++ if (printEntityCountInfo.equals(Constants.JDK_YES)) { ++ limitAnalyzer.debugPrint(this); ++ } + } -+} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLMessages.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLMessages.java 2013-04-28 16:29:20.000000000 -0700 -@@ -22,68 +22,72 @@ - */ - package com.sun.org.apache.xalan.internal.res; - -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.util.ListResourceBundle; - - import com.sun.org.apache.xpath.internal.res.XPATHMessages; - - /** -- * Sets things up for issuing error messages. This class is misnamed, and -- * should be called XalanMessages, or some such. -+ * Sets things up for issuing error messages. This class is misnamed, and should -+ * be called XalanMessages, or some such. -+ * - * @xsl.usage internal - */ --public class XSLMessages extends XPATHMessages --{ -+public class XSLMessages extends XPATHMessages { - -- /** The language specific resource object for Xalan messages. */ -- private static ListResourceBundle XSLTBundle = null; -- -- /** The class name of the Xalan error message string table. */ -- private static final String XSLT_ERROR_RESOURCES = -- "com.sun.org.apache.xalan.internal.res.XSLTErrorResources"; -- -- /** -- * Creates a message from the specified key and replacement -- * arguments, localized to the given locale. -- * -- * @param msgKey The key for the message text. -- * @param args The arguments to be used as replacement text -- * in the message created. -- * -- * @return The formatted message string. -- */ -- public static final String createMessage(String msgKey, Object args[]) //throws Exception -- { -- if (XSLTBundle == null) -- XSLTBundle = loadResourceBundle(XSLT_ERROR_RESOURCES); -- -- if (XSLTBundle != null) ++ ++ + /** -+ * The language specific resource object for Xalan messages. ++ * Indicate if a property is set explicitly ++ * @param index ++ * @return + */ -+ private static ListResourceBundle XSLTBundle = null; ++ public boolean isSet(int index) { ++ return isSet[index]; ++ } ++ ++ public boolean printEntityCountInfo() { ++ return printEntityCountInfo.equals(Constants.JDK_YES); ++ } ++ + /** -+ * The class name of the Xalan error message string table. ++ * Read from system properties, or those in jaxp.properties + */ -+ private static final String XSLT_ERROR_RESOURCES = -+ "com.sun.org.apache.xalan.internal.res.XSLTErrorResources"; ++ private void readSystemProperties() { ++ ++ for (Limit limit : Limit.values()) { ++ if (!getSystemProperty(limit, limit.systemProperty())) { ++ //if system property is not found, try the older form if any ++ for (NameMap nameMap : NameMap.values()) { ++ String oldName = nameMap.getOldName(limit.systemProperty()); ++ if (oldName != null) { ++ getSystemProperty(limit, oldName); ++ } ++ } ++ } ++ } ++ ++ } + + /** -+ * Creates a message from the specified key and replacement arguments, -+ * localized to the given locale. ++ * Read from system properties, or those in jaxp.properties + * -+ * @param msgKey The key for the message text. -+ * @param args The arguments to be used as replacement text in the message -+ * created. -+ * -+ * @return The formatted message string. ++ * @param property the type of the property ++ * @param sysPropertyName the name of system property + */ -+ public static String createMessage(String msgKey, Object args[]) //throws Exception - { -- return createMsg(XSLTBundle, msgKey, args); -+ if (XSLTBundle == null) { -+ XSLTBundle = SecuritySupport.getResourceBundle(XSLT_ERROR_RESOURCES); ++ private boolean getSystemProperty(Limit limit, String sysPropertyName) { ++ try { ++ String value = SecuritySupport.getSystemProperty(sysPropertyName); ++ if (value != null && !value.equals("")) { ++ values[limit.ordinal()] = Integer.parseInt(value); ++ states[limit.ordinal()] = State.SYSTEMPROPERTY; ++ return true; ++ } ++ ++ value = SecuritySupport.readJAXPProperty(sysPropertyName); ++ if (value != null && !value.equals("")) { ++ values[limit.ordinal()] = Integer.parseInt(value); ++ states[limit.ordinal()] = State.JAXPDOTPROPERTIES; ++ return true; ++ } ++ } catch (NumberFormatException e) { ++ //invalid setting ++ throw new NumberFormatException("Invalid setting for system property: " + limit.systemProperty()); + } ++ return false; ++ } ++ + -+ if (XSLTBundle != null) { -+ return createMsg(XSLTBundle, msgKey, args); ++ /** ++ * Convert a value set through setProperty to XMLSecurityManager. ++ * If the value is an instance of XMLSecurityManager, use it to override the default; ++ * If the value is an old SecurityManager, convert to the new XMLSecurityManager. ++ * ++ * @param value user specified security manager ++ * @param securityManager an instance of XMLSecurityManager ++ * @return an instance of the new security manager XMLSecurityManager ++ */ ++ static public XMLSecurityManager convert(Object value, XMLSecurityManager securityManager) { ++ if (value == null) { ++ if (securityManager == null) { ++ securityManager = new XMLSecurityManager(true); ++ } ++ return securityManager; ++ } ++ if (XMLSecurityManager.class.isAssignableFrom(value.getClass())) { ++ return (XMLSecurityManager)value; + } else { -+ return "Could not load any resource bundles."; ++ if (securityManager == null) { ++ securityManager = new XMLSecurityManager(true); ++ } ++ if (SecurityManager.class.isAssignableFrom(value.getClass())) { ++ SecurityManager origSM = (SecurityManager)value; ++ securityManager.setLimit(Limit.MAX_OCCUR_NODE_LIMIT, State.APIPROPERTY, origSM.getMaxOccurNodeLimit()); ++ securityManager.setLimit(Limit.ENTITY_EXPANSION_LIMIT, State.APIPROPERTY, origSM.getEntityExpansionLimit()); ++ securityManager.setLimit(Limit.ELEMENT_ATTRIBUTE_LIMIT, State.APIPROPERTY, origSM.getElementAttrLimit()); ++ } ++ return securityManager; + } ++ } ++} +--- jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityPropertyManager.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/utils/XMLSecurityPropertyManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -91,6 +91,24 @@ + readSystemProperties(); } -- else -- return "Could not load any resource bundles."; -- } -- -- /** -- * Creates a message from the specified key and replacement -- * arguments, localized to the given locale. -- * -- * @param msgKey The key for the message text. -- * @param args The arguments to be used as replacement text -- * in the message created. -- * -- * @return The formatted warning string. -- */ -- public static final String createWarning(String msgKey, Object args[]) //throws Exception -- { -- if (XSLTBundle == null) -- XSLTBundle = loadResourceBundle(XSLT_ERROR_RESOURCES); -- if (XSLTBundle != null) ++ + /** -+ * Creates a message from the specified key and replacement arguments, -+ * localized to the given locale. -+ * -+ * @param msgKey The key for the message text. -+ * @param args The arguments to be used as replacement text in the message -+ * created. -+ * -+ * @return The formatted warning string. ++ * Set limit by property name and state ++ * @param propertyName property name ++ * @param state the state of the property ++ * @param value the value of the property ++ * @return true if the property is managed by the security property manager; ++ * false if otherwise. + */ -+ public static String createWarning(String msgKey, Object args[]) //throws Exception - { -- return createMsg(XSLTBundle, msgKey, args); -+ if (XSLTBundle == null) { -+ XSLTBundle = SecuritySupport.getResourceBundle(XSLT_ERROR_RESOURCES); ++ public boolean setValue(String propertyName, State state, Object value) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ setValue(index, state, (String)value); ++ return true; + } ++ return false; ++ } + -+ if (XSLTBundle != null) { -+ return createMsg(XSLTBundle, msgKey, args); -+ } else { -+ return "Could not load any resource bundles."; -+ } + /** + * Set the value for a specific property. + * +@@ -119,6 +137,23 @@ + states[index] = state; + } } -- else -- return "Could not load any resource bundles."; -- } - } ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; ++ ++ ++ /** ++ * Return the value of the specified property ++ * ++ * @param propertyName the property name ++ * @return the value of the property as a string ++ */ ++ public String getValue(String propertyName) { ++ int index = getIndex(propertyName); ++ if (index > -1) { ++ return getValueByIndex(index); ++ } ++ ++ return null; ++ } ++ + /** + * Return the value of the specified property + * +--- jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java 2013-09-06 11:23:00.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java 2013-12-01 11:13:41.000000000 -0800 +@@ -37,7 +37,6 @@ + import com.sun.org.apache.xerces.internal.util.HTTPInputSource; + import com.sun.org.apache.xerces.internal.util.IntStack; + import com.sun.org.apache.xerces.internal.util.ParserConfigurationSettings; +-import com.sun.org.apache.xerces.internal.util.SecurityManager; + import com.sun.org.apache.xerces.internal.util.SymbolTable; + import com.sun.org.apache.xerces.internal.util.URI; + import com.sun.org.apache.xerces.internal.util.XMLAttributesImpl; +@@ -45,6 +44,7 @@ + import com.sun.org.apache.xerces.internal.util.XMLChar; + import com.sun.org.apache.xerces.internal.util.XMLSymbols; + import com.sun.org.apache.xerces.internal.util.URI.MalformedURIException; ++import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager; + import com.sun.org.apache.xerces.internal.xni.Augmentations; + import com.sun.org.apache.xerces.internal.xni.NamespaceContext; + import com.sun.org.apache.xerces.internal.xni.QName; +@@ -289,7 +289,7 @@ + protected SymbolTable fSymbolTable; + protected XMLErrorReporter fErrorReporter; + protected XMLEntityResolver fEntityResolver; +- protected SecurityManager fSecurityManager; ++ protected XMLSecurityManager fSecurityManager; + protected XMLSecurityPropertyManager fSecurityPropertyMgr; + + // these are needed for text include processing +@@ -517,8 +517,8 @@ + + // Get security manager. + try { +- SecurityManager value = +- (SecurityManager)componentManager.getProperty( ++ XMLSecurityManager value = ++ (XMLSecurityManager)componentManager.getProperty( + SECURITY_MANAGER); + + if (value != null) { +@@ -674,7 +674,7 @@ + return; + } + if (propertyId.equals(SECURITY_MANAGER)) { +- fSecurityManager = (SecurityManager)value; ++ fSecurityManager = (XMLSecurityManager)value; + if (fChildConfig != null) { + fChildConfig.setProperty(propertyId, value); + } +--- jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/XMLDTDScanner.java 2013-09-06 11:23:01.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/XMLDTDScanner.java 2014-01-18 12:16:08.000000000 -0800 +@@ -20,6 +20,7 @@ + package com.sun.org.apache.xerces.internal.xni.parser; -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { ++import com.sun.org.apache.xerces.internal.utils.XMLLimitAnalyzer; + import java.io.IOException; + import com.sun.org.apache.xerces.internal.xni.XNIException; + +@@ -95,4 +96,5 @@ + public boolean scanDTDExternalSubset(boolean complete) + throws IOException, XNIException; + ++ public void setLimitAnalyzer(XMLLimitAnalyzer limitAnalyzer); + } // interface XMLDTDScanner +--- jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java 2013-09-06 11:23:02.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java 2014-01-18 12:16:08.000000000 -0800 +@@ -24,20 +24,17 @@ + package com.sun.org.apache.xml.internal.resolver; + + import com.sun.org.apache.xerces.internal.utils.SecuritySupport; ++import com.sun.org.apache.xml.internal.resolver.helpers.BootstrapResolver; ++import com.sun.org.apache.xml.internal.resolver.helpers.Debug; + import java.io.InputStream; - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } - } -- } +-import java.net.URL; + import java.net.MalformedURLException; - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { ++import java.net.URL; + import java.util.MissingResourceException; + import java.util.PropertyResourceBundle; + import java.util.ResourceBundle; + import java.util.StringTokenizer; + import java.util.Vector; - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +-import com.sun.org.apache.xml.internal.resolver.helpers.Debug; +-import com.sun.org.apache.xml.internal.resolver.helpers.BootstrapResolver; +-import com.sun.org.apache.xml.internal.resolver.Catalog; ++import sun.reflect.misc.ReflectUtil; + + /** + * CatalogManager provides an interface to the catalog properties. +@@ -687,7 +684,7 @@ + catalog = new Catalog(); + } else { + try { +- catalog = (Catalog) Class.forName(catalogClassName).newInstance(); ++ catalog = (Catalog) ReflectUtil.forName(catalogClassName).newInstance(); + } catch (ClassNotFoundException cnfe) { + debug.message(1,"Catalog class named '" + + catalogClassName +--- jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogReader.java 2013-09-06 11:23:02.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogReader.java 2014-01-18 12:16:08.000000000 -0800 +@@ -23,24 +23,21 @@ + + package com.sun.org.apache.xml.internal.resolver.readers; + +-import java.util.Hashtable; ++import com.sun.org.apache.xml.internal.resolver.Catalog; ++import com.sun.org.apache.xml.internal.resolver.CatalogException; ++import com.sun.org.apache.xml.internal.resolver.helpers.Namespaces; + import java.io.IOException; + import java.io.InputStream; ++import java.net.MalformedURLException; + import java.net.URL; + import java.net.URLConnection; +-import java.net.MalformedURLException; - -- if (country.equals("TW")) -- suffix += "_" + country; +-import javax.xml.parsers.DocumentBuilderFactory; ++import java.util.Hashtable; + import javax.xml.parsers.DocumentBuilder; ++import javax.xml.parsers.DocumentBuilderFactory; + import javax.xml.parsers.ParserConfigurationException; - -- return suffix; -- } +-import com.sun.org.apache.xml.internal.resolver.Catalog; +-import com.sun.org.apache.xml.internal.resolver.CatalogException; +-import com.sun.org.apache.xml.internal.resolver.readers.CatalogReader; +-import com.sun.org.apache.xml.internal.resolver.helpers.Namespaces; - +-import org.xml.sax.SAXException; + import org.w3c.dom.*; ++import org.xml.sax.SAXException; ++import sun.reflect.misc.ReflectUtil; + + /** + * A DOM-based CatalogReader. +@@ -199,7 +196,7 @@ + DOMCatalogParser domParser = null; + + try { +- domParser = (DOMCatalogParser) Class.forName(domParserClass).newInstance(); ++ domParser = (DOMCatalogParser) ReflectUtil.forName(domParserClass).newInstance(); + } catch (ClassNotFoundException cnfe) { + catalog.getCatalogManager().debug.message(1, "Cannot load XML Catalog Parser class", domParserClass); + throw new CatalogException(CatalogException.UNPARSEABLE); +--- jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogReader.java 2013-09-06 11:23:02.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogReader.java 2014-01-18 12:16:08.000000000 -0800 +@@ -23,19 +23,21 @@ + + package com.sun.org.apache.xml.internal.resolver.readers; + +-import java.util.Hashtable; +-import java.io.IOException; ++import com.sun.org.apache.xml.internal.resolver.Catalog; ++import com.sun.org.apache.xml.internal.resolver.CatalogException; ++import com.sun.org.apache.xml.internal.resolver.CatalogManager; ++import com.sun.org.apache.xml.internal.resolver.helpers.Debug; + import java.io.FileNotFoundException; ++import java.io.IOException; + import java.io.InputStream; ++import java.net.MalformedURLException; + import java.net.URL; + import java.net.URLConnection; +-import java.net.MalformedURLException; + import java.net.UnknownHostException; +- ++import java.util.Hashtable; + import javax.xml.parsers.ParserConfigurationException; +-import javax.xml.parsers.SAXParserFactory; + import javax.xml.parsers.SAXParser; +- ++import javax.xml.parsers.SAXParserFactory; + import org.xml.sax.AttributeList; + import org.xml.sax.Attributes; + import org.xml.sax.ContentHandler; +@@ -45,12 +47,7 @@ + import org.xml.sax.Locator; + import org.xml.sax.Parser; + import org.xml.sax.SAXException; - --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_de.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_de.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; +-import com.sun.org.apache.xml.internal.resolver.Catalog; +-import com.sun.org.apache.xml.internal.resolver.CatalogManager; +-import com.sun.org.apache.xml.internal.resolver.CatalogException; +-import com.sun.org.apache.xml.internal.resolver.readers.CatalogReader; +-import com.sun.org.apache.xml.internal.resolver.helpers.Debug; ++import sun.reflect.misc.ReflectUtil; + /** + * A SAX-based CatalogReader. +@@ -246,7 +243,7 @@ + } + parser.parse(new InputSource(is), spHandler); + } else { +- Parser parser = (Parser) Class.forName(parserClass).newInstance(); ++ Parser parser = (Parser) ReflectUtil.forName(parserClass).newInstance(); + parser.setDocumentHandler(this); + if (bResolver != null) { + parser.setEntityResolver(bResolver); +@@ -352,7 +349,7 @@ + + try { + saxParser = (SAXCatalogParser) +- Class.forName(saxParserClass).newInstance(); ++ ReflectUtil.forName(saxParserClass).newInstance(); + + saxParser.setCatalog(catalog); + saxParser.startDocument(); +@@ -413,7 +410,7 @@ + + try { + saxParser = (SAXCatalogParser) +- Class.forName(saxParserClass).newInstance(); ++ ReflectUtil.forName(saxParserClass).newInstance(); + + saxParser.setCatalog(catalog); + saxParser.startDocument(); +--- jaxp/src/com/sun/org/apache/xml/internal/utils/XMLReaderManager.java 2013-09-06 11:23:03.000000000 -0700 ++++ jaxp/src/com/sun/org/apache/xml/internal/utils/XMLReaderManager.java 2013-12-01 11:13:41.000000000 -0800 +@@ -25,12 +25,15 @@ + import com.sun.org.apache.xalan.internal.XalanConstants; + import com.sun.org.apache.xalan.internal.utils.FactoryImpl; + import com.sun.org.apache.xalan.internal.utils.SecuritySupport; ++import com.sun.org.apache.xalan.internal.utils.XMLSecurityManager; + import java.util.HashMap; ++ + import javax.xml.XMLConstants; + import javax.xml.parsers.FactoryConfigurationError; + import javax.xml.parsers.ParserConfigurationException; + import javax.xml.parsers.SAXParserFactory; + import org.xml.sax.SAXException; ++import org.xml.sax.SAXNotRecognizedException; + import org.xml.sax.XMLReader; + import org.xml.sax.helpers.XMLReaderFactory; -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { +@@ -63,11 +66,15 @@ + private HashMap m_inUse; + + private boolean m_useServicesMechanism = true; ++ ++ private boolean _secureProcessing; + /** + * protocols allowed for external DTD references in source file and/or stylesheet. + */ + private String _accessExternalDTD = XalanConstants.EXTERNAL_ACCESS_DEFAULT; + ++ private XMLSecurityManager _xmlSecurityManager; ++ + /** + * Hidden constructor + */ +@@ -118,7 +125,12 @@ + // TransformerFactory creates a reader via the + // XMLReaderFactory if setXMLReader is not used + reader = XMLReaderFactory.createXMLReader(); - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); ++ try { ++ reader.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, _secureProcessing); ++ } catch (SAXNotRecognizedException e) { ++ System.err.println("Warning: " + reader.getClass().getName() + ": " ++ + e.getMessage()); ++ } + } catch (Exception e) { + try { + // If unable to create an instance, let's try to use +@@ -164,6 +176,21 @@ + + se.getMessage()); + } + ++ try { ++ if (_xmlSecurityManager != null) { ++ for (XMLSecurityManager.Limit limit : XMLSecurityManager.Limit.values()) { ++ reader.setProperty(limit.apiProperty(), ++ _xmlSecurityManager.getLimitValueAsString(limit)); ++ } ++ if (_xmlSecurityManager.printEntityCountInfo()) { ++ reader.setProperty(XalanConstants.JDK_ENTITY_COUNT_INFO, XalanConstants.JDK_YES); ++ } ++ } ++ } catch (SAXException se) { ++ System.err.println("Warning: " + reader.getClass().getName() + ": " ++ + se.getMessage()); ++ } ++ + return reader; + } + +@@ -195,11 +222,22 @@ + } + + /** ++ * Set feature ++ */ ++ public void setFeature(String name, boolean value) { ++ if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { ++ _secureProcessing = value; ++ } ++ } ++ ++ /** + * Get property value + */ +- public String getProperty(String name) { ++ public Object getProperty(String name) { + if (name.equals(XMLConstants.ACCESS_EXTERNAL_DTD)) { + return _accessExternalDTD; ++ } else if (name.equals(XalanConstants.SECURITY_MANAGER)) { ++ return _xmlSecurityManager; + } + return null; + } +@@ -207,9 +245,11 @@ + /** + * Set property. + */ +- public void setProperty(String name, String value) { ++ public void setProperty(String name, Object value) { + if (name.equals(XMLConstants.ACCESS_EXTERNAL_DTD)) { + _accessExternalDTD = (String)value; ++ } else if (name.equals(XalanConstants.SECURITY_MANAGER)) { ++ _xmlSecurityManager = (XMLSecurityManager)value; + } + } + } +--- jaxp/src/javax/xml/stream/FactoryFinder.java 2013-09-06 11:23:04.000000000 -0700 ++++ jaxp/src/javax/xml/stream/FactoryFinder.java 2013-12-01 11:13:41.000000000 -0800 +@@ -204,13 +204,15 @@ + * a property name + * @param fallbackClassName Implementation class name, if nothing else + * is found. Use null to mean no fallback. ++ * @param standardId Indicate whether the factoryId is standard ++ * or user specified. + * + * Package private so this code can be shared. + */ +- static Object find(String factoryId, String fallbackClassName) ++ static Object find(String factoryId, String fallbackClassName, boolean standardId) + throws ConfigurationError + { +- return find(factoryId, null, fallbackClassName); ++ return find(factoryId, null, fallbackClassName, standardId); + } + + /** +@@ -227,23 +229,34 @@ + * @param fallbackClassName Implementation class name, if nothing else + * is found. Use null to mean no fallback. + * ++ * @param standardId Indicate whether the factoryId is standard ++ * or user specified. ++ * + * Package private so this code can be shared. + */ +- static Object find(String factoryId, ClassLoader cl, String fallbackClassName) ++ static Object find(String factoryId, ClassLoader cl, String fallbackClassName, ++ boolean standardId) + throws ConfigurationError + { + dPrint("find factoryId =" + factoryId); + + // Use the system property first + try { +- String systemProp = ss.getSystemProperty(factoryId); ++ String systemProp; ++ if (standardId) { ++ systemProp = ss.getSystemProperty(factoryId); ++ } else { ++ systemProp = System.getProperty(factoryId); ++ } ++ + if (systemProp != null) { + dPrint("found system property, value=" + systemProp); + return newInstance(systemProp, null, true); + } + } + catch (SecurityException se) { +- if (debug) se.printStackTrace(); ++ throw new ConfigurationError( ++ "Failed to read factoryId '" + factoryId + "'", se); + } + + // Try read $java.home/lib/stax.properties followed by +--- jaxp/src/javax/xml/stream/XMLEventFactory.java 2013-09-06 11:23:04.000000000 -0700 ++++ jaxp/src/javax/xml/stream/XMLEventFactory.java 2013-12-01 11:13:41.000000000 -0800 +@@ -60,9 +60,7 @@ + public static XMLEventFactory newInstance() + throws FactoryConfigurationError + { +- return (XMLEventFactory) FactoryFinder.find( +- JAXPFACTORYID, +- DEFAULIMPL); ++ return (XMLEventFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -93,9 +91,7 @@ + public static XMLEventFactory newFactory() + throws FactoryConfigurationError + { +- return (XMLEventFactory) FactoryFinder.find( +- JAXPFACTORYID, +- DEFAULIMPL); ++ return (XMLEventFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -118,7 +114,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLEventFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLEventFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +@@ -145,7 +142,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLEventFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLEventFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +--- jaxp/src/javax/xml/stream/XMLInputFactory.java 2013-09-06 11:23:04.000000000 -0700 ++++ jaxp/src/javax/xml/stream/XMLInputFactory.java 2013-12-01 11:13:41.000000000 -0800 +@@ -139,6 +139,7 @@ + public static final String ALLOCATOR= + "javax.xml.stream.allocator"; + ++ static final String JAXPFACTORYID = "javax.xml.stream.XMLInputFactory"; + static final String DEFAULIMPL = "com.sun.xml.internal.stream.XMLInputFactoryImpl"; + + protected XMLInputFactory(){} +@@ -150,9 +151,7 @@ + public static XMLInputFactory newInstance() + throws FactoryConfigurationError + { +- return (XMLInputFactory) FactoryFinder.find( +- "javax.xml.stream.XMLInputFactory", +- DEFAULIMPL); ++ return (XMLInputFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -183,9 +182,7 @@ + public static XMLInputFactory newFactory() + throws FactoryConfigurationError + { +- return (XMLInputFactory) FactoryFinder.find( +- "javax.xml.stream.XMLInputFactory", +- DEFAULIMPL); ++ return (XMLInputFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -208,7 +205,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +@@ -235,7 +233,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +--- jaxp/src/javax/xml/stream/XMLOutputFactory.java 2013-09-06 11:23:04.000000000 -0700 ++++ jaxp/src/javax/xml/stream/XMLOutputFactory.java 2013-12-01 11:13:41.000000000 -0800 +@@ -115,6 +115,7 @@ + public static final String IS_REPAIRING_NAMESPACES= + "javax.xml.stream.isRepairingNamespaces"; + ++ static final String JAXPFACTORYID = "javax.xml.stream.XMLOutputFactory"; + static final String DEFAULIMPL = "com.sun.xml.internal.stream.XMLOutputFactoryImpl"; + + protected XMLOutputFactory(){} +@@ -126,8 +127,7 @@ + public static XMLOutputFactory newInstance() + throws FactoryConfigurationError + { +- return (XMLOutputFactory) FactoryFinder.find("javax.xml.stream.XMLOutputFactory", +- DEFAULIMPL); ++ return (XMLOutputFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -158,8 +158,7 @@ + public static XMLOutputFactory newFactory() + throws FactoryConfigurationError + { +- return (XMLOutputFactory) FactoryFinder.find("javax.xml.stream.XMLOutputFactory", +- DEFAULIMPL); ++ return (XMLOutputFactory) FactoryFinder.find(JAXPFACTORYID, DEFAULIMPL, true); + } + + /** +@@ -181,7 +180,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLInputFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +@@ -210,7 +210,8 @@ + throws FactoryConfigurationError { + try { + //do not fallback if given classloader can't find the class, throw exception +- return (XMLOutputFactory) FactoryFinder.find(factoryId, classLoader, null); ++ return (XMLOutputFactory) FactoryFinder.find(factoryId, classLoader, ++ null, factoryId.equals(JAXPFACTORYID) ? true : false); + } catch (FactoryFinder.ConfigurationError e) { + throw new FactoryConfigurationError(e.getException(), + e.getMessage()); +--- jaxws/.hgtags 2013-09-06 11:23:51.000000000 -0700 ++++ jaxws/.hgtags 2014-01-18 12:16:09.000000000 -0800 +@@ -123,6 +123,7 @@ + 05469dd4c3662c454f8a019e492543add60795cc jdk7-b146 + c01bfd68d0528bc88348813c4d75d7f5c62bc4e2 jdk7u1-b01 + d13b1f877bb5ed8dceb2f7ec10365d1db5f70b2d jdk7-b147 ++ce6378e3c791c56b98cbf161804a07d0225b41c0 7u0 + 4c24f7019ce939a452154a83151294ad7da66a9d jdk7u1-b02 + 272778f529d11081f548f37fcd6a7aec0b11a8dd jdk7u1-b03 + 48b06a6e6f46e5bcd610f4bed57cd5067cf31f8c jdk7u1-b04 +@@ -302,6 +303,22 @@ + 0cd0d4e7331f7fc9f9ee77f2275113571bcf67cf jdk7u25-b09 + 105cdfd4f40837917d0065e3e58052d2854df7da jdk7u25-b10 + 6de7fec036abf91ce962c74f11a6266491df3fd8 jdk7u25-b11 ++a367ebf0c21512867f4ab5cdd206dd8c7817c004 jdk7u14-b16 ++74c34f35912d8d7145b3ff34fefea2d2f189f2b4 jdk7u14-b17 ++c93a35b3638f45de91013d65543217a002577684 jdk7u14-b18 ++82be38857de3b2f6d8def98034f3e7b0827fd9f0 jdk7u14-b19 ++82be38857de3b2f6d8def98034f3e7b0827fd9f0 jdk7u14-b19 ++d63b21e6c3d29305400dbfc1500090cab89f25d1 jdk7u14-b19 ++dd695ad6c5ec797fe61db31600a3fd2dbc62247b jdk7u14-b20 ++97bbac299eb801709a924fe777b3ee9c96829d8b jdk7u14-b21 ++6e74b3e1773cfbac99998431a5a54c70baaf1dc5 jdk7u14-b22 ++e9bbdf789d2b512550e0ca80629980e96f02146d jdk7u40-b23 ++adaf9cf486fab1b14c5af9fc6525565760bb9c11 jdk7u40-b24 ++aafab1efbd4ced5e05695aa1887813f9f5de9d5c jdk7u40-b25 ++6581f9739031120bb7515d3b09fa3501653d11af jdk7u40-b26 ++46ebac943288218b14d7ce3df23aa42a70fa4cf9 jdk7u40-b27 ++016957700ac905ebf3432ae8ba17d3576a51e585 jdk7u40-b28 ++15a82c84d9f7f6c99310380d4766fc68a3882671 jdk7u40-b29 + 4c5d242efa0d6e0cdb688e41e722bff671dfbfec jdk7u25-b12 + 6b4a165221304d809f678a18f51c7a8cb042d60b jdk7u25-b13 + 03073e4e6d3f600102d31e862154f56730838b11 jdk7u25-b14 +@@ -343,3 +360,38 @@ + 89f6c9663d75d9e4b672aed16f885b84232e9c93 jdk7u40-b42 + 3ee85b3793de16855e20272336a3565af8477b6b jdk7u40-b43 + cbeef786ce489096c39ec5effee4f8f9e770b4af jdk7u40-b60 ++4ee34d2cf2d84d0e1f5f20381ade525665ae424c jdk7u40-b61 ++b42a4cb742cf76f6c02d105349a7e8111ab8d68b jdk7u40-b62 ++000becfcb945d8592cfdef6ef1704b532af56762 jdk7u45-b01 ++817632baca26f7566e36c7708455494c15113d88 jdk7u45-b02 ++f65baba9400aec6cb29bc06b3139623bb4663225 jdk7u45-b03 ++80ff2468f520ed1940915815ceb85e05bd2bc568 jdk7u45-b04 ++1128d3934b643660a219532aa1ca554877d89375 jdk7u45-b05 ++8da3d41d946925a07a9f1001795959bfdb4c02c6 jdk7u45-b06 ++38f5b376c38035f13ede456f158ee26d0cf8d99c jdk7u45-b07 ++86f3efd1edae3c0f47ad14bef992e7566eaa94d4 jdk7u45-b08 ++ab835f7247e40dd7fb457830eaa31c550b434413 jdk7u45-b09 ++bbd594e6cf45ebfc37c71e217772b7f37a9c5750 jdk7u45-b10 ++c01eab96821e3c0315c4637e61a8015cbfe63b6a jdk7u45-b11 ++05f1274a8aa019584b4ceb05c73fc89bf7b7f4de jdk7u45-b12 ++3271849829b7c8ac32f6bb17b763d8a85a1a0a32 jdk7u45-b13 ++842dd63be9c633b8448e1837a5bb7b803dfdaad9 jdk7u45-b14 ++93a3fb090be58a5a45464f866a7093f24205dae2 jdk7u45-b15 ++5524cced32d3959d95ed414add230273bc10c38d jdk7u45-b16 ++a8baf22b5972e269a97f7b3b7eec2ad63a8c5aed jdk7u45-b17 ++65b0f3ccdc8bcff0d79e1b543a8cefb817529b3f jdk7u45-b18 ++c32c6a662d18d7195fc02125178c7543ce09bb00 jdk7u45-b30 ++6802a1c098c48b2c8336e06f1565254759025bab jdk7u45-b31 ++5524cced32d3959d95ed414add230273bc10c38d jdk7u51-b00 ++db9e3328f393313e52cbf3fee5236aa2429028d0 jdk7u51-b01 ++92a4787cb3617005a329fb49247c550e8d7eb47a jdk7u51-b02 ++2240523feb968d7921e22f6730c299246a4125d0 jdk7u51-b03 ++c4f7cc35e47a4db7f380d62127dd2b49713f5552 jdk7u51-b04 ++f8f0617c0310b638855add08df58c5b9cd7e2dcb jdk7u51-b05 ++49fc29e8890c52e771beb3fd9bf3cbb9ecbf5f5e jdk7u51-b06 ++da128632f015df99d0f6a53547484dbe44f722fb jdk7u51-b07 ++71a314d55844bd6fe18aed56ce065b8df5c5cb82 jdk7u51-b08 ++3b53d5ea0aec473b637cd0e49f227304bac848a7 jdk7u51-b09 ++53a566a724e59f31bbd25a6a21f0f36adb36e82b jdk7u51-b10 ++708507f4795cad1f0cf7e19ff2dc16fe9d441754 jdk7u51-b11 ++7c7c2ea4b6808d0abf7fd48d11440d75b0c08d3a jdk7u51-b12 +--- jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/APTNavigator.java 2013-09-06 11:23:52.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/APTNavigator.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -71,8 +71,7 @@ + * + * @author Kohsuke Kawaguchi (kk@kohsuke.org) + */ +-public class APTNavigator implements Navigator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration> { - -- try -- { ++public final class APTNavigator implements Navigator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration> { + private final AnnotationProcessorEnvironment env; + + private final PrimitiveType primitiveByte; +@@ -277,8 +276,9 @@ + return clazz.getPackage().getQualifiedName(); + } + +- public TypeDeclaration findClass(String className, TypeDeclaration referencePoint) { +- return env.getTypeDeclaration(className); ++ @Override ++ public TypeDeclaration loadObjectFactory(TypeDeclaration referencePoint, String packageName) { ++ return env.getTypeDeclaration(packageName + ".ObjectFactory"); + } + + public boolean isBridgeMethod(MethodDeclaration method) { +--- jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/EagerNType.java 2013-09-06 11:23:55.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/EagerNType.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -30,7 +30,6 @@ + import com.sun.codemodel.internal.JType; + import com.sun.tools.internal.xjc.outline.Aspect; + import com.sun.tools.internal.xjc.outline.Outline; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + + /** + * @author Kohsuke Kawaguchi +@@ -69,6 +68,6 @@ + } + + public String fullName() { +- return Navigator.REFLECTION.getTypeName(t); ++ return Utils.REFLECTION_NAVIGATOR.getTypeName(t); + } + } +--- jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java 2013-09-06 11:23:55.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -56,7 +56,7 @@ + EagerNType ent = (EagerNType) nt; + if (base instanceof EagerNClass) { + EagerNClass enc = (EagerNClass) base; +- return create(REFLECTION.getBaseClass(ent.t, enc.c)); ++ return create(Utils.REFLECTION_NAVIGATOR.getBaseClass(ent.t, enc.c)); + } + // lazy class can never be a base type of an eager type + return null; +@@ -176,7 +176,7 @@ + public NType getTypeArgument(NType nt, int i) { + if (nt instanceof EagerNType) { + EagerNType ent = (EagerNType) nt; +- return create(REFLECTION.getTypeArgument(ent.t,i)); ++ return create(Utils.REFLECTION_NAVIGATOR.getTypeArgument(ent.t,i)); + } + if (nt instanceof NClassByJClass) { + NClassByJClass nnt = (NClassByJClass) nt; +@@ -189,7 +189,7 @@ + public boolean isParameterizedType(NType nt) { + if (nt instanceof EagerNType) { + EagerNType ent = (EagerNType) nt; +- return REFLECTION.isParameterizedType(ent.t); ++ return Utils.REFLECTION_NAVIGATOR.isParameterizedType(ent.t); + } + if (nt instanceof NClassByJClass) { + NClassByJClass nnt = (NClassByJClass) nt; +@@ -303,8 +303,8 @@ + throw new UnsupportedOperationException(); + } + +- public NClass findClass(String className, NClass referencePoint) { +- // TODO: implement this method later ++ @Override ++ public NClass loadObjectFactory(NClass referencePoint, String pkg) { + throw new UnsupportedOperationException(); + } + +--- jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.tools.internal.xjc.model.nav; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/JAXBRIContext.java 2013-09-06 11:23:57.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/JAXBRIContext.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -45,7 +45,6 @@ + import com.sun.xml.internal.bind.api.impl.NameConverter; + import com.sun.xml.internal.bind.v2.ContextFactory; + import com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet; + + /** +@@ -404,7 +403,7 @@ + * @since 2.0 FCS + */ + public static @Nullable Type getBaseType(@NotNull Type type, @NotNull Class baseType) { +- return Navigator.REFLECTION.getBaseClass(type,baseType); ++ return Utils.REFLECTION_NAVIGATOR.getBaseClass(type, baseType); + } + + +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/TypeReference.java 2013-09-06 11:23:57.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/TypeReference.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -31,8 +31,6 @@ + + import javax.xml.namespace.QName; + +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; - -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); + /** + * A reference to a JAXB-bound type. + * +@@ -104,11 +102,10 @@ + // if we are to reinstitute this check, check JAXB annotations only + // assert annotations.length==0; // not designed to work with adapters. + +- Type base = Navigator.REFLECTION.getBaseClass(type, Collection.class); ++ Type base = Utils.REFLECTION_NAVIGATOR.getBaseClass(type, Collection.class); + if(base==null) + return this; // not a collection + +- return new TypeReference(tagName, +- Navigator.REFLECTION.getTypeArgument(base,0)); ++ return new TypeReference(tagName, Utils.REFLECTION_NAVIGATOR.getTypeArgument(base,0)); + } + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.bind.api; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java 2014-01-18 12:16:09.000000000 -0800 +@@ -235,7 +235,7 @@ + String pkg = nav.getPackageName(ci.getClazz()); + if(!registries.containsKey(pkg)) { + // insert the package's object factory +- C c = loadObjectFactory(ci, pkg); ++ C c = nav.loadObjectFactory(clazz, pkg); + if(c!=null) + addRegistry(c,(Locatable)p); + } +@@ -264,15 +264,6 @@ + return r; + } + +- private C loadObjectFactory(ClassInfoImpl<T, C, F, M> ci, String pkg) { +- try { +- return nav.findClass(pkg + ".ObjectFactory", ci.getClazz()); +- } catch (SecurityException ignored) { +- // treat SecurityException in same way as ClassNotFoundException in this case +- return null; +- } - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + /** + * Checks the uniqueness of the type name. + */ +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeAnyTypeImpl.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeAnyTypeImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -27,7 +27,6 @@ + + import java.lang.reflect.Type; + +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement; + import com.sun.xml.internal.bind.v2.runtime.Transducer; + +@@ -36,7 +35,7 @@ + */ + final class RuntimeAnyTypeImpl extends AnyTypeImpl<Type,Class> implements RuntimeNonElement { + private RuntimeAnyTypeImpl() { +- super(Navigator.REFLECTION); ++ super(Utils.REFLECTION_NAVIGATOR); } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- -- --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_es.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_es.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; + public <V> Transducer<V> getTransducer() { +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementInfoImpl.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementInfoImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -42,7 +42,6 @@ + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeRef; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException; + import com.sun.xml.internal.bind.v2.runtime.Transducer; + import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor; +@@ -122,7 +121,7 @@ + } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); + public Class<? extends JAXBElement> getType() { +- return Navigator.REFLECTION.erasure(super.getType()); ++ return (Class<? extends JAXBElement>) Utils.REFLECTION_NAVIGATOR.erasure(super.getType()); + } + + public RuntimeClassInfo getScope() { +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeModelBuilder.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeModelBuilder.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -37,8 +37,6 @@ + import com.sun.xml.internal.bind.v2.model.annotation.Locatable; + import com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader; + import com.sun.xml.internal.bind.v2.model.core.ID; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; +-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElementRef; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo; +@@ -75,7 +73,7 @@ + public final @Nullable JAXBContextImpl context; + + public RuntimeModelBuilder(JAXBContextImpl context, RuntimeAnnotationReader annotationReader, Map<Class, Class> subclassReplacements, String defaultNamespaceRemap) { +- super(annotationReader, Navigator.REFLECTION, subclassReplacements, defaultNamespaceRemap); ++ super(annotationReader, Utils.REFLECTION_NAVIGATOR, subclassReplacements, defaultNamespaceRemap); + this.context = context; + } + +@@ -109,10 +107,6 @@ + return new RuntimeArrayInfoImpl(this, upstream, (Class)arrayType); + } + +- public ReflectionNavigator getNavigator() { +- return (ReflectionNavigator)nav; - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + @Override + protected RuntimeTypeInfoSetImpl createTypeInfoSet() { + return new RuntimeTypeInfoSetImpl(reader); +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeInfoSetImpl.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeInfoSetImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -34,9 +34,6 @@ + + import com.sun.xml.internal.bind.v2.model.annotation.AnnotationReader; + import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet; +-import com.sun.xml.internal.bind.v2.model.core.NonElement; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; +-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElement; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet; + +@@ -47,7 +44,7 @@ + */ + final class RuntimeTypeInfoSetImpl extends TypeInfoSetImpl<Type,Class,Field,Method> implements RuntimeTypeInfoSet { + public RuntimeTypeInfoSetImpl(AnnotationReader<Type,Class,Field,Method> reader) { +- super(Navigator.REFLECTION,reader,RuntimeBuiltinLeafInfoImpl.LEAVES); ++ super(Utils.REFLECTION_NAVIGATOR,reader,RuntimeBuiltinLeafInfoImpl.LEAVES); } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- -- --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_fr.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_fr.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; + @Override +@@ -55,10 +52,6 @@ + return RuntimeAnyTypeImpl.theInstance; + } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +- public ReflectionNavigator getNavigator() { +- return (ReflectionNavigator)super.getNavigator(); - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + public RuntimeNonElement getTypeInfo( Type type ) { + return (RuntimeNonElement)super.getTypeInfo(type); } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.bind.v2.model.impl; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/Navigator.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/Navigator.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -240,10 +240,6 @@ + */ + T getComponentType(T t); + - +- /** The singleton instance. */ +- public static final ReflectionNavigator REFLECTION = new ReflectionNavigator(); - --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_it.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_it.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; + /** + * Gets the i-th type argument from a parameterized type. + * +@@ -357,14 +353,14 @@ + String getPackageName(C clazz); + /** +- * Finds the class/interface/enum/annotation of the given name. ++ * Finds ObjectFactory for the given referencePoint. + * + * @param referencePoint + * The class that refers to the specified class. + * @return + * null if not found. + */ +- C findClass(String className, C referencePoint); ++ C loadObjectFactory(C referencePoint, String packageName); -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + /** + * Returns true if this method is a bridge method as defined in JLS. +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -44,16 +44,19 @@ + * {@link Navigator} implementation for {@code java.lang.reflect}. + * + */ +-public final class ReflectionNavigator implements Navigator<Type, Class, Field, Method> { ++/*package*/final class ReflectionNavigator implements Navigator<Type, Class, Field, Method> { + +- /** +- * Singleton. +- * +- * Use {@link Navigator#REFLECTION} +- */ +- ReflectionNavigator() { ++// ---------- Singleton ----------------- ++ private static final ReflectionNavigator INSTANCE = new ReflectionNavigator(); ++ ++ /*package*/static ReflectionNavigator getInstance() { // accessible through reflection from Utils classes ++ return INSTANCE; } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { + ++ private ReflectionNavigator() { ++ } ++// --------------------------------------- ++ + public Class getSuperClass(Class clazz) { + if (clazz == Object.class) { + return null; +@@ -64,6 +67,7 @@ + } + return sc; + } ++ + private static final TypeVisitor<Type, Class> baseClassFinder = new TypeVisitor<Type, Class>() { + + public Type onClass(Class c, Class sup) { +@@ -496,7 +500,7 @@ + c.getDeclaredConstructor(); + return true; + } catch (NoSuchMethodException e) { +- return false; ++ return false; // todo: do this WITHOUT exception throw + } + } + +@@ -544,13 +548,15 @@ + } + } + +- public Class findClass(String className, Class referencePoint) { ++ @Override ++ public Class loadObjectFactory(Class referencePoint, String pkg) { ++ String clName = pkg + ".ObjectFactory"; ++ ClassLoader cl = referencePoint.getClassLoader(); ++ if (cl == null) ++ cl = ClassLoader.getSystemClassLoader(); ++ + try { +- ClassLoader cl = referencePoint.getClassLoader(); +- if (cl == null) { +- cl = ClassLoader.getSystemClassLoader(); +- } +- return cl.loadClass(className); ++ return cl.loadClass(clName); + } catch (ClassNotFoundException e) { + return null; + } +@@ -569,7 +575,7 @@ + // class Base<T> { + // T getX() { ... } + // } +- // to be overrided. Handling this correctly needs a careful implementation ++ // to be overriden. Handling this correctly needs a careful implementation + + String name = method.getName(); + Class[] params = method.getParameterTypes(); +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfoSet.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfoSet.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -33,8 +33,6 @@ + import javax.xml.namespace.QName; + + import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet; +-import com.sun.xml.internal.bind.v2.model.core.NonElement; +-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator; + + /** + * {@link TypeInfoSet} refined for runtime. +@@ -52,5 +50,4 @@ + RuntimeElementInfo getElementInfo( Class scope, QName name ); + Map<QName,? extends RuntimeElementInfo> getElementMappings( Class scope ); + Iterable<? extends RuntimeElementInfo> getAllElements(); +- ReflectionNavigator getNavigator(); + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/ElementBeanInfoImpl.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/ElementBeanInfoImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -36,7 +36,6 @@ + + import com.sun.xml.internal.bind.api.AccessorException; + import com.sun.xml.internal.bind.v2.model.core.PropertyKind; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeElementInfo; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo; + import com.sun.xml.internal.bind.v2.runtime.property.Property; +@@ -81,10 +80,10 @@ + this.property = PropertyFactory.create(grammar,rei.getProperty()); + + tagName = rei.getElementName(); +- expectedType = Navigator.REFLECTION.erasure(rei.getContentInMemoryType()); ++ expectedType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(rei.getContentInMemoryType()); + scope = rei.getScope()==null ? JAXBElement.GlobalScope.class : rei.getScope().getClazz(); + +- Class type = Navigator.REFLECTION.erasure(rei.getType()); ++ Class type = (Class) Utils.REFLECTION_NAVIGATOR.erasure(rei.getType()); + if(type==JAXBElement.class) + constructor = null; + else { +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -90,7 +90,6 @@ + import com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl; + import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder; + import com.sun.xml.internal.bind.v2.model.nav.Navigator; +-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeArrayInfo; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeBuiltinLeafInfo; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeClassInfo; +@@ -358,7 +357,7 @@ + beanInfoMap.put( e.getKey(), beanInfoMap.get(e.getValue()) ); + + // build bridges +- ReflectionNavigator nav = typeSet.getNavigator(); ++ Navigator<Type, Class, Field, Method> nav = typeSet.getNavigator(); + + for (TypeReference tr : typeRefs) { + XmlJavaTypeAdapter xjta = tr.get(XmlJavaTypeAdapter.class); +@@ -366,7 +365,7 @@ + XmlList xl = tr.get(XmlList.class); + + // eventually compute the in-memory type +- Class erasedType = nav.erasure(tr.type); ++ Class erasedType = (Class) nav.erasure(tr.type); + + if(xjta!=null) { + a = new Adapter<Type,Class>(xjta.value(),nav); +@@ -377,7 +376,7 @@ + } + + if(a!=null) { +- erasedType = nav.erasure(a.defaultType); ++ erasedType = (Class) nav.erasure(a.defaultType); + } + + Name name = nameBuilder.createElementName(tr.tagName); +@@ -873,7 +872,7 @@ + // this is a special class we introduced for JAX-WS that we *don't* want in the schema + } else { + NonElement<Type,Class> typeInfo = getXmlType(tis,tr); +- xsdgen.add(tr.tagName, !Navigator.REFLECTION.isPrimitive(tr.type),typeInfo); ++ xsdgen.add(tr.tagName, !tis.getNavigator().isPrimitive(tr.type),typeInfo); + } + } + return xsdgen; +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.bind.v2.runtime; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayProperty.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayProperty.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -27,7 +27,6 @@ + + + import com.sun.xml.internal.bind.api.AccessorException; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo; + import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl; + import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor; +@@ -49,7 +48,7 @@ + + assert prop.isCollection(); + lister = Lister.create( +- Navigator.REFLECTION.erasure(prop.getRawType()),prop.id(),prop.getAdapter()); ++ Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType()),prop.id(),prop.getAdapter()); + assert lister!=null; + acc = prop.getAccessor().optimize(context); + assert acc!=null; +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/SingleMapNodeProperty.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/SingleMapNodeProperty.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -42,7 +42,6 @@ + import com.sun.xml.internal.bind.v2.ClassFactory; + import com.sun.xml.internal.bind.v2.util.QNameMap; + import com.sun.xml.internal.bind.v2.model.core.PropertyKind; +-import com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeMapPropertyInfo; + import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl; + import com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo; +@@ -98,7 +97,8 @@ + this.valueBeanInfo = context.getOrCreate(prop.getValueType()); + + // infer the implementation class +- Class<ValueT> sig = ReflectionNavigator.REFLECTION.erasure(prop.getRawType()); ++ //noinspection unchecked ++ Class<ValueT> sig = (Class<ValueT>) Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType()); + mapImplClass = ClassFactory.inferImplClass(sig,knownImplClasses); + // TODO: error check for mapImplClass==null + // what is the error reporting path for this part of the code? +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.bind.v2.runtime.property; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java 2013-09-06 11:23:58.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -48,7 +48,6 @@ + import com.sun.xml.internal.bind.api.JAXBRIContext; + import com.sun.xml.internal.bind.v2.model.core.Adapter; + import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl; + import com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory; + import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader; +@@ -193,7 +192,7 @@ + + public final <T> Accessor<BeanT, T> adapt(Adapter<Type, Class> adapter) { + return new AdaptedAccessor<BeanT, ValueT, T>( +- (Class<T>) Navigator.REFLECTION.erasure(adapter.defaultType), ++ (Class<T>) Utils.REFLECTION_NAVIGATOR.erasure(adapter.defaultType), + this, + adapter.adapterType); + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Lister.java 2013-09-06 11:23:59.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Lister.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -51,7 +51,6 @@ + import com.sun.xml.internal.bind.v2.TODO; + import com.sun.xml.internal.bind.v2.model.core.Adapter; + import com.sun.xml.internal.bind.v2.model.core.ID; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.runtime.XMLSerializer; + import com.sun.xml.internal.bind.v2.runtime.unmarshaller.Patcher; + import com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext; +@@ -116,7 +115,7 @@ + public static <BeanT,PropT,ItemT,PackT> + Lister<BeanT,PropT,ItemT,PackT> create(Type fieldType,ID idness, Adapter<Type,Class> adapter) { + +- Class rawType = Navigator.REFLECTION.erasure(fieldType); ++ Class rawType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(fieldType); + Class itemType; + + Lister l; +@@ -125,9 +124,9 @@ + l = getArrayLister(itemType); + } else + if( Collection.class.isAssignableFrom(rawType) ) { +- Type bt = Navigator.REFLECTION.getBaseClass(fieldType,Collection.class); ++ Type bt = Utils.REFLECTION_NAVIGATOR.getBaseClass(fieldType,Collection.class); + if(bt instanceof ParameterizedType) +- itemType = Navigator.REFLECTION.erasure(((ParameterizedType)bt).getActualTypeArguments()[0]); ++ itemType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)bt).getActualTypeArguments()[0]); + else + itemType = Object.class; + l = new CollectionLister(getImplClass(rawType)); +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/TransducedAccessor.java 2013-09-06 11:23:59.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/TransducedAccessor.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -39,7 +39,6 @@ + import com.sun.xml.internal.bind.api.AccessorException; + import com.sun.xml.internal.bind.v2.model.core.ID; + import com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimeNonElementRef; + import com.sun.xml.internal.bind.v2.model.runtime.RuntimePropertyInfo; + import com.sun.xml.internal.bind.v2.runtime.Name; +@@ -144,8 +143,7 @@ + + if(prop.isCollection()) { + return new ListTransducedAccessorImpl(xducer,prop.getAccessor(), +- Lister.create(Navigator.REFLECTION.erasure(prop.getRawType()),prop.id(), +- prop.getAdapter())); ++ Lister.create(Utils.REFLECTION_NAVIGATOR.erasure(prop.getRawType()), prop.id(), prop.getAdapter())); + } + + if(prop.id()==ID.IDREF) +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.bind.v2.runtime.reflect; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolver.java 2013-09-06 11:24:04.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolver.java 2013-12-01 11:13:43.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -232,7 +232,7 @@ + public Object invoke(Packet p, Method m, Object... args) throws InvocationTargetException, IllegalAccessException { + T t = resolve(p); + try { +- return m.invoke(t, args ); ++ return MethodUtil.invoke(t, m, args ); + } finally { + postInvoke(p,t); + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/MethodUtil.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/MethodUtil.java 2013-12-01 11:13:43.000000000 -0800 +@@ -0,0 +1,94 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.ws.api.server; ++ ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utility class to invoke sun.reflect.misc.MethodUtil.invoke() if available. If not (other then Oracle JDK) fallbacks ++ * to java.lang,reflect.Method.invoke() ++ * ++ * Be careful, copy of this class exists in several packages, iny modification must be done to other copies too! ++ */ ++class MethodUtil { ++ ++ private static final Logger LOGGER = Logger.getLogger(MethodUtil.class.getName()); ++ private static final Method INVOKE_METHOD; ++ ++ static { ++ Method method; ++ try { ++ Class<?> clazz = Class.forName("sun.reflect.misc.MethodUtil"); ++ method = clazz.getMethod("invoke", Method.class, Object.class, Object[].class); ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil found; it will be used to invoke methods."); ++ } ++ } catch (Throwable t) { ++ method = null; ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil not found, probably non-Oracle JVM"); ++ } ++ } ++ INVOKE_METHOD = method; ++ } ++ ++ static Object invoke(Object target, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException { ++ if (INVOKE_METHOD != null) { ++ // sun.reflect.misc.MethodUtil.invoke(method, owner, args) ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method using sun.reflect.misc.MethodUtil"); ++ } ++ try { ++ return INVOKE_METHOD.invoke(null, method, target, args); ++ } catch (InvocationTargetException ite) { ++ // unwrap invocation exception added by reflection code ... ++ throw unwrapException(ite); ++ } ++ } else { ++ // other then Oracle JDK ... ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method directly, probably non-Oracle JVM"); ++ } ++ return method.invoke(target, args); ++ } ++ } ++ ++ private static InvocationTargetException unwrapException(InvocationTargetException ite) { ++ Throwable targetException = ite.getTargetException(); ++ if (targetException != null && targetException instanceof InvocationTargetException) { ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Unwrapping invocation target exception"); ++ } ++ return (InvocationTargetException) targetException; ++ } else { ++ return ite; ++ } ++ } ++ ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MethodUtil.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MethodUtil.java 2013-12-01 11:13:43.000000000 -0800 +@@ -0,0 +1,94 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.ws.client.sei; ++ ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utility class to invoke sun.reflect.misc.MethodUtil.invoke() if available. If not (other then Oracle JDK) fallbacks ++ * to java.lang,reflect.Method.invoke() ++ * <p/> ++ * Be careful, copy of this class exists in several packages, iny modification must be done to other copies too! ++ */ ++class MethodUtil { ++ ++ private static final Logger LOGGER = Logger.getLogger(MethodUtil.class.getName()); ++ private static final Method INVOKE_METHOD; ++ ++ static { ++ Method method; ++ try { ++ Class<?> clazz = Class.forName("sun.reflect.misc.MethodUtil"); ++ method = clazz.getMethod("invoke", Method.class, Object.class, Object[].class); ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil found; it will be used to invoke methods."); ++ } ++ } catch (Throwable t) { ++ method = null; ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil not found, probably non-Oracle JVM"); ++ } ++ } ++ INVOKE_METHOD = method; ++ } ++ ++ static Object invoke(Object target, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException { ++ if (INVOKE_METHOD != null) { ++ // sun.reflect.misc.MethodUtil.invoke(method, owner, args) ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method using sun.reflect.misc.MethodUtil"); ++ } ++ try { ++ return INVOKE_METHOD.invoke(null, method, target, args); ++ } catch (InvocationTargetException ite) { ++ // unwrap invocation exception added by reflection code ... ++ throw unwrapException(ite); ++ } ++ } else { ++ // other then Oracle JDK ... ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method directly, probably non-Oracle JVM"); ++ } ++ return method.invoke(target, args); ++ } ++ } ++ ++ private static InvocationTargetException unwrapException(InvocationTargetException ite) { ++ Throwable targetException = ite.getTargetException(); ++ if (targetException != null && targetException instanceof InvocationTargetException) { ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Unwrapping invocation target exception"); ++ } ++ return (InvocationTargetException) targetException; ++ } else { ++ return ite; ++ } ++ } ++ ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIStub.java 2013-09-06 11:24:05.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIStub.java 2013-12-01 11:13:43.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -28,17 +28,20 @@ + import com.sun.istack.internal.NotNull; + import com.sun.istack.internal.Nullable; + import com.sun.xml.internal.ws.api.SOAPVersion; +-import com.sun.xml.internal.ws.api.client.WSPortInfo; + import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; ++import com.sun.xml.internal.ws.api.client.WSPortInfo; + import com.sun.xml.internal.ws.api.message.Header; + import com.sun.xml.internal.ws.api.message.Headers; + import com.sun.xml.internal.ws.api.message.Packet; + import com.sun.xml.internal.ws.api.model.MEP; + import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; +-import com.sun.xml.internal.ws.api.pipe.Tube; + import com.sun.xml.internal.ws.api.pipe.Fiber; ++import com.sun.xml.internal.ws.api.pipe.Tube; + import com.sun.xml.internal.ws.binding.BindingImpl; +-import com.sun.xml.internal.ws.client.*; ++import com.sun.xml.internal.ws.client.RequestContext; ++import com.sun.xml.internal.ws.client.ResponseContextReceiver; ++import com.sun.xml.internal.ws.client.Stub; ++import com.sun.xml.internal.ws.client.WSServiceDelegate; + import com.sun.xml.internal.ws.model.JavaMethodImpl; + import com.sun.xml.internal.ws.model.SOAPSEIModel; + import com.sun.xml.internal.ws.wsdl.OperationDispatcher; +@@ -47,6 +50,8 @@ + import java.lang.reflect.InvocationHandler; + import java.lang.reflect.InvocationTargetException; + import java.lang.reflect.Method; ++import java.lang.reflect.Modifier; ++import java.lang.reflect.Proxy; + import java.util.HashMap; + import java.util.Map; + +@@ -124,13 +129,14 @@ + private final Map<Method, MethodHandler> methodHandlers = new HashMap<Method, MethodHandler>(); + + public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { ++ validateInputs(proxy, method); + MethodHandler handler = methodHandlers.get(method); + if (handler != null) { + return handler.invoke(proxy, args); + } else { + // we handle the other method invocations by ourselves + try { +- return method.invoke(this, args); ++ return MethodUtil.invoke(this, method, args); + } catch (IllegalAccessException e) { + // impossible + throw new AssertionError(e); +@@ -142,6 +148,17 @@ + } + } + ++ private void validateInputs(Object proxy, Method method) { ++ if (proxy == null || !Proxy.isProxyClass(proxy.getClass())) { ++ throw new IllegalStateException("Passed object is not proxy!"); ++ } ++ Class<?> declaringClass = method.getDeclaringClass(); ++ if (method == null || declaringClass == null ++ || Modifier.isStatic(method.getModifiers())) { ++ throw new IllegalStateException("Invoking static method is not allowed!"); ++ } ++ } ++ + public final Packet doProcess(Packet request, RequestContext rc, ResponseContextReceiver receiver) { + return super.process(request, rc, receiver); + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java 2013-09-06 11:24:05.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2011, 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 +@@ -59,6 +59,12 @@ + import java.lang.reflect.Constructor; + import java.lang.reflect.Field; + import java.lang.reflect.Method; ++import java.lang.reflect.ReflectPermission; ++import java.security.AccessControlContext; ++import java.security.AccessController; ++import java.security.Permissions; ++import java.security.PrivilegedAction; ++import java.security.ProtectionDomain; + import java.util.Iterator; + import java.util.Map; + import java.util.logging.Level; +@@ -546,10 +552,40 @@ + // ignore + } + +- try { +- JAXB_CONTEXT = (JAXBRIContext)JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class); +- } catch (JAXBException e) { +- throw new Error(e); // this must be a bug in our code ++ JAXB_CONTEXT = createJAXBContext(); ++ } ++ ++ private static JAXBRIContext createJAXBContext() { ++ ++ // in jdk runtime doPrivileged is necessary since JAX-WS internal classes are in restricted packages ++ if (isJDKRuntime()) { ++ Permissions permissions = new Permissions(); ++ permissions.add(new RuntimePermission("accessClassInPackage.com.sun." + "xml.internal.ws.fault")); ++ permissions.add(new ReflectPermission("suppressAccessChecks")); ++ return AccessController.doPrivileged( ++ new PrivilegedAction<JAXBRIContext>() { ++ @Override ++ public JAXBRIContext run() { ++ try { ++ return (JAXBRIContext) JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class); ++ } catch (JAXBException e) { ++ throw new Error(e); ++ } ++ } ++ }, ++ new AccessControlContext(new ProtectionDomain[]{new ProtectionDomain(null, permissions)}) ++ ); ++ ++ } else { ++ try { ++ return (JAXBRIContext) JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class); ++ } catch (JAXBException e) { ++ throw new Error(e); ++ } + } + } ++ ++ private static boolean isJDKRuntime() { ++ return SOAPFaultBuilder.class.getName().contains("internal"); ++ } + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java 2013-09-06 11:24:06.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -28,7 +28,6 @@ + import com.sun.istack.internal.NotNull; + import com.sun.xml.internal.bind.api.CompositeStructure; + import com.sun.xml.internal.bind.api.TypeReference; +-import com.sun.xml.internal.bind.v2.model.nav.Navigator; + import com.sun.xml.internal.ws.api.BindingID; + import com.sun.xml.internal.ws.api.SOAPVersion; + import com.sun.xml.internal.ws.api.model.ExceptionType; +@@ -735,7 +734,7 @@ + //set the actual type argument of Holder in the TypeReference + if (isHolder) { + if(clazzType==Holder.class){ +- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); ++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); + } + } + Mode paramMode = isHolder ? Mode.INOUT : Mode.IN; +@@ -932,7 +931,7 @@ + //set the actual type argument of Holder in the TypeReference + if (isHolder) { + if (clazzType==Holder.class) +- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); ++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); + } + Mode paramMode = isHolder ? Mode.INOUT : Mode.IN; + for (Annotation annotation : pannotations[pos]) { +@@ -1172,7 +1171,7 @@ + //set the actual type argument of Holder in the TypeReference + if (isHolder) { + if (clazzType==Holder.class) +- clazzType = Navigator.REFLECTION.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); ++ clazzType = (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)genericParameterTypes[pos]).getActualTypeArguments()[0]); + } + + Mode paramMode = isHolder ? Mode.INOUT : Mode.IN; +@@ -1258,14 +1257,14 @@ + private Class getAsyncReturnType(Method method, Class returnType) { + if(Response.class.isAssignableFrom(returnType)){ + Type ret = method.getGenericReturnType(); +- return Navigator.REFLECTION.erasure(((ParameterizedType)ret).getActualTypeArguments()[0]); ++ return (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)ret).getActualTypeArguments()[0]); + }else{ + Type[] types = method.getGenericParameterTypes(); + Class[] params = method.getParameterTypes(); + int i = 0; + for(Class cls : params){ + if(AsyncHandler.class.isAssignableFrom(cls)){ +- return Navigator.REFLECTION.erasure(((ParameterizedType)types[i]).getActualTypeArguments()[0]); ++ return (Class) Utils.REFLECTION_NAVIGATOR.erasure(((ParameterizedType)types[i]).getActualTypeArguments()[0]); + } + i++; + } +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java 2014-01-18 12:16:09.000000000 -0800 +@@ -0,0 +1,85 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.ws.model; ++ ++import com.sun.xml.internal.bind.v2.model.nav.Navigator; ++ ++import java.lang.reflect.Field; ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.lang.reflect.Type; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utils class. ++ * ++ * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. ++ * ++ * Has *package private* access to avoid inappropriate usage. ++ */ ++/* package */ final class Utils { ++ ++ private static final Logger LOGGER = Logger.getLogger(Utils.class.getName()); ++ ++ /** ++ * static ReflectionNavigator field to avoid usage of reflection every time we use it. ++ */ ++ /* package */ static final Navigator<Type, Class, Field, Method> REFLECTION_NAVIGATOR; ++ ++ static { // we statically initializing REFLECTION_NAVIGATOR property ++ Class refNav = null; ++ try { ++ refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); ++ //noinspection unchecked ++ Method getInstance = refNav.getDeclaredMethod("getInstance"); ++ getInstance.setAccessible(true); ++ //noinspection unchecked ++ REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); ++ } catch (ClassNotFoundException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("Can't find ReflectionNavigator class"); ++ } catch (InvocationTargetException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); ++ } catch (NoSuchMethodException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); ++ } catch (IllegalAccessException e) { ++ e.printStackTrace(); ++ throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); ++ } catch (SecurityException e) { ++ LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); ++ throw e; ++ } ++ } ++ ++ /** ++ * private constructor to avoid util class instantiating ++ */ ++ private Utils() { ++ } ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java 2013-09-06 11:24:06.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java 2014-01-18 12:16:09.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -61,7 +61,7 @@ + + private static final AbstractWrapperBeanGenerator RUNTIME_GENERATOR = + new RuntimeWrapperBeanGenerator(new RuntimeInlineAnnotationReader(), +- Navigator.REFLECTION, FIELD_FACTORY); ++ Utils.REFLECTION_NAVIGATOR, FIELD_FACTORY); + + private static final class RuntimeWrapperBeanGenerator extends AbstractWrapperBeanGenerator<java.lang.reflect.Type, Class, java.lang.reflect.Method, Field> { + +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/MethodUtil.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/MethodUtil.java 2013-12-01 11:13:43.000000000 -0800 +@@ -0,0 +1,92 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.ws.policy.privateutil; ++ ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utility class to invoke sun.reflect.misc.MethodUtil.invoke() if available. If not (other then Oracle JDK) fallbacks ++ * to java.lang,reflect.Method.invoke() ++ */ ++class MethodUtil { ++ ++ private static final Logger LOGGER = Logger.getLogger(MethodUtil.class.getName()); ++ private static final Method INVOKE_METHOD; ++ ++ static { ++ Method method; ++ try { ++ Class<?> clazz = Class.forName("sun.reflect.misc.MethodUtil"); ++ method = clazz.getMethod("invoke", Method.class, Object.class, Object[].class); ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil found; it will be used to invoke methods."); ++ } ++ } catch (Throwable t) { ++ method = null; ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil not found, probably non-Oracle JVM"); ++ } ++ } ++ INVOKE_METHOD = method; ++ } ++ ++ static Object invoke(Object target, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException { ++ if (INVOKE_METHOD != null) { ++ // sun.reflect.misc.MethodUtil.invoke(method, owner, args) ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method using sun.reflect.misc.MethodUtil"); ++ } ++ try { ++ return INVOKE_METHOD.invoke(null, method, target, args); ++ } catch (InvocationTargetException ite) { ++ // unwrap invocation exception added by reflection code ... ++ throw unwrapException(ite); ++ } ++ } else { ++ // other then Oracle JDK ... ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method directly, probably non-Oracle JVM"); ++ } ++ return method.invoke(target, args); ++ } ++ } ++ ++ private static InvocationTargetException unwrapException(InvocationTargetException ite) { ++ Throwable targetException = ite.getTargetException(); ++ if (targetException != null && targetException instanceof InvocationTargetException) { ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Unwrapping invocation target exception"); ++ } ++ return (InvocationTargetException) targetException; ++ } else { ++ return ite; ++ } ++ } ++ ++} +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/PolicyUtils.java 2013-09-06 11:24:07.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/PolicyUtils.java 2013-12-01 11:13:43.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -282,13 +282,13 @@ + /** + * Reflection utilities wrapper + */ +- public static class Reflection { ++ static class Reflection { + private static final PolicyLogger LOGGER = PolicyLogger.getLogger(PolicyUtils.Reflection.class); + + /** + * Reflectively invokes specified method on the specified target + */ +- public static <T> T invoke(final Object target, final String methodName, ++ static <T> T invoke(final Object target, final String methodName, + final Class<T> resultClass, final Object... parameters) throws RuntimePolicyUtilsException { + Class[] parameterTypes; + if (parameters != null && parameters.length > 0) { +@@ -311,7 +311,7 @@ + final Object[] parameters, final Class[] parameterTypes) throws RuntimePolicyUtilsException { + try { + final Method method = target.getClass().getMethod(methodName, parameterTypes); +- final Object result = method.invoke(target, parameters); ++ final Object result = MethodUtil.invoke(target, method,parameters); + + return resultClass.cast(result); + } catch (IllegalArgumentException e) { +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractInstanceResolver.java 2013-09-06 11:24:07.000000000 -0700 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractInstanceResolver.java 2013-12-01 11:13:43.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -157,7 +157,7 @@ + if (!method.isAccessible()) { + method.setAccessible(true); + } +- method.invoke(instance,args); ++ MethodUtil.invoke(instance,method,args); + } catch (IllegalAccessException e) { + throw new ServerRtException("server.rt.err",e); + } catch (InvocationTargetException e) { +--- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MethodUtil.java 1969-12-31 16:00:00.000000000 -0800 ++++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MethodUtil.java 2013-12-01 11:13:43.000000000 -0800 +@@ -0,0 +1,94 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++package com.sun.xml.internal.ws.server; ++ ++import java.lang.reflect.InvocationTargetException; ++import java.lang.reflect.Method; ++import java.util.logging.Level; ++import java.util.logging.Logger; ++ ++/** ++ * Utility class to invoke sun.reflect.misc.MethodUtil.invoke() if available. If not (other then Oracle JDK) fallbacks ++ * to java.lang,reflect.Method.invoke() ++ * ++ * Be careful, copy of this class exists in several packages, iny modification must be done to other copies too! ++ */ ++class MethodUtil { ++ ++ private static final Logger LOGGER = Logger.getLogger(MethodUtil.class.getName()); ++ private static final Method INVOKE_METHOD; ++ ++ static { ++ Method method; ++ try { ++ Class<?> clazz = Class.forName("sun.reflect.misc.MethodUtil"); ++ method = clazz.getMethod("invoke", Method.class, Object.class, Object[].class); ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil found; it will be used to invoke methods."); ++ } ++ } catch (Throwable t) { ++ method = null; ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Class sun.reflect.misc.MethodUtil not found, probably non-Oracle JVM"); ++ } ++ } ++ INVOKE_METHOD = method; ++ } ++ ++ static Object invoke(Object target, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException { ++ if (INVOKE_METHOD != null) { ++ // sun.reflect.misc.MethodUtil.invoke(method, owner, args) ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method using sun.reflect.misc.MethodUtil"); ++ } ++ try { ++ return INVOKE_METHOD.invoke(null, method, target, args); ++ } catch (InvocationTargetException ite) { ++ // unwrap invocation exception added by reflection code ... ++ throw unwrapException(ite); ++ } ++ } else { ++ // other then Oracle JDK ... ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Invoking method directly, probably non-Oracle JVM"); ++ } ++ return method.invoke(target, args); ++ } ++ } ++ ++ private static InvocationTargetException unwrapException(InvocationTargetException ite) { ++ Throwable targetException = ite.getTargetException(); ++ if (targetException != null && targetException instanceof InvocationTargetException) { ++ if (LOGGER.isLoggable(Level.FINE)) { ++ LOGGER.log(Level.FINE, "Unwrapping invocation target exception"); ++ } ++ return (InvocationTargetException) targetException; ++ } else { ++ return ite; ++ } ++ } ++ ++} +--- jdk/.hgtags 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/.hgtags 2014-01-18 12:16:33.000000000 -0800 +@@ -123,6 +123,7 @@ + 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 + 69e973991866c948cf1808b06884ef2d28b64fcb jdk7u1-b01 + f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 ++0870207843e2a74816dff1e33a717ffaf6f0a919 7u0 + 2baf612764d215e6f3a5b48533f74c6924ac98d7 jdk7u1-b02 + a4781b6d9cfb6901452579adee17c9a17c1b584c jdk7u1-b03 + b223ed9a5fdf8ce3af42adfa8815975811d70eae jdk7u1-b04 +@@ -342,3 +343,39 @@ + b479996d5c924128c3490165b592bf66a3034932 jdk7u40-b42 + fb25cdef17e9610db5cb89fc35c0c4abef5ad781 jdk7u40-b43 + ed444a09a5fd32237deaef6e43804e20ba4f6352 jdk7u40-b60 ++e045f6a3ad1d9f7b8982418addb3803ab63458f2 jdk7u40-b61 ++26cc60a250a0d333b1d5d7a9acb233ad62b2fb0b jdk7u40-b62 ++55f01444cf58c8004df9a9634c1bd7ff87caa370 jdk7u25-b32 ++b06abd965701459a868e88af9a3e564c0301971c jdk7u45-b01 ++d23a877da2d5dad6520a268c83f183295a9e7299 jdk7u45-b02 ++a56eb4f801232c409d34cd1190df4eec5fefe8a9 jdk7u45-b03 ++702c8d83dd8c5b6c76fe53a694244a36d23fa860 jdk7u45-b04 ++a70540e8a5e96773b83c7dc0accdb323d946c045 jdk7u45-b05 ++f39399baf36761571719f6ff5dc69c514d97842d jdk7u45-b06 ++a35d4a4ebcfa895202544c2f6b2d09e0b29bddfc jdk7u45-b07 ++2f01847eb9530ed5ec08b1b663f3a02cac57b048 jdk7u45-b08 ++6e2313d45f0c50d824531b32d3f577aa0b357551 jdk7u45-b09 ++d4506b816f63330489e00ba0b9e3c6583a8a9efa jdk7u45-b10 ++ee87452ba9e2b4b7d847bd2a7910a8aaeacfea7b jdk7u45-b11 ++d5e393a55e6adc2f1b9aaa752a5004fa07561480 jdk7u45-b12 ++34997920efe962b2e4422e2c2de8ae91cd1d563d jdk7u45-b13 ++59a78e4ca635a469a763ee408b11f8e1033f2584 jdk7u45-b14 ++96782fe0c38c41cc4806e27ee64b20dc647ea808 jdk7u45-b15 ++3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u45-b16 ++3a65c1b0c6d15fb24298bcd133d7ab4baa741ae2 jdk7u45-b17 ++c5ca4daec23b5e7f99ac8d684f5016ff8bfebbb0 jdk7u45-b18 ++4797f984f6c93c433aa797e9b2d8f904cf083f96 jdk7u45-b30 ++8c343a783777b8728cb819938f387db0acf7f3ac jdk7u45-b31 ++3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u51-b00 ++d76613074ff357d0664b97b4aaf99fbb65dcec47 jdk7u51-b01 ++fb057871f094ebe4906ad6856326768b01a62c45 jdk7u51-b02 ++6b3c195c73b051ee3c4a0ac44f050011414ab08b jdk7u51-b03 ++96431826ae3a927008c56aeefa1397a33bda3e70 jdk7u51-b04 ++8ee582bb96a6b79311d55a7170f42844af77a269 jdk7u51-b05 ++594ae80153afaeced6acedff5d37f889a9821690 jdk7u51-b06 ++7b84e6514c297861d85ed9457b2260805311d9e8 jdk7u51-b07 ++40fca6b57cd81114d4aace3d0469e20274f015c3 jdk7u51-b08 ++33ae35eeb5a4c04a4d05351ff68d4021e4cad752 jdk7u51-b09 ++4a6e31d94b29c7115235824a6e317289819bb00f jdk7u51-b10 ++f0425ecbbb0ca9d8c87c250c19e8f9524b38833d jdk7u51-b11 ++f5eee4f1d5b4a1e19febc9c26c863ae853ed6d2e jdk7u51-b12 +--- jdk/make/bridge/Jabswitch/Makefile 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/make/bridge/Jabswitch/Makefile 2013-12-01 11:14:27.000000000 -0800 +@@ -53,7 +53,7 @@ + buildexe : + $(CD) $(TEMPDIR) + $(RC) $(RC_FLAGS) $(VERSIONINFO_RESOURCE) +- $(CC) $(CPPFLAGS) $(JAB_SRC) $(LDDFLAGS) $(VERSIONRES) -o $(JAB_EXE) ++ $(CC) $(CPPFLAGS) $(JAB_SRC) $(VERSIONRES) /link $(LDDFLAGS) -out:$(JAB_EXE) + $(MT) /nologo /verbose /manifest $(JAB_MANIFEST_INP) /outputresource:$(JAB_EXE) + + copyfilejab : +--- jdk/make/com/sun/jmx/Makefile 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/make/com/sun/jmx/Makefile 2013-12-01 11:14:27.000000000 -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 +@@ -115,6 +115,8 @@ + + ifeq ($(CROSS_COMPILE_ARCH),) + RMIC = $(RMIC_JAVA) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main ++else ++RMIC = $(BOOT_JAVA_CMD) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main + endif + + $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class +@@ -130,11 +132,13 @@ + $(RMIC) -classpath "$(CLASSDESTDIR)" \ + -d $(CLASSDESTDIR) \ + -iiop -v1.2 \ ++ -emitPermissionCheck \ + $(subst /,.,$(<:$(CLASSDESTDIR)/%.class=%)) + $(RMIC) $(HOTSPOT_INTERPRETER_FLAG) -classpath "$(CLASSDESTDIR)" \ + -d $(CLASSDESTDIR) \ + -iiop -v1.2 \ + -standardPackage \ ++ -emitPermissionCheck \ + $(subst /,.,$(<:$(CLASSDESTDIR)/%.class=%)) + @$(java-vm-cleanup) + +--- jdk/make/com/sun/nio/Makefile 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/make/com/sun/nio/Makefile 2014-01-18 12:16:32.000000000 -0800 +@@ -31,11 +31,18 @@ + include $(BUILDDIR)/common/Defs.gmk + + # MMM: disable for now +-ifneq ($(PLATFORM), macosx) ++ifeq (,$(findstring $(PLATFORM), bsd macosx)) + include $(BUILDDIR)/common/Subdirs.gmk + SUBDIRS = sctp + endif + ++ifeq ($(OS_VENDOR), FreeBSD) ++# FreeBSD 5.x and lower are unsupported, 6.x has no sctp support. ++ifneq ($(call MajorVersion,$(shell uname -r)), 6) ++include $(BUILDDIR)/common/Subdirs.gmk ++SUBDIRS = sctp ++endif ++endif + + all build clean clobber:: + $(SUBDIRS-loop) +--- jdk/make/com/sun/nio/sctp/Makefile 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/make/com/sun/nio/sctp/Makefile 2014-01-18 12:16:32.000000000 -0800 +@@ -59,15 +59,11 @@ + -I$(PLATFORM_SRC)/native/java/net \ + -I$(CLASSHDRDIR)/../../../../java/java.nio/nio/CClassHeaders + ++OTHER_LDLIBS += $(LIBSOCKET) -L$(LIBDIR)/$(LIBARCH) -lnet -lnio + ifeq ($(PLATFORM), linux) + COMPILER_WARNINGS_FATAL=true +-#OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl +-OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl ++OTHER_LDLIBS += -lpthread $(LIBDL) + endif +-ifeq ($(PLATFORM), solaris) +-#LIBSCTP = -lsctp +-OTHER_LDLIBS += $(LIBSOCKET) -L$(LIBDIR)/$(LIBARCH) -lnet -lnio +-endif # PLATFORM + + else # windows + include $(BUILDDIR)/common/Classes.gmk +--- jdk/make/com/sun/security/auth/module/Makefile 2013-09-06 11:27:36.000000000 -0700 ++++ jdk/make/com/sun/security/auth/module/Makefile 2014-01-18 12:16:32.000000000 -0800 +@@ -67,7 +67,7 @@ + include FILES_c_solaris.gmk + endif # solaris + +-ifneq (,$(findstring $(PLATFORM), linux macosx)) ++ifneq (,$(findstring $(PLATFORM), linux bsd macosx)) + LIBRARY = jaas_unix + include FILES_export_unix.gmk + include FILES_c_unix.gmk +--- jdk/make/com/sun/tools/attach/Exportedfiles.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/com/sun/tools/attach/Exportedfiles.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -43,7 +43,7 @@ + sun/tools/attach/LinuxVirtualMachine.java + endif + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + FILES_export = \ + sun/tools/attach/BsdVirtualMachine.java + endif +--- jdk/make/com/sun/tools/attach/FILES_c.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/com/sun/tools/attach/FILES_c.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -39,7 +39,7 @@ + LinuxVirtualMachine.c + endif + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + FILES_c = \ + BsdVirtualMachine.c + endif +--- jdk/make/com/sun/tools/attach/FILES_java.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/com/sun/tools/attach/FILES_java.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -43,7 +43,7 @@ + sun/tools/attach/LinuxAttachProvider.java + endif + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + FILES_java += \ + sun/tools/attach/BsdAttachProvider.java + endif +--- jdk/make/com/sun/tools/attach/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/com/sun/tools/attach/Makefile 2014-01-18 12:16:32.000000000 -0800 +@@ -38,7 +38,7 @@ + ifeq ($(PLATFORM), linux) + FILES_m = mapfile-linux + endif +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + FILES_m = mapfile-bsd + endif + include $(BUILDDIR)/common/Mapfile-vers.gmk +@@ -57,7 +57,7 @@ + EXTRA_LIBS += psapi.lib + endif + +-ifeq ($PLATFORM), macosx) ++ifeq ($(PLATFORM), macosx) + vpath %.c $(call NativeSrcDirList,,native/sun/tools/attach) + else + vpath %.c $(PLATFORM_SRC)/native/sun/tools/attach +--- jdk/make/com/sun/tools/attach/mapfile-bsd 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/com/sun/tools/attach/mapfile-bsd 2014-01-18 12:16:32.000000000 -0800 +@@ -30,6 +30,7 @@ + Java_sun_tools_attach_BsdVirtualMachine_checkPermissions; + Java_sun_tools_attach_BsdVirtualMachine_close; + Java_sun_tools_attach_BsdVirtualMachine_connect; ++ Java_sun_tools_attach_BsdVirtualMachine_getTempDir; + Java_sun_tools_attach_BsdVirtualMachine_open; + Java_sun_tools_attach_BsdVirtualMachine_sendQuitTo; + Java_sun_tools_attach_BsdVirtualMachine_socket; +--- jdk/make/common/Defs-bsd.gmk 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/make/common/Defs-bsd.gmk 2014-01-18 12:20:58.000000000 -0800 +@@ -0,0 +1,490 @@ ++# ++# Copyright (c) 1999, 2012, 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. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# 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. ++# ++ ++# ++# Makefile to specify compiler flags for programs and libraries ++# targeted to BSD. Should not contain any rules. ++# ++# WARNING: This file is shared with other workspaces. ++# So when it includes other files, it must use JDK_TOPDIR. ++# ++ ++# Warning: the following variables are overriden by Defs.gmk. Set ++# values will be silently ignored: ++# CFLAGS (set $(OTHER_CFLAGS) instead) ++# CPPFLAGS (set $(OTHER_CPPFLAGS) instead) ++# CXXFLAGS (set $(OTHER_CXXFLAGS) instead) ++# LDFLAGS (set $(OTHER_LDFAGS) instead) ++# LDLIBS (set $(EXTRA_LIBS) instead) ++# LDLIBS_COMMON (set $(EXTRA_LIBS) instead) ++ ++# Get shared JDK settings ++include $(JDK_MAKE_SHARED_DIR)/Defs.gmk ++ ++# Part of INCREMENTAL_BUILD mechanism. ++# Compiler emits things like: path/file.o: file.h ++# We want something like: relative_path/file.o relative_path/file.d: file.h ++CC_DEPEND = -MM ++CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' ++ ++ifndef PLATFORM_SRC ++ PLATFORM_SRC = $(BUILDDIR)/../src/solaris ++endif # PLATFORM_SRC ++ ++# Location of the various .properties files specific to BSD platform ++ifndef PLATFORM_PROPERTIES ++ PLATFORM_PROPERTIES = $(BUILDDIR)/../src/solaris/lib ++endif # PLATFORM_SRC ++ ++# BSD build pulls its platform sources from the solaris tree. ++JAVA_SRCDIR_LIST = src/macosx src/solaris src/share ++NATIVE_SRCDIR_LIST = src/macosx src/solaris src/share ++ ++# Platform specific closed sources ++ifndef OPENJDK ++ ifndef CLOSED_PLATFORM_SRC ++ CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris ++ endif ++endif ++ ++# platform specific include files ++PLATFORM_INCLUDE_NAME = $(OS_NAME) ++PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) ++ ++# suffix used for make dependencies files. ++DEPEND_SUFFIX = d ++# The suffix applied to the library name for FDLIBM ++FDDLIBM_SUFFIX = a ++# The suffix applied to scripts (.bat for windows, nothing for unix) ++SCRIPT_SUFFIX = ++# CC compiler object code output directive flag value ++CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required! ++CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required! ++ ++# The Full Debug Symbols (FDS) default for VARIANT == OPT builds is ++# enabled with debug info files ZIP'ed to save space. For VARIANT != ++# OPT builds, FDS is always enabled, after all a debug build without ++# debug info isn't very useful. The ZIP_DEBUGINFO_FILES option only has ++# meaning when FDS is enabled. ++# ++# If you invoke a build with FULL_DEBUG_SYMBOLS=0, then FDS will be ++# disabled for a VARIANT == OPT build. ++# ++# Note: Use of a different variable name for the FDS override option ++# versus the FDS enabled check is intentional (FULL_DEBUG_SYMBOLS ++# versus ENABLE_FULL_DEBUG_SYMBOLS). For auto build systems that pass ++# in options via environment variables, use of distinct variables ++# prevents strange behaviours. For example, in a VARIANT != OPT build, ++# the FULL_DEBUG_SYMBOLS environment variable will be 0, but the ++# ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If the same ++# variable name is used, then different values can be picked up by ++# different parts of the build. Just to be clear, we only need two ++# variable names because the incoming option value can be overridden ++# in some situations, e.g., a VARIANT != OPT build. ++ ++ifeq ($(VARIANT), OPT) ++ FULL_DEBUG_SYMBOLS ?= 1 ++ ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS) ++else ++ # debug variants always get Full Debug Symbols (if available) ++ ENABLE_FULL_DEBUG_SYMBOLS = 1 ++endif ++_JUNK_ := $(shell \ ++ echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)") ++# since objcopy is optional, we set ZIP_DEBUGINFO_FILES later ++ ++ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) ++ # Default OBJCOPY comes from GNU Binutils on BSD: ++ DEF_OBJCOPY=/usr/bin/objcopy ++ ifdef CROSS_COMPILE_ARCH ++ # don't try to generate .debuginfo files when cross compiling ++ _JUNK_ := $(shell \ ++ echo >&2 "INFO: cross compiling for ARCH $(CROSS_COMPILE_ARCH)," \ ++ "skipping .debuginfo generation.") ++ OBJCOPY= ++ else ++ OBJCOPY=$(shell test -x $(DEF_OBJCOPY) && echo $(DEF_OBJCOPY)) ++ ifneq ($(ALT_OBJCOPY),) ++ _JUNK_ := $(shell echo >&2 "INFO: ALT_OBJCOPY=$(ALT_OBJCOPY)") ++ # disable .debuginfo support by setting ALT_OBJCOPY to a non-existent path ++ OBJCOPY=$(shell test -x $(ALT_OBJCOPY) && echo $(ALT_OBJCOPY)) ++ endif ++ endif ++ ++ # Setting ENABLE_FULL_DEBUG_SYMBOLS=1 (and OBJCOPY) above enables the ++ # JDK build to import .debuginfo or .diz files from the HotSpot build. ++ # However, adding FDS support to the JDK build will occur in phases ++ # so a different make variable (LIBRARY_SUPPORTS_FULL_DEBUG_SYMBOLS ++ # and PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS) is used to indicate that a ++ # particular library or program supports FDS. ++ ++ ifeq ($(OBJCOPY),) ++ _JUNK_ := $(shell \ ++ echo >&2 "INFO: no objcopy cmd found so cannot create .debuginfo files.") ++ ENABLE_FULL_DEBUG_SYMBOLS=0 ++ else ++ _JUNK_ := $(shell \ ++ echo >&2 "INFO: $(OBJCOPY) cmd found so will create .debuginfo files.") ++ ++ # Library stripping policies for .debuginfo configs: ++ # all_strip - strips everything from the library ++ # min_strip - strips most stuff from the library; leaves minimum symbols ++ # no_strip - does not strip the library at all ++ # ++ # Oracle security policy requires "all_strip". A waiver was granted on ++ # 2011.09.01 that permits using "min_strip" in the Java JDK and Java JRE. ++ # ++ # Currently, STRIP_POLICY is only used when Full Debug Symbols is enabled. ++ STRIP_POLICY ?= min_strip ++ ++ _JUNK_ := $(shell \ ++ echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)") ++ ++ ZIP_DEBUGINFO_FILES ?= 1 ++ ++ _JUNK_ := $(shell \ ++ echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)") ++ endif ++endif ++ ++# ++# Default optimization ++# ++ ++ifndef OPTIMIZATION_LEVEL ++ ifeq ($(PRODUCT), java) ++ OPTIMIZATION_LEVEL = HIGHER ++ else ++ OPTIMIZATION_LEVEL = LOWER ++ endif ++endif ++ifndef FASTDEBUG_OPTIMIZATION_LEVEL ++ FASTDEBUG_OPTIMIZATION_LEVEL = LOWER ++endif ++ ++CC_OPT/NONE = ++CC_OPT/LOWER = -O2 ++CC_OPT/HIGHER = -O3 ++CC_OPT/HIGHEST = -O3 ++ ++CC_OPT = $(CC_OPT/$(OPTIMIZATION_LEVEL)) ++ ++# For all platforms, do not omit the frame pointer register usage. ++# We need this frame pointer to make it easy to walk the stacks. ++# This should be the default on X86, but ia64 and amd64 may not have this ++# as the default. ++CFLAGS_REQUIRED_amd64 += -m64 -fno-omit-frame-pointer -D_LITTLE_ENDIAN ++LDFLAGS_COMMON_amd64 += -m64 ++CFLAGS_REQUIRED_i586 += -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN ++LDFLAGS_COMMON_i586 += -m32 ++CFLAGS_REQUIRED_ia64 += -m64 -fno-omit-frame-pointer -D_LITTLE_ENDIAN ++CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9 ++LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9 ++CFLAGS_REQUIRED_sparc += -m32 -mcpu=v9 ++LDFLAGS_COMMON_sparc += -m32 -mcpu=v9 ++CFLAGS_REQUIRED_arm += -fsigned-char -D_LITTLE_ENDIAN ++CFLAGS_REQUIRED_ppc += -fsigned-char -D_BIG_ENDIAN ++ifeq ($(ZERO_BUILD), true) ++ CFLAGS_REQUIRED = $(ZERO_ARCHFLAG) ++ ifeq ($(ZERO_ENDIANNESS), little) ++ CFLAGS_REQUIRED += -D_LITTLE_ENDIAN ++ endif ++ LDFLAGS_COMMON += $(ZERO_ARCHFLAG) ++else ++ CFLAGS_REQUIRED = $(CFLAGS_REQUIRED_$(ARCH)) ++ LDFLAGS_COMMON += $(LDFLAGS_COMMON_$(ARCH)) ++endif ++ ++# If this is a --hash-style=gnu system, use --hash-style=both ++# The gnu .hash section won't work on some Linux systems like SuSE 10. ++_HAS_HASH_STYLE_GNU:=$(shell $(CC) -dumpspecs | $(GREP) -- '--hash-style=gnu') ++ifneq ($(_HAS_HASH_STYLE_GNU),) ++ LDFLAGS_HASH_STYLE = -Wl,--hash-style=both ++endif ++LDFLAGS_COMMON += $(LDFLAGS_HASH_STYLE) ++ ++# ++# Selection of warning messages ++# ++GCC_INHIBIT = -Wno-unused -Wno-parentheses ++GCC_STYLE = ++GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(GCC_INHIBIT) ++ ++# ++# Treat compiler warnings as errors, if warnings not allowed ++# ++ifeq ($(COMPILER_WARNINGS_FATAL),true) ++ GCC_WARNINGS += -Werror ++endif ++ ++# ++# Misc compiler options ++# ++ifneq ($(ARCH),ppc) ++ CFLAGS_COMMON = -fno-strict-aliasing ++endif ++PIC_CODE_LARGE = -fPIC ++PIC_CODE_SMALL = -fpic ++GLOBAL_KPIC = $(PIC_CODE_LARGE) ++CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) ++ifeq ($(ARCH), amd64) ++ CFLAGS_COMMON += -pipe ++endif ++ ++# BSD 64bit machines use Dwarf2, which can be HUGE, have fastdebug use -g1 ++DEBUG_FLAG = -g ++ifeq ($(FASTDEBUG), true) ++ ifeq ($(ARCH_DATA_MODEL), 64) ++ DEBUG_FLAG = -g1 ++ endif ++endif ++ ++# DEBUG_BINARIES overrides everything, use full -g debug information ++ifeq ($(DEBUG_BINARIES), true) ++ DEBUG_FLAG = -g ++ CFLAGS_REQUIRED += $(DEBUG_FLAG) ++endif ++ ++# If Full Debug Symbols is enabled, then we want the same debug and ++# optimization flags as used by FASTDEBUG. ++# ++ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) ++ ifeq ($(LIBRARY_SUPPORTS_FULL_DEBUG_SYMBOLS),1) ++ ifeq ($(VARIANT), OPT) ++ CC_OPT = $(DEBUG_FLAG) $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL)) ++ endif ++ endif ++endif ++ ++CFLAGS_OPT = $(CC_OPT) ++CFLAGS_DBG = $(DEBUG_FLAG) ++CFLAGS_COMMON += $(CFLAGS_REQUIRED) ++ ++CXXFLAGS_COMMON = $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) ++CXXFLAGS_OPT = $(CC_OPT) ++CXXFLAGS_DBG = $(DEBUG_FLAG) ++CXXFLAGS_COMMON += $(CFLAGS_REQUIRED) ++ ++# FASTDEBUG: Optimize the code in the -g versions, gives us a faster debug java ++ifeq ($(FASTDEBUG), true) ++ CFLAGS_DBG += $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL)) ++ CXXFLAGS_DBG += $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL)) ++endif ++ ++CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"' ++ ++# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here) ++ifneq ($(ARCH),alpha) ++ CPP_ARCH_FLAGS += -D$(ARCH) ++else ++ CPP_ARCH_FLAGS += -D_$(ARCH)_ ++endif ++ ++CPPFLAGS_COMMON = $(CPP_ARCH_FLAGS) -D_ALLBSD_SOURCE $(VERSION_DEFINES) \ ++ -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT ++ ++ifeq ($(ARCH_DATA_MODEL), 64) ++CPPFLAGS_COMMON += -D_LP64=1 ++endif ++ ++CPPFLAGS_OPT = -DNDEBUG ++CPPFLAGS_DBG = -DDEBUG ++ifneq ($(PRODUCT), java) ++ CPPFLAGS_DBG += -DLOGGING ++endif ++ ++# Libraries need to locate other libraries at runtime, and you can tell ++# a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) ++# buried inside the .so. The $ORIGIN says to look relative to where ++# the library itself is and it can be followed with relative paths from ++# that. By default we always look in $ORIGIN, optionally we add relative ++# paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. ++# On BSD we add a flag -z origin, not sure if this is necessary, but ++# doesn't seem to hurt. ++# The environment variable LD_LIBRARY_PATH will over-ride these runpaths. ++# Try: 'readelf -d lib*.so' to see these settings in a library. ++# ++Z_ORIGIN_FLAG/sparc = -Xlinker -z -Xlinker origin ++Z_ORIGIN_FLAG/i586 = -Xlinker -z -Xlinker origin ++Z_ORIGIN_FLAG/amd64 = -Xlinker -z -Xlinker origin ++Z_ORIGIN_FLAG/ia64 = -Xlinker -z -Xlinker origin ++Z_ORIGIN_FLAG/arm = ++Z_ORIGIN_FLAG/ppc = ++Z_ORIGIN_FLAG/zero = -Xlinker -z -Xlinker origin ++ ++LDFLAG_Z_ORIGIN = $(Z_ORIGIN_FLAG/$(ARCH_FAMILY)) ++ ++LDFLAGS_COMMON += $(LDFLAG_Z_ORIGIN) -Xlinker -rpath -Xlinker \$$ORIGIN ++LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=$(LDFLAG_Z_ORIGIN) -Xlinker -rpath -Xlinker \$$ORIGIN/%) ++ ++# ++# -L paths for finding and -ljava ++# ++LDFLAGS_OPT = -Xlinker -O1 ++LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) ++LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) ++ ++# ++# -static-libgcc is a gcc-3 flag to statically link libgcc, gcc-2.9x always ++# statically link libgcc but will print a warning with the flag. We don't ++# want the warning, so check gcc version first. ++# ++ifeq ($(CC_MAJORVER),3) ++ OTHER_LDFLAGS += -static-libgcc ++endif ++ ++# Automatic precompiled header option to use (if COMPILE_APPROACH=batch) ++# (See Rules.gmk) The gcc 5 compiler might have an option for this? ++AUTOMATIC_PCH_OPTION = ++ ++# ++# Post Processing of libraries/executables ++# ++ifeq ($(VARIANT), OPT) ++ ifneq ($(NO_STRIP), true) ++ ifneq ($(DEBUG_BINARIES), true) ++ # Debug 'strip -S' leaves local function Elf symbols (better stack ++ # traces) ++ POST_STRIP_PROCESS = $(STRIP) -S ++ endif ++ endif ++endif ++ ++# ++# Use: ld $(LD_MAPFILE_FLAG) mapfile *.o ++# ++LD_MAPFILE_FLAG = -Xlinker --version-script -Xlinker ++ ++# ++# Support for Quantify. ++# ++ifdef QUANTIFY ++QUANTIFY_CMD = quantify ++QUANTIFY_OPTIONS = -cache-dir=/tmp/quantify -always-use-cache-dir=yes ++LINK_PRE_CMD = $(QUANTIFY_CMD) $(QUANTIFY_OPTIONS) ++endif ++ ++# Using map files currently break compilation on FreeBSD during shared library ++# checks for some of the AWT native libraries. ++ifeq ($(OS_VENDOR), FreeBSD) ++LDNOMAP=true ++endif ++ ++# ++# Path and option to link against the VM, if you have to. Note that ++# there are libraries that link against only -ljava, but they do get ++# -L to the -ljvm, this is because -ljava depends on -ljvm, whereas ++# the library itself should not. ++# ++VM_NAME = server ++JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm ++JAVALIB = -ljava $(JVMLIB) ++ ++# ++# We want to privatize JVM symbols on Solaris. This is so the user can ++# write a function called FindClass and this should not override the ++# FindClass that is inside the JVM. At this point in time we are not ++# concerned with other JNI libraries because we hope that there will ++# not be as many clashes there. ++# ++PRIVATIZE_JVM_SYMBOLS = false ++ ++USE_PTHREADS = true ++override ALT_CODESET_KEY = _NL_CTYPE_CODESET_NAME ++override AWT_RUNPATH = ++override HAVE_ALTZONE = false ++override HAVE_FILIOH = false ++override HAVE_GETHRTIME = false ++override HAVE_GETHRVTIME = false ++override LEX_LIBRARY = -lfl ++ifeq ($(STATIC_CXX),true) ++override LIBCXX = -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic ++else ++override LIBCXX = -lstdc++ ++endif ++override LIBPOSIX4 = ++override LIBSOCKET = ++override LIBNSL = ++override LIBSCF = ++override LIBTHREAD = ++override LIBDL = ++override MOOT_PRIORITIES = true ++override NO_INTERRUPTIBLE_IO = true ++override OPENWIN_HOME = $(X11_PATH) ++override OPENWIN_LIB = $(OPENWIN_HOME)/lib ++override OTHER_M4FLAGS = -D__GLIBC__ -DGNU_ASSEMBLER ++override SUN_CMM_SUBDIR = ++override THREADS_FLAG = native ++override USE_GNU_M4 = true ++override USING_GNU_TAR = true ++override WRITE_LIBVERSION = false ++ ++# USE_EXECNAME forces the launcher to look up argv[0] on $PATH, and put the ++# resulting resolved absolute name of the executable in the environment ++# variable EXECNAME. That executable name is then used that to locate the ++# installation area. ++override USE_EXECNAME = true ++ ++# If your platform has DPS, it will have Type1 fonts too, in which case ++# it is best to enable DPS support until such time as 2D's rasteriser ++# can fully handle Type1 fonts in all cases. Default is "yes". ++# HAVE_DPS should only be "no" if the platform has no DPS headers or libs ++# DPS (Displayable PostScript) is available on Solaris machines ++HAVE_DPS = no ++ ++ifeq ($(OS_VENDOR), FreeBSD) ++ SYSTEM_ZLIB = true ++endif ++ ++ifeq ($(OS_VENDOR), OpenBSD) ++ SYSTEM_ZLIB = true ++endif ++ ++# ++# Japanese manpages ++# ++JA_SOURCE_ENCODING = eucJP ++JA_TARGET_ENCODINGS = UTF-8 ++ ++# Settings for the JDI - Serviceability Agent binding. ++HOTSPOT_SALIB_PATH = $(HOTSPOT_IMPORT_PATH)/jre/lib/$(LIBARCH) ++SALIB_NAME = $(LIB_PREFIX)saproc.$(LIBRARY_SUFFIX) ++SA_DEBUGINFO_NAME = $(LIB_PREFIX)saproc.debuginfo ++SA_DIZ_NAME = $(LIB_PREFIX)saproc.diz ++ ++# The JDI - Serviceability Agent binding is not currently supported ++# on ia64. ++ifeq ($(ARCH), ia64) ++ INCLUDE_SA = false ++else ++ INCLUDE_SA = true ++endif ++ ++ifdef CROSS_COMPILE_ARCH ++ # X11 headers are not under /usr/include ++ OTHER_CFLAGS += -I$(OPENWIN_HOME)/include ++ OTHER_CXXFLAGS += -I$(OPENWIN_HOME)/include ++ OTHER_CPPFLAGS += -I$(OPENWIN_HOME)/include ++endif +--- jdk/make/common/Defs-linux.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Defs-linux.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -426,6 +426,7 @@ + override LIBDL = -ldl + override MOOT_PRIORITIES = true + override NO_INTERRUPTIBLE_IO = true ++override OPENWIN_HOME = $(X11_PATH) + ifeq ($(ARCH), amd64) + override OPENWIN_LIB = $(OPENWIN_HOME)/lib64 + else +--- jdk/make/common/Defs-solaris.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Defs-solaris.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -753,6 +753,9 @@ + # Network Services library + LIBNSL = -lnsl + ++# Dynamic Loading library ++LIBDL = -ldl ++ + # service configuration facility library + LIBSCF = -lscf + +--- jdk/make/common/Defs.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Defs.gmk 2014-01-18 12:16:32.000000000 -0800 +@@ -179,15 +179,15 @@ + + ifdef ALT_FREETYPE_LIB_PATH + FREETYPE_LIB_PATH = $(ALT_FREETYPE_LIB_PATH) +- ifeq ($(PLATFORM), macosx) ++ ifneq (,$(findstring $(PLATFORM), bsd macosx)) + USING_SYSTEM_FT_LIB=true + endif + else + ifeq ($(DEVTOOLS_FT_DIR_EXISTS), true) + FREETYPE_LIB_PATH = $(DEVTOOLS_FT_DIR)/lib + else +- ifeq ($(PLATFORM), macosx) +- FREETYPE_LIB_PATH = /usr/X11R6/lib ++ ifneq (,$(findstring $(PLATFORM), bsd macosx)) ++ FREETYPE_LIB_PATH = $(X11_PATH)/lib + else + FREETYPE_LIB_PATH = /usr/lib + endif +@@ -201,8 +201,8 @@ + ifeq ($(DEVTOOLS_FT_DIR_EXISTS), true) + FREETYPE_HEADERS_PATH = $(DEVTOOLS_FT_DIR)/include + else +- ifeq ($(PLATFORM), macosx) +- FREETYPE_HEADERS_PATH = /usr/X11R6/include ++ ifneq (,$(findstring $(PLATFORM), bsd macosx)) ++ FREETYPE_HEADERS_PATH = $(X11_PATH)/include + else + FREETYPE_HEADERS_PATH = /usr/include + endif +@@ -258,6 +258,10 @@ + LDLIBS_COMMON = -pthread + endif + ++ ifeq ($(PLATFORM), bsd) ++ LDLIBS_COMMON = -pthread ++ endif ++ + endif # PROGRAM + + LDLIBS_COMMON += $(EXTRA_LIBS) +@@ -400,7 +404,7 @@ + # We define an intermediate variable for Java files because + # we use its value later to help define $SOURCEPATH + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + VPATH0.java = $(subst $(ONESPACE),:,$(GENSRCDIR) $(call JavaSrcDirList,,classes)) + else + VPATH0.java = $(GENSRCDIR)$(CLASSPATH_SEPARATOR)$(PLATFORM_SRC)/classes$(CLASSPATH_SEPARATOR)$(SHARE_SRC)/classes +--- jdk/make/common/Library.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Library.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -299,8 +299,12 @@ + ifeq ($(PLATFORM), solaris) + $(STRIP) -x $@ + else +- # assume Linux +- $(STRIP) -g $@ ++ ifeq ($(PLATFORM), linux) ++ $(STRIP) -g $@ ++ else ++ # assume BSD ++ $(STRIP) -S $@ ++ endif + endif + # implied else here is no stripping at all + endif +--- jdk/make/common/Mapfile-vers.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Mapfile-vers.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -76,7 +76,7 @@ + + endif # PLATFORM + +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + + ifeq ($(VARIANT), OPT) + # OPT build MUST have a mapfile? +--- jdk/make/common/Program.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Program.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -95,23 +95,31 @@ + endif # SYSTEM_ZLIB + endif # PLATFORM + ++ifeq ($(PLATFORM), bsd) ++ LDFLAGS += -Wl,--whole-archive ++ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a ++ LDFLAGS += -Wl,--no-whole-archive ++# Work-around an dlsym(RTLD_DEFAULT) bug in at least FreeBSD & OpenBSD ++ LDFLAGS += -Wl,--export-dynamic ++ ifeq ($(SYSTEM_ZLIB),true) ++ OTHER_LDLIBS += -lz ++ endif ++endif #PLATFORM ++ + ifneq (,$(findstring $(PLATFORM), linux solaris)) # UNIX systems + LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli + OTHER_LDLIBS += -ljli + ifeq ($(PLATFORM), solaris) + ifeq ($(ARCH_DATA_MODEL), 32) + LDFLAGS += -R \$$ORIGIN/../lib/$(LIBARCH)/jli +- LDFLAGS += -R \$$ORIGIN/../jre/lib/$(LIBARCH)/jli + else # ! ARCH_DATA_MODEL 64-bit + LDFLAGS += -R \$$ORIGIN/../../lib/$(LIBARCH)/jli +- LDFLAGS += -R \$$ORIGIN/../../jre/lib/$(LIBARCH)/jli + endif # ARCH_DATA_MODEL + endif # PLATFORM SOLARIS + ifeq ($(PLATFORM), linux) + LDFLAGS += $(LDFLAG_Z_ORIGIN) + LDFLAGS += -Wl,--allow-shlib-undefined + LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH)/jli +- LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH)/jli + endif # PLATFORM LINUX + endif # PLATFORM linux solaris + +@@ -226,6 +234,11 @@ + INFO_PLIST_FILE= + endif # MACOSX + ++ ifeq ($(PLATFORM), bsd) ++ THREADLIBS = -pthread ++ OTHER_CPPFLAGS += -DPACKAGE_PATH='"$(PACKAGE_PATH)"' ++ endif ++ + # + # This rule only applies on unix. It supports quantify and its ilk. + # +@@ -280,8 +293,12 @@ + ifeq ($(PLATFORM), solaris) + $(STRIP) -x $@ + else +- # assume Linux +- $(STRIP) -g $@ ++ ifeq ($(PLATFORM), linux) ++ $(STRIP) -g $@ ++ else ++ # assume BSD ++ $(STRIP) -S $@ ++ endif + endif + # implied else here is no stripping at all + endif +@@ -349,7 +366,9 @@ + + + ifneq ($(PLATFORM), windows) +- HAVE_GETHRTIME=true ++ ifneq ($(PLATFORM), bsd) ++ HAVE_GETHRTIME=true ++ endif + endif #PLATFORM + + ifeq ($(HAVE_GETHRTIME),true) +@@ -359,12 +378,10 @@ + OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC)/bin -I$(LAUNCHER_PLATFORM_SRC)/bin + ifeq ($(PLATFORM), macosx) + OTHER_INCLUDES += -I$(LAUNCHER_SOLARIS_PLATFORM_SRC)/bin +- ifneq ($(SYSTEM_ZLIB), true) +- OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 +- endif # SYSTEM_ZLIB +-else # PLATFORM !MACOSX ++endif # PLATFORM ++ifneq ($(SYSTEM_ZLIB), true) + OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 +-endif ++endif # SYSTEM_ZLIB + + OTHER_CPPFLAGS += -DPROGNAME='"$(PROGRAM)"' + VERSION_DEFINES += -DFULL_VERSION='"$(FULL_VERSION)"' +--- jdk/make/common/Release.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Release.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -180,6 +180,12 @@ + JA_DIRNAME=ja_JP.UTF-8 + endif # linux + ++ifeq ($(PLATFORM), bsd) ++ MANBASEDIRS=$(JDK_TOPDIR)/src/linux/doc $(IMPORTDOCDIR) ++ MAN1SUBDIR=man ++ JA_DIRNAME=ja_JP.UTF-8 ++endif # linux ++ + define copy-man-pages + $(MKDIR) -p $1/man/man1 + for manbase in $(MANBASEDIRS:%=%/$(MAN1SUBDIR)) ; do \ +@@ -852,10 +858,6 @@ + $(BOOT_JAVA_CMD) -jar $(BUILDMETAINDEX_JARFILE) \ + -o meta-index *.jar + @$(CD) $(JRE_IMAGE_DIR)/lib/ext && $(java-vm-cleanup) +-ifeq ($(PLATFORM), macosx) +- @#install jobjc, apple mac only +- $(CP) $(OUTPUTDIR)/JObjC.build/JObjC.jar $(JRE_IMAGE_DIR)/lib/JObjC.jar +-endif # macosx + ifeq ($(PLATFORM), windows) + @# Remove certain *.lib files + $(CD) $(JRE_IMAGE_DIR)/lib && \ +@@ -982,6 +984,11 @@ + endif + $(RM) -rf $(JDK_IMAGE_DIR)/jre/man + $(CHMOD) a+rx `$(FIND) $(JDK_IMAGE_DIR) -type d` ++ ifneq (,$(findstring $(PLATFORM), linux solaris)) # If linux or solaris ++ ($(CD) $(LIBDIR)/.. && $(TAR) cf - \ ++ `$(FIND) lib -name $(LIB_PREFIX)jli.$(LIB_SUFFIX) -print `) | \ ++ ($(CD) $(JDK_IMAGE_DIR) && $(TAR) xf -) ++ endif # PLATFORM + + initial-image-jdk64-bindemos: + for dir in bin demo ; do \ +@@ -1025,12 +1032,18 @@ + FILES_launcher = $(wildcard $(SHARE_SRC)/bin/*) \ + $(wildcard $(PLATFORM_SRC)/bin/java_md*) + ++ifeq ($(OS_VENDOR), OpenBSD) ++ FILES_FROM_ARG=-I ++else ++ FILES_FROM_ARG=-T ++endif ++ + # Standard jdk image + initial-image-jdk:: initial-image-jdk-setup \ + initial-image-jdk-db \ + $(JDK_DOCFILES) \ + $(JDK_DEMOS_AND_SAMPLES_DOCFILES) +- $(MKDIR) $(JDK_IMAGE_DIR)/lib ++ $(MKDIR) -p $(JDK_IMAGE_DIR)/lib + @# + @# Copy in the jars in lib that only belong in the JDK + @# +@@ -1112,7 +1125,7 @@ + @# So for Linux, make use of the -T option (like Solaris' -I option) of + @# obtaining the list of files from a file. MKS tar has no such option. + +- ifneq (,$(findstring $(PLATFORM), linux macosx)) ++ ifneq (,$(findstring $(PLATFORM), linux macosx bsd)) + for d in $(SOURCE_DIRS); do \ + $(RM) $(ABS_TEMPDIR)/src-files.list; \ + ($(CD) $$d && \ +@@ -1125,7 +1138,7 @@ + done ; \ + ) ; \ + if [ -f $(ABS_TEMPDIR)/src-files.list ] ; then \ +- ($(CD) $$d && $(TAR) cf - -T $(ABS_TEMPDIR)/src-files.list ) \ ++ ($(CD) $$d && $(TAR) cf - $(FILES_FROM_ARG) $(ABS_TEMPDIR)/src-files.list ) \ + | ($(CD) $(JDK_IMAGE_DIR)/src && $(TAR) xf -); \ + fi; \ + done +--- jdk/make/common/Rules.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/Rules.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -51,7 +51,7 @@ + # + # All source tree areas for java/properties files (a few may be closed) + # +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + ifdef OPENJDK + ALL_CLASSES_SRC = $(call JavaSrcDirList,,classes) + else +@@ -212,7 +212,7 @@ + $(CLASSDESTDIR)/%.class: $(GENSRCDIR)/%.java + @$(add-java-file) + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + # TODO(cpc): need to document why this is necessary... + $(CLASSDESTDIR)/%.class: $(JDK_TOPDIR)/src/macosx/classes/%.java + @$(add-java-file) +--- jdk/make/common/shared/Compiler-gcc.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/shared/Compiler-gcc.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -72,6 +72,21 @@ + + endif + ++ifeq ($(PLATFORM), bsd) ++ ++ # Settings specific to BSD ++ CC = $(COMPILER_PATH)gcc ++ CPP = $(COMPILER_PATH)gcc -E ++ CXX = $(COMPILER_PATH)g++ ++ ++ # Option used to create a shared library ++ ifeq ($(OS_VENDOR), Apple) ++ SHARED_LIBRARY_FLAG = -dynamiclib ++ else ++ SHARED_LIBRARY_FLAG = -shared ++ endif ++endif ++ + ifeq ($(PLATFORM), solaris) + + # Settings specific to Solaris +--- jdk/make/common/shared/Defs-bsd.gmk 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/make/common/shared/Defs-bsd.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -0,0 +1,267 @@ ++# ++# Copyright (c) 2005, 2011, 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. Oracle designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Oracle in the LICENSE file that accompanied this code. ++# ++# 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. ++# ++ ++# ++# Definitions for BSD. ++# ++ ++# Default for COMPILER_WARNINGS_FATAL on BSD (C & C++ compiler warnings) ++ifndef COMPILER_WARNINGS_FATAL ++ COMPILER_WARNINGS_FATAL=false ++endif ++ ++# BSD should use parallel compilation for best build times ++ifndef COMPILE_APPROACH ++ COMPILE_APPROACH = parallel ++endif ++ ++# Indication that we are doing an incremental build. ++# This may trigger the creation of make depend files. ++ifndef INCREMENTAL_BUILD ++ INCREMENTAL_BUILD = false ++endif ++ ++# FullPath just makes sure it never ends with a / and no duplicates ++define FullPath ++$(shell cd $1 2> $(DEV_NULL) && pwd) ++endef ++ ++# OptFullPath: Absolute path name of a dir that might not initially exist. ++define OptFullPath ++$(shell if [ "$1" != "" -a -d "$1" ]; then (cd $1 && pwd); else echo "$1"; fi) ++endef ++ ++ifdef ALT_X11_PATH ++ X11_PATH = $(ALT_X11_PATH) ++else ++ ifeq ($(OS_VENDOR), NetBSD) ++ X11_PATH = /usr/X11R7 ++ else ++ ifeq ($(OS_VENDOR), FreeBSD) ++ X11_PATH = /usr/local ++ else ++ X11_PATH = /usr/X11R6 ++ endif ++ endif ++endif ++ ++ifdef ALT_PACKAGE_PATH ++ PACKAGE_PATH = $(ALT_PACKAGE_PATH) ++else ++ ifeq ($(OS_VENDOR), NetBSD) ++ PACKAGE_PATH = /usr/pkg ++ else ++ PACKAGE_PATH = /usr/local ++ endif ++endif ++ ++# ALSA ++ifdef ALT_ALSA_LIB_PATH ++ ALSA_LIB_PATH = $(ALT_ALSA_LIB_PATH) ++else ++ ALSA_LIB_PATH = $(PACKAGE_PATH)/lib ++endif ++ ++ifdef ALT_ALSA_HEADERS_PATH ++ ALSA_HEADERS_PATH = $(ALT_ALSA_HEADERS_PATH) ++else ++ ALSA_HEADERS_PATH = $(PACKAGE_PATH)/include ++endif ++ ++# Location on system where jdk installs might be ++USRJDKINSTANCES_PATH = $(PACKAGE_PATH) ++ ++# UNIXCOMMAND_PATH: path to where the most common Unix commands are. ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq "$(origin ALT_UNIXCOMMAND_PATH)" "undefined" ++ UNIXCOMMAND_PATH :=$(call PrefixPath,$(ALT_UNIXCOMMAND_PATH)) ++else ++ UNIXCOMMAND_PATH = /bin/ ++endif ++ ++# USRBIN_PATH: path to where the most common Unix commands are. ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq "$(origin ALT_USRBIN_PATH)" "undefined" ++ USRBIN_PATH :=$(call PrefixPath,$(ALT_USRBIN_PATH)) ++else ++ USRBIN_PATH = /usr/bin/ ++endif ++ ++# UNIXCCS_PATH: path to where the Solaris ported UNIX commands can be found ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq "$(origin ALT_UNIXCCS_PATH)" "undefined" ++ UNIXCCS_PATH :=$(call PrefixPath,$(ALT_UNIXCCS_PATH)) ++else ++ UNIXCCS_PATH = /usr/ccs/bin/ ++endif ++ ++# SLASH_JAVA: location of all network accessable files ++ifdef ALT_SLASH_JAVA ++ SLASH_JAVA :=$(ALT_SLASH_JAVA) ++else ++ SLASH_JAVA := $(call DirExists,/java,/java,/NOT-SET) ++endif ++ ++# JDK_DEVTOOLS_DIR: common path for all the java devtools ++ifdef ALT_JDK_DEVTOOLS_DIR ++ JDK_DEVTOOLS_DIR =$(ALT_JDK_DEVTOOLS_DIR) ++else ++ JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools ++endif ++ ++# COMPILER_PATH: path to where the compiler and tools are installed. ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq "$(origin ALT_COMPILER_PATH)" "undefined" ++ COMPILER_PATH :=$(call PrefixPath,$(ALT_COMPILER_PATH)) ++else ++ COMPILER_PATH =/usr/bin/ ++endif ++ ++# OPENWIN_HOME: path to where the X11 environment is installed. ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq ($(ALT_OPENWIN_HOME),) ++ OPENWIN_HOME :=$(call PrefixPath,$(ALT_OPENWIN_HOME)) ++else ++ OPENWIN_HOME =$(X11_PATH) ++endif ++ ++# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.) ++# NOTE: Must end with / so that it could be empty, allowing PATH usage. ++ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined" ++ DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH)) ++else ++ DEVTOOLS_PATH =$(PACKAGE_PATH)/bin/ ++endif ++ ++# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK. ++# _BOOTDIR2: Second choice ++ifndef ALT_BOOTDIR ++ _BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH) ++ _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION) ++endif ++ ++# Always build headless on BSD ++BUILD_HEADLESS = true ++LIBM=-lm ++ ++# Set ZLIB_LIBS if not already set ++ifeq ("$(ZLIB_LIBS)", "") ++ ZLIB_LIBS=-lz ++endif ++ ++_CUPS_HEADERS_PATH=$(PACKAGE_PATH)/include ++ ++# Import JDK images allow for partial builds, components not built are ++# imported (or copied from) these import areas when needed. ++ ++# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for ++# multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc. ++ifdef ALT_BUILD_JDK_IMPORT_PATH ++ BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH)) ++else ++ BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES) ++endif ++BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH) ++ ++# JDK_IMPORT_PATH: location of JDK install tree (this version) to import ++ifdef ALT_JDK_IMPORT_PATH ++ JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH)) ++else ++ JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT) ++endif ++JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH) ++ ++# HOTSPOT_IMPORT_PATH: location of hotspot pre-built files ++ifdef ALT_HOTSPOT_IMPORT_PATH ++ HOTSPOT_IMPORT_PATH :=$(call FullPath,$(ALT_HOTSPOT_IMPORT_PATH)) ++else ++ HOTSPOT_IMPORT_PATH =$(JDK_IMPORT_PATH) ++endif ++HOTSPOT_IMPORT_PATH:=$(call AltCheckValue,HOTSPOT_IMPORT_PATH) ++ ++# HOTSPOT_CLIENT_PATH: location of client jvm library file. ++ifeq ($(ARCH_DATA_MODEL), 32) ++ ifdef ALT_HOTSPOT_CLIENT_PATH ++ HOTSPOT_CLIENT_PATH :=$(call FullPath,$(ALT_HOTSPOT_CLIENT_PATH)) ++ else ++ HOTSPOT_CLIENT_PATH =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/client ++ endif ++ HOTSPOT_CLIENT_PATH:=$(call AltCheckValue,HOTSPOT_CLIENT_PATH) ++endif ++ ++# HOTSPOT_SERVER_PATH: location of server jvm library file. ++ifdef ALT_HOTSPOT_SERVER_PATH ++ HOTSPOT_SERVER_PATH :=$(call FullPath,$(ALT_HOTSPOT_SERVER_PATH)) ++else ++ HOTSPOT_SERVER_PATH =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/server ++endif ++HOTSPOT_SERVER_PATH:=$(call AltCheckValue,HOTSPOT_SERVER_PATH) ++ ++# Special define for checking the binaries ++ ++# Debug builds should downgrade warnings to just info ++MAPFILE_WARNING-DBG=INFO ++MAPFILE_WARNING-OPT=WARNING ++MAPFILE_WARNING-=WARNING ++MAPFILE_WARNING=$(MAPFILE_WARNING-$(VARIANT)) ++ ++# Macro to check it's input file for banned dependencies and verify the ++# binary built properly. Relies on process exit code. ++ifndef CROSS_COMPILE_ARCH ++ifeq ($(OS_VENDOR), OpenBSD) ++define binary_file_verification # binary_file ++( \ ++ $(ECHO) "Checking for mapfile use in: $1" && \ ++ if [ "`$(OBJDUMP) -T $1 | $(EGREP) '[0-9a-f]* g *DF \.text.*SUNWprivate'`" = "" ] ; then \ ++ $(ECHO) "$(MAPFILE_WARNING): File was not built with a mapfile: $1"; \ ++ fi && \ ++ $(ECHO) "Library loads for: $1" && \ ++ $(LDD) $1 && \ ++ $(ECHO) "RUNPATH for: $1" && \ ++ ( $(READELF) -d $1 | $(EGREP) 'NEEDED|RUNPATH|RPATH' ) \ ++) || true ++endef ++else ++define binary_file_verification # binary_file ++( \ ++ $(ECHO) "Checking for mapfile use in: $1" && \ ++ if [ "`$(NM) -D -g --defined-only $1 | $(EGREP) 'SUNWprivate'`" = "" ] ; then \ ++ $(ECHO) "$(MAPFILE_WARNING): File was not built with a mapfile: $1"; \ ++ fi && \ ++ $(ECHO) "Library loads for: $1" && \ ++ $(LDD) $1 && \ ++ $(ECHO) "RUNPATH for: $1" && \ ++ ( $(READELF) -d $1 | $(EGREP) 'NEEDED|RUNPATH|RPATH' ) \ ++) ++endef ++endif ++else ++define binary_file_verification ++( \ ++ $(ECHO) "Skipping binary file verification for cross-compile build" \ ++) ++endef ++endif ++ +--- jdk/make/common/shared/Defs-utils.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/shared/Defs-utils.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -74,6 +74,13 @@ + UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH) + endif + ++ifeq ($(PLATFORM),bsd) ++ UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH) ++ UTILS_USR_BIN_PATH=$(USRBIN_PATH) ++ UTILS_CCS_BIN_PATH=$(USRBIN_PATH) ++ UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH) ++endif ++ + # Utilities + ifdef CROSS_COMPILE_ARCH + AR = $(COMPILER_PATH)ar +@@ -251,3 +258,35 @@ + # Builtin shell command, no -e option needed + ECHO = echo + endif ++ ++# BSD specific ++ifeq ($(PLATFORM),bsd) ++ BASENAME = $(UTILS_USR_BIN_PATH)basename ++ EGREP = $(UTILS_USR_BIN_PATH)egrep ++ EXPR = $(UTILS_COMMAND_PATH)expr ++ FMT = $(UTILS_USR_BIN_PATH)fmt ++ GREP = $(UTILS_USR_BIN_PATH)grep ++ GUNZIP = $(UTILS_USR_BIN_PATH)gunzip ++ ID = $(UTILS_USR_BIN_PATH)id ++ MSGFMT = $(UTILS_DEVTOOL_PATH)msgfmt ++ SED = $(UTILS_USR_BIN_PATH)sed ++ SORT = $(UTILS_USR_BIN_PATH)sort ++ TEST = $(UTILS_COMMAND_PATH)test ++ TOUCH = $(UTILS_USR_BIN_PATH)touch ++ TRUE = $(UTILS_USR_BIN_PATH)true ++ UNAME = $(UTILS_USR_BIN_PATH)uname ++ UNZIP = $(UTILS_DEVTOOL_PATH)unzip ++ # BSD OS_VENDOR specific ++ ifeq ($(OS_VENDOR), OpenBSD) ++ NAWK = $(UTILS_USR_BIN_PATH)awk ++ OBJDUMP = $(UTILS_USR_BIN_PATH)objdump ++ else ++ CPIO = $(UTILS_USR_BIN_PATH)cpio ++ TAR = $(UTILS_USR_BIN_PATH)tar ++ endif ++ ifeq ($(OS_VENDOR), NetBSD) ++ NAWK = $(UTILS_USR_BIN_PATH)awk ++ ZIPEXE = $(UTILS_DEVTOOL_PATH)zip ++ UNZIP = $(UTILS_DEVTOOL_PATH)unzip ++ endif ++endif +--- jdk/make/common/shared/Defs-versions.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/shared/Defs-versions.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -44,6 +44,11 @@ + override CC_VERSION = gcc + endif + ++# BSD uses GNU compilers by default ++ifeq ($(PLATFORM), bsd) ++ override CC_VERSION = gcc ++endif ++ + # Mac OS X uses LLVM by default + ifeq ($(PLATFORM), macosx) + override CC_VERSION = llvm +@@ -169,6 +174,13 @@ + endif + endif + ++# BSD specific ++ifeq ($(PLATFORM), macosx) ++ REQUIRED_COMPILER_NAME = GCC4 ++ REQUIRED_COMPILER_VERSION = GCC4 ++ REQUIRED_CC_VER = 4.2.1 ++endif ++ + # Mac specific + ifeq ($(PLATFORM), macosx) + REQUIRED_OS_NAME = Darwin +--- jdk/make/common/shared/Defs.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/shared/Defs.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -181,7 +181,7 @@ + # platform and shared sources/headers. This is mainly useful for the + # Mac OS X build, which pulls its platform sources from the solaris and/or + # macosx trees, depending on the component. +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + define JavaSrcDirList + $(JAVA_SRCDIR_LIST:%=$1$(JDK_TOPDIR)/%/$2) + endef +@@ -296,10 +296,8 @@ + RELEASE = $(JDK_VERSION)$(BUILD_VARIANT_RELEASE) + endif + +-# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set +-ifdef BUILD_NUMBER +- FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER) +-else ++# Define default USER_RELEASE_SUFFIX if BUILD_NUMBER and USER_RELEASE_SUFFIX are not set ++ifndef BUILD_NUMBER + BUILD_NUMBER = b00 + ifndef USER_RELEASE_SUFFIX + BUILD_DATE := $(shell $(DATE) '+%Y_%m_%d_%H_%M') +@@ -307,6 +305,12 @@ + USER_RELEASE_SUFFIX := $(shell $(ECHO) "$(CLEAN_USERNAME)_$(BUILD_DATE)" | $(TR) '[:upper:]' '[:lower:]' ) + endif + export USER_RELEASE_SUFFIX ++endif ++ ++# FULL_VERSION is RELEASE and BUILD_NUMBER if USER_RELEASE_SUFFIX is not set ++ifndef USER_RELEASE_SUFFIX ++ FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER) ++else + FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER) + endif + +--- jdk/make/common/shared/Platform.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/common/shared/Platform.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -298,6 +298,85 @@ + # How much RAM does this machine have: + endif + ++ifeq ($(SYSTEM_UNAME), FreeBSD) ++ PLATFORM = bsd ++ OS_NAME = freebsd ++ OS_VENDOR = FreeBSD ++ REQUIRED_OS_VERSION = 6.0 ++endif ++ ++ifeq ($(SYSTEM_UNAME), NetBSD) ++ PLATFORM = bsd ++ OS_NAME = netbsd ++ OS_VENDOR = NetBSD ++ REQUIRED_OS_VERSION = 3.0 ++endif ++ ++ifeq ($(SYSTEM_UNAME), OpenBSD) ++ PLATFORM = bsd ++ OS_NAME = openbsd ++ OS_VENDOR = OpenBSD ++ REQUIRED_OS_VERSION = 4.9 ++endif ++ ++# Platform settings specific to BSD ++ifeq ($(PLATFORM), bsd) ++ OS_VERSION := $(shell uname -r) ++ # Arch and OS name/version ++ mach := $(shell uname -m) ++ archExpr = case "$(mach)" in \ ++ i[3-9]86) \ ++ echo i586 \ ++ ;; \ ++ sparc64) \ ++ echo sparcv9 \ ++ ;; \ ++ sparc*) \ ++ echo sparc \ ++ ;; \ ++ x86_64) \ ++ echo amd64 \ ++ ;; \ ++ "Power Macintosh") \ ++ echo ppc \ ++ ;; \ ++ *) \ ++ echo $(mach) \ ++ ;; \ ++ esac ++ ARCH := $(shell $(archExpr) ) ++ ARCH_FAMILY := $(ARCH) ++ ++ # i586, sparc, and ppc are 32 bit, amd64 and sparc64 are 64 ++ ifneq (,$(findstring $(ARCH), i586 sparc ppc)) ++ ARCH_DATA_MODEL=32 ++ else ++ ARCH_DATA_MODEL=64 ++ endif ++ ++ # Need to maintain the jre/lib/i386 location for 32-bit Intel ++ ifeq ($(ARCH), i586) ++ LIBARCH = i386 ++ else ++ LIBARCH = $(ARCH) ++ endif ++ ++ # Value of Java os.arch property ++ ARCHPROP = $(LIBARCH) ++ ++ # Suffix for file bundles used in previous release ++ BUNDLE_FILE_SUFFIX=.tar.gz ++ # Minimum disk space needed as determined by running 'du -sk' on ++ # a fully built workspace. ++ REQUIRED_FREE_SPACE=1500000 ++ # How much RAM does this machine have: ++ ifeq ($(OS_VENDOR), OpenBSD) ++ MB_OF_MEMORY=$(shell sysctl -n hw.physmem | awk '{print int($$NF / 1048576); }' ) ++ else ++ MB_OF_MEMORY=$(shell (sysctl -n hw.physmem64 2> /dev/null || sysctl -n hw.physmem) | awk '{print int($$NF / 1048576); }' ) ++ endif ++endif ++ + # Windows with and without CYGWIN will be slightly different + ifeq ($(SYSTEM_UNAME), Windows_NT) + PLATFORM = windows +--- jdk/make/java/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -53,14 +53,10 @@ + endif + endif # PLATFORM + +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + SUBDIRS += jexec + endif # PLATFORM + +-ifeq ($(PLATFORM), macosx) +- SUBDIRS += jobjc +-endif # PLATFORM - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); + include $(BUILDDIR)/common/Subdirs.gmk + + all build clean clobber:: +--- jdk/make/java/instrument/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/instrument/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -104,12 +104,24 @@ + # equivalent of strcasecmp is stricmp on Windows + CPPFLAGS_COMMON += -Dstrcasecmp=stricmp + else +-ifneq (,$(findstring $(PLATFORM), macosx)) +- ifneq ($(ARCH), universal) +- LDFLAGS += -Wl,-all_load ++ifneq (,$(findstring $(PLATFORM), macosx bsd)) ++ ifeq ($(OS_VENDOR), Apple) ++ ifneq ($(ARCH), universal) ++ LDFLAGS += -Wl,-all_load ++ endif ++ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a ++ OTHER_LDLIBS += -liconv ++ else ++ LDFLAGS += -Wl,--whole-archive ++ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a ++ LDFLAGS += -Wl,--no-whole-archive ++ ifneq ($(OS_NAME), netbsd) ++# Use CPPFLAGS instead of OTHER_INCLUDES to force this last ++ CPPFLAGS += -I$(PACKAGE_PATH)/include ++ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ endif + endif +- LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a +- OTHER_LDLIBS += -liconv ++ + ifeq ($(SYSTEM_ZLIB), true) + OTHER_LDLIBS += -lz + endif +--- jdk/make/java/java/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/java/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -175,9 +175,11 @@ + # + ifneq ($(PLATFORM), windows) + ifneq ($(PLATFORM), macosx) ++ifneq ($(PLATFORM), bsd) + HAVE_ALTZONE=true + endif + endif ++endif + + ifeq ($(HAVE_ALTZONE),true) + OTHER_CPPFLAGS += -DHAVE_ALTZONE +--- jdk/make/java/java/genlocales.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/java/genlocales.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -93,18 +93,66 @@ + + else + ++ifeq ($(PLATFORM), bsd) ++ ++$(LocaleDataMetaInfo_Dest):$(LocaleDataMetaInfo_Src) $(LOCALEGEN_SH) ++ @$(RM) $@.tmp.euro $@.tmp.noneuro; ++ @$(prep-target) ++ @$(ECHO) $(Euro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.euro; ++ @$(ECHO) $(Euro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.euro; ++ @$(ECHO) $(NonEuro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.noneuro; ++ @$(ECHO) $(NonEuro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.noneuro; ++ NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \ ++ $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.euro \ ++ $@.tmp.noneuro $< $@ ++ @$(RM) $@.tmp.euro $@.tmp.noneuro; ++ ++else ++ ++ifeq ($(PLATFORM), bsd) ++ ++$(LocaleDataMetaInfo_Dest):$(LocaleDataMetaInfo_Src) $(LOCALEGEN_SH) ++ @$(RM) $@.tmp.euro $@.tmp.noneuro; ++ @$(prep-target) ++ @$(ECHO) $(Euro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.euro; ++ @$(ECHO) $(Euro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.euro; ++ @$(ECHO) $(NonEuro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.noneuro; ++ @$(ECHO) $(NonEuro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.noneuro; ++ NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \ ++ $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.euro \ ++ $@.tmp.noneuro $< $@ ++ @$(RM) $@.tmp.euro $@.tmp.noneuro; ++ ++else ++ + $(LocaleDataMetaInfo_Dest):$(LocaleDataMetaInfo_Src) $(LOCALEGEN_SH) + @$(RM) $@.tmp.euro $@.tmp.noneuro; + @$(prep-target) +- @$(ECHO) $(subst .properties,'\n',$(Euro_Resources_properties)) > $@.tmp.euro; +- @$(ECHO) $(subst .java,'\n',$(Euro_Resources_java)) >> $@.tmp.euro; +- @$(ECHO) $(subst .properties,'\n',$(NonEuro_Resources_properties)) > $@.tmp.noneuro; +- @$(ECHO) $(subst .java,'\n',$(NonEuro_Resources_java)) >> $@.tmp.noneuro; ++ @$(ECHO) $(Euro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.euro; ++ @$(ECHO) $(Euro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.euro; ++ @$(ECHO) $(NonEuro_Resources_properties) | $(SED) -e s@.properties@'\ ++'@g > $@.tmp.noneuro; ++ @$(ECHO) $(NonEuro_Resources_java) | $(SED) -e s@.java@'\ ++'@g >> $@.tmp.noneuro; + NAWK="$(NAWK)" SED="$(SED)" SORT="$(SORT)" \ + $(SH) $(LOCALEGEN_SH) $(RESOURCE_NAMES) $@.tmp.euro \ + $@.tmp.noneuro $< $@ + @$(RM) $@.tmp.euro $@.tmp.noneuro; + endif ++ ++endif ++ ++endif + + genlocales : $(LocaleDataMetaInfo_Dest) + +--- jdk/make/java/jli/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/jli/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -119,9 +119,9 @@ + LIBARCH_DEFINES += -DLIBARCH64NAME='"$(LIBARCH64)"' + endif # PLATFORM + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), macosx bsd)) + OTHER_CPPFLAGS += $(LIBARCH_DEFINES) -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" +-else # ! MACOSX ++else # ! MACOSX || BSD + OTHER_CPPFLAGS += $(LIBARCH_DEFINES) + endif #PLATFORM + +@@ -134,7 +134,7 @@ + # Note: it is important to keep this order, meaning -lc as the + # last library, otherwise it could cause compatibility issues + # by pulling in SUNW_private symbols from libc +- LDLIBS = -ldl -lc ++ LDLIBS = $(LIBDL) -lc + ifeq ($(USE_PTHREADS),true) + LDLIBS += -lpthread + endif # USE_PTHREADS +--- jdk/make/java/management/mapfile-vers 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/management/mapfile-vers 2013-12-01 11:14:27.000000000 -0800 +@@ -53,7 +53,7 @@ + Java_sun_management_GcInfoBuilder_fillGcAttributeInfo; + Java_sun_management_GcInfoBuilder_getLastGcInfo0; + Java_sun_management_GcInfoBuilder_getNumGcExtAttributes; +- Java_sun_management_HotSpotDiagnostic_dumpHeap; ++ Java_sun_management_HotSpotDiagnostic_dumpHeap0; + Java_sun_management_HotspotThread_getInternalThreadCount; + Java_sun_management_HotspotThread_getInternalThreadTimes0; + Java_sun_management_MemoryImpl_getMemoryManagers0; +--- jdk/make/java/net/FILES_c.gmk 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/net/FILES_c.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -24,20 +24,21 @@ + # + + FILES_c = \ +- DatagramPacket.c \ +- InetAddress.c \ +- Inet4Address.c \ +- Inet6Address.c \ +- NetworkInterface.c \ +- InetAddressImplFactory.c \ +- Inet4AddressImpl.c \ +- Inet6AddressImpl.c \ +- SocketInputStream.c \ +- SocketOutputStream.c \ +- net_util.c \ +- net_util_md.c \ +- ResolverConfigurationImpl.c \ +- DefaultProxySelector.c ++ DatagramPacket.c \ ++ InetAddress.c \ ++ Inet4Address.c \ ++ Inet6Address.c \ ++ NetworkInterface.c \ ++ InetAddressImplFactory.c \ ++ Inet4AddressImpl.c \ ++ Inet6AddressImpl.c \ ++ SocketInputStream.c \ ++ SocketOutputStream.c \ ++ net_util.c \ ++ net_util_md.c \ ++ portconfig.c \ ++ ResolverConfigurationImpl.c \ ++ DefaultProxySelector.c + + ifeq ($(PLATFORM), linux) + FILES_c += linux_close.c +@@ -47,6 +48,10 @@ + FILES_c += bsd_close.c + endif + ++ifeq ($(OS_VENDOR), FreeBSD) ++ FILES_c += bsd_close.c ++endif ++ + ifeq ($(PLATFORM), windows) + FILES_c += TwoStacksPlainSocketImpl.c + FILES_c += DualStackPlainSocketImpl.c +--- jdk/make/java/net/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/net/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -83,7 +83,8 @@ + # Find platform specific native code + # + vpath %.c $(PLATFORM_SRC)/native/sun/net/dns $(PLATFORM_SRC)/native/sun/net/www/protocol/http/ntlm \ +- $(PLATFORM_SRC)/native/sun/net/sdp $(PLATFORM_SRC)/native/sun/net/spi ++ $(PLATFORM_SRC)/native/sun/net/sdp $(PLATFORM_SRC)/native/sun/net/spi \ ++ $(PLATFORM_SRC)/native/sun/net + + # + # Include rules +@@ -92,7 +93,7 @@ + + include $(BUILDDIR)/common/Library.gmk + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), macosx bsd)) + ifdef DONT_ENABLE_IPV6 + OTHER_CFLAGS += -DDONT_ENABLE_IPV6 + endif +--- jdk/make/java/net/mapfile-vers 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/net/mapfile-vers 2014-01-18 12:16:22.000000000 -0800 +@@ -26,84 +26,86 @@ + # Define public interface. + + SUNWprivate_1.1 { +- global: +- JNI_OnLoad; +- Java_java_net_PlainSocketImpl_socketListen; +- Java_java_net_PlainDatagramSocketImpl_getTTL; +- Java_java_net_PlainDatagramSocketImpl_init; +- Java_java_net_SocketOutputStream_socketWrite0; +- Java_java_net_PlainSocketImpl_socketCreate; +- Java_java_net_PlainSocketImpl_socketAvailable; +- Java_java_net_PlainDatagramSocketImpl_join; +- Java_java_net_PlainDatagramSocketImpl_socketGetOption; +- Java_java_net_InetAddress_init; +- Java_java_net_Inet4Address_init; +- Java_java_net_Inet6Address_init; +- Java_java_net_PlainDatagramSocketImpl_setTTL; +- Java_java_net_PlainDatagramSocketImpl_socketSetOption; +- Java_java_net_PlainDatagramSocketImpl_bind0; +- Java_java_net_PlainSocketImpl_socketAccept; +- Java_java_net_DatagramPacket_init; +- Java_java_net_PlainDatagramSocketImpl_leave; +- Java_java_net_SocketInputStream_socketRead0; +- Java_java_net_InetAddressImplFactory_isIPv6Supported; +- Java_java_net_Inet4AddressImpl_getLocalHostName; +- Java_java_net_Inet4AddressImpl_lookupAllHostAddr; +- Java_java_net_Inet4AddressImpl_getHostByAddr; +- Java_java_net_Inet4AddressImpl_isReachable0; +- Java_java_net_Inet6AddressImpl_getLocalHostName; +- Java_java_net_Inet6AddressImpl_lookupAllHostAddr; +- Java_java_net_Inet6AddressImpl_getHostByAddr; +- Java_java_net_Inet6AddressImpl_isReachable0; +- Java_java_net_NetworkInterface_init; +- Java_java_net_NetworkInterface_getByName0; +- Java_java_net_NetworkInterface_getByIndex0; +- Java_java_net_NetworkInterface_getByInetAddress0; +- Java_java_net_NetworkInterface_getAll; +- Java_java_net_NetworkInterface_isUp0; +- Java_java_net_NetworkInterface_isLoopback0; +- Java_java_net_NetworkInterface_isP2P0; +- Java_java_net_NetworkInterface_supportsMulticast0; +- Java_java_net_NetworkInterface_getMacAddr0; +- Java_java_net_NetworkInterface_getMTU0; +- Java_java_net_PlainDatagramSocketImpl_send; +- Java_java_net_PlainSocketImpl_socketClose0; +- Java_java_net_SocketOutputStream_init; +- Java_java_net_PlainDatagramSocketImpl_peek; +- Java_java_net_PlainDatagramSocketImpl_peekData; +- Java_java_net_PlainSocketImpl_socketSetOption; +- Java_java_net_PlainSocketImpl_socketSendUrgentData; +- Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate; +- Java_java_net_PlainSocketImpl_socketGetOption; +- Java_java_net_PlainDatagramSocketImpl_receive0; +- Java_java_net_PlainDatagramSocketImpl_connect0; +- Java_java_net_PlainDatagramSocketImpl_disconnect0; +- Java_java_net_PlainDatagramSocketImpl_datagramSocketClose; +- Java_java_net_PlainSocketImpl_initProto; +- Java_java_net_PlainSocketImpl_socketBind; +- Java_java_net_PlainSocketImpl_socketShutdown; +- Java_java_net_SocketInputStream_init; +- Java_java_net_PlainSocketImpl_socketConnect; +- Java_java_net_PlainDatagramSocketImpl_getTimeToLive; +- Java_java_net_PlainDatagramSocketImpl_setTimeToLive; +- Java_sun_net_dns_ResolverConfigurationImpl_localDomain0; +- Java_sun_net_dns_ResolverConfigurationImpl_fallbackDomain0; +- Java_sun_net_sdp_SdpSupport_convert0; +- Java_sun_net_sdp_SdpSupport_create0; +- Java_sun_net_spi_DefaultProxySelector_init; +- Java_sun_net_spi_DefaultProxySelector_getSystemProxy; +- NET_AllocSockaddr; +- NET_SockaddrToInetAddress; ++ global: ++ JNI_OnLoad; ++ Java_java_net_PlainSocketImpl_socketListen; ++ Java_java_net_PlainDatagramSocketImpl_getTTL; ++ Java_java_net_PlainDatagramSocketImpl_init; ++ Java_java_net_SocketOutputStream_socketWrite0; ++ Java_java_net_PlainSocketImpl_socketCreate; ++ Java_java_net_PlainSocketImpl_socketAvailable; ++ Java_java_net_PlainDatagramSocketImpl_join; ++ Java_java_net_PlainDatagramSocketImpl_socketGetOption; ++ Java_java_net_InetAddress_init; ++ Java_java_net_Inet4Address_init; ++ Java_java_net_Inet6Address_init; ++ Java_java_net_PlainDatagramSocketImpl_setTTL; ++ Java_java_net_PlainDatagramSocketImpl_socketSetOption; ++ Java_java_net_PlainDatagramSocketImpl_bind0; ++ Java_java_net_PlainSocketImpl_socketAccept; ++ Java_java_net_DatagramPacket_init; ++ Java_java_net_PlainDatagramSocketImpl_leave; ++ Java_java_net_SocketInputStream_socketRead0; ++ Java_java_net_InetAddressImplFactory_isIPv6Supported; ++ Java_java_net_Inet4AddressImpl_getLocalHostName; ++ Java_java_net_Inet4AddressImpl_lookupAllHostAddr; ++ Java_java_net_Inet4AddressImpl_getHostByAddr; ++ Java_java_net_Inet4AddressImpl_isReachable0; ++ Java_java_net_Inet6AddressImpl_getLocalHostName; ++ Java_java_net_Inet6AddressImpl_lookupAllHostAddr; ++ Java_java_net_Inet6AddressImpl_getHostByAddr; ++ Java_java_net_Inet6AddressImpl_isReachable0; ++ Java_java_net_NetworkInterface_init; ++ Java_java_net_NetworkInterface_getByName0; ++ Java_java_net_NetworkInterface_getByIndex0; ++ Java_java_net_NetworkInterface_getByInetAddress0; ++ Java_java_net_NetworkInterface_getAll; ++ Java_java_net_NetworkInterface_isUp0; ++ Java_java_net_NetworkInterface_isLoopback0; ++ Java_java_net_NetworkInterface_isP2P0; ++ Java_java_net_NetworkInterface_supportsMulticast0; ++ Java_java_net_NetworkInterface_getMacAddr0; ++ Java_java_net_NetworkInterface_getMTU0; ++ Java_java_net_PlainDatagramSocketImpl_send; ++ Java_java_net_PlainSocketImpl_socketClose0; ++ Java_java_net_SocketOutputStream_init; ++ Java_java_net_PlainDatagramSocketImpl_peek; ++ Java_java_net_PlainDatagramSocketImpl_peekData; ++ Java_java_net_PlainSocketImpl_socketSetOption; ++ Java_java_net_PlainSocketImpl_socketSendUrgentData; ++ Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate; ++ Java_java_net_PlainSocketImpl_socketGetOption; ++ Java_java_net_PlainDatagramSocketImpl_receive0; ++ Java_java_net_PlainDatagramSocketImpl_connect0; ++ Java_java_net_PlainDatagramSocketImpl_disconnect0; ++ Java_java_net_PlainDatagramSocketImpl_datagramSocketClose; ++ Java_java_net_PlainSocketImpl_initProto; ++ Java_java_net_PlainSocketImpl_socketBind; ++ Java_java_net_PlainSocketImpl_socketShutdown; ++ Java_java_net_SocketInputStream_init; ++ Java_java_net_PlainSocketImpl_socketConnect; ++ Java_java_net_PlainDatagramSocketImpl_getTimeToLive; ++ Java_java_net_PlainDatagramSocketImpl_setTimeToLive; ++ Java_sun_net_PortConfig_getLower0; ++ Java_sun_net_PortConfig_getUpper0; ++ Java_sun_net_dns_ResolverConfigurationImpl_localDomain0; ++ Java_sun_net_dns_ResolverConfigurationImpl_fallbackDomain0; ++ Java_sun_net_sdp_SdpSupport_convert0; ++ Java_sun_net_sdp_SdpSupport_create0; ++ Java_sun_net_spi_DefaultProxySelector_init; ++ Java_sun_net_spi_DefaultProxySelector_getSystemProxy; ++ NET_AllocSockaddr; ++ NET_SockaddrToInetAddress; + NET_SockaddrEqualsInetAddress; +- NET_InetAddressToSockaddr; +- NET_GetPortFromSockaddr; +- NET_SetSockOpt; +- NET_GetSockOpt; +- NET_Bind; +- NET_MapSocketOption; +- NET_Wait; ++ NET_InetAddressToSockaddr; ++ NET_GetPortFromSockaddr; ++ NET_SetSockOpt; ++ NET_GetSockOpt; ++ NET_Bind; ++ NET_MapSocketOption; ++ NET_Wait; + ipv6_available; + +- local: +- *; ++ local: ++ *; + }; +--- jdk/make/java/nio/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/nio/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -263,13 +263,89 @@ + sun/nio/fs/UnixConstants.java + endif # PLATFORM = linux + ++ifeq ($(PLATFORM), bsd) ++FILES_java += \ ++ sun/nio/ch/AbstractPollSelectorImpl.java \ ++ sun/nio/ch/BsdAsynchronousChannelProvider.java \ ++ sun/nio/ch/InheritedChannel.java \ ++ sun/nio/ch/KQueue.java \ ++ sun/nio/ch/KQueueArrayWrapper.java \ ++ sun/nio/ch/KQueuePort.java \ ++ sun/nio/ch/KQueueSelectorProvider.java \ ++ sun/nio/ch/KQueueSelectorImpl.java \ ++ sun/nio/ch/PollSelectorProvider.java \ ++ sun/nio/ch/PollSelectorImpl.java \ ++ sun/nio/ch/Port.java \ ++ sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \ ++ sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \ ++ sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \ ++ \ ++ sun/nio/fs/BsdFileStore.java \ ++ sun/nio/fs/BsdFileSystem.java \ ++ sun/nio/fs/BsdFileSystemProvider.java \ ++ sun/nio/fs/BsdNativeDispatcher.java \ ++ sun/nio/fs/PollingWatchService.java \ ++ sun/nio/fs/UnixChannelFactory.java \ ++ sun/nio/fs/UnixCopyFile.java \ ++ sun/nio/fs/UnixDirectoryStream.java \ ++ sun/nio/fs/UnixException.java \ ++ sun/nio/fs/UnixFileAttributeViews.java \ ++ sun/nio/fs/UnixFileAttributes.java \ ++ sun/nio/fs/UnixFileKey.java \ ++ sun/nio/fs/UnixFileModeAttribute.java \ ++ sun/nio/fs/UnixFileStore.java \ ++ sun/nio/fs/UnixFileStoreAttributes.java \ ++ sun/nio/fs/UnixFileSystem.java \ ++ sun/nio/fs/UnixFileSystemProvider.java \ ++ sun/nio/fs/UnixMountEntry.java \ ++ sun/nio/fs/UnixNativeDispatcher.java \ ++ sun/nio/fs/UnixPath.java \ ++ sun/nio/fs/UnixSecureDirectoryStream.java \ ++ sun/nio/fs/UnixUriUtils.java \ ++ sun/nio/fs/UnixUserPrincipals.java ++ ++FILES_c += \ ++ InheritedChannel.c \ ++ NativeThread.c \ ++ PollArrayWrapper.c \ ++ UnixAsynchronousServerSocketChannelImpl.c \ ++ UnixAsynchronousSocketChannelImpl.c \ ++ \ ++ BsdNativeDispatcher.c \ ++ UnixCopyFile.c \ ++ UnixNativeDispatcher.c \ ++ \ ++ KQueue.c \ ++ KQueueArrayWrapper.c \ ++ KQueuePort.c ++ ++FILES_export += \ ++ sun/nio/ch/InheritedChannel.java \ ++ sun/nio/ch/KQueue.java \ ++ sun/nio/ch/KQueuePort.java \ ++ sun/nio/ch/NativeThread.java \ ++ sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \ ++ sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \ ++ \ ++ sun/nio/fs/BsdNativeDispatcher.java \ ++ sun/nio/fs/UnixCopyFile.java \ ++ sun/nio/fs/UnixNativeDispatcher.java ++ ++FILES_gen += \ ++ sun/nio/fs/UnixConstants.java ++ ++endif # PLATFORM = bsd ++ + ifeq ($(PLATFORM), macosx) + FILES_java += \ + sun/nio/ch/AbstractPollSelectorImpl.java \ + sun/nio/ch/BsdAsynchronousChannelProvider.java \ + sun/nio/ch/InheritedChannel.java \ + sun/nio/ch/KQueue.java \ ++ sun/nio/ch/KQueueArrayWrapper.java + sun/nio/ch/KQueuePort.java \ ++ sun/nio/ch/KQueueSelectorProvider.java \ ++ sun/nio/ch/KQueueSelectorImpl.java \ + sun/nio/ch/PollSelectorProvider.java \ + sun/nio/ch/PollSelectorImpl.java \ + sun/nio/ch/Port.java \ +@@ -317,6 +393,7 @@ + UnixNativeDispatcher.c \ + \ + KQueue.c \ ++ KQueueArrayWrapper.c \ + KQueuePort.c + + FILES_export += \ +@@ -330,19 +407,13 @@ + sun/nio/fs/BsdNativeDispatcher.java \ + sun/nio/fs/UnixCopyFile.java \ + sun/nio/fs/UnixNativeDispatcher.java +- ++ + FILES_gen += \ + sun/nio/fs/UnixConstants.java +-endif # PLATFORM = bsd, macosx + +-ifeq ($(PLATFORM), macosx) +-FILES_java += \ +- sun/nio/ch/KQueueSelectorProvider.java \ +- sun/nio/ch/KQueueSelectorImpl.java \ +- sun/nio/ch/KQueueArrayWrapper.java ++endif # PLATFORM = macosx + +-FILES_c += \ +- KQueueArrayWrapper.c ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + + vpath %.c $(call NativeSrcDirList,,native/sun/nio/fs) + vpath %.c $(call NativeSrcDirList,,native/sun/nio/ch) +@@ -388,6 +459,9 @@ + ifeq ($(PLATFORM), macosx) + OTHER_LDLIBS += -L$(LIBDIR) -ljava -lnet -pthread -framework CoreFoundation + endif ++ifeq ($(PLATFORM), bsd) ++OTHER_LDLIBS += -L$(LIBDIR) -ljava -lnet -pthread ++endif + ifeq ($(PLATFORM), solaris) + OTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 $(LIBDL) -lsendfile \ + -L$(LIBDIR)/$(LIBARCH) -ljava -lnet +@@ -410,7 +484,7 @@ + ifeq ($(PLATFORM), linux) + FILES_m = mapfile-linux + endif +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + FILES_m = mapfile-bsd + endif + include $(BUILDDIR)/common/Mapfile-vers.gmk +--- jdk/make/java/nio/mapfile-bsd 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/nio/mapfile-bsd 2014-01-18 12:16:33.000000000 -0800 +@@ -70,6 +70,7 @@ + Java_sun_nio_ch_IOUtil_drain; + Java_sun_nio_ch_IOUtil_fdVal; + Java_sun_nio_ch_IOUtil_initIDs; ++ Java_sun_nio_ch_IOUtil_iovMax; + Java_sun_nio_ch_IOUtil_makePipe; + Java_sun_nio_ch_IOUtil_randomBytes; + Java_sun_nio_ch_IOUtil_setfdVal; +@@ -80,6 +81,11 @@ + Java_sun_nio_ch_KQueue_identOffset; + Java_sun_nio_ch_KQueue_filterOffset; + Java_sun_nio_ch_KQueue_flagsOffset; ++ Java_sun_nio_ch_KQueueArrayWrapper_initStructSizes; ++ Java_sun_nio_ch_KQueueArrayWrapper_init; ++ Java_sun_nio_ch_KQueueArrayWrapper_register0; ++ Java_sun_nio_ch_KQueueArrayWrapper_kevent0; ++ Java_sun_nio_ch_KQueueArrayWrapper_interrupt; + Java_sun_nio_ch_KQueuePort_socketpair; + Java_sun_nio_ch_KQueuePort_interrupt; + Java_sun_nio_ch_KQueuePort_drain1; +--- jdk/make/java/npt/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/npt/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -74,6 +74,14 @@ + OTHER_LDLIBS += -liconv + endif + ++# Add location of iconv headers ++ifeq ($(PLATFORM), bsd) ++ ifneq ($(OS_NAME), netbsd) ++ CPPFLAGS += -I$(PACKAGE_PATH)/include ++ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ endif ++endif ++ + # + # Add to ambient vpath so we pick up the library files + # +--- jdk/make/java/redist/fonts/Makefile 2013-09-06 11:27:37.000000000 -0700 ++++ jdk/make/java/redist/fonts/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -42,7 +42,7 @@ + $(LIBDIR)/fonts/LucidaSansRegular.ttf \ + $(LIBDIR)/fonts/LucidaSansDemiBold.ttf \ + +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + + # The oblique versions of the font are derived from the base versions + # and since 2D can do this derivation on the fly at run time there is no +@@ -82,7 +82,7 @@ + $(FONTSDIRFILE): $(PLATFORM_SRC)/classes/sun/awt/motif/java.fonts.dir + $(install-file) + +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + + # The oblique fonts are only needed/wanted on Linux. + +@@ -96,7 +96,7 @@ + $(OBLFONTSDIRFILE): $(PLATFORM_SRC)/classes/sun/awt/motif/java.oblique-fonts.dir + $(install-file) + +-endif # linux ++endif # linux || bsd + + all build : $(INTERNAL_IMPORT_LIST) + +--- jdk/make/javax/sound/Makefile 2013-09-06 11:27:38.000000000 -0700 ++++ jdk/make/javax/sound/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -111,6 +111,21 @@ + #MXSPP_ADD = $(PLATFORM)-$(ARCH)/ + endif # PLATFORM linux + ++ifeq ($(PLATFORM), bsd) ++ifeq ($(OS_VENDOR), FreeBSD) ++ # ALSA handles directaudio, ports, and MIDI ++ SUBDIRS += jsoundalsa ++ EXTRA_SOUND_JNI_LIBS += jsoundalsa ++else ++ # build with empty MIDI i/o ++ INCLUDE_MIDI = TRUE ++ # build with empty ports ++ INCLUDE_PORTS = TRUE ++ # build with empty direct audio ++ INCLUDE_DAUDIO = TRUE ++endif ++endif # PLATFORM bsd ++ + ifeq ($(PLATFORM), macosx) + CPPFLAGS += -DUSE_PORTS=TRUE \ + -DUSE_DAUDIO=TRUE \ +--- jdk/make/javax/sound/SoundDefs.gmk 2013-09-06 11:27:38.000000000 -0700 ++++ jdk/make/javax/sound/SoundDefs.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -40,6 +40,10 @@ + CPPFLAGS += -DX_PLATFORM=X_LINUX + endif # PLATFORM linux + ++ifeq ($(PLATFORM), bsd) ++ CPPFLAGS += -DX_PLATFORM=X_BSD ++endif # PLATFORM bsd ++ + ifeq ($(PLATFORM), macosx) + CPPFLAGS += -DX_PLATFORM=X_MACOSX + endif # PLATFORM macosx +--- jdk/make/javax/sound/jsoundalsa/Makefile 2013-09-06 11:27:38.000000000 -0700 ++++ jdk/make/javax/sound/jsoundalsa/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -51,6 +51,7 @@ + $(PORTFILES_c) + + # platform dependent files ++ifeq ($(PLATFORM), linux) + FILES_c += \ + PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \ + PLATFORM_API_LinuxOS_ALSA_PCM.c \ +@@ -60,19 +61,37 @@ + PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \ + PLATFORM_API_LinuxOS_ALSA_Ports.c + ++MIDI_CPPFLAGS= \ ++ -DUSE_PLATFORM_MIDI_OUT=TRUE \ ++ -DUSE_PLATFORM_MIDI_IN=TRUE ++endif ++ ++ifeq ($(PLATFORM), bsd) ++FILES_c += \ ++ PLATFORM_API_BsdOS_ALSA_CommonUtils.c \ ++ PLATFORM_API_BsdOS_ALSA_PCM.c \ ++ PLATFORM_API_BsdOS_ALSA_PCMUtils.c \ ++ PLATFORM_API_BsdOS_ALSA_MidiIn.c \ ++ PLATFORM_API_BsdOS_ALSA_MidiOut.c \ ++ PLATFORM_API_BsdOS_ALSA_MidiUtils.c \ ++ PLATFORM_API_BsdOS_ALSA_Ports.c ++ ++MIDI_CPPFLAGS= ++endif ++ + FILES_export = \ + $(DAUDIOFILES_export) \ + $(MIDIFILES_export) \ + $(PORTFILES_export) + +-OTHER_LDLIBS += -lasound ++OTHER_LDLIBS += -L$(ALSA_LIB_PATH) -lasound + + CPPFLAGS += \ + -DUSE_DAUDIO=TRUE \ + -DUSE_PORTS=TRUE \ +- -DUSE_PLATFORM_MIDI_OUT=TRUE \ +- -DUSE_PLATFORM_MIDI_IN=TRUE \ +- -I$(SHARE_SRC)/native/com/sun/media/sound ++ $(MIDI_CPPFLAGS) \ ++ -I$(SHARE_SRC)/native/com/sun/media/sound \ ++ -I$(ALSA_HEADERS_PATH) + + # + # Add to the ambient VPATH. +--- jdk/make/jpda/transport/socket/Makefile 2013-09-06 11:27:38.000000000 -0700 ++++ jdk/make/jpda/transport/socket/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -38,6 +38,11 @@ + + include $(BUILDDIR)/common/Defs.gmk + ++ifeq ($(PLATFORM), bsd)) ++ LIBSOCKET = ++ OTHER_LDLIBS += -pthread ++endif ++ + ifeq ($(PLATFORM), linux) + OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread + endif +--- jdk/make/sun/awt/FILES_c_macosx.gmk 2013-09-06 11:27:39.000000000 -0700 ++++ jdk/make/sun/awt/FILES_c_macosx.gmk 1969-12-31 16:00:00.000000000 -0800 +@@ -1,28 +0,0 @@ +-# +-# Copyright (c) 1995, 2011, 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. Oracle designates this +-# particular file as subject to the "Classpath" exception as provided +-# by Oracle in the LICENSE file that accompanied this code. +-# +-# 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. +-# - -- if (country.equals("TW")) -- suffix += "_" + country; +-FILES_AWT_objc = \ +- $(TARGDIR)MacOSXResourceBundle.m - -- return suffix; -- } +--- jdk/make/sun/awt/FILES_export_macosx.gmk 2013-09-06 11:27:39.000000000 -0700 ++++ jdk/make/sun/awt/FILES_export_macosx.gmk 1969-12-31 16:00:00.000000000 -0800 +@@ -1,29 +0,0 @@ +-# +-# Copyright (c) 1995, 2011, 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. Oracle designates this +-# particular file as subject to the "Classpath" exception as provided +-# by Oracle in the LICENSE file that accompanied this code. +-# +-# 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. +-# - +-# FILES_export definitions for Mac OS X - --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ja.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ja.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; +-FILES_export += \ +- com/apple/resources/MacOSXResourceBundle.java +--- jdk/make/sun/awt/Makefile 2013-09-06 11:27:39.000000000 -0700 ++++ jdk/make/sun/awt/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -127,7 +127,12 @@ + OTHER_LDLIBS = $(JVMLIB) $(LIBM) $(LIBDL) + endif +-FILES_c += initIDs.c ++ifeq ($(PLATFORM), bsd) ++FILES_c = $(FILES_2D_c) ++FILES_c += awt_LoadLibrary.c ++OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH ++OTHER_LDLIBS = $(JVMLIB) $(LIBM) ++endif -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { + ifeq ($(PLATFORM), macosx) + FILES_c = $(FILES_2D_c) +@@ -136,6 +141,8 @@ + OTHER_LDLIBS = $(JVMLIB) $(LIBM) + endif + ++FILES_c += initIDs.c ++ + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS/LINUX + endif # PLATFORM + +@@ -145,8 +152,6 @@ + # + # Files + # +-include FILES_c_macosx.gmk +-include FILES_export_macosx.gmk + + FILES_objc = $(FILES_AWT_objc) + OTHER_LDLIBS = -lmlib_image $(JVMLIB) $(LIBM) \ +@@ -502,6 +507,17 @@ + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS + endif # PLATFORM + ++ifeq ($(PLATFORM), bsd) ++# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv BSD ++ ++FONTCONFIGS_SRC = $(PLATFORM_SRC)/classes/sun/awt/fontconfigs ++_FONTCONFIGS = \ ++ fontconfig.properties ++ ++FONTCONFIGS_SRC_PREFIX = $(PLATFORM). ++ ++# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BSD ++endif # PLATFORM + + ifeq ($(PLATFORM), macosx) + # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv MAC OS X +@@ -607,6 +623,9 @@ + -I$(OPENWIN_HOME)/include/X11/extensions \ + -I$(PLATFORM_SRC)/native/$(PKGDIR)/font + endif ++ifeq ($(PLATFORM), bsd) ++CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/font ++endif + CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ + -I$(SHARE_SRC)/native/$(PKGDIR)/../font \ + -I$(PLATFORM_SRC)/native/$(PKGDIR)/../font \ +@@ -628,7 +647,13 @@ + -I$(PLATFORM_SRC)/native/$(PKGDIR) \ + $(EVENT_MODEL) + +-ifeq ($(PLATFORM), linux) ++# include these last so we don't pick up unintentional includes ++ifeq ($(PLATFORM), bsd) ++CPPFLAGS += -I$(OPENWIN_HOME)/include \ ++ -I$(OPENWIN_HOME)/include/X11/extensions ++endif ++ ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + LDFLAGS += -L$(OPENWIN_LIB) + endif + +--- jdk/make/sun/awt/mawt.gmk 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/awt/mawt.gmk 2014-01-18 12:16:33.000000000 -0800 +@@ -169,7 +169,7 @@ + OTHER_LDLIBS = -lXt -lXext $(LIBXTST) $(LIBXMU) -lX11 -lXi + endif + +-ifneq (,$(findstring $(PLATFORM), linux macosx)) ++ifneq (,$(findstring $(PLATFORM), bsd linux macosx)) + OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH + # XXX what is this define below? Isn't it motif-related? + OTHER_CFLAGS += -DXMSTRINGDEFINES=1 +@@ -193,6 +193,7 @@ + # + # Other extra flags needed for compiling. + # ++ifneq ($(PLATFORM), bsd)) + CPPFLAGS += -I$(CUPS_HEADERS_PATH) + + ifndef HEADLESS +@@ -200,6 +201,7 @@ + LDFLAGS += -L$(OPENWIN_LIB) + + endif # !HEADLESS ++endif # !PLATFORM + + CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ + -I$(SHARE_SRC)/native/$(PKGDIR)/../font \ +@@ -223,13 +225,16 @@ + -I$(PLATFORM_SRC)/native/$(PKGDIR) \ + $(EVENT_MODEL) + +-ifeq ($(PLATFORM), macosx) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + CPPFLAGS += -I$(CUPS_HEADERS_PATH) + + ifndef HEADLESS + CPPFLAGS += -I$(MOTIF_DIR)/include \ + -I$(OPENWIN_HOME)/include + LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) ++ifeq ($(OS_NAME), netbsd) ++LDFLAGS += -Wl,-R$(OPENWIN_LIB) ++endif + + endif # !HEADLESS + endif # PLATFORM +@@ -240,6 +245,12 @@ + $(wildcard /usr/include/X11/extensions)) + endif + ++ifeq ($(PLATFORM), bsd)) ++ CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \ ++ -I$(OPENWIN_HOME)/include \ ++ -DX11_PATH=\"$(X11_PATH)\" -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" ++endif ++ + ifeq ($(PLATFORM), macosx)) + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \ + -I$(OPENWIN_HOME)/include +--- jdk/make/sun/font/Makefile 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/font/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -36,7 +36,11 @@ + CPLUSPLUSLIBRARY=true + + # Use higher optimization level +-OPTIMIZATION_LEVEL = HIGHER ++ifeq ($(PLATFORM), windows) ++ OPTIMIZATION_LEVEL = HIGHEST ++else ++ OPTIMIZATION_LEVEL = HIGHER ++endif + + include $(BUILDDIR)/common/Defs.gmk + +@@ -91,7 +95,7 @@ + endif # PLATFORM + + # Turn off aliasing with GCC for ExtensionSubtables.cpp +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), bsd linux)) + CXXFLAGS += $(CXXFLAGS_$(@F)) + CXXFLAGS_ExtensionSubtables.o = -fno-strict-aliasing + endif +@@ -178,7 +182,7 @@ + # Libraries to link, and other C flags. + # + +-ifeq ($(PLATFORM), macosx)) ++ifneq (,$(findstring $(PLATFORM), bsd macosx)) + OTHER_INCLUDES += -I$(X11_PATH)/include + OTHER_LDLIBS += -lawt $(LIBM) $(LIBCXX) + ifeq ($(OS_VENDOR),Apple) +--- jdk/make/sun/javazic/tzdata/VERSION 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/VERSION 2014-01-18 12:16:25.000000000 -0800 +@@ -21,4 +21,4 @@ + # or visit www.oracle.com if you need additional information or have any + # questions. + # +-tzdata2013d ++tzdata2013h +--- jdk/make/sun/javazic/tzdata/africa 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/africa 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -474,6 +474,14 @@ + # (either two days before them or five days after them, so as to fall on + # lastFri instead of lastSun). + ++# From Even Scharning (2013-10-25): ++# The scheduled end of DST in Libya on Friday, October 25, 2013 was ++# cancelled yesterday.... ++# http://www.libyaherald.com/2013/10/24/correction-no-time-change-tomorrow/ ++# ++# From Paul Eggert (2013-10-25): ++# For now, assume they're reverting to the pre-2012 rules of permanent UTC+2. ++ + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Libya 1951 only - Oct 14 2:00 1:00 S + Rule Libya 1952 only - Jan 1 0:00 0 - +@@ -490,19 +498,21 @@ + Rule Libya 1987 1989 - Oct 1 0:00 0 - + Rule Libya 1997 only - Apr 4 0:00 1:00 S + Rule Libya 1997 only - Oct 4 0:00 0 - +-Rule Libya 2013 max - Mar lastFri 1:00 1:00 S +-Rule Libya 2013 max - Oct lastFri 2:00 0 - ++Rule Libya 2013 only - Mar lastFri 1:00 1:00 S ++Rule Libya 2013 only - Oct lastFri 2:00 0 - ++ ++# The 1996 and 1997 entries are from Shanks & Pottenger; ++# the IATA SSIM data contain some obvious errors. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Africa/Tripoli 0:52:44 - LMT 1920 + 1:00 Libya CE%sT 1959 + 2:00 - EET 1982 + 1:00 Libya CE%sT 1990 May 4 +-# The 1996 and 1997 entries are from Shanks & Pottenger; +-# the IATA SSIM data contain some obvious errors. + 2:00 - EET 1996 Sep 30 + 1:00 Libya CE%sT 1997 Oct 4 + 2:00 - EET 2012 Nov 10 2:00 +- 1:00 Libya CE%sT ++ 1:00 Libya CE%sT 2013 Oct 25 2:00 ++ 2:00 - EET + + # Madagascar + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +@@ -707,15 +717,6 @@ + # http://www.google.com/search?hl=en&q=Conseil+de+gouvernement+maroc+heure+avance&btnG=Search + # </a> + +-# From Alex Krivenyshev (2008-05-09): +-# Is Western Sahara (part which administrated by Morocco) going to follow +-# Morocco DST changes? Any information? What about other part of +-# Western Sahara - under administration of POLISARIO Front (also named +-# SADR Saharawi Arab Democratic Republic)? +- +-# From Arthur David Olson (2008-05-09): +-# XXX--guess that it is only Morocco for now; guess only 2008 for now. +- + # From Steffen Thorsen (2008-08-27): + # Morocco will change the clocks back on the midnight between August 31 + # and September 1. They originally planned to observe DST to near the end +@@ -881,13 +882,23 @@ + # transitions would be 2013-07-07 and 2013-08-10; see: + # http://www.maroc.ma/en/news/morocco-suspends-daylight-saving-time-july-7-aug10 + +-# From Paul Eggert (2013-07-03): ++# From Steffen Thorsen (2013-09-28): ++# Morocco extends DST by one month, on very short notice, just 1 day ++# before it was going to end. There is a new decree (2.13.781) for ++# this, where DST from now on goes from last Sunday of March at 02:00 ++# to last Sunday of October at 03:00, similar to EU rules. Official ++# source (French): ++# http://www.maroc.gov.ma/fr/actualites/lhoraire-dete-gmt1-maintenu-jusquau-27-octobre-2013 ++# Another source (specifying the time for start and end in the decree): ++# http://www.lemag.ma/Heure-d-ete-au-Maroc-jusqu-au-27-octobre_a75620.html ++ ++# From Paul Eggert (2013-10-03): + # To estimate what the Moroccan government will do in future years, +-# transition dates for 2014 through 2021 were determined by running ++# transition dates for 2014 through 2038 were determined by running + # the following program under GNU Emacs 24.3: + # + # (let ((islamic-year 1435)) +-# (while (< islamic-year 1444) ++# (while (< islamic-year 1461) + # (let ((a + # (calendar-gregorian-from-absolute + # (calendar-islamic-to-absolute (list 9 1 islamic-year)))) +@@ -902,13 +913,18 @@ + # (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b))))) + # (setq islamic-year (+ 1 islamic-year)))) + # +-# with the results hand-edited for 2020-2022, when the normal spring-forward +-# date falls during the estimated Ramadan. +-# +-# From 2023 through 2038 Ramadan is not predicted to overlap with +-# daylight saving time. Starting in 2039 there will be overlap again, +-# but 32-bit time_t values roll around in 2038 so for now do not worry +-# about dates after 2038. ++# with spring-forward transitions removed for 2023-2025, when the ++# normal spring-forward date falls during the estimated Ramadan; with ++# all transitions removed for 2026-2035, where the estimated Ramadan ++# falls entirely outside daylight-saving time; and with fall-back ++# transitions removed for 2036-2037, where the normal fall-back ++# date falls during the estimated Ramadan. Normally, the table would ++# stop after 2037 because 32-bit time_t values roll around early in 2038, ++# but that would imply a prediction of perpetual DST after March 2038 ++# due to the year-2037 glitches. So, this table instead stops after ++# 2038, the first non-glitchy year after the 32-bit rollover. ++# An advantage of stopping after 2038 is that it lets zic guess ++# TZ='WET0WEST,M3.5.0,M10.5.0/3' for time stamps far in the future. + + # RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S + +@@ -935,12 +951,14 @@ + Rule Morocco 2010 only - Aug 8 0:00 0 - + Rule Morocco 2011 only - Apr 3 0:00 1:00 S + Rule Morocco 2011 only - Jul 31 0 0 - +-Rule Morocco 2012 2019 - Apr lastSun 2:00 1:00 S +-Rule Morocco 2012 max - Sep lastSun 3:00 0 - ++Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S ++Rule Morocco 2012 only - Sep 30 3:00 0 - + Rule Morocco 2012 only - Jul 20 3:00 0 - + Rule Morocco 2012 only - Aug 20 2:00 1:00 S + Rule Morocco 2013 only - Jul 7 3:00 0 - + Rule Morocco 2013 only - Aug 10 2:00 1:00 S ++Rule Morocco 2013 2035 - Oct lastSun 3:00 0 - ++Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S + Rule Morocco 2014 only - Jun 29 3:00 0 - + Rule Morocco 2014 only - Jul 29 2:00 1:00 S + Rule Morocco 2015 only - Jun 18 3:00 0 - +@@ -953,20 +971,42 @@ + Rule Morocco 2018 only - Jun 15 2:00 1:00 S + Rule Morocco 2019 only - May 6 3:00 0 - + Rule Morocco 2019 only - Jun 5 2:00 1:00 S ++Rule Morocco 2020 only - Apr 24 3:00 0 - + Rule Morocco 2020 only - May 24 2:00 1:00 S ++Rule Morocco 2021 only - Apr 13 3:00 0 - + Rule Morocco 2021 only - May 13 2:00 1:00 S ++Rule Morocco 2022 only - Apr 3 3:00 0 - + Rule Morocco 2022 only - May 3 2:00 1:00 S +-Rule Morocco 2023 max - Apr lastSun 2:00 1:00 S ++Rule Morocco 2023 only - Apr 22 2:00 1:00 S ++Rule Morocco 2024 only - Apr 10 2:00 1:00 S ++Rule Morocco 2025 only - Mar 31 2:00 1:00 S ++Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S ++Rule Morocco 2036 only - Oct 21 3:00 0 - ++Rule Morocco 2037 only - Oct 11 3:00 0 - ++Rule Morocco 2038 only - Sep 30 3:00 0 - ++Rule Morocco 2038 only - Oct 30 2:00 1:00 S ++Rule Morocco 2038 max - Oct lastSun 3:00 0 - + + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26 + 0:00 Morocco WE%sT 1984 Mar 16 + 1:00 - CET 1986 + 0:00 Morocco WE%sT ++ + # Western Sahara ++# ++# From Gwillim Law (2013-10-22): ++# A correspondent who is usually well informed about time zone matters ++# ... says that Western Sahara observes daylight saving time, just as ++# Morocco does. ++# ++# From Paul Eggert (2013-10-23): ++# Assume that this has been true since Western Sahara switched to GMT, ++# since most of it was then controlled by Morocco. ++ + Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan + -1:00 - WAT 1976 Apr 14 +- 0:00 - WET ++ 0:00 Morocco WE%sT + + # Mozambique + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +@@ -1123,9 +1163,7 @@ + 3:00 - EAT + + # South Sudan +-Zone Africa/Juba 2:06:24 - LMT 1931 +- 2:00 Sudan CA%sT 2000 Jan 15 12:00 +- 3:00 - EAT ++Link Africa/Khartoum Africa/Juba + + # Swaziland + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +--- jdk/make/sun/javazic/tzdata/antarctica 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/antarctica 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -39,9 +39,9 @@ + # + # Except for the French entries, + # I made up all time zone abbreviations mentioned here; corrections welcome! +-# FORMAT is `zzz' and GMTOFF is 0 for locations while uninhabited. ++# FORMAT is 'zzz' and GMTOFF is 0 for locations while uninhabited. + +-# These rules are stolen from the `southamerica' file. ++# These rules are stolen from the 'southamerica' file. + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule ArgAQ 1964 1966 - Mar 1 0:00 0 - + Rule ArgAQ 1964 1966 - Oct 15 0:00 1:00 S +@@ -251,9 +251,10 @@ + # Scott Island (never inhabited) + # + # year-round base +-# Scott, Ross Island, since 1957-01, is like Antarctica/McMurdo. ++# Scott Base, Ross Island, since 1957-01. ++# See Pacific/Auckland. + # +-# These rules for New Zealand are stolen from the `australasia' file. ++# These rules for New Zealand are stolen from the 'australasia' file. + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule NZAQ 1974 only - Nov 3 2:00s 1:00 D + Rule NZAQ 1975 1988 - Oct lastSun 2:00s 1:00 D +@@ -291,11 +292,11 @@ + # From Lee Hotz (2001-03-08): + # I queried the folks at Columbia who spent the summer at Vostok and this is + # what they had to say about time there: +-# ``in the US Camp (East Camp) we have been on New Zealand (McMurdo) ++# "in the US Camp (East Camp) we have been on New Zealand (McMurdo) + # time, which is 12 hours ahead of GMT. The Russian Station Vostok was + # 6 hours behind that (although only 2 miles away, i.e. 6 hours ahead + # of GMT). This is a time zone I think two hours east of Moscow. The +-# natural time zone is in between the two: 8 hours ahead of GMT.'' ++# natural time zone is in between the two: 8 hours ahead of GMT." + # + # From Paul Eggert (2001-05-04): + # This seems to be hopelessly confusing, so I asked Lee Hotz about it +@@ -360,16 +361,8 @@ + -4:00 ChileAQ CL%sT + # + # +-# McMurdo, Ross Island, since 1955-12 +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone Antarctica/McMurdo 0 - zzz 1956 +- 12:00 NZAQ NZ%sT +-# +-# Amundsen-Scott, South Pole, continuously occupied since 1956-11-20 +-# +-# From Paul Eggert (1996-09-03): +-# Normally it wouldn't have a separate entry, since it's like the +-# larger Antarctica/McMurdo since 1970, but it's too famous to omit. ++# McMurdo Station, Ross Island, since 1955-12 ++# Amundsen-Scott South Pole Station, continuously occupied since 1956-11-20 + # + # From Chris Carrier (1996-06-27): + # Siple, the first commander of the South Pole station, +@@ -391,4 +384,4 @@ + # we have to go around and set them back 5 minutes or so. + # Maybe if we let them run fast all of the time, we'd get to leave here sooner!! + # +-Link Antarctica/McMurdo Antarctica/South_Pole ++# See 'australasia' for Antarctica/McMurdo. +--- jdk/make/sun/javazic/tzdata/asia 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/asia 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -29,7 +29,7 @@ + # go ahead and edit the file (and please send any changes to + # tz@iana.org for general use in the future). + +-# From Paul Eggert (2013-02-21): ++# From Paul Eggert (2013-08-11): + # + # A good source for time zone historical data outside the U.S. is + # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition), +@@ -67,11 +67,11 @@ + # 4:00 GST Gulf* + # 5:30 IST India + # 7:00 ICT Indochina* +-# 7:00 WIT west Indonesia +-# 8:00 CIT central Indonesia ++# 7:00 WIB west Indonesia (Waktu Indonesia Barat) ++# 8:00 WITA central Indonesia (Waktu Indonesia Tengah) + # 8:00 CST China + # 9:00 CJT Central Japanese Time (1896/1937)* +-# 9:00 EIT east Indonesia ++# 9:00 WIT east Indonesia (Waktu Indonesia Timur) + # 9:00 JST JDT Japan + # 9:00 KST KDT Korea + # 9:30 CST (Australian) Central Standard Time +@@ -779,7 +779,7 @@ + 8:00 - TLT 1942 Feb 21 23:00 # E Timor Time + 9:00 - JST 1945 Sep 23 + 9:00 - TLT 1976 May 3 +- 8:00 - CIT 2000 Sep 17 00:00 ++ 8:00 - WITA 2000 Sep 17 00:00 + 9:00 - TLT + + # India +@@ -816,36 +816,53 @@ + # (Hollandia). For now, assume all Indonesian locations other than Jayapura + # switched on 1945-09-23. + # ++# From Paul Eggert (2013-08-11): ++# Normally the tz database uses English-language abbreviations, but in ++# Indonesia it's typical to use Indonesian-language abbreviations even ++# when writing in English. For example, see the English-language ++# summary published by the Time and Frequency Laboratory of the ++# Research Center for Calibration, Instrumentation and Metrology, ++# Indonesia, <http://time.kim.lipi.go.id/time-eng.php> (2006-09-29). ++# The abbreviations are: ++# ++# WIB - UTC+7 - Waktu Indonesia Barat (Indonesia western time) ++# WITA - UTC+8 - Waktu Indonesia Tengah (Indonesia central time) ++# WIT - UTC+9 - Waktu Indonesia Timur (Indonesia eastern time) ++# + # Zone NAME GMTOFF RULES FORMAT [UNTIL] ++# Java, Sumatra + Zone Asia/Jakarta 7:07:12 - LMT 1867 Aug 10 + # Shanks & Pottenger say the next transition was at 1924 Jan 1 0:13, + # but this must be a typo. +- 7:07:12 - JMT 1923 Dec 31 23:47:12 # Jakarta ++ 7:07:12 - BMT 1923 Dec 31 23:47:12 # Batavia + 7:20 - JAVT 1932 Nov # Java Time +- 7:30 - WIT 1942 Mar 23 ++ 7:30 - WIB 1942 Mar 23 + 9:00 - JST 1945 Sep 23 +- 7:30 - WIT 1948 May +- 8:00 - WIT 1950 May +- 7:30 - WIT 1964 +- 7:00 - WIT ++ 7:30 - WIB 1948 May ++ 8:00 - WIB 1950 May ++ 7:30 - WIB 1964 ++ 7:00 - WIB ++# west and central Borneo + Zone Asia/Pontianak 7:17:20 - LMT 1908 May + 7:17:20 - PMT 1932 Nov # Pontianak MT +- 7:30 - WIT 1942 Jan 29 ++ 7:30 - WIB 1942 Jan 29 + 9:00 - JST 1945 Sep 23 +- 7:30 - WIT 1948 May +- 8:00 - WIT 1950 May +- 7:30 - WIT 1964 +- 8:00 - CIT 1988 Jan 1 +- 7:00 - WIT ++ 7:30 - WIB 1948 May ++ 8:00 - WIB 1950 May ++ 7:30 - WIB 1964 ++ 8:00 - WITA 1988 Jan 1 ++ 7:00 - WIB ++# Sulawesi, Lesser Sundas, east and south Borneo + Zone Asia/Makassar 7:57:36 - LMT 1920 + 7:57:36 - MMT 1932 Nov # Macassar MT +- 8:00 - CIT 1942 Feb 9 ++ 8:00 - WITA 1942 Feb 9 + 9:00 - JST 1945 Sep 23 +- 8:00 - CIT ++ 8:00 - WITA ++# Maluku Islands, West Papua, Papua + Zone Asia/Jayapura 9:22:48 - LMT 1932 Nov +- 9:00 - EIT 1944 Sep 1 ++ 9:00 - WIT 1944 Sep 1 + 9:30 - CST 1964 +- 9:00 - EIT ++ 9:00 - WIT + + # Iran + +@@ -1387,9 +1404,11 @@ + # until about the same time next year (at least). + # http://www.petra.gov.jo/Public_News/Nws_NewsDetails.aspx?NewsID=88950 + # +-# From Paul Eggert (2012-10-25): +-# For now, assume this is just a one-year measure. If it becomes +-# permanent, we should move Jordan from EET to AST effective tomorrow. ++# From Paul Eggert (2013-09-21): ++# It's looking like this change will be permanent; see ++# Petra News Agency, Cancelling winter saved Jordan $7 million (2013-02-20) ++# <http://www.albawaba.com/business/jordan-winter-electricity--472005>. ++# So move Jordan to UTC+3 as of the abovementioned date. + + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Jordan 1973 only - Jun 6 0:00 1:00 S +@@ -1415,15 +1434,15 @@ + Rule Jordan 1999 only - Jul 1 0:00s 1:00 S + Rule Jordan 1999 2002 - Sep lastFri 0:00s 0 - + Rule Jordan 2000 2001 - Mar lastThu 0:00s 1:00 S +-Rule Jordan 2002 max - Mar lastThu 24:00 1:00 S ++Rule Jordan 2002 2012 - Mar lastThu 24:00 1:00 S + Rule Jordan 2003 only - Oct 24 0:00s 0 - + Rule Jordan 2004 only - Oct 15 0:00s 0 - + Rule Jordan 2005 only - Sep lastFri 0:00s 0 - +-Rule Jordan 2006 2011 - Oct lastFri 0:00s 0 - +-Rule Jordan 2013 max - Oct lastFri 0:00s 0 - ++Rule Jordan 2006 2012 - Oct lastFri 0:00s 0 - + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Asia/Amman 2:23:44 - LMT 1931 +- 2:00 Jordan EE%sT ++ 2:00 Jordan EE%sT 2012 Oct 26 0:00s ++ 3:00 - AST + + + # Kazakhstan +@@ -2303,9 +2322,18 @@ + # http://www.samanews.com/index.php?act=Show&id=154120 + # http://safa.ps/details/news/99844/%D8%B1%D8%A7%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-29-%D8%A7%D9%84%D8%AC%D8%A7%D8%B1%D9%8A.html + +-# From Paul Eggert (2013-04-15): ++# From Steffen Thorsen (2013-09-24): ++# The Gaza and West Bank are ending DST Thursday at midnight ++# (2013-09-27 00:00:00) (one hour earlier than last year...). ++# This source in English, says "that winter time will go into effect ++# at midnight on Thursday in the West Bank and Gaza Strip": ++# http://english.wafa.ps/index.php?action=detail&id=23246 ++# official source...: ++# http://www.palestinecabinet.gov.ps/ar/Views/ViewDetails.aspx?pid=1252 ++ ++# From Paul Eggert (2013-09-24): + # For future dates, guess the last Thursday in March at 24:00 through +-# the first Friday on or after September 21 at 01:00. This is consistent with ++# the first Friday on or after September 21 at 00:00. This is consistent with + # the predictions in today's editions of the following URLs, + # which are for Gaza and Hebron respectively: + # http://www.timeanddate.com/worldclock/timezone.html?n=702 +@@ -2336,7 +2364,8 @@ + Rule Palestine 2011 only - Aug 30 0:00 1:00 S + Rule Palestine 2011 only - Sep 30 0:00 0 - + Rule Palestine 2012 max - Mar lastThu 24:00 1:00 S +-Rule Palestine 2012 max - Sep Fri>=21 1:00 0 - ++Rule Palestine 2012 only - Sep 21 1:00 0 - ++Rule Palestine 2013 max - Sep Fri>=21 0:00 0 - + + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Asia/Gaza 2:17:52 - LMT 1900 Oct +--- jdk/make/sun/javazic/tzdata/australasia 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/australasia 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -375,16 +375,25 @@ + # today confirmed that Fiji will start daylight savings at 2 am on Sunday 21st + # October 2012 and end at 3 am on Sunday 20th January 2013. + # http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=6702&catid=71&Itemid=155 +-# +-# From Paul Eggert (2012-08-31): +-# For now, guess a pattern of the penultimate Sundays in October and January. ++ ++# From the Fijian Government Media Center (2013-08-30) via David Wheeler: ++# Fiji will start daylight savings on Sunday 27th October, 2013 and end at 3am ++# on Sunday 19th January, 2014.... move clocks forward by one hour from 2am ++# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVING-STARTS-ON-SUNDAY,-27th-OCTOBER-201.aspx ++# ++# From Paul Eggert (2013-09-09): ++# For now, guess that Fiji springs forward the Sunday before the fourth ++# Monday in October. This matches both recent practice and ++# timeanddate.com's current spring-forward prediction. ++# For the January 2014 transition we guessed right while timeanddate.com ++# guessed wrong, so leave the fall-back prediction alone. + + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S + Rule Fiji 1999 2000 - Feb lastSun 3:00 0 - + Rule Fiji 2009 only - Nov 29 2:00 1:00 S + Rule Fiji 2010 only - Mar lastSun 3:00 0 - +-Rule Fiji 2010 max - Oct Sun>=18 2:00 1:00 S ++Rule Fiji 2010 max - Oct Sun>=21 2:00 1:00 S + Rule Fiji 2011 only - Mar Sun>=1 3:00 0 - + Rule Fiji 2012 max - Jan Sun>=18 3:00 0 - + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +@@ -510,6 +519,7 @@ + Zone Pacific/Chatham 12:13:48 - LMT 1957 Jan 1 + 12:45 Chatham CHA%sT + ++Link Pacific/Auckland Antarctica/McMurdo + + # Auckland Is + # uninhabited; Maori and Moriori, colonial settlers, pastoralists, sealers, +@@ -759,7 +769,7 @@ + # 1886-1891; Baker was similar but exact dates are not known. + # Inhabited by civilians 1935-1942; U.S. military bases 1943-1944; + # uninhabited thereafter. +-# Howland observed Hawaii Standard Time (UTC-10:30) in 1937; ++# Howland observed Hawaii Standard Time (UT-10:30) in 1937; + # see page 206 of Elgen M. Long and Marie K. Long, + # Amelia Earhart: the Mystery Solved, Simon & Schuster (2000). + # So most likely Howland and Baker observed Hawaii Time from 1935 +@@ -772,8 +782,17 @@ + # no information; was probably like Pacific/Kiritimati + + # Johnston +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone Pacific/Johnston -10:00 - HST ++# ++# From Paul Eggert (2013-09-03): ++# In his memoirs of June 6th to October 4, 1945 ++# <http://www.315bw.org/Herb_Bach.htm> (2005), Herbert C. Bach writes, ++# "We started our letdown to Kwajalein Atoll and landed there at 5:00 AM ++# Johnston time, 1:30 AM Kwajalein time." This was in June 1945, and ++# confirms that Johnston kept the same time as Honolulu in summer 1945. ++# We have no better information, so for now, assume this has been true ++# indefinitely into the past. ++# ++# See 'northamerica' for Pacific/Johnston. + + # Kingman + # uninhabited +--- jdk/make/sun/javazic/tzdata/backward 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/backward 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -45,15 +45,17 @@ + Link America/Argentina/Mendoza America/Mendoza + Link America/Rio_Branco America/Porto_Acre + Link America/Argentina/Cordoba America/Rosario +-Link America/St_Thomas America/Virgin ++Link America/Denver America/Shiprock ++Link America/Port_of_Spain America/Virgin ++Link Pacific/Auckland Antarctica/South_Pole + Link Asia/Ashgabat Asia/Ashkhabad ++Link Asia/Kolkata Asia/Calcutta + Link Asia/Chongqing Asia/Chungking + Link Asia/Dhaka Asia/Dacca + Link Asia/Kathmandu Asia/Katmandu +-Link Asia/Kolkata Asia/Calcutta + Link Asia/Macau Asia/Macao +-Link Asia/Jerusalem Asia/Tel_Aviv + Link Asia/Ho_Chi_Minh Asia/Saigon ++Link Asia/Jerusalem Asia/Tel_Aviv + Link Asia/Thimphu Asia/Thimbu + Link Asia/Makassar Asia/Ujung_Pandang + Link Asia/Ulaanbaatar Asia/Ulan_Bator +@@ -111,10 +113,10 @@ + Link Pacific/Chatham NZ-CHAT + Link America/Denver Navajo + Link Asia/Shanghai PRC ++Link Pacific/Pohnpei Pacific/Ponape + Link Pacific/Pago_Pago Pacific/Samoa +-Link Pacific/Chuuk Pacific/Yap + Link Pacific/Chuuk Pacific/Truk +-Link Pacific/Pohnpei Pacific/Ponape ++Link Pacific/Chuuk Pacific/Yap + Link Europe/Warsaw Poland + Link Europe/Lisbon Portugal + Link Asia/Taipei ROC +--- jdk/make/sun/javazic/tzdata/etcetera 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/etcetera 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -54,9 +54,9 @@ + # even though this is the opposite of what many people expect. + # POSIX has positive signs west of Greenwich, but many people expect + # positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses +-# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC ++# the abbreviation "GMT+4" and corresponds to 4 hours behind UT + # (i.e. west of Greenwich) even though many people would expect it to +-# mean 4 hours ahead of UTC (i.e. east of Greenwich). ++# mean 4 hours ahead of UT (i.e. east of Greenwich). + # + # In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for + # TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to +--- jdk/make/sun/javazic/tzdata/europe 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/europe 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -65,7 +65,7 @@ + # </a> (1998-09-21, in Portuguese) + + # +-# I invented the abbreviations marked `*' in the following table; ++# I invented the abbreviations marked '*' in the following table; + # the rest are from earlier versions of this file, or from other sources. + # Corrections are welcome! + # std dst 2dst +@@ -119,7 +119,7 @@ + # and a sketch map showing some of the sightlines involved. One paragraph + # of the text said: + # +-# `An old stone obelisk marking a forgotten terrestrial meridian stands ++# 'An old stone obelisk marking a forgotten terrestrial meridian stands + # beside the river at Kew. In the 18th century, before time and longitude + # was standardised by the Royal Observatory in Greenwich, scholars observed + # this stone and the movement of stars from Kew Observatory nearby. They +@@ -163,7 +163,7 @@ + # From Paul Eggert (2003-09-27): + # Summer Time was first seriously proposed by William Willett (1857-1915), + # a London builder and member of the Royal Astronomical Society +-# who circulated a pamphlet ``The Waste of Daylight'' (1907) ++# who circulated a pamphlet "The Waste of Daylight" (1907) + # that proposed advancing clocks 20 minutes on each of four Sundays in April, + # and retarding them by the same amount on four Sundays in September. + # A bill was drafted in 1909 and introduced in Parliament several times, +@@ -188,10 +188,10 @@ + # </a> + + # From Paul Eggert (1996-09-03): +-# The OED Supplement says that the English originally said ``Daylight Saving'' ++# The OED Supplement says that the English originally said "Daylight Saving" + # when they were debating the adoption of DST in 1908; but by 1916 this + # term appears only in quotes taken from DST's opponents, whereas the +-# proponents (who eventually won the argument) are quoted as using ``Summer''. ++# proponents (who eventually won the argument) are quoted as using "Summer". + + # From Arthur David Olson (1989-01-19): + # +@@ -231,9 +231,9 @@ + # which could not be said to run counter to any official description. + + # From Paul Eggert (2000-10-02): +-# Howse writes (p 157) `DBST' too, but `BDST' seems to have been common ++# Howse writes (p 157) 'DBST' too, but 'BDST' seems to have been common + # and follows the more usual convention of putting the location name first, +-# so we use `BDST'. ++# so we use 'BDST'. + + # Peter Ilieve (1998-04-19) described at length + # the history of summer time legislation in the United Kingdom. +@@ -454,6 +454,8 @@ + Rule GB-Eire 1990 1995 - Oct Sun>=22 1:00u 0 GMT + # Summer Time Order 1997 (S.I. 1997/2982) + # See EU for rules starting in 1996. ++# ++# Use Europe/London for Jersey, Guernsey, and the Isle of Man. + + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Europe/London -0:01:15 - LMT 1847 Dec 1 0:00s +@@ -820,7 +822,7 @@ + 1:00 EU CE%sT + + # Bosnia and Herzegovina +-# see Serbia ++# See Europe/Belgrade. + + # Bulgaria + # +@@ -848,10 +850,10 @@ + 2:00 EU EE%sT + + # Croatia +-# see Serbia ++# See Europe/Belgrade. + + # Cyprus +-# Please see the `asia' file for Asia/Nicosia. ++# Please see the 'asia' file for Asia/Nicosia. + + # Czech Republic + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +@@ -868,6 +870,7 @@ + 1:00 C-Eur CE%sT 1944 Sep 17 2:00s + 1:00 Czech CE%sT 1979 + 1:00 EU CE%sT ++# Use Europe/Prague also for Slovakia. + + # Denmark, Faroe Islands, and Greenland + +@@ -1031,12 +1034,12 @@ + # From Peter Ilieve (1996-10-28): + # [IATA SSIM (1992/1996) claims that the Baltic republics switch at 01:00s, + # but a relative confirms that Estonia still switches at 02:00s, writing:] +-# ``I do not [know] exactly but there are some little different ++# "I do not [know] exactly but there are some little different + # (confusing) rules for International Air and Railway Transport Schedules + # conversion in Sunday connected with end of summer time in Estonia.... + # A discussion is running about the summer time efficiency and effect on + # human physiology. It seems that Estonia maybe will not change to +-# summer time next spring.'' ++# summer time next spring." + + # From Peter Ilieve (1998-11-04), heavily edited: + # <a href="http://trip.rk.ee/cgi-bin/thw?${BASE}=akt&${OOHTML}=rtd&TA=1998&TO=1&AN=1390"> +@@ -1091,7 +1094,7 @@ + # Well, here in Helsinki we're just changing from summer time to regular one, + # and it's supposed to change at 4am... + +-# From Janne Snabb (2010-0715): ++# From Janne Snabb (2010-07-15): + # + # I noticed that the Finland data is not accurate for years 1981 and 1982. + # During these two first trial years the DST adjustment was made one hour +@@ -1148,7 +1151,7 @@ + + + # +-# Shank & Pottenger seem to use `24:00' ambiguously; resolve it with Whitman. ++# Shank & Pottenger seem to use '24:00' ambiguously; resolve it with Whitman. + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule France 1916 only - Jun 14 23:00s 1:00 S + Rule France 1916 1919 - Oct Sun>=1 23:00s 0 - +@@ -1438,7 +1441,7 @@ + # <a href="http://toi.iriti.cnr.it/uk/ienitlt.html"> + # Day-light Saving Time in Italy (2006-02-03) + # </a> +-# (`FP' below), taken from an Italian National Electrotechnical Institute ++# ('FP' below), taken from an Italian National Electrotechnical Institute + # publication. When the three sources disagree, guess who's right, as follows: + # + # year FP Shanks&P. (S) Whitman (W) Go with: +@@ -1584,10 +1587,22 @@ + 2:00 EU EE%sT + + # Liechtenstein +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone Europe/Vaduz 0:38:04 - LMT 1894 Jun +- 1:00 - CET 1981 +- 1:00 EU CE%sT ++ ++# From Paul Eggert (2013-09-09): ++# Shanks & Pottenger say Vaduz is like Zurich. ++ ++# From Alois Treindl (2013-09-18): ++# http://www.eliechtensteinensia.li/LIJ/1978/1938-1978/1941.pdf ++# ... confirms on p. 6 that Liechtenstein followed Switzerland in 1941 and 1942. ++# I ... translate only the last two paragraphs: ++# ... during second world war, in the years 1941 and 1942, Liechtenstein ++# introduced daylight saving time, adapting to Switzerland. From 1943 on ++# central European time was in force throughout the year. ++# From a report of the duke's government to the high council, ++# regarding the introduction of a time law, of 31 May 1977. ++ ++Link Europe/Zurich Europe/Vaduz ++ + + # Lithuania + +@@ -1675,7 +1690,7 @@ + 1:00 EU CE%sT + + # Macedonia +-# see Serbia ++# See Europe/Belgrade. + + # Malta + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +@@ -1768,7 +1783,7 @@ + 1:00 EU CE%sT + + # Montenegro +-# see Serbia ++# See Europe/Belgrade. + + # Netherlands + +@@ -1883,7 +1898,7 @@ + # before 1895, and therefore probably changed the local time somewhere + # between 1895 and 1925 (inclusive). + +-# From Paul Eggert (2001-05-01): ++# From Paul Eggert (2013-09-04): + # + # Actually, Jan Mayen was never occupied by Germany during World War II, + # so it must have diverged from Oslo time during the war, as Oslo was +@@ -1894,7 +1909,7 @@ + # 1941 with a small Norwegian garrison and continued operations despite + # frequent air ttacks from Germans. In 1943 the Americans established a + # radiolocating station on the island, called "Atlantic City". Possibly +-# the UTC offset changed during the war, but I think it unlikely that ++# the UT offset changed during the war, but I think it unlikely that + # Jan Mayen used German daylight-saving rules. + # + # Svalbard is more complicated, as it was raided in August 1941 by an +@@ -1907,9 +1922,8 @@ + # the German armed forces at the Svalbard weather station code-named + # Haudegen did not surrender to the Allies until September 1945. + # +-# All these events predate our cutoff date of 1970. Unless we can +-# come up with more definitive info about the timekeeping during the +-# war years it's probably best just do...the following for now: ++# All these events predate our cutoff date of 1970, so use Europe/Oslo ++# for these regions. + Link Europe/Oslo Arctic/Longyearbyen + + # Poland +@@ -2167,7 +2181,7 @@ + # so we (Novosibirsk) simply did not switch. + # + # From Andrey A. Chernov (1996-10-04): +-# `MSK' and `MSD' were born and used initially on Moscow computers with ++# 'MSK' and 'MSD' were born and used initially on Moscow computers with + # UNIX-like OSes by several developer groups (e.g. Demos group, Kiae group).... + # The next step was the UUCP network, the Relcom predecessor + # (used mainly for mail), and MSK/MSD was actively used there. +@@ -2466,6 +2480,9 @@ + 11:00 Russia ANA%sT 2011 Mar 27 2:00s + 12:00 - ANAT + ++# San Marino ++# See Europe/Rome. ++ + # Serbia + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Europe/Belgrade 1:22:00 - LMT 1884 +@@ -2488,7 +2505,7 @@ + Link Europe/Prague Europe/Bratislava + + # Slovenia +-# see Serbia ++# See Europe/Belgrade. + + # Spain + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +@@ -2622,7 +2639,7 @@ + # and their performance improved enormously. Communities began to keep + # mean time in preference to apparent time -- Geneva from 1780 .... + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +-# From Whitman (who writes ``Midnight?''): ++# From Whitman (who writes "Midnight?"): + # Rule Swiss 1940 only - Nov 2 0:00 1:00 S + # Rule Swiss 1940 only - Dec 31 0:00 0 - + # From Shanks & Pottenger: +@@ -2667,23 +2684,53 @@ + # The 1940 rules must be deleted. + # + # One further detail for Switzerland, which is probably out of scope for +-# most users of tzdata: +-# The zone file +-# Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12 +-# 0:29:44 - BMT 1894 Jun #Bern Mean Time +-# 1:00 Swiss CE%sT 1981 +-# 1:00 EU CE%sT ++# most users of tzdata: The [Europe/Zurich zone] ... + # describes all of Switzerland correctly, with the exception of + # the Cantone Geneve (Geneva, Genf). Between 1848 and 1894 Geneve did not + # follow Bern Mean Time but kept its own local mean time. + # To represent this, an extra zone would be needed. ++# ++# From Alois Treindl (2013-09-11): ++# The Federal regulations say ++# http://www.admin.ch/opc/de/classified-compilation/20071096/index.html ++# ... the meridian for Bern mean time ... is 7 degrees 26'22.50". ++# Expressed in time, it is 0h29m45.5s. ++ ++# From Pierre-Yves Berger (2013-09-11): ++# the "Circulaire du conseil federal" (December 11 1893) ++# <http://www.amtsdruckschriften.bar.admin.ch/viewOrigDoc.do?id=10071353> ... ++# clearly states that the [1894-06-01] change should be done at midnight ++# but if no one is present after 11 at night, could be postponed until one ++# hour before the beginning of service. ++ ++# From Paul Eggert (2013-09-11): ++# Round BMT to the nearest even second, 0:29:46. ++# ++# We can find no reliable source for Shanks's assertion that all of Switzerland ++# except Geneva switched to Bern Mean Time at 00:00 on 1848-09-12. This book: ++# ++# Jakob Messerli. Gleichmassig, punktlich, schnell: Zeiteinteilung und ++# Zeitgebrauch in der Schweiz im 19. Jahrhundert. Chronos, Zurich 1995, ++# ISBN 3-905311-68-2, OCLC 717570797. ++# ++# suggests that the transition was more gradual, and that the Swiss did not ++# agree about civil time during the transition. The timekeeping it gives the ++# most detail for is postal and telegraph time: here, federal legislation (the ++# "Bundesgesetz uber die Erstellung von elektrischen Telegraphen") passed on ++# 1851-11-23, and an official implementation notice was published 1853-07-16 ++# (Bundesblatt 1853, Bd. II, S. 859). On p 72 Messerli writes that in ++# practice since July 1853 Bernese time was used in "all postal and telegraph ++# offices in Switzerland from Geneva to St. Gallen and Basel to Chiasso" ++# (Google translation). For now, model this transition as occurring on ++# 1853-07-16, though it probably occurred at some other date in Zurich, and ++# legal civil time probably changed at still some other transition date. + + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Swiss 1941 1942 - May Mon>=1 1:00 1:00 S + Rule Swiss 1941 1942 - Oct Mon>=1 2:00 0 - + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone Europe/Zurich 0:34:08 - LMT 1848 Sep 12 +- 0:29:44 - BMT 1894 Jun # Bern Mean Time ++Zone Europe/Zurich 0:34:08 - LMT 1853 Jul 16 # See above comment. ++ 0:29:46 - BMT 1894 Jun # Bern Mean Time + 1:00 Swiss CE%sT 1981 + 1:00 EU CE%sT + +@@ -2907,7 +2954,7 @@ + # From Paul Eggert (2006-03-22): + # The _Economist_ (1994-05-28, p 45) reports that central Crimea switched + # from Kiev to Moscow time sometime after the January 1994 elections. +-# Shanks (1999) says ``date of change uncertain'', but implies that it happened ++# Shanks (1999) says "date of change uncertain", but implies that it happened + # sometime between the 1994 DST switches. Shanks & Pottenger simply say + # 1994-09-25 03:00, but that can't be right. For now, guess it + # changed in May. +@@ -2921,6 +2968,9 @@ + 3:00 - MSK 1997 Mar lastSun 1:00u + 2:00 EU EE%sT + ++# Vatican City ++# See Europe/Rome. ++ + ############################################################################### + + # One source shows that Bulgaria, Cyprus, Finland, and Greece observe DST from +--- jdk/make/sun/javazic/tzdata/factory 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/factory 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/iso3166.tab 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/iso3166.tab 2014-01-18 12:16:25.000000000 -0800 +@@ -1,30 +1,30 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. + # +-# <pre> ++# ISO 3166 alpha-2 country codes ++# + # This file is in the public domain, so clarified as of + # 2009-05-17 by Arthur David Olson. +-# ISO 3166 alpha-2 country codes + # + # From Paul Eggert (2013-05-27): + # +@@ -32,7 +32,7 @@ + # 1. ISO 3166-1 alpha-2 country code, current as of + # ISO 3166-1 Newsletter VI-15 (2013-05-10). See: Updates on ISO 3166 + # http://www.iso.org/iso/home/standards/country_codes/updates_on_iso_3166.htm +-# 2. The usual English name for the country, ++# 2. The usual English name for the coded region, + # chosen so that alphabetic sorting of subsets produces helpful lists. + # This is not the same as the English name in the ISO 3166 tables. + # +@@ -46,7 +46,7 @@ + # to take or endorse any position on legal or territorial claims. + # + #country- +-#code country name ++#code name of country, territory, area, or subdivision + AD Andorra + AE United Arab Emirates + AF Afghanistan +@@ -76,7 +76,7 @@ + BM Bermuda + BN Brunei + BO Bolivia +-BQ Bonaire, St Eustatius & Saba ++BQ Caribbean Netherlands + BR Brazil + BS Bahamas + BT Bhutan +--- jdk/make/sun/javazic/tzdata/leapseconds 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/leapseconds 2014-01-18 12:16:25.000000000 -0800 +@@ -1,37 +1,43 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +-# +-# <pre> +-# This file is in the public domain, so clarified as of +-# 2009-05-17 by Arthur David Olson. + + # Allowance for leapseconds added to each timezone file. + ++# This file is in the public domain. ++ ++# This file is generated automatically from the data in the public-domain ++# leap-seconds.list file available from most NIST time servers. ++# If the URL <ftp://time.nist.gov/pub/leap-seconds.list> does not work, ++# you should be able to pick up leap-seconds.list from a secondary NIST server. ++# For more about leap-seconds.list, please see ++# The NTP Timescale and Leap Seconds ++# <http://www.eecis.udel.edu/~mills/leap.html>. ++ + # The International Earth Rotation Service periodically uses leap seconds + # to keep UTC to within 0.9 s of UT1 + # (which measures the true angular orientation of the earth in space); see + # Terry J Quinn, The BIPM and the accurate measure of time, +-# Proc IEEE 79, 7 (July 1991), 894-905. ++# Proc IEEE 79, 7 (July 1991), 894-905 <http://dx.doi.org/10.1109/5.84965>. + # There were no leap seconds before 1972, because the official mechanism + # accounting for the discrepancy between atomic time and the earth's rotation + # did not exist until the early 1970s. +@@ -42,8 +48,8 @@ + # or + # Leap YEAR MON DAY 23:59:59 - R/S + +-# If the leapsecond is Rolling (R) the given time is local time +-# If the leapsecond is Stationary (S) the given time is UTC ++# If the leapsecond is Rolling (R) the given time is local time. ++# If the leapsecond is Stationary (S) the given time is UTC. + + # Leap YEAR MONTH DAY HH:MM:SS CORR R/S + Leap 1972 Jun 30 23:59:60 + S +@@ -71,53 +77,3 @@ + Leap 2005 Dec 31 23:59:60 + S + Leap 2008 Dec 31 23:59:60 + S + Leap 2012 Jun 30 23:59:60 + S +- +-# INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS) +-# +-# SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE +-# +-# +-# SERVICE DE LA ROTATION TERRESTRE +-# OBSERVATOIRE DE PARIS +-# 61, Av. de l'Observatoire 75014 PARIS (France) +-# Tel. : 33 (0) 1 40 51 22 26 +-# FAX : 33 (0) 1 40 51 22 91 +-# e-mail : (E-Mail Removed) +-# http://hpiers.obspm.fr/eop-pc +-# +-# Paris, 5 January 2012 +-# +-# +-# Bulletin C 43 +-# +-# To authorities responsible +-# for the measurement and +-# distribution of time +-# +-# +-# UTC TIME STEP +-# on the 1st of July 2012 +-# +-# +-# A positive leap second will be introduced at the end of June 2012. +-# The sequence of dates of the UTC second markers will be: +-# +-# 2012 June 30, 23h 59m 59s +-# 2012 June 30, 23h 59m 60s +-# 2012 July 1, 0h 0m 0s +-# +-# The difference between UTC and the International Atomic Time TAI is: +-# +-# from 2009 January 1, 0h UTC, to 2012 July 1 0h UTC : UTC-TAI = - 34s +-# from 2012 July 1, 0h UTC, until further notice : UTC-TAI = - 35s +-# +-# Leap seconds can be introduced in UTC at the end of the months of December +-# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every +-# six months, either to announce a time step in UTC or to confirm that there +-# will be no time step at the next possible date. +-# +-# +-# Daniel GAMBIS +-# Head +-# Earth Orientation Center of IERS +-# Observatoire de Paris, France +--- jdk/make/sun/javazic/tzdata/northamerica 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/northamerica 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -43,7 +43,7 @@ + # Howse writes (pp 121-125) that time zones were invented by + # Professor Charles Ferdinand Dowd (1825-1904), + # Principal of Temple Grove Ladies' Seminary (Saratoga Springs, NY). +-# His pamphlet ``A System of National Time for Railroads'' (1870) ++# His pamphlet "A System of National Time for Railroads" (1870) + # was the result of his proposals at the Convention of Railroad Trunk Lines + # in New York City (1869-10). His 1870 proposal was based on Washington, DC, + # but in 1872-05 he moved the proposed origin to Greenwich. +@@ -63,8 +63,8 @@ + + # From Paul Eggert (2001-03-06): + # Daylight Saving Time was first suggested as a joke by Benjamin Franklin +-# in his whimsical essay ``An Economical Project for Diminishing the Cost +-# of Light'' published in the Journal de Paris (1784-04-26). ++# in his whimsical essay "An Economical Project for Diminishing the Cost ++# of Light" published in the Journal de Paris (1784-04-26). + # Not everyone is happy with the results: + # + # I don't really care how time is reckoned so long as there is some +@@ -190,8 +190,8 @@ + # of the Aleutian islands. No DST. + + # From Paul Eggert (1995-12-19): +-# The tables below use `NST', not `NT', for Nome Standard Time. +-# I invented `CAWT' for Central Alaska War Time. ++# The tables below use 'NST', not 'NT', for Nome Standard Time. ++# I invented 'CAWT' for Central Alaska War Time. + + # From U. S. Naval Observatory (1989-01-19): + # USA EASTERN 5 H BEHIND UTC NEW YORK, WASHINGTON +@@ -260,9 +260,9 @@ + # H.R. 6, Energy Policy Act of 2005, SEC. 110. DAYLIGHT SAVINGS. + # (a) Amendment- Section 3(a) of the Uniform Time Act of 1966 (15 + # U.S.C. 260a(a)) is amended-- +-# (1) by striking `first Sunday of April' and inserting `second ++# (1) by striking 'first Sunday of April' and inserting 'second + # Sunday of March'; and +-# (2) by striking `last Sunday of October' and inserting `first ++# (2) by striking 'last Sunday of October' and inserting 'first + # Sunday of November'. + # (b) Effective Date- Subsection (a) shall take effect 1 year after the + # date of enactment of this Act or March 1, 2007, whichever is later. +@@ -623,6 +623,8 @@ + -10:30 - HST 1947 Jun 8 2:00 #Schmitt&Cox+2 + -10:00 - HST + ++Link Pacific/Honolulu Pacific/Johnston ++ + # Now we turn to US areas that have diverged from the consensus since 1970. + + # Arizona mostly uses MST. +@@ -659,8 +661,9 @@ + # Navajo Nation participates in the Daylight Saving Time policy, due to its + # large size and location in three states." (The "only" means that other + # tribal nations don't use DST.) - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); +-Link America/Denver America/Shiprock ++# ++# From Paul Eggert (2013-08-26): ++# See America/Denver for a zone appropriate for the Navajo Nation. + + # Southern Idaho (Ada, Adams, Bannock, Bear Lake, Bingham, Blaine, + # Boise, Bonneville, Butte, Camas, Canyon, Caribou, Cassia, Clark, +@@ -700,13 +703,13 @@ + # and Switzerland counties have their own time zone histories as noted below. + # + # Shanks partitioned Indiana into 345 regions, each with its own time history, +-# and wrote ``Even newspaper reports present contradictory information.'' ++# and wrote "Even newspaper reports present contradictory information." + # Those Hoosiers! Such a flighty and changeable people! + # Fortunately, most of the complexity occurred before our cutoff date of 1970. + # + # Other than Indianapolis, the Indiana place names are so nondescript +-# that they would be ambiguous if we left them at the `America' level. +-# So we reluctantly put them all in a subdirectory `America/Indiana'. ++# that they would be ambiguous if we left them at the 'America' level. ++# So we reluctantly put them all in a subdirectory 'America/Indiana'. + + # From Paul Eggert (2005-08-16): + # http://www.mccsc.edu/time.html says that Indiana will use DST starting 2006. +@@ -970,8 +973,8 @@ + # This story is too entertaining to be false, so go with Howse over Shanks. + # + # From Paul Eggert (2001-03-06): +-# Garland (1927) writes ``Cleveland and Detroit advanced their clocks +-# one hour in 1914.'' This change is not in Shanks. We have no more ++# Garland (1927) writes "Cleveland and Detroit advanced their clocks ++# one hour in 1914." This change is not in Shanks. We have no more + # info, so omit this for now. + # + # Most of Michigan observed DST from 1973 on, but was a bit late in 1975. +@@ -1011,7 +1014,7 @@ + # occupied 1857/1900 by the Navassa Phosphate Co + # US lighthouse 1917/1996-09 + # currently uninhabited +-# see Mark Fineman, ``An Isle Rich in Guano and Discord'', ++# see Mark Fineman, "An Isle Rich in Guano and Discord", + # _Los Angeles Times_ (1998-11-10), A1, A10; it cites + # Jimmy Skaggs, _The Great Guano Rush_ (1994). + +@@ -1045,7 +1048,7 @@ + # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94 + # <http://www.jstor.org/stable/1774359>. + # +-# See the `europe' file for Greenland. ++# See the 'europe' file for Greenland. + + # Canada + +@@ -1246,7 +1249,7 @@ + + # most of east Labrador + +-# The name `Happy Valley-Goose Bay' is too long; use `Goose Bay'. ++# The name 'Happy Valley-Goose Bay' is too long; use 'Goose Bay'. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Goose_Bay -4:01:40 - LMT 1884 # Happy Valley-Goose Bay + -3:30:52 - NST 1918 +@@ -1363,25 +1366,27 @@ + + # Quebec + +-# From Paul Eggert (2006-07-09): +-# Shanks & Pottenger write that since 1970 most of Quebec has been +-# like Montreal. ++# From Paul Eggert (2013-08-30): ++# Since 1970 most of Quebec has been like Toronto. ++# However, because earlier versions of the tz database mistakenly relied on data ++# from Shanks & Pottenger saying that Quebec differed from Ontario after 1970, ++# a separate entry was created for most of Quebec. We're loath to lose ++# its pre-1970 info, even though the tz database is normally limited to ++# zones that differ after 1970, so keep this otherwise out-of-scope entry. + +-# From Paul Eggert (2006-06-27): + # Matthews and Vincent (1998) also write that Quebec east of the -63 + # meridian is supposed to observe AST, but residents as far east as + # Natashquan use EST/EDT, and residents east of Natashquan use AST. +-# In "Official time in Quebec" the Quebec department of justice writes in +-# http://www.justice.gouv.qc.ca/english/publications/generale/temps-regl-1-a.htm +-# that "The residents of the Municipality of the +-# Cote-Nord-du-Golfe-Saint-Laurent and the municipalities of Saint-Augustin, +-# Bonne-Esperance and Blanc-Sablon apply the Official Time Act as it is +-# written and use Atlantic standard time all year round. The same applies to +-# the residents of the Native facilities along the lower North Shore." +-# <http://www.assnat.qc.ca/eng/37legislature2/Projets-loi/Publics/06-a002.htm> ++# The Quebec department of justice writes in ++# "The situation in Minganie and Basse-Cote-Nord" ++# http://www.justice.gouv.qc.ca/english/publications/generale/temps-minganie-a.htm ++# that the coastal strip from just east of Natashquan to Blanc-Sablon ++# observes Atlantic standard time all year round. ++# http://www.assnat.qc.ca/Media/Process.aspx?MediaId=ANQ.Vigie.Bll.DocumentGenerique_8845en + # says this common practice was codified into law as of 2007. + # For lack of better info, guess this practice began around 1970, contra to + # Shanks & Pottenger who have this region observing AST/ADT. ++# for post-1970 data America/Puerto_Rico. + + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Mont 1917 only - Mar 25 2:00 1:00 D +@@ -1425,7 +1430,6 @@ + -5:00 Mont E%sT 1974 + -5:00 Canada E%sT + +- + # Ontario + + # From Paul Eggert (2006-07-09): +@@ -1644,7 +1648,7 @@ + -6:00 - CST 1910 + -5:00 - EST 1942 + -5:00 Canada E%sT 1970 +- -5:00 Mont E%sT 1973 ++ -5:00 Toronto E%sT 1973 + -5:00 - EST 1974 + -5:00 Canada E%sT + Zone America/Nipigon -5:53:04 - LMT 1895 +@@ -2231,7 +2235,7 @@ + # From Paul Eggert (1996-06-12): + # For an English translation of the decree, see + # <a href="http://mexico-travel.com/extra/timezone_eng.html"> +-# ``Diario Oficial: Time Zone Changeover'' (1996-01-04). ++# "Diario Oficial: Time Zone Changeover" (1996-01-04). + # </a> + + # From Rives McDow (1998-10-08): +@@ -2568,9 +2572,7 @@ + ############################################################################### + + # Anguilla +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Anguilla -4:12:16 - LMT 1912 Mar 2 +- -4:00 - AST ++# See 'southamerica'. + + # Antigua and Barbuda + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +@@ -2639,13 +2641,13 @@ + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone Atlantic/Bermuda -4:19:18 - LMT 1930 Jan 1 2:00 # Hamilton + -4:00 - AST 1974 Apr 28 2:00 +- -4:00 Bahamas A%sT 1976 ++ -4:00 Canada A%sT 1976 + -4:00 US A%sT + + # Cayman Is + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Cayman -5:25:32 - LMT 1890 # Georgetown +- -5:07:12 - KMT 1912 Feb # Kingston Mean Time ++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time + -5:00 - EST + + # Costa Rica +@@ -2660,7 +2662,7 @@ + # go with Shanks & Pottenger. + Rule CR 1991 only - Jul 1 0:00 0 S + Rule CR 1992 only - Mar 15 0:00 0 S +-# There are too many San Joses elsewhere, so we'll use `Costa Rica'. ++# There are too many San Joses elsewhere, so we'll use 'Costa Rica'. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Costa_Rica -5:36:13 - LMT 1890 # San Jose + -5:36:13 - SJMT 1921 Jan 15 # San Jose Mean Time +@@ -2892,9 +2894,7 @@ + -5:00 Cuba C%sT + + # Dominica +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Dominica -4:05:36 - LMT 1911 Jul 1 0:01 # Roseau +- -4:00 - AST ++# See 'southamerica'. + + # Dominican Republic + +@@ -2943,18 +2943,10 @@ + -6:00 Salv C%sT + + # Grenada +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Grenada -4:07:00 - LMT 1911 Jul # St George's +- -4:00 - AST +- + # Guadeloupe +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Guadeloupe -4:06:08 - LMT 1911 Jun 8 # Pointe a Pitre +- -4:00 - AST + # St Barthelemy +-Link America/Guadeloupe America/St_Barthelemy + # St Martin (French part) +-Link America/Guadeloupe America/Marigot ++# See 'southamerica'. + + # Guatemala + # +@@ -3097,17 +3089,12 @@ + # Great Swan I ceded by US to Honduras in 1972 + + # Jamaica +- +-# From Bob Devine (1988-01-28): +-# Follows US rules. +- +-# From U. S. Naval Observatory (1989-01-19): +-# JAMAICA 5 H BEHIND UTC +- +-# From Shanks & Pottenger: ++# Shanks & Pottenger give -5:07:12, but Milne records -5:07:10.41 from an ++# unspecified official document, and says "This time is used throughout the ++# island". Go with Milne. Round to the nearest second as required by zic. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Jamaica -5:07:12 - LMT 1890 # Kingston +- -5:07:12 - KMT 1912 Feb # Kingston Mean Time ++Zone America/Jamaica -5:07:11 - LMT 1890 # Kingston ++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time + -5:00 - EST 1974 Apr 28 2:00 + -5:00 US E%sT 1984 + -5:00 - EST +@@ -3121,12 +3108,7 @@ + -4:00 - AST + + # Montserrat +-# From Paul Eggert (2006-03-22): +-# In 1995 volcanic eruptions forced evacuation of Plymouth, the capital. +-# world.gazetteer.com says Cork Hill is the most populous location now. +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Montserrat -4:08:52 - LMT 1911 Jul 1 0:01 # Cork Hill +- -4:00 - AST ++# See 'southamerica'. + + # Nicaragua + # +@@ -3200,7 +3182,7 @@ + -5:00 - EST + + # Puerto Rico +-# There are too many San Juans elsewhere, so we'll use `Puerto_Rico'. ++# There are too many San Juans elsewhere, so we'll use 'Puerto_Rico'. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Puerto_Rico -4:24:25 - LMT 1899 Mar 28 12:00 # San Juan + -4:00 - AST 1942 May 3 +@@ -3208,18 +3190,11 @@ + -4:00 - AST + + # St Kitts-Nevis +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/St_Kitts -4:10:52 - LMT 1912 Mar 2 # Basseterre +- -4:00 - AST +- + # St Lucia +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/St_Lucia -4:04:00 - LMT 1890 # Castries +- -4:04:00 - CMT 1912 # Castries Mean Time +- -4:00 - AST ++# See 'southamerica'. + + # St Pierre and Miquelon +-# There are too many St Pierres elsewhere, so we'll use `Miquelon'. ++# There are too many St Pierres elsewhere, so we'll use 'Miquelon'. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Miquelon -3:44:40 - LMT 1911 May 15 # St Pierre + -4:00 - AST 1980 May +@@ -3227,10 +3202,7 @@ + -3:00 Canada PM%sT + + # St Vincent and the Grenadines +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/St_Vincent -4:04:56 - LMT 1890 # Kingstown +- -4:04:56 - KMT 1912 # Kingstown Mean Time +- -4:00 - AST ++# See 'southamerica'. + + # Turks and Caicos + # +@@ -3260,15 +3232,9 @@ + Rule TC 2007 max - Nov Sun>=1 2:00 0 S + # Zone NAME GMTOFF RULES FORMAT [UNTIL] + Zone America/Grand_Turk -4:44:32 - LMT 1890 +- -5:07:12 - KMT 1912 Feb # Kingston Mean Time ++ -5:07:11 - KMT 1912 Feb # Kingston Mean Time + -5:00 TC E%sT + + # British Virgin Is +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Tortola -4:18:28 - LMT 1911 Jul # Road Town +- -4:00 - AST +- + # Virgin Is +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/St_Thomas -4:19:44 - LMT 1911 Jul # Charlotte Amalie +- -4:00 - AST ++# See 'southamerica'. +--- jdk/make/sun/javazic/tzdata/pacificnew 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/pacificnew 2014-01-18 12:16:25.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/solar87 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/solar87 2014-01-18 12:16:26.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/solar88 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/solar88 2014-01-18 12:16:26.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/solar89 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/solar89 2014-01-18 12:16:26.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/southamerica 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/southamerica 2014-01-18 12:16:26.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +@@ -474,6 +474,17 @@ + # rules...San Luis is still using "Western ARgentina Time" and it got + # stuck on Summer daylight savings time even though the summer is over. + ++# From Paul Eggert (2013-09-05): ++# Perhaps San Luis operates on the legal fiction that it is at UTC-4 ++# with perpetual summer time, but ordinary usage typically seems to ++# just say it's at UTC-3; see, for example, ++# <http://es.wikipedia.org/wiki/Hora_oficial_argentina>. ++# We've documented similar situations as being plain changes to ++# standard time, so let's do that here too. This does not change UTC ++# offsets, only tm_isdst and the time zone abbreviations. One minor ++# plus is that this silences a zic complaint that there's no POSIX TZ ++# setting for time stamps past 2038. ++ + # From Paul Eggert (2013-02-21): + # Milne says Cordoba time was -4:16:48.2. Round to the nearest second. + +@@ -611,7 +622,7 @@ + # San Luis (SL) + + Rule SanLuis 2008 2009 - Mar Sun>=8 0:00 0 - +-Rule SanLuis 2007 2009 - Oct Sun>=8 0:00 1:00 S ++Rule SanLuis 2007 2008 - Oct Sun>=8 0:00 1:00 S + + Zone America/Argentina/San_Luis -4:25:24 - LMT 1894 Oct 31 + -4:16:48 - CMT 1920 May +@@ -627,7 +638,8 @@ + -3:00 - ART 2004 May 31 + -4:00 - WART 2004 Jul 25 + -3:00 Arg AR%sT 2008 Jan 21 +- -4:00 SanLuis WAR%sT ++ -4:00 SanLuis WAR%sT 2009 Oct 11 ++ -3:00 - ART + # + # Santa Cruz (SC) + Zone America/Argentina/Rio_Gallegos -4:36:52 - LMT 1894 Oct 31 +@@ -654,10 +666,7 @@ + -3:00 - ART + + # Aruba +-# Zone NAME GMTOFF RULES FORMAT [UNTIL] +-Zone America/Aruba -4:40:24 - LMT 1912 Feb 12 # Oranjestad +- -4:30 - ANT 1965 # Netherlands Antilles Time +- -4:00 - AST ++Link America/Curacao America/Aruba + + # Bolivia + # Zone NAME GMTOFF RULES FORMAT [UNTIL] +@@ -859,6 +868,21 @@ + # Tocantins state will have DST. + # http://noticias.terra.com.br/brasil/noticias/0,,OI6232536-EI306.html + ++# From Steffen Thorsen (2013-09-20): ++# Tocantins in Brazil is very likely not to observe DST from October.... ++# http://conexaoto.com.br/2013/09/18/ministerio-confirma-que-tocantins-esta-fora-do-horario-de-verao-em-2013-mas-falta-publicacao-de-decreto ++# We will keep this article updated when this is confirmed: ++# http://www.timeanddate.com/news/time/brazil-starts-dst-2013.html ++ ++# From Steffen Thorsen (2013-10-17): ++# http://www.timeanddate.com/news/time/acre-amazonas-change-time-zone.html ++# Senator Jorge Viana announced that Acre will change time zone on November 10. ++# He did not specify the time of the change, nor if western parts of Amazonas ++# will change as well. ++# ++# From Paul Eggert (2013-10-17): ++# For now, assume western Amazonas will change as well. ++ + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + # Decree <a href="http://pcdsh01.on.br/HV20466.htm">20,466</a> (1931-10-01) + # Decree <a href="http://pcdsh01.on.br/HV21896.htm">21,896</a> (1932-01-10) +@@ -1078,7 +1102,8 @@ + -3:00 - BRT 1995 Sep 14 + -3:00 Brazil BR%sT 2003 Sep 24 + -3:00 - BRT 2012 Oct 21 +- -3:00 Brazil BR%sT ++ -3:00 Brazil BR%sT 2013 Sep ++ -3:00 - BRT + # + # Alagoas (AL), Sergipe (SE) + Zone America/Maceio -2:22:52 - LMT 1914 +@@ -1146,13 +1171,15 @@ + -5:00 - ACT 1993 Sep 28 + -5:00 Brazil AC%sT 1994 Sep 22 + -5:00 - ACT 2008 Jun 24 00:00 +- -4:00 - AMT ++ -4:00 - AMT 2013 Nov 10 ++ -5:00 - ACT + # + # Acre (AC) + Zone America/Rio_Branco -4:31:12 - LMT 1914 + -5:00 Brazil AC%sT 1988 Sep 12 + -5:00 - ACT 2008 Jun 24 00:00 +- -4:00 - AMT ++ -4:00 - AMT 2013 Nov 10 ++ -5:00 - ACT + + # Chile + +@@ -1373,12 +1400,12 @@ + -4:00 - AST + + # From Arthur David Olson (2011-06-15): +-# At least for now, use links for places with new iso3166 codes. ++# use links for places with new iso3166 codes. + # The name "Lower Prince's Quarter" is both longer than fourteen charaters + # and contains an apostrophe; use "Lower_Princes" below. + +-Link America/Curacao America/Lower_Princes # Sint Maarten +-Link America/Curacao America/Kralendijk # Bonaire, Sint Estatius and Saba ++Link America/Curacao America/Lower_Princes # Sint Maarten ++Link America/Curacao America/Kralendijk # Caribbean Netherlands + + # Ecuador + # +@@ -1519,10 +1546,16 @@ + -4:00 - GYT + + # Paraguay ++# + # From Paul Eggert (2006-03-22): + # Shanks & Pottenger say that spring transitions are from 01:00 -> 02:00, + # and autumn transitions are from 00:00 -> 23:00. Go with pre-1999 + # editions of Shanks, and with the IATA, who say transitions occur at 00:00. ++# ++# From Waldemar Villamayor-Venialbo (2013-09-20): ++# No time of the day is established for the adjustment, so people normally ++# adjust their clocks at 0 hour of the given dates. ++# + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S + Rule Para 1975 1988 - Oct 1 0:00 1:00 S + Rule Para 1975 1978 - Mar 1 0:00 0 - +@@ -1656,6 +1689,19 @@ + Zone America/Port_of_Spain -4:06:04 - LMT 1912 Mar 2 + -4:00 - AST + ++Link America/Port_of_Spain America/Anguilla ++Link America/Port_of_Spain America/Dominica ++Link America/Port_of_Spain America/Grenada ++Link America/Port_of_Spain America/Guadeloupe ++Link America/Port_of_Spain America/Marigot ++Link America/Port_of_Spain America/Montserrat ++Link America/Port_of_Spain America/St_Barthelemy ++Link America/Port_of_Spain America/St_Kitts ++Link America/Port_of_Spain America/St_Lucia ++Link America/Port_of_Spain America/St_Thomas ++Link America/Port_of_Spain America/St_Vincent ++Link America/Port_of_Spain America/Tortola ++ + # Uruguay + # From Paul Eggert (1993-11-18): + # Uruguay wins the prize for the strangest peacetime manipulation of the rules. +@@ -1673,7 +1719,7 @@ + # Whitman gives 1937 Oct 3; go with Shanks & Pottenger. + Rule Uruguay 1937 1940 - Oct lastSun 0:00 0:30 HS + # Whitman gives 1941 Oct 24 - 1942 Mar 27, 1942 Dec 14 - 1943 Apr 13, +-# and 1943 Apr 13 ``to present time''; go with Shanks & Pottenger. ++# and 1943 Apr 13 "to present time"; go with Shanks & Pottenger. + Rule Uruguay 1941 only - Aug 1 0:00 0:30 HS + Rule Uruguay 1942 only - Jan 1 0:00 0 - + Rule Uruguay 1942 only - Dec 14 0:00 1:00 S +--- jdk/make/sun/javazic/tzdata/systemv 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/systemv 2014-01-18 12:16:26.000000000 -0800 +@@ -1,22 +1,22 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. +--- jdk/make/sun/javazic/tzdata/zone.tab 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/javazic/tzdata/zone.tab 2014-01-18 12:16:26.000000000 -0800 +@@ -1,53 +1,55 @@ + # + # 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. Oracle designates this + # particular file as subject to the "Classpath" exception as provided + # by Oracle in the LICENSE file that accompanied this code. +-# ++# + # 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. + # +-# <pre> ++# TZ zone descriptions ++# + # This file is in the public domain, so clarified as of + # 2009-05-17 by Arthur David Olson. + # +-# TZ zone descriptions ++# From Paul Eggert (2013-08-14): + # +-# From Paul Eggert (2013-05-27): ++# This file contains a table where each row stands for an area that is ++# the intersection of a region identified by a country code and of a ++# zone where civil clocks have agreed since 1970. The columns of the ++# table are as follows: + # +-# This file contains a table with the following columns: +-# 1. ISO 3166 2-character country code. See the file `iso3166.tab'. +-# This identifies a country that overlaps the zone. The country may +-# overlap other zones and the zone may overlap other countries. +-# 2. Latitude and longitude of the zone's principal location ++# 1. ISO 3166 2-character country code. See the file 'iso3166.tab'. ++# 2. Latitude and longitude of the area's principal location + # in ISO 6709 sign-degrees-minutes-seconds format, + # either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS, + # first latitude (+ is north), then longitude (+ is east). +-# This location need not lie within the column-1 country. + # 3. Zone name used in value of TZ environment variable. + # Please see the 'Theory' file for how zone names are chosen. ++# If multiple zones overlap a country, each has a row in the ++# table, with column 1 being duplicated. + # 4. Comments; present if and only if the country has multiple rows. + # + # Columns are separated by a single tab. + # The table is sorted first by country, then an order within the country that + # (1) makes some geographical sense, and +-# (2) puts the most populous zones first, where that does not contradict (1). ++# (2) puts the most populous areas first, where that does not contradict (1). + # +-# Lines beginning with `#' are comments. ++# Lines beginning with '#' are comments. + # + # This table is intended as an aid for users, to help them select time + # zone data appropriate for their practical needs. It is not intended +@@ -63,8 +65,7 @@ + AL +4120+01950 Europe/Tirane + AM +4011+04430 Asia/Yerevan + AO -0848+01314 Africa/Luanda +-AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island +-AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole ++AQ -7750+16636 Antarctica/McMurdo McMurdo, South Pole, Scott (New Zealand time) + AQ -6734-06808 Antarctica/Rothera Rothera Station, Adelaide Island + AQ -6448-06406 Antarctica/Palmer Palmer Station, Anvers Island + AQ -6736+06253 Antarctica/Mawson Mawson Station, Holme Bay +@@ -144,8 +145,7 @@ + CA +4606-06447 America/Moncton Atlantic Time - New Brunswick + CA +5320-06025 America/Goose_Bay Atlantic Time - Labrador - most locations + CA +5125-05707 America/Blanc-Sablon Atlantic Standard Time - Quebec - Lower North Shore +-CA +4531-07334 America/Montreal Eastern Time - Quebec - most locations +-CA +4339-07923 America/Toronto Eastern Time - Ontario - most locations ++CA +4339-07923 America/Toronto Eastern Time - Ontario & Quebec - most locations + CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973 + CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario + CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations +@@ -256,7 +256,7 @@ + IS +6409-02151 Atlantic/Reykjavik + IT +4154+01229 Europe/Rome + JE +4912-00207 Europe/Jersey +-JM +1800-07648 America/Jamaica ++JM +175805-0764736 America/Jamaica + JO +3157+03556 Asia/Amman + JP +353916+1394441 Asia/Tokyo + KE -0117+03649 Africa/Nairobi +@@ -445,8 +445,7 @@ + US +471551-1014640 America/North_Dakota/Beulah Central Time - North Dakota - Mercer County + US +394421-1045903 America/Denver Mountain Time + US +433649-1161209 America/Boise Mountain Time - south Idaho & east Oregon +-US +364708-1084111 America/Shiprock Mountain Time - Navajo +-US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona ++US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona (except Navajo) + US +340308-1181434 America/Los_Angeles Pacific Time + US +611305-1495401 America/Anchorage Alaska Time + US +581807-1342511 America/Juneau Alaska Time - Alaska panhandle +--- jdk/make/sun/jawt/Makefile 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/jawt/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -99,8 +99,7 @@ + # + # Other extra flags needed for compiling. + # +-CPPFLAGS += -I$(OPENWIN_HOME)/include \ +- -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ ++CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ + -I$(SHARE_SRC)/native/$(PKGDIR)/image \ + -I$(SHARE_SRC)/native/$(PKGDIR)/image/cvutils \ + -I$(SHARE_SRC)/native/$(PKGDIR)/alphacomposite \ +@@ -114,6 +113,7 @@ + -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/doe \ + -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/path \ + -I$(PLATFORM_SRC)/native/$(PKGDIR)/../jdga \ ++ -I$(OPENWIN_HOME)/include \ + $(EVENT_MODEL) + + # +@@ -127,7 +127,7 @@ + endif + endif # PLATFORM + +-ifeq ($(PLATFORM), linux) ++ifneq (,$(findstring $(PLATFORM), linux bsd)) + ifndef BUILD_HEADLESS_ONLY + OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -lawt -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt + else +--- jdk/make/sun/net/FILES_java.gmk 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/net/FILES_java.gmk 2014-01-18 12:16:26.000000000 -0800 +@@ -24,122 +24,123 @@ + # + + FILES_java = \ +- sun/net/InetAddressCachePolicy.java \ +- sun/net/URLCanonicalizer.java \ +- sun/net/NetworkClient.java \ +- sun/net/NetworkServer.java \ +- sun/net/ProgressMonitor.java \ +- sun/net/ProgressSource.java \ +- sun/net/ProgressEvent.java \ +- sun/net/ProgressListener.java \ +- sun/net/ProgressMeteringPolicy.java \ +- sun/net/SocksProxy.java \ +- sun/net/ResourceManager.java \ +- sun/net/TelnetInputStream.java \ +- sun/net/TelnetOutputStream.java \ +- sun/net/TelnetProtocolException.java \ +- sun/net/TransferProtocolClient.java \ +- sun/net/ConnectionResetException.java \ +- sun/net/NetProperties.java \ +- sun/net/NetHooks.java \ +- sun/net/util/IPAddressUtil.java \ +- sun/net/util/URLUtil.java \ +- sun/net/dns/ResolverConfiguration.java \ +- sun/net/dns/ResolverConfigurationImpl.java \ +- sun/net/ftp/FtpClient.java \ +- sun/net/ftp/FtpClientProvider.java \ +- sun/net/ftp/FtpDirEntry.java \ +- sun/net/ftp/FtpReplyCode.java \ +- sun/net/ftp/FtpDirParser.java \ +- sun/net/ftp/FtpLoginException.java \ +- sun/net/ftp/FtpProtocolException.java \ +- sun/net/ftp/impl/FtpClient.java \ +- sun/net/ftp/impl/DefaultFtpClientProvider.java \ +- sun/net/sdp/SdpSupport.java \ +- sun/net/spi/DefaultProxySelector.java \ +- sun/net/spi/nameservice/NameServiceDescriptor.java \ +- sun/net/spi/nameservice/NameService.java \ +- sun/net/smtp/SmtpClient.java \ +- sun/net/smtp/SmtpProtocolException.java \ +- sun/net/www/content/text/Generic.java \ +- sun/net/www/content/text/plain.java \ +- sun/net/www/content/text/PlainTextInputStream.java \ +- sun/net/www/MessageHeader.java \ +- sun/net/www/HeaderParser.java \ +- sun/net/www/MeteredStream.java \ +- sun/net/www/MimeEntry.java \ +- sun/net/www/MimeLauncher.java \ +- sun/net/www/ApplicationLaunchException.java \ +- sun/net/www/MimeTable.java \ +- sun/net/www/URLConnection.java \ +- sun/net/www/ParseUtil.java \ +- sun/net/www/protocol/file/Handler.java \ +- sun/net/www/protocol/file/FileURLConnection.java \ +- sun/net/www/http/HttpClient.java \ +- sun/net/www/http/HttpCapture.java \ +- sun/net/www/http/HttpCaptureInputStream.java \ +- sun/net/www/http/HttpCaptureOutputStream.java \ +- sun/net/www/http/PosterOutputStream.java \ +- sun/net/www/http/ChunkedInputStream.java \ +- sun/net/www/http/ChunkedOutputStream.java \ +- sun/net/www/http/KeepAliveCache.java \ +- sun/net/www/http/KeepAliveStream.java \ +- sun/net/www/http/KeepAliveStreamCleaner.java \ +- sun/net/www/http/Hurryable.java \ +- sun/net/www/protocol/http/Handler.java \ +- sun/net/www/protocol/http/HttpURLConnection.java \ +- sun/net/www/protocol/http/HttpAuthenticator.java \ +- sun/net/www/protocol/http/AuthenticationHeader.java \ +- sun/net/www/protocol/http/AuthenticationInfo.java \ +- sun/net/www/protocol/http/AuthCache.java \ +- sun/net/www/protocol/http/AuthCacheImpl.java \ +- sun/net/www/protocol/http/AuthCacheValue.java \ +- sun/net/www/protocol/http/AuthScheme.java \ +- sun/net/www/protocol/http/BasicAuthentication.java \ +- sun/net/www/protocol/http/DigestAuthentication.java \ +- sun/net/www/protocol/http/NTLMAuthenticationProxy.java \ +- sun/net/www/protocol/http/NegotiateAuthentication.java \ +- sun/net/www/protocol/http/Negotiator.java \ +- sun/net/www/protocol/http/ntlm/NTLMAuthentication.java \ +- sun/net/www/protocol/http/ntlm/NTLMAuthenticationCallback.java \ +- sun/net/www/protocol/http/spnego/NegotiatorImpl.java \ +- sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java \ +- sun/net/www/protocol/http/logging/HttpLogFormatter.java \ +- sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java \ +- sun/net/www/protocol/https/HttpsClient.java \ +- sun/net/www/protocol/https/DefaultHostnameVerifier.java \ +- sun/net/www/protocol/https/HttpsURLConnectionImpl.java \ +- sun/net/www/protocol/https/DelegateHttpsURLConnection.java \ +- sun/net/www/protocol/https/Handler.java \ +- sun/net/www/protocol/jar/Handler.java \ +- sun/net/www/protocol/jar/URLJarFile.java \ +- sun/net/www/protocol/jar/JarFileFactory.java \ +- sun/net/www/protocol/jar/JarURLConnection.java \ +- sun/net/www/protocol/netdoc/Handler.java \ +- sun/net/www/content/image/gif.java \ +- sun/net/www/content/image/jpeg.java \ +- sun/net/www/content/image/x_xbitmap.java \ +- sun/net/www/content/image/x_xpixmap.java \ +- sun/net/www/content/image/png.java \ +- sun/net/www/content/audio/aiff.java \ +- sun/net/www/content/audio/basic.java \ +- sun/net/www/content/audio/wav.java \ +- sun/net/www/content/audio/x_aiff.java \ +- sun/net/www/content/audio/x_wav.java \ +- sun/net/www/protocol/ftp/Handler.java \ +- sun/net/www/protocol/ftp/FtpURLConnection.java \ +- sun/net/www/protocol/gopher/GopherClient.java \ +- sun/net/www/protocol/gopher/Handler.java \ +- sun/net/www/protocol/mailto/Handler.java \ +- sun/net/www/protocol/mailto/MailToURLConnection.java \ +- sun/net/idn/Punycode.java \ +- sun/net/idn/UCharacterEnums.java \ +- sun/net/idn/UCharacterDirection.java \ +- sun/net/idn/StringPrepDataReader.java \ +- sun/net/idn/StringPrep.java ++ sun/net/InetAddressCachePolicy.java \ ++ sun/net/URLCanonicalizer.java \ ++ sun/net/NetworkClient.java \ ++ sun/net/NetworkServer.java \ ++ sun/net/PortConfig.java \ ++ sun/net/ProgressMonitor.java \ ++ sun/net/ProgressSource.java \ ++ sun/net/ProgressEvent.java \ ++ sun/net/ProgressListener.java \ ++ sun/net/ProgressMeteringPolicy.java \ ++ sun/net/SocksProxy.java \ ++ sun/net/ResourceManager.java \ ++ sun/net/TelnetInputStream.java \ ++ sun/net/TelnetOutputStream.java \ ++ sun/net/TelnetProtocolException.java \ ++ sun/net/TransferProtocolClient.java \ ++ sun/net/ConnectionResetException.java \ ++ sun/net/NetProperties.java \ ++ sun/net/NetHooks.java \ ++ sun/net/util/IPAddressUtil.java \ ++ sun/net/util/URLUtil.java \ ++ sun/net/dns/ResolverConfiguration.java \ ++ sun/net/dns/ResolverConfigurationImpl.java \ ++ sun/net/ftp/FtpClient.java \ ++ sun/net/ftp/FtpClientProvider.java \ ++ sun/net/ftp/FtpDirEntry.java \ ++ sun/net/ftp/FtpReplyCode.java \ ++ sun/net/ftp/FtpDirParser.java \ ++ sun/net/ftp/FtpLoginException.java \ ++ sun/net/ftp/FtpProtocolException.java \ ++ sun/net/ftp/impl/FtpClient.java \ ++ sun/net/ftp/impl/DefaultFtpClientProvider.java \ ++ sun/net/sdp/SdpSupport.java \ ++ sun/net/spi/DefaultProxySelector.java \ ++ sun/net/spi/nameservice/NameServiceDescriptor.java \ ++ sun/net/spi/nameservice/NameService.java \ ++ sun/net/smtp/SmtpClient.java \ ++ sun/net/smtp/SmtpProtocolException.java \ ++ sun/net/www/content/text/Generic.java \ ++ sun/net/www/content/text/plain.java \ ++ sun/net/www/content/text/PlainTextInputStream.java \ ++ sun/net/www/MessageHeader.java \ ++ sun/net/www/HeaderParser.java \ ++ sun/net/www/MeteredStream.java \ ++ sun/net/www/MimeEntry.java \ ++ sun/net/www/MimeLauncher.java \ ++ sun/net/www/ApplicationLaunchException.java \ ++ sun/net/www/MimeTable.java \ ++ sun/net/www/URLConnection.java \ ++ sun/net/www/ParseUtil.java \ ++ sun/net/www/protocol/file/Handler.java \ ++ sun/net/www/protocol/file/FileURLConnection.java \ ++ sun/net/www/http/HttpClient.java \ ++ sun/net/www/http/HttpCapture.java \ ++ sun/net/www/http/HttpCaptureInputStream.java \ ++ sun/net/www/http/HttpCaptureOutputStream.java \ ++ sun/net/www/http/PosterOutputStream.java \ ++ sun/net/www/http/ChunkedInputStream.java \ ++ sun/net/www/http/ChunkedOutputStream.java \ ++ sun/net/www/http/KeepAliveCache.java \ ++ sun/net/www/http/KeepAliveStream.java \ ++ sun/net/www/http/KeepAliveStreamCleaner.java \ ++ sun/net/www/http/Hurryable.java \ ++ sun/net/www/protocol/http/Handler.java \ ++ sun/net/www/protocol/http/HttpURLConnection.java \ ++ sun/net/www/protocol/http/HttpAuthenticator.java \ ++ sun/net/www/protocol/http/AuthenticationHeader.java \ ++ sun/net/www/protocol/http/AuthenticationInfo.java \ ++ sun/net/www/protocol/http/AuthCache.java \ ++ sun/net/www/protocol/http/AuthCacheImpl.java \ ++ sun/net/www/protocol/http/AuthCacheValue.java \ ++ sun/net/www/protocol/http/AuthScheme.java \ ++ sun/net/www/protocol/http/BasicAuthentication.java \ ++ sun/net/www/protocol/http/DigestAuthentication.java \ ++ sun/net/www/protocol/http/NTLMAuthenticationProxy.java \ ++ sun/net/www/protocol/http/NegotiateAuthentication.java \ ++ sun/net/www/protocol/http/Negotiator.java \ ++ sun/net/www/protocol/http/ntlm/NTLMAuthentication.java \ ++ sun/net/www/protocol/http/ntlm/NTLMAuthenticationCallback.java \ ++ sun/net/www/protocol/http/spnego/NegotiatorImpl.java \ ++ sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java \ ++ sun/net/www/protocol/http/logging/HttpLogFormatter.java \ ++ sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java \ ++ sun/net/www/protocol/https/HttpsClient.java \ ++ sun/net/www/protocol/https/DefaultHostnameVerifier.java \ ++ sun/net/www/protocol/https/HttpsURLConnectionImpl.java \ ++ sun/net/www/protocol/https/DelegateHttpsURLConnection.java \ ++ sun/net/www/protocol/https/Handler.java \ ++ sun/net/www/protocol/jar/Handler.java \ ++ sun/net/www/protocol/jar/URLJarFile.java \ ++ sun/net/www/protocol/jar/JarFileFactory.java \ ++ sun/net/www/protocol/jar/JarURLConnection.java \ ++ sun/net/www/protocol/netdoc/Handler.java \ ++ sun/net/www/content/image/gif.java \ ++ sun/net/www/content/image/jpeg.java \ ++ sun/net/www/content/image/x_xbitmap.java \ ++ sun/net/www/content/image/x_xpixmap.java \ ++ sun/net/www/content/image/png.java \ ++ sun/net/www/content/audio/aiff.java \ ++ sun/net/www/content/audio/basic.java \ ++ sun/net/www/content/audio/wav.java \ ++ sun/net/www/content/audio/x_aiff.java \ ++ sun/net/www/content/audio/x_wav.java \ ++ sun/net/www/protocol/ftp/Handler.java \ ++ sun/net/www/protocol/ftp/FtpURLConnection.java \ ++ sun/net/www/protocol/gopher/GopherClient.java \ ++ sun/net/www/protocol/gopher/Handler.java \ ++ sun/net/www/protocol/mailto/Handler.java \ ++ sun/net/www/protocol/mailto/MailToURLConnection.java \ ++ sun/net/idn/Punycode.java \ ++ sun/net/idn/UCharacterEnums.java \ ++ sun/net/idn/UCharacterDirection.java \ ++ sun/net/idn/StringPrepDataReader.java \ ++ sun/net/idn/StringPrep.java + + ifeq ($(PLATFORM), windows) +- FILES_java += sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java ++ FILES_java += sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java + else + FILES_java += sun/net/sdp/SdpProvider.java + endif +--- jdk/make/sun/nio/cs/FILES_java.gmk 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/nio/cs/FILES_java.gmk 2013-12-01 11:14:29.000000000 -0800 +@@ -329,6 +329,7 @@ + sun/nio/cs/ext/IBM280.java \ + sun/nio/cs/ext/IBM284.java \ + sun/nio/cs/ext/IBM285.java \ ++ sun/nio/cs/ext/IBM290.java \ + sun/nio/cs/ext/IBM297.java \ + sun/nio/cs/ext/IBM420.java \ + sun/nio/cs/ext/IBM424.java \ +--- jdk/make/sun/rmi/rmi/Makefile 2013-09-06 11:27:40.000000000 -0700 ++++ jdk/make/sun/rmi/rmi/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -71,6 +71,9 @@ + BUILD_TARGETS += bin + endif + endif ++ifeq ($(PLATFORM), bsd) ++ BUILD_TARGETS += bin ++endif + + build: $(BUILD_TARGETS) + +--- jdk/make/sun/splashscreen/Makefile 2013-09-06 11:27:41.000000000 -0700 ++++ jdk/make/sun/splashscreen/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -83,15 +83,16 @@ + -framework JavaNativeFoundation + else ifneq ($(PLATFORM), windows) + CFLAGS += -DWITH_X11 +- ifeq ($(PLATFORM), macosx)) +- OTHER_LDLIBS += -liconv +- CPPFLAGS += -I$(OPENWIN_HOME)/include \ +- -I$(OPENWIN_HOME)/include/X11/extensions +- OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -pthread +- else +- CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions +- OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread ++ ifeq ($(PLATFORM), bsd)) ++ ifeq ($(OS_NAME), netbsd) ++ OTHER_LDLIBS += -Wl,-R$(OPENWIN_LIB) ++ else ++ CPPFLAGS += -I$(PACKAGE_PATH)/include ++ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv ++ endif + endif ++ CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions ++ OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread + else # PLATFORM + CFLAGS += -DWITH_WIN32 + OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll +--- jdk/make/sun/xawt/Makefile 2013-09-06 11:27:41.000000000 -0700 ++++ jdk/make/sun/xawt/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -52,6 +52,9 @@ + AUTO_JAVA_PRUNE = WrapperGenerator.java + + LDFLAGS += -L$(OPENWIN_LIB) ++ifeq ($(OS_NAME), netbsd) ++LDFLAGS += -Wl,-R$(OPENWIN_LIB) ++endif + + # For Xrender extension. + ifeq ($(PLATFORM), solaris) +@@ -63,6 +66,11 @@ + dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) + endif + ++ifeq ($(PLATFORM), bsd) ++LDFLAGS += -pthread ++dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) ++endif ++ + ifeq ($(PLATFORM), macosx)) + LDFLAGS += -pthread + dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) +@@ -110,8 +118,6 @@ + dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) + endif + +-CPPFLAGS += -I$(CUPS_HEADERS_PATH) - -- try -- { + CPPFLAGS += -DXAWT -DXAWT_HACK \ + -I$(TEMPDIR)/../../sun.awt/awt/CClassHeaders \ + -I$(PLATFORM_SRC)/native/sun/awt \ +@@ -138,6 +144,8 @@ + -I$(SHARE_SRC)/native/sun/awt \ + -I$(PLATFORM_SRC)/native/sun/awt + ++CPPFLAGS += -I$(CUPS_HEADERS_PATH) ++ + ifeq ($(PLATFORM), linux) + ifndef CROSS_COMPILE_ARCH + # Allows for builds on Debian GNU Linux, X11 is in a different place +@@ -173,6 +181,11 @@ + endif + endif + ++ifeq ($(PLATFORM), bsd) ++ CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions -I$(OPENWIN_HOME)/include ++ CPPFLAGS += -DX11_PATH=\"$(X11_PATH)\" -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" ++endif ++ + ifeq ($(PLATFORM), macosx) + CPPFLAGS += -DX11_PATH=\"$(X11_PATH)\" -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" + endif +--- jdk/make/tools/CharsetMapping/IBM290.c2b 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/make/tools/CharsetMapping/IBM290.c2b 2013-12-01 11:14:30.000000000 -0800 +@@ -0,0 +1,100 @@ ++# ++# Diff of ++# b2c: cdctables.zip/Package2.zip/IBM-290.zip/012234B0.TPMAP100 ++# c2b: cdctables.zip/Package2.zip/IBM-290.zip/012234B0.UPMAP100 ++# ++# fullwidth form ++0x4B U+FF0E ++0x4C U+FF1C ++0x4D U+FF08 ++0x4E U+FF0B ++0x4F U+FF5C ++0x50 U+FF06 ++0x5A U+FF01 ++0x5C U+FF0A ++0x5D U+FF09 ++0x5E U+FF1B ++0x60 U+FF0D ++0x61 U+FF0F ++0x62 U+FF41 ++0x63 U+FF42 ++0x64 U+FF43 ++0x65 U+FF44 ++0x66 U+FF45 ++0x67 U+FF46 ++0x68 U+FF47 ++0x69 U+FF48 ++0x6B U+FF0C ++0x6C U+FF05 ++0x6D U+FF3F ++0x6E U+FF1E ++0x6F U+FF1F ++0x70 U+FF3B ++0x71 U+FF49 ++0x72 U+FF4A ++0x73 U+FF4B ++0x74 U+FF4C ++0x75 U+FF4D ++0x76 U+FF4E ++0x77 U+FF4F ++0x78 U+FF50 ++0x79 U+FF40 ++0x7A U+FF1A ++0x7B U+FF03 ++0x7C U+FF20 ++0x7D U+FF07 ++0x7E U+FF1D ++0x7F U+FF02 ++0x80 U+FF3D ++0x8B U+FF51 ++0x9B U+FF52 ++0xA0 U+FF5E ++0xAB U+FF53 ++0xB0 U+FF3E ++0xB2 U+FF3C ++0xB3 U+FF54 ++0xB4 U+FF55 ++0xB5 U+FF56 ++0xB6 U+FF57 ++0xB7 U+FF58 ++0xB8 U+FF59 ++0xB9 U+FF5A ++0xC0 U+FF5B ++0xC1 U+FF21 ++0xC2 U+FF22 ++0xC3 U+FF23 ++0xC4 U+FF24 ++0xC5 U+FF25 ++0xC6 U+FF26 ++0xC7 U+FF27 ++0xC8 U+FF28 ++0xC9 U+FF29 ++0xD0 U+FF5D ++0xD1 U+FF2A ++0xD2 U+FF2B ++0xD3 U+FF2C ++0xD4 U+FF2D ++0xD5 U+FF2E ++0xD6 U+FF2F ++0xD7 U+FF30 ++0xD8 U+FF31 ++0xD9 U+FF32 ++0xE0 U+FF04 ++0xE2 U+FF33 ++0xE3 U+FF34 ++0xE4 U+FF35 ++0xE5 U+FF36 ++0xE6 U+FF37 ++0xE7 U+FF38 ++0xE8 U+FF39 ++0xE9 U+FF3A ++0xF0 U+FF10 ++0xF1 U+FF11 ++0xF2 U+FF12 ++0xF3 U+FF13 ++0xF4 U+FF14 ++0xF5 U+FF15 ++0xF6 U+FF16 ++0xF7 U+FF17 ++0xF8 U+FF18 ++0xF9 U+FF19 +--- jdk/make/tools/CharsetMapping/IBM290.map 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/make/tools/CharsetMapping/IBM290.map 2013-12-01 11:14:30.000000000 -0800 +@@ -0,0 +1,232 @@ ++# ++# b2c mapping for IBM290, generated from ++# cdctables.zip/Package2.zip/IBM-290.zip/012234B0.TPMAP100 ++# ++0x00 U+0000 ++0x01 U+0001 ++0x02 U+0002 ++0x03 U+0003 ++0x04 U+009C ++0x05 U+0009 ++0x06 U+0086 ++0x07 U+007F ++0x08 U+0097 ++0x09 U+008D ++0x0A U+008E ++0x0B U+000B ++0x0C U+000C ++0x0D U+000D ++0x0E U+000E ++0x0F U+000F ++0x10 U+0010 ++0x11 U+0011 ++0x12 U+0012 ++0x13 U+0013 ++0x14 U+009D ++0x15 U+0085 ++0x16 U+0008 ++0x17 U+0087 ++0x18 U+0018 ++0x19 U+0019 ++0x1A U+0092 ++0x1B U+008F ++0x1C U+001C ++0x1D U+001D ++0x1E U+001E ++0x1F U+001F ++0x20 U+0080 ++0x21 U+0081 ++0x22 U+0082 ++0x23 U+0083 ++0x24 U+0084 ++0x25 U+000A ++0x26 U+0017 ++0x27 U+001B ++0x28 U+0088 ++0x29 U+0089 ++0x2A U+008A ++0x2B U+008B ++0x2C U+008C ++0x2D U+0005 ++0x2E U+0006 ++0x2F U+0007 ++0x30 U+0090 ++0x31 U+0091 ++0x32 U+0016 ++0x33 U+0093 ++0x34 U+0094 ++0x35 U+0095 ++0x36 U+0096 ++0x37 U+0004 ++0x38 U+0098 ++0x39 U+0099 ++0x3A U+009A ++0x3B U+009B ++0x3C U+0014 ++0x3D U+0015 ++0x3E U+009E ++0x3F U+001A ++0x40 U+0020 ++0x41 U+FF61 ++0x42 U+FF62 ++0x43 U+FF63 ++0x44 U+FF64 ++0x45 U+FF65 ++0x46 U+FF66 ++0x47 U+FF67 ++0x48 U+FF68 ++0x49 U+FF69 ++0x4A U+00A3 ++0x4B U+002E ++0x4C U+003C ++0x4D U+0028 ++0x4E U+002B ++0x4F U+007C ++0x50 U+0026 ++0x51 U+FF6A ++0x52 U+FF6B ++0x53 U+FF6C ++0x54 U+FF6D ++0x55 U+FF6E ++0x56 U+FF6F ++0x58 U+FF70 ++0x5A U+0021 ++0x5B U+00A5 ++0x5C U+002A ++0x5D U+0029 ++0x5E U+003B ++0x5F U+00AC ++0x60 U+002D ++0x61 U+002F ++0x62 U+0061 ++0x63 U+0062 ++0x64 U+0063 ++0x65 U+0064 ++0x66 U+0065 ++0x67 U+0066 ++0x68 U+0067 ++0x69 U+0068 ++0x6B U+002C ++0x6C U+0025 ++0x6D U+005F ++0x6E U+003E ++0x6F U+003F ++0x70 U+005B ++0x71 U+0069 ++0x72 U+006A ++0x73 U+006B ++0x74 U+006C ++0x75 U+006D ++0x76 U+006E ++0x77 U+006F ++0x78 U+0070 ++0x79 U+0060 ++0x7A U+003A ++0x7B U+0023 ++0x7C U+0040 ++0x7D U+0027 ++0x7E U+003D ++0x7F U+0022 ++0x80 U+005D ++0x81 U+FF71 ++0x82 U+FF72 ++0x83 U+FF73 ++0x84 U+FF74 ++0x85 U+FF75 ++0x86 U+FF76 ++0x87 U+FF77 ++0x88 U+FF78 ++0x89 U+FF79 ++0x8A U+FF7A ++0x8B U+0071 ++0x8C U+FF7B ++0x8D U+FF7C ++0x8E U+FF7D ++0x8F U+FF7E ++0x90 U+FF7F ++0x91 U+FF80 ++0x92 U+FF81 ++0x93 U+FF82 ++0x94 U+FF83 ++0x95 U+FF84 ++0x96 U+FF85 ++0x97 U+FF86 ++0x98 U+FF87 ++0x99 U+FF88 ++0x9A U+FF89 ++0x9B U+0072 ++0x9D U+FF8A ++0x9E U+FF8B ++0x9F U+FF8C ++0xA0 U+007E ++0xA1 U+203E ++0xA2 U+FF8D ++0xA3 U+FF8E ++0xA4 U+FF8F ++0xA5 U+FF90 ++0xA6 U+FF91 ++0xA7 U+FF92 ++0xA8 U+FF93 ++0xA9 U+FF94 ++0xAA U+FF95 ++0xAB U+0073 ++0xAC U+FF96 ++0xAD U+FF97 ++0xAE U+FF98 ++0xAF U+FF99 ++0xB0 U+005E ++0xB1 U+00A2 ++0xB2 U+005C ++0xB3 U+0074 ++0xB4 U+0075 ++0xB5 U+0076 ++0xB6 U+0077 ++0xB7 U+0078 ++0xB8 U+0079 ++0xB9 U+007A ++0xBA U+FF9A ++0xBB U+FF9B ++0xBC U+FF9C ++0xBD U+FF9D ++0xBE U+FF9E ++0xBF U+FF9F ++0xC0 U+007B ++0xC1 U+0041 ++0xC2 U+0042 ++0xC3 U+0043 ++0xC4 U+0044 ++0xC5 U+0045 ++0xC6 U+0046 ++0xC7 U+0047 ++0xC8 U+0048 ++0xC9 U+0049 ++0xD0 U+007D ++0xD1 U+004A ++0xD2 U+004B ++0xD3 U+004C ++0xD4 U+004D ++0xD5 U+004E ++0xD6 U+004F ++0xD7 U+0050 ++0xD8 U+0051 ++0xD9 U+0052 ++0xE0 U+0024 ++0xE2 U+0053 ++0xE3 U+0054 ++0xE4 U+0055 ++0xE5 U+0056 ++0xE6 U+0057 ++0xE7 U+0058 ++0xE8 U+0059 ++0xE9 U+005A ++0xF0 U+0030 ++0xF1 U+0031 ++0xF2 U+0032 ++0xF3 U+0033 ++0xF4 U+0034 ++0xF5 U+0035 ++0xF6 U+0036 ++0xF7 U+0037 ++0xF8 U+0038 ++0xF9 U+0039 ++0xFF U+009F +--- jdk/make/tools/CharsetMapping/extsbcs 2013-09-06 11:27:42.000000000 -0700 ++++ jdk/make/tools/CharsetMapping/extsbcs 2013-12-01 11:14:30.000000000 -0800 +@@ -28,6 +28,7 @@ + IBM280 IBM280 Cp280 false sun.nio.cs.ext + IBM284 IBM284 Cp284 false sun.nio.cs.ext + IBM285 IBM285 Cp285 false sun.nio.cs.ext ++IBM290 IBM290 Cp290 false sun.nio.cs.ext + IBM297 IBM297 Cp297 false sun.nio.cs.ext + IBM420 IBM420 Cp420 false sun.nio.cs.ext + IBM424 IBM424 Cp424 false sun.nio.cs.ext +--- jdk/make/tools/freetypecheck/Makefile 2013-09-06 11:27:43.000000000 -0700 ++++ jdk/make/tools/freetypecheck/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -52,8 +52,15 @@ + else + ifeq ($(PLATFORM), macosx) + FT_LD_OPTIONS += -lfreetype -lz +- else # linux +- FT_LD_OPTIONS += -Wl,-rpath -Wl,$(FREETYPE_LIB_PATH) -lfreetype ++ else ++ ifeq ($(PLATFORM), bsd) ++ ifeq ($(OS_NAME), netbsd) ++ FT_LD_OPTIONS += -Wl,-R$(FREETYPE_LIB_PATH) ++ endif ++ FT_LD_OPTIONS += -lfreetype -lz ++ else # linux ++ FT_LD_OPTIONS += -Wl,-rpath -Wl,$(FREETYPE_LIB_PATH) -lfreetype ++ endif + endif + endif + endif +--- jdk/make/tools/sharing/classlist.bsd 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/make/tools/sharing/classlist.bsd 2014-01-18 12:16:33.000000000 -0800 +@@ -0,0 +1,2327 @@ ++java/lang/Object ++java/lang/String ++java/io/Serializable ++java/lang/Comparable ++java/lang/CharSequence ++java/lang/Class ++java/lang/reflect/GenericDeclaration ++java/lang/reflect/Type ++java/lang/reflect/AnnotatedElement ++java/lang/Cloneable ++java/lang/ClassLoader ++java/lang/System ++java/lang/Throwable ++java/lang/Error ++java/lang/ThreadDeath ++java/lang/Exception ++java/lang/RuntimeException ++java/security/ProtectionDomain ++java/security/AccessControlContext ++java/lang/ClassNotFoundException ++java/lang/NoClassDefFoundError ++java/lang/LinkageError ++java/lang/ClassCastException ++java/lang/ArrayStoreException ++java/lang/VirtualMachineError ++java/lang/OutOfMemoryError ++java/lang/StackOverflowError ++java/lang/IllegalMonitorStateException ++java/lang/ref/Reference ++java/lang/ref/SoftReference ++java/lang/ref/WeakReference ++java/lang/ref/FinalReference ++java/lang/ref/PhantomReference ++java/lang/ref/Finalizer ++java/lang/Thread ++java/lang/Runnable ++java/lang/ThreadGroup ++java/lang/Thread$UncaughtExceptionHandler ++java/util/Properties ++java/util/Hashtable ++java/util/Map ++java/util/Dictionary ++java/lang/reflect/AccessibleObject ++java/lang/reflect/Field ++java/lang/reflect/Member ++java/lang/reflect/Method ++java/lang/reflect/Constructor ++sun/reflect/MagicAccessorImpl ++sun/reflect/MethodAccessorImpl ++sun/reflect/MethodAccessor ++sun/reflect/ConstructorAccessorImpl ++sun/reflect/ConstructorAccessor ++sun/reflect/DelegatingClassLoader ++sun/reflect/ConstantPool ++sun/reflect/UnsafeStaticFieldAccessorImpl ++sun/reflect/UnsafeFieldAccessorImpl ++sun/reflect/FieldAccessorImpl ++sun/reflect/FieldAccessor ++java/util/Vector ++java/util/List ++java/util/Collection ++java/lang/Iterable ++java/util/RandomAccess ++java/util/AbstractList ++java/util/AbstractCollection ++java/lang/StringBuffer ++java/lang/AbstractStringBuilder ++java/lang/Appendable ++java/lang/StackTraceElement ++java/nio/Buffer ++java/lang/Boolean ++java/lang/Character ++java/lang/Float ++java/lang/Number ++java/lang/Double ++java/lang/Byte ++java/lang/Short ++java/lang/Integer ++java/lang/Long ++java/lang/NullPointerException ++java/lang/ArithmeticException ++java/io/ObjectStreamField ++java/lang/String$CaseInsensitiveComparator ++java/util/Comparator ++java/lang/RuntimePermission ++java/security/BasicPermission ++java/security/Permission ++java/security/Guard ++sun/misc/SoftCache ++java/util/AbstractMap ++java/lang/ref/ReferenceQueue ++java/lang/ref/ReferenceQueue$Null ++java/lang/ref/ReferenceQueue$Lock ++java/util/HashMap ++java/lang/annotation/Annotation ++java/util/HashMap$Entry ++java/util/Map$Entry ++java/security/AccessController ++java/lang/reflect/ReflectPermission ++sun/reflect/ReflectionFactory$GetReflectionFactoryAction ++java/security/PrivilegedAction ++java/util/Stack ++sun/reflect/ReflectionFactory ++java/lang/ref/Reference$Lock ++java/lang/ref/Reference$ReferenceHandler ++java/lang/ref/Finalizer$FinalizerThread ++java/util/Enumeration ++java/util/Iterator ++java/util/Hashtable$Entry ++java/nio/charset/Charset ++sun/nio/cs/StandardCharsets ++sun/nio/cs/FastCharsetProvider ++java/nio/charset/spi/CharsetProvider ++sun/nio/cs/StandardCharsets$Aliases ++sun/util/PreHashedMap ++sun/nio/cs/StandardCharsets$Classes ++sun/nio/cs/StandardCharsets$Cache ++java/lang/ThreadLocal ++java/util/concurrent/atomic/AtomicInteger ++sun/misc/Unsafe ++java/lang/NoSuchMethodError ++java/lang/IncompatibleClassChangeError ++sun/reflect/Reflection ++java/util/Collections ++java/util/Collections$EmptySet ++java/util/AbstractSet ++java/util/Set ++java/util/Collections$EmptyList ++java/util/Collections$EmptyMap ++java/util/Collections$ReverseComparator ++java/util/Collections$SynchronizedMap ++java/lang/Class$3 ++java/lang/reflect/Modifier ++java/lang/reflect/ReflectAccess ++sun/reflect/LangReflectAccess ++java/util/Arrays ++java/lang/Math ++sun/nio/cs/US_ASCII ++sun/nio/cs/HistoricallyNamedCharset ++sun/misc/VM ++java/lang/StringCoding ++java/lang/ThreadLocal$ThreadLocalMap ++java/lang/ThreadLocal$ThreadLocalMap$Entry ++java/lang/StringCoding$StringDecoder ++sun/nio/cs/US_ASCII$Decoder ++java/nio/charset/CharsetDecoder ++java/nio/charset/CodingErrorAction ++java/nio/ByteBuffer ++java/nio/HeapByteBuffer ++java/nio/Bits ++java/nio/ByteOrder ++java/nio/CharBuffer ++java/lang/Readable ++java/nio/HeapCharBuffer ++java/nio/charset/CoderResult ++java/nio/charset/CoderResult$1 ++java/nio/charset/CoderResult$Cache ++java/nio/charset/CoderResult$2 ++sun/misc/Version ++java/io/FileInputStream ++java/io/InputStream ++java/io/Closeable ++java/io/FileDescriptor ++java/io/FileOutputStream ++java/io/OutputStream ++java/io/Flushable ++java/io/BufferedInputStream ++java/io/FilterInputStream ++java/util/concurrent/atomic/AtomicReferenceFieldUpdater ++java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl ++sun/reflect/misc/ReflectUtil ++java/io/PrintStream ++java/io/FilterOutputStream ++java/io/BufferedOutputStream ++java/io/OutputStreamWriter ++java/io/Writer ++sun/nio/cs/StreamEncoder ++sun/security/action/GetPropertyAction ++sun/nio/cs/US_ASCII$Encoder ++java/nio/charset/CharsetEncoder ++sun/nio/cs/Surrogate$Parser ++sun/nio/cs/Surrogate ++java/io/BufferedWriter ++java/lang/Runtime ++java/io/File ++java/io/FileSystem ++java/io/UnixFileSystem ++java/io/ExpiringCache ++java/io/ExpiringCache$1 ++java/util/LinkedHashMap ++java/util/LinkedHashMap$Entry ++java/lang/StringBuilder ++sun/misc/SharedSecrets ++java/lang/ClassLoader$3 ++java/lang/StringCoding$StringEncoder ++java/io/ExpiringCache$Entry ++java/lang/ClassLoader$NativeLibrary ++java/lang/Terminator ++java/lang/Terminator$1 ++sun/misc/SignalHandler ++sun/misc/Signal ++sun/misc/NativeSignalHandler ++java/io/Console ++java/io/Console$1 ++sun/misc/JavaIOAccess ++java/lang/Shutdown ++java/util/ArrayList ++java/lang/Shutdown$Lock ++java/lang/ApplicationShutdownHooks ++java/util/IdentityHashMap ++sun/misc/OSEnvironment ++java/lang/System$2 ++sun/misc/JavaLangAccess ++java/lang/Compiler ++java/lang/Compiler$1 ++sun/misc/Launcher ++sun/misc/Launcher$Factory ++java/net/URLStreamHandlerFactory ++sun/misc/Launcher$ExtClassLoader ++java/net/URLClassLoader ++java/security/SecureClassLoader ++sun/security/util/Debug ++java/net/URLClassLoader$7 ++sun/misc/JavaNetAccess ++java/util/StringTokenizer ++sun/misc/Launcher$ExtClassLoader$1 ++java/security/PrivilegedExceptionAction ++sun/misc/MetaIndex ++java/io/BufferedReader ++java/io/Reader ++java/io/FileReader ++java/io/InputStreamReader ++sun/nio/cs/StreamDecoder ++java/lang/reflect/Array ++sun/net/www/ParseUtil ++java/util/BitSet ++java/io/ObjectStreamClass ++java/net/URL ++java/util/Locale ++java/util/concurrent/ConcurrentHashMap ++java/util/concurrent/ConcurrentMap ++java/util/concurrent/ConcurrentHashMap$Segment ++java/util/concurrent/locks/ReentrantLock ++java/util/concurrent/locks/Lock ++java/util/concurrent/locks/ReentrantLock$NonfairSync ++java/util/concurrent/locks/ReentrantLock$Sync ++java/util/concurrent/locks/AbstractQueuedSynchronizer ++java/util/concurrent/locks/AbstractOwnableSynchronizer ++java/util/concurrent/locks/AbstractQueuedSynchronizer$Node ++java/util/concurrent/ConcurrentHashMap$HashEntry ++java/lang/CharacterDataLatin1 ++java/net/Parts ++sun/net/www/protocol/file/Handler ++java/net/URLStreamHandler ++java/lang/Class$1 ++sun/reflect/ReflectionFactory$1 ++sun/reflect/NativeConstructorAccessorImpl ++sun/reflect/DelegatingConstructorAccessorImpl ++java/util/HashSet ++sun/misc/URLClassPath ++sun/net/www/protocol/jar/Handler ++sun/misc/Launcher$AppClassLoader ++sun/misc/Launcher$AppClassLoader$1 ++java/lang/SystemClassLoaderAction ++java/net/URLClassLoader$1 ++sun/misc/URLClassPath$3 ++sun/misc/URLClassPath$JarLoader ++sun/misc/URLClassPath$Loader ++java/security/PrivilegedActionException ++sun/misc/URLClassPath$FileLoader ++sun/misc/URLClassPath$FileLoader$1 ++sun/misc/Resource ++sun/nio/ByteBuffered ++java/security/CodeSource ++java/security/Permissions ++java/security/PermissionCollection ++sun/net/www/protocol/file/FileURLConnection ++sun/net/www/URLConnection ++java/net/URLConnection ++java/net/UnknownContentHandler ++java/net/ContentHandler ++sun/net/www/MessageHeader ++java/io/FilePermission ++java/io/FilePermission$1 ++sun/security/provider/PolicyFile ++java/security/Policy ++java/security/Policy$UnsupportedEmptyCollection ++java/io/FilePermissionCollection ++java/security/AllPermission ++java/security/UnresolvedPermission ++java/security/BasicPermissionCollection ++java/security/Principal ++java/security/cert/Certificate ++java/util/AbstractList$Itr ++java/util/IdentityHashMap$KeySet ++java/util/IdentityHashMap$KeyIterator ++java/util/IdentityHashMap$IdentityHashMapIterator ++java/io/DeleteOnExitHook ++java/util/LinkedHashSet ++java/util/HashMap$KeySet ++java/util/LinkedHashMap$KeyIterator ++java/util/LinkedHashMap$LinkedHashIterator ++java/awt/Frame ++java/awt/MenuContainer ++java/awt/Window ++javax/accessibility/Accessible ++java/awt/Container ++java/awt/Component ++java/awt/image/ImageObserver ++java/lang/InterruptedException ++java/awt/Label ++java/util/logging/Logger ++java/util/logging/Handler ++java/util/logging/Level ++java/util/logging/LogManager ++java/util/logging/LogManager$1 ++java/beans/PropertyChangeSupport ++java/util/logging/LogManager$LogNode ++java/util/logging/LoggingPermission ++java/util/logging/LogManager$Cleaner ++java/util/logging/LogManager$RootLogger ++java/util/logging/LogManager$2 ++java/util/Properties$LineReader ++java/util/Hashtable$Enumerator ++java/beans/PropertyChangeEvent ++java/util/EventObject ++java/awt/Component$AWTTreeLock ++sun/awt/NativeLibLoader ++sun/security/action/LoadLibraryAction ++java/awt/GraphicsEnvironment ++java/awt/GraphicsEnvironment$1 ++java/lang/ProcessEnvironment ++java/lang/ProcessEnvironment$Variable ++java/lang/ProcessEnvironment$ExternalData ++java/lang/ProcessEnvironment$Value ++java/lang/ProcessEnvironment$StringEnvironment ++java/util/Collections$UnmodifiableMap ++java/awt/Toolkit ++java/awt/Toolkit$3 ++sun/util/CoreResourceBundleControl ++java/util/ResourceBundle$Control ++java/util/Arrays$ArrayList ++java/util/Collections$UnmodifiableRandomAccessList ++java/util/Collections$UnmodifiableList ++java/util/Collections$UnmodifiableCollection ++java/util/ResourceBundle ++java/util/ResourceBundle$1 ++java/util/ResourceBundle$RBClassLoader ++java/util/ResourceBundle$RBClassLoader$1 ++java/util/ResourceBundle$CacheKey ++java/util/ResourceBundle$LoaderReference ++java/util/ResourceBundle$CacheKeyReference ++java/util/ResourceBundle$SingleFormatControl ++sun/awt/resources/awt ++java/util/ListResourceBundle ++java/awt/Toolkit$1 ++java/io/FileNotFoundException ++java/io/IOException ++java/awt/event/KeyEvent ++java/awt/event/InputEvent ++java/awt/event/ComponentEvent ++java/awt/AWTEvent ++java/awt/event/NativeLibLoader ++java/util/WeakHashMap ++java/util/WeakHashMap$Entry ++java/awt/Component$DummyRequestFocusController ++sun/awt/RequestFocusController ++java/awt/LayoutManager ++java/awt/LightweightDispatcher ++java/awt/event/AWTEventListener ++java/util/EventListener ++java/awt/Dimension ++java/awt/geom/Dimension2D ++java/util/concurrent/atomic/AtomicBoolean ++java/awt/ComponentOrientation ++java/awt/Component$2 ++java/lang/NoSuchMethodException ++sun/awt/AppContext ++sun/awt/AppContext$1 ++sun/awt/AppContext$2 ++sun/awt/MostRecentKeyValue ++java/awt/Cursor ++sun/awt/X11GraphicsEnvironment ++sun/java2d/SunGraphicsEnvironment ++sun/java2d/FontSupport ++sun/awt/DisplayChangedListener ++java/io/FilenameFilter ++sun/awt/X11GraphicsEnvironment$1 ++sun/awt/SunToolkit ++sun/awt/WindowClosingSupport ++sun/awt/WindowClosingListener ++sun/awt/ComponentFactory ++sun/awt/InputMethodSupport ++java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject ++java/util/concurrent/locks/Condition ++sun/awt/AWTAutoShutdown ++sun/awt/SunToolkit$6 ++java/awt/Dialog$ModalExclusionType ++java/lang/Enum ++java/awt/Dialog ++java/awt/Dialog$ModalityType ++java/awt/ModalEventFilter ++java/awt/EventFilter ++sun/reflect/UnsafeFieldAccessorFactory ++sun/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl ++sun/reflect/UnsafeQualifiedStaticFieldAccessorImpl ++sun/awt/SunDisplayChanger ++sun/java2d/SunGraphicsEnvironment$1 ++java/io/StreamTokenizer ++sun/font/FontManager ++sun/font/FileFont ++sun/font/PhysicalFont ++sun/font/Font2D ++sun/font/CompositeFont ++java/util/HashMap$Values ++java/util/HashMap$ValueIterator ++java/util/HashMap$HashIterator ++java/awt/Font ++java/awt/geom/AffineTransform ++sun/font/AttributeValues ++sun/font/EAttribute ++java/text/AttributedCharacterIterator$Attribute ++java/lang/Class$4 ++sun/reflect/NativeMethodAccessorImpl ++sun/reflect/DelegatingMethodAccessorImpl ++java/awt/font/TextAttribute ++java/lang/Integer$IntegerCache ++sun/font/TrueTypeFont ++java/awt/font/FontRenderContext ++java/awt/RenderingHints ++sun/awt/SunHints ++sun/awt/SunHints$Key ++java/awt/RenderingHints$Key ++sun/awt/SunHints$Value ++sun/awt/SunHints$LCDContrastKey ++sun/font/Type1Font ++java/awt/geom/Point2D$Float ++java/awt/geom/Point2D ++sun/font/StrikeMetrics ++java/awt/geom/Rectangle2D$Float ++java/awt/geom/Rectangle2D ++java/awt/geom/RectangularShape ++java/awt/Shape ++java/awt/geom/GeneralPath ++java/awt/geom/Path2D$Float ++java/awt/geom/Path2D ++sun/font/CharToGlyphMapper ++sun/font/PhysicalStrike ++sun/font/FontStrike ++sun/font/GlyphList ++sun/font/StrikeCache ++sun/java2d/Disposer ++sun/java2d/Disposer$1 ++sun/font/StrikeCache$1 ++sun/awt/motif/MFontConfiguration ++sun/awt/FontConfiguration ++sun/awt/FontDescriptor ++java/util/Scanner ++java/util/regex/Pattern ++java/util/regex/Pattern$Node ++java/util/regex/Pattern$LastNode ++java/util/regex/Pattern$GroupHead ++java/util/regex/Pattern$CharPropertyNames ++java/util/regex/Pattern$CharPropertyNames$1 ++java/util/regex/Pattern$CharPropertyNames$CharPropertyFactory ++java/util/regex/Pattern$CharPropertyNames$2 ++java/util/regex/Pattern$CharPropertyNames$5 ++java/util/regex/Pattern$CharPropertyNames$3 ++java/util/regex/Pattern$CharPropertyNames$6 ++java/util/regex/Pattern$CharPropertyNames$CloneableProperty ++java/util/regex/Pattern$CharProperty ++java/util/regex/Pattern$CharPropertyNames$4 ++java/util/regex/Pattern$CharPropertyNames$7 ++java/util/regex/Pattern$CharPropertyNames$8 ++java/util/regex/Pattern$CharPropertyNames$9 ++java/util/regex/Pattern$CharPropertyNames$10 ++java/util/regex/Pattern$CharPropertyNames$11 ++java/util/regex/Pattern$CharPropertyNames$12 ++java/util/regex/Pattern$CharPropertyNames$13 ++java/util/regex/Pattern$CharPropertyNames$14 ++java/util/regex/Pattern$CharPropertyNames$15 ++java/util/regex/Pattern$CharPropertyNames$16 ++java/util/regex/Pattern$CharPropertyNames$17 ++java/util/regex/Pattern$CharPropertyNames$18 ++java/util/regex/Pattern$CharPropertyNames$19 ++java/util/regex/Pattern$CharPropertyNames$20 ++java/util/regex/Pattern$CharPropertyNames$21 ++java/util/regex/Pattern$Curly ++java/util/regex/Pattern$Slice ++java/util/regex/Pattern$Begin ++java/util/regex/Pattern$First ++java/util/regex/Pattern$Start ++java/util/regex/Pattern$TreeInfo ++java/util/regex/Pattern$All ++java/util/regex/Pattern$BitClass ++java/util/regex/Pattern$BmpCharProperty ++java/util/regex/Pattern$6 ++java/util/regex/Pattern$CharProperty$1 ++sun/nio/ch/FileChannelImpl ++java/nio/channels/FileChannel ++java/nio/channels/ByteChannel ++java/nio/channels/ReadableByteChannel ++java/nio/channels/Channel ++java/nio/channels/WritableByteChannel ++java/nio/channels/GatheringByteChannel ++java/nio/channels/ScatteringByteChannel ++java/nio/channels/spi/AbstractInterruptibleChannel ++java/nio/channels/InterruptibleChannel ++sun/nio/ch/Util ++sun/nio/ch/IOUtil ++sun/nio/ch/FileDispatcher ++sun/nio/ch/NativeDispatcher ++sun/nio/ch/Reflect ++java/nio/MappedByteBuffer ++sun/nio/ch/Reflect$1 ++sun/nio/ch/NativeThreadSet ++java/nio/channels/Channels ++java/util/Scanner$1 ++sun/misc/LRUCache ++java/util/regex/Matcher ++java/util/regex/MatchResult ++java/text/NumberFormat ++java/text/Format ++java/text/spi/NumberFormatProvider ++java/util/spi/LocaleServiceProvider ++sun/util/LocaleServiceProviderPool ++sun/util/LocaleServiceProviderPool$1 ++java/util/ServiceLoader ++java/util/ServiceLoader$LazyIterator ++java/util/ServiceLoader$1 ++java/util/HashMap$EntrySet ++java/util/LinkedHashMap$EntryIterator ++sun/misc/Launcher$1 ++sun/misc/URLClassPath$2 ++java/lang/ClassLoader$2 ++sun/misc/URLClassPath$1 ++java/net/URLClassLoader$3 ++sun/misc/CompoundEnumeration ++sun/misc/URLClassPath$JarLoader$1 ++sun/misc/FileURLMapper ++java/net/URLClassLoader$3$1 ++sun/util/resources/LocaleData ++sun/util/resources/LocaleData$1 ++sun/util/resources/LocaleData$LocaleDataResourceBundleControl ++sun/util/LocaleDataMetaInfo ++sun/text/resources/FormatData ++java/util/ResourceBundle$BundleReference ++sun/text/resources/FormatData_en ++sun/text/resources/FormatData_en_US ++java/text/DecimalFormatSymbols ++java/text/spi/DecimalFormatSymbolsProvider ++java/util/Currency ++java/util/Currency$1 ++java/util/spi/CurrencyNameProvider ++sun/util/resources/CurrencyNames ++sun/util/resources/LocaleNamesBundle ++sun/util/resources/OpenListResourceBundle ++sun/util/resources/CurrencyNames_en_US ++java/text/DecimalFormat ++java/text/FieldPosition ++java/text/DigitList ++java/math/RoundingMode ++java/util/regex/Pattern$GroupTail ++java/util/regex/Pattern$Ctype ++java/util/regex/Pattern$Ques ++java/util/regex/Pattern$GroupCurly ++java/util/regex/Pattern$5 ++java/util/regex/Pattern$Loop ++java/util/regex/Pattern$Prolog ++java/util/regex/Pattern$BranchConn ++java/util/regex/Pattern$Branch ++java/nio/channels/spi/AbstractInterruptibleChannel$1 ++sun/nio/ch/Interruptible ++sun/nio/ch/NativeThread ++sun/nio/ch/DirectBuffer ++java/nio/DirectByteBuffer ++java/nio/DirectByteBuffer$Deallocator ++sun/misc/Cleaner ++sun/nio/ch/IOStatus ++java/util/regex/ASCII ++java/io/DataInputStream ++java/io/DataInput ++java/lang/Short$ShortCache ++java/util/HashMap$KeyIterator ++sun/font/CompositeFontDescriptor ++sun/font/Font2DHandle ++sun/font/FontFamily ++java/awt/GraphicsDevice ++sun/awt/X11GraphicsDevice ++sun/awt/X11GraphicsConfig ++java/awt/GraphicsConfiguration ++java/awt/ImageCapabilities ++sun/java2d/x11/X11SurfaceData ++sun/java2d/SurfaceData ++java/awt/Transparency ++sun/java2d/DisposerTarget ++sun/java2d/InvalidPipeException ++java/lang/IllegalStateException ++sun/java2d/NullSurfaceData ++sun/java2d/loops/SurfaceType ++sun/awt/image/PixelConverter ++sun/awt/image/PixelConverter$Xrgb ++sun/awt/image/PixelConverter$Argb ++sun/awt/image/PixelConverter$ArgbPre ++sun/awt/image/PixelConverter$Xbgr ++sun/awt/image/PixelConverter$Rgba ++sun/awt/image/PixelConverter$RgbaPre ++sun/awt/image/PixelConverter$Ushort565Rgb ++sun/awt/image/PixelConverter$Ushort555Rgb ++sun/awt/image/PixelConverter$Ushort555Rgbx ++sun/awt/image/PixelConverter$Ushort4444Argb ++sun/awt/image/PixelConverter$ByteGray ++sun/awt/image/PixelConverter$UshortGray ++sun/awt/image/PixelConverter$Rgbx ++sun/awt/image/PixelConverter$Bgrx ++sun/awt/image/PixelConverter$ArgbBm ++java/awt/image/ColorModel ++java/awt/image/DirectColorModel ++java/awt/image/PackedColorModel ++java/awt/color/ColorSpace ++java/awt/color/ICC_Profile ++java/awt/color/ICC_ProfileRGB ++java/awt/color/ICC_Profile$1 ++java/awt/color/ICC_ColorSpace ++sun/java2d/pipe/NullPipe ++sun/java2d/pipe/PixelDrawPipe ++sun/java2d/pipe/PixelFillPipe ++sun/java2d/pipe/ShapeDrawPipe ++sun/java2d/pipe/TextPipe ++sun/java2d/pipe/DrawImagePipe ++java/awt/image/IndexColorModel ++sun/java2d/pipe/LoopPipe ++sun/java2d/pipe/OutlineTextRenderer ++sun/java2d/pipe/SolidTextRenderer ++sun/java2d/pipe/GlyphListLoopPipe ++sun/java2d/pipe/GlyphListPipe ++sun/java2d/pipe/AATextRenderer ++sun/java2d/pipe/LCDTextRenderer ++sun/java2d/pipe/AlphaColorPipe ++sun/java2d/pipe/CompositePipe ++sun/java2d/pipe/PixelToShapeConverter ++sun/java2d/pipe/TextRenderer ++sun/java2d/pipe/SpanClipRenderer ++sun/java2d/pipe/Region ++sun/java2d/pipe/RegionIterator ++sun/java2d/pipe/AlphaPaintPipe ++sun/java2d/pipe/SpanShapeRenderer$Composite ++sun/java2d/pipe/SpanShapeRenderer ++sun/java2d/pipe/GeneralCompositePipe ++sun/java2d/pipe/DrawImage ++sun/java2d/loops/RenderCache ++sun/java2d/loops/RenderCache$Entry ++sun/java2d/loops/XORComposite ++java/awt/Composite ++sun/font/X11TextRenderer ++sun/java2d/loops/GraphicsPrimitive ++sun/java2d/x11/X11PMBlitLoops ++sun/java2d/loops/Blit ++sun/java2d/loops/GraphicsPrimitiveMgr ++sun/java2d/loops/CompositeType ++sun/java2d/SunGraphics2D ++sun/awt/ConstrainableGraphics ++java/awt/Graphics2D ++java/awt/Graphics ++java/awt/Color ++java/awt/Paint ++java/awt/AlphaComposite ++sun/java2d/loops/BlitBg ++sun/java2d/loops/ScaledBlit ++sun/java2d/loops/FillRect ++sun/java2d/loops/FillSpans ++sun/java2d/loops/DrawLine ++sun/java2d/loops/DrawRect ++sun/java2d/loops/DrawPolygons ++sun/java2d/loops/DrawPath ++sun/java2d/loops/FillPath ++sun/java2d/loops/MaskBlit ++sun/java2d/loops/MaskFill ++sun/java2d/loops/DrawGlyphList ++sun/java2d/loops/DrawGlyphListAA ++sun/java2d/loops/DrawGlyphListLCD ++sun/java2d/loops/TransformHelper ++java/awt/BasicStroke ++java/awt/Stroke ++sun/misc/PerformanceLogger ++sun/misc/PerformanceLogger$TimeData ++sun/java2d/pipe/ValidatePipe ++sun/java2d/loops/CustomComponent ++sun/java2d/loops/GraphicsPrimitiveProxy ++sun/java2d/loops/GeneralRenderer ++sun/java2d/loops/GraphicsPrimitiveMgr$1 ++sun/java2d/loops/GraphicsPrimitiveMgr$2 ++sun/java2d/x11/X11PMBlitLoops$DelegateBlitLoop ++sun/java2d/x11/X11PMBlitBgLoops ++sun/java2d/x11/X11SurfaceData$LazyPipe ++sun/awt/X11GraphicsConfig$X11GCDisposerRecord ++sun/java2d/DisposerRecord ++java/awt/BorderLayout ++java/awt/LayoutManager2 ++java/awt/Rectangle ++java/awt/Toolkit$2 ++sun/awt/X11/XToolkit ++sun/awt/X11/XConstants ++sun/awt/UNIXToolkit ++java/util/TreeMap ++java/util/NavigableMap ++java/util/SortedMap ++sun/awt/X11/XlibWrapper ++sun/awt/X11/XUtilConstants ++sun/awt/X11/XProtocolConstants ++sun/awt/X11/XCursorFontConstants ++sun/awt/X11/XlibWrapper$1 ++sun/awt/X11/XToolkit$4 ++sun/awt/X11/XModifierKeymap ++sun/awt/X11/XWrapperBase ++sun/awt/X11/Native ++sun/awt/X11/Native$1 ++java/awt/EventQueue ++java/util/EmptyStackException ++java/lang/reflect/InvocationTargetException ++java/awt/EventDispatchThread ++java/awt/event/PaintEvent ++java/awt/event/MouseEvent ++sun/awt/PeerEvent ++java/awt/event/InvocationEvent ++java/awt/ActiveEvent ++sun/awt/X11/XToolkit$1 ++sun/awt/X11/XEventDispatcher ++sun/awt/SunToolkit$ModalityListenerList ++sun/awt/ModalityListener ++sun/awt/SunToolkit$1 ++java/util/MissingResourceException ++java/awt/Queue ++sun/awt/PostEventQueue ++java/util/LinkedList ++java/util/Deque ++java/util/Queue ++java/util/AbstractSequentialList ++sun/awt/X11/AwtScreenData ++sun/awt/X11/XWM ++sun/awt/X11/MWMConstants ++sun/awt/X11/XAtom ++java/awt/Insets ++sun/awt/X11/XWM$1 ++sun/awt/X11/XSetWindowAttributes ++sun/awt/X11/XErrorEvent ++sun/awt/X11/XNETProtocol ++sun/awt/X11/XStateProtocol ++sun/awt/X11/XLayerProtocol ++sun/awt/X11/XProtocol ++sun/awt/X11/WindowPropertyGetter ++sun/awt/X11/UnsafeXDisposerRecord ++sun/awt/X11/XPropertyCache ++sun/awt/X11/XWINProtocol ++sun/awt/X11/XAtomList ++sun/awt/X11/XToolkit$3 ++sun/awt/X11/XAnyEvent ++java/awt/Window$WindowDisposerRecord ++java/awt/KeyboardFocusManager ++java/awt/KeyEventDispatcher ++java/awt/KeyEventPostProcessor ++java/awt/AWTKeyStroke ++java/awt/AWTKeyStroke$1 ++java/awt/DefaultKeyboardFocusManager ++java/awt/DefaultFocusTraversalPolicy ++java/awt/ContainerOrderFocusTraversalPolicy ++java/awt/FocusTraversalPolicy ++java/util/Collections$UnmodifiableSet ++sun/awt/HeadlessToolkit ++sun/awt/X11/XKeyboardFocusManagerPeer ++java/awt/peer/KeyboardFocusManagerPeer ++sun/awt/X11/XKeyboardFocusManagerPeer$1 ++sun/awt/X11/XFramePeer ++java/awt/peer/FramePeer ++java/awt/peer/WindowPeer ++java/awt/peer/ContainerPeer ++java/awt/peer/ComponentPeer ++sun/awt/X11/XDecoratedPeer ++sun/awt/X11/XWindowPeer ++sun/awt/X11/XPanelPeer ++java/awt/peer/PanelPeer ++sun/awt/X11/XCanvasPeer ++java/awt/peer/CanvasPeer ++sun/awt/X11/XComponentPeer ++java/awt/dnd/peer/DropTargetPeer ++sun/awt/X11/XWindow ++sun/awt/X11ComponentPeer ++sun/awt/X11/XBaseWindow ++sun/awt/X11/XCreateWindowParams ++java/lang/Long$LongCache ++sun/awt/X11/XBaseWindow$InitialiseState ++sun/awt/X11/XBaseWindow$StateLock ++sun/awt/X11/AwtGraphicsConfigData ++sun/awt/X11/XVisualInfo ++java/awt/SystemColor ++sun/awt/X11/MotifColorUtilities ++java/lang/StrictMath ++sun/awt/X11/XRepaintArea ++sun/awt/RepaintArea ++sun/awt/X11/XWindowAttributesData ++java/util/concurrent/locks/LockSupport ++sun/awt/X11/WindowDimensions ++java/awt/Point ++java/util/TreeMap$Entry ++sun/nio/cs/UTF_8 ++sun/nio/cs/Unicode ++sun/nio/cs/UTF_8$Encoder ++sun/nio/cs/UTF_8$Decoder ++sun/nio/cs/Surrogate$Generator ++sun/awt/X11/XPropertyEvent ++sun/awt/X11/XDropTargetEventProcessor ++sun/awt/X11/XDragSourceContextPeer ++sun/awt/X11/XDragSourceProtocolListener ++sun/awt/dnd/SunDragSourceContextPeer ++java/awt/dnd/peer/DragSourceContextPeer ++sun/awt/X11/XAwtState ++sun/awt/X11/XBaseWindow$1 ++sun/awt/X11/XRootWindow ++sun/nio/cs/ISO_8859_1 ++sun/nio/cs/ISO_8859_1$Encoder ++sun/nio/cs/ISO_8859_1$Decoder ++sun/java2d/x11/X11SurfaceData$X11WindowSurfaceData ++sun/java2d/loops/RenderLoops ++sun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec ++sun/java2d/DefaultDisposerRecord ++sun/java2d/x11/X11Renderer ++sun/awt/X11/XGlobalCursorManager ++sun/awt/GlobalCursorManager ++java/awt/Cursor$CursorDisposer ++java/awt/AWTException ++java/awt/HeadlessException ++java/lang/UnsupportedOperationException ++sun/reflect/UnsafeLongFieldAccessorImpl ++sun/reflect/UnsafeIntegerFieldAccessorImpl ++sun/awt/X11/XClientMessageEvent ++sun/awt/X11/XIconInfo ++sun/awt/X11/XAWTIcon32_java_icon16_png ++sun/awt/X11/XAWTIcon32_java_icon24_png ++sun/awt/X11/XAWTIcon32_java_icon32_png ++sun/awt/X11/XAWTIcon32_java_icon48_png ++sun/awt/X11/XSizeHints ++sun/awt/X11/XContentWindow ++sun/awt/X11/XFocusProxyWindow ++sun/awt/X11/XWMHints ++java/util/LinkedList$ListItr ++java/util/ListIterator ++sun/awt/SunToolkit$2 ++java/awt/image/BufferStrategy ++java/awt/dnd/DropTarget ++java/awt/dnd/DropTargetListener ++java/awt/event/ComponentListener ++java/awt/event/FocusListener ++java/awt/event/HierarchyListener ++java/awt/event/HierarchyBoundsListener ++java/awt/event/KeyListener ++java/awt/event/MouseListener ++java/awt/event/MouseMotionListener ++java/awt/event/MouseWheelListener ++java/awt/event/InputMethodListener ++java/awt/event/ContainerListener ++javax/accessibility/AccessibleContext ++sun/reflect/UnsafeObjectFieldAccessorImpl ++java/awt/peer/LightweightPeer ++sun/awt/X11/XLabelPeer ++java/awt/peer/LabelPeer ++sun/awt/X11/XMapEvent ++sun/awt/X11/XQueryTree ++sun/awt/X11/XConfigureEvent ++sun/awt/X11/PropMwmHints ++sun/awt/GlobalCursorManager$NativeUpdater ++javax/swing/JFrame ++javax/swing/WindowConstants ++javax/swing/RootPaneContainer ++javax/swing/TransferHandler$HasGetTransferHandler ++javax/swing/JLabel ++javax/swing/SwingConstants ++javax/swing/JComponent ++javax/swing/JComponent$1 ++javax/swing/SwingUtilities ++javax/swing/JRootPane ++sun/security/action/GetBooleanAction ++javax/swing/event/EventListenerList ++javax/swing/JPanel ++java/awt/FlowLayout ++javax/swing/UIManager ++javax/swing/UIManager$LookAndFeelInfo ++sun/swing/SwingUtilities2 ++sun/swing/SwingUtilities2$LSBCacheEntry ++javax/swing/UIManager$LAFState ++javax/swing/UIDefaults ++javax/swing/MultiUIDefaults ++javax/swing/UIManager$1 ++javax/swing/plaf/metal/MetalLookAndFeel ++javax/swing/plaf/basic/BasicLookAndFeel ++javax/swing/LookAndFeel ++sun/swing/DefaultLookup ++javax/swing/plaf/metal/OceanTheme ++javax/swing/plaf/metal/DefaultMetalTheme ++javax/swing/plaf/metal/MetalTheme ++javax/swing/plaf/ColorUIResource ++javax/swing/plaf/UIResource ++sun/swing/PrintColorUIResource ++javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate ++javax/swing/plaf/FontUIResource ++sun/swing/SwingLazyValue ++javax/swing/UIDefaults$LazyValue ++javax/swing/UIDefaults$ActiveValue ++javax/swing/plaf/InsetsUIResource ++sun/swing/SwingUtilities2$2 ++javax/swing/plaf/basic/BasicLookAndFeel$2 ++javax/swing/plaf/DimensionUIResource ++javax/swing/UIDefaults$LazyInputMap ++java/lang/Character$CharacterCache ++javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue ++javax/swing/plaf/metal/MetalLookAndFeel$FontActiveValue ++java/awt/print/PrinterJob ++sun/swing/SwingUtilities2$AATextInfo ++sun/awt/X11/XAWTXSettings ++sun/awt/X11/XMSelectionListener ++sun/awt/XSettings ++sun/awt/X11/XMSelection ++sun/awt/X11/XMSelection$1 ++javax/swing/plaf/metal/MetalLookAndFeel$AATextListener ++java/beans/PropertyChangeListener ++java/beans/PropertyChangeListenerProxy ++java/util/EventListenerProxy ++sun/awt/EventListenerAggregate ++javax/swing/UIDefaults$ProxyLazyValue ++javax/swing/plaf/metal/OceanTheme$1 ++javax/swing/plaf/metal/OceanTheme$2 ++javax/swing/plaf/metal/OceanTheme$3 ++javax/swing/plaf/metal/OceanTheme$4 ++javax/swing/plaf/metal/OceanTheme$5 ++javax/swing/plaf/metal/OceanTheme$6 ++javax/swing/RepaintManager ++javax/swing/RepaintManager$DisplayChangedHandler ++javax/swing/SwingPaintEventDispatcher ++sun/awt/PaintEventDispatcher ++javax/swing/UIManager$2 ++java/awt/PopupMenu ++java/awt/Menu ++java/awt/MenuItem ++java/awt/MenuComponent ++java/io/ObjectOutputStream ++java/io/ObjectOutput ++java/io/DataOutput ++java/io/ObjectStreamConstants ++java/io/PrintWriter ++java/io/ObjectInputStream ++java/io/ObjectInput ++java/awt/Event ++java/awt/im/InputContext ++java/awt/event/MouseWheelEvent ++java/awt/BufferCapabilities ++sun/awt/CausedFocusEvent$Cause ++java/awt/PointerInfo ++java/awt/Component$BaselineResizeBehavior ++java/awt/FontMetrics ++java/awt/Image ++java/awt/image/ImageProducer ++java/awt/image/VolatileImage ++java/awt/im/InputMethodRequests ++java/awt/event/FocusEvent ++java/awt/event/InputMethodEvent ++java/awt/event/HierarchyEvent ++javax/accessibility/AccessibleStateSet ++com/sun/swing/internal/plaf/metal/resources/metal ++sun/util/ResourceBundleEnumeration ++com/sun/swing/internal/plaf/basic/resources/basic ++javax/swing/plaf/basic/BasicPanelUI ++javax/swing/plaf/PanelUI ++javax/swing/plaf/ComponentUI ++sun/reflect/misc/MethodUtil ++sun/reflect/misc/MethodUtil$1 ++java/util/jar/JarFile ++java/util/zip/ZipFile ++java/util/zip/ZipConstants ++java/util/jar/JavaUtilJarAccessImpl ++sun/misc/JavaUtilJarAccess ++sun/misc/JarIndex ++java/util/zip/ZipEntry ++java/util/jar/JarFile$JarFileEntry ++java/util/jar/JarEntry ++sun/misc/URLClassPath$JarLoader$2 ++sun/net/www/protocol/jar/JarURLConnection ++java/net/JarURLConnection ++sun/net/www/protocol/jar/JarFileFactory ++sun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController ++java/net/HttpURLConnection ++sun/net/www/protocol/jar/URLJarFile ++sun/net/www/protocol/jar/URLJarFile$URLJarFileEntry ++sun/net/www/protocol/jar/JarURLConnection$JarURLInputStream ++java/util/zip/ZipFile$ZipFileInputStream ++java/security/AllPermissionCollection ++java/lang/IllegalAccessException ++javax/swing/JPasswordField ++javax/swing/JTextField ++javax/swing/text/JTextComponent ++javax/swing/Scrollable ++javax/swing/JLayeredPane ++javax/swing/JRootPane$1 ++javax/swing/ArrayTable ++javax/swing/JInternalFrame ++javax/swing/JRootPane$RootLayout ++javax/swing/BufferStrategyPaintManager ++javax/swing/RepaintManager$PaintManager ++javax/swing/plaf/metal/MetalRootPaneUI ++javax/swing/plaf/basic/BasicRootPaneUI ++javax/swing/plaf/RootPaneUI ++javax/swing/plaf/basic/BasicRootPaneUI$RootPaneInputMap ++javax/swing/plaf/ComponentInputMapUIResource ++javax/swing/ComponentInputMap ++javax/swing/InputMap ++javax/swing/plaf/InputMapUIResource ++javax/swing/KeyStroke ++java/awt/VKCollection ++sun/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl ++javax/swing/plaf/basic/LazyActionMap ++javax/swing/plaf/ActionMapUIResource ++javax/swing/ActionMap ++javax/swing/LayoutFocusTraversalPolicy ++javax/swing/SortingFocusTraversalPolicy ++javax/swing/InternalFrameFocusTraversalPolicy ++javax/swing/SwingContainerOrderFocusTraversalPolicy ++javax/swing/SwingDefaultFocusTraversalPolicy ++javax/swing/LayoutComparator ++javax/swing/plaf/metal/MetalLabelUI ++javax/swing/plaf/basic/BasicLabelUI ++javax/swing/plaf/LabelUI ++javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate$1 ++javax/swing/plaf/basic/BasicHTML ++sun/awt/NullComponentPeer ++java/awt/event/WindowEvent ++java/awt/EventQueue$1 ++java/awt/EventDispatchThread$1 ++java/awt/Conditional ++java/awt/EventDispatchThread$HierarchyEventFilter ++java/awt/EventFilter$FilterAction ++sun/awt/dnd/SunDropTargetEvent ++java/awt/event/ActionEvent ++java/util/jar/Manifest ++java/io/ByteArrayInputStream ++java/util/jar/Attributes ++java/util/jar/Manifest$FastInputStream ++java/util/jar/Attributes$Name ++sun/misc/ASCIICaseInsensitiveComparator ++java/util/jar/JarVerifier ++java/io/ByteArrayOutputStream ++sun/misc/ExtensionDependency ++java/lang/Package ++sun/security/util/ManifestEntryVerifier ++java/security/Provider ++java/security/Provider$ServiceKey ++java/security/Provider$EngineDescription ++java/security/Security ++java/security/Security$1 ++sun/misc/FloatingDecimal ++sun/misc/FloatingDecimal$1 ++sun/security/provider/NativePRNG ++java/security/SecureRandomSpi ++sun/security/provider/NativePRNG$1 ++sun/security/provider/NativePRNG$RandomIO ++sun/misc/BASE64Decoder ++sun/misc/CharacterDecoder ++sun/security/util/SignatureFileVerifier ++java/awt/event/KeyAdapter ++java/lang/NumberFormatException ++java/lang/IllegalArgumentException ++java/io/FileWriter ++java/net/Authenticator ++java/net/MalformedURLException ++javax/swing/text/Element ++javax/swing/text/Document ++javax/swing/text/PlainDocument ++javax/swing/text/AbstractDocument ++javax/swing/text/GapContent ++javax/swing/text/AbstractDocument$Content ++javax/swing/text/GapVector ++javax/swing/text/GapContent$MarkVector ++javax/swing/text/GapContent$MarkData ++javax/swing/text/StyleContext ++javax/swing/text/AbstractDocument$AttributeContext ++javax/swing/text/StyleConstants ++javax/swing/text/StyleConstants$CharacterConstants ++javax/swing/text/AttributeSet$CharacterAttribute ++javax/swing/text/StyleConstants$FontConstants ++javax/swing/text/AttributeSet$FontAttribute ++javax/swing/text/StyleConstants$ColorConstants ++javax/swing/text/AttributeSet$ColorAttribute ++javax/swing/text/StyleConstants$ParagraphConstants ++javax/swing/text/AttributeSet$ParagraphAttribute ++javax/swing/text/StyleContext$FontKey ++javax/swing/text/SimpleAttributeSet ++javax/swing/text/MutableAttributeSet ++javax/swing/text/AttributeSet ++javax/swing/text/SimpleAttributeSet$EmptyAttributeSet ++javax/swing/text/StyleContext$NamedStyle ++javax/swing/text/Style ++javax/swing/text/StyleContext$SmallAttributeSet ++javax/swing/text/AbstractDocument$BidiRootElement ++javax/swing/text/AbstractDocument$BranchElement ++javax/swing/text/AbstractDocument$AbstractElement ++javax/swing/tree/TreeNode ++javax/swing/text/AbstractDocument$1 ++javax/swing/text/AbstractDocument$BidiElement ++javax/swing/text/AbstractDocument$LeafElement ++javax/swing/text/GapContent$StickyPosition ++javax/swing/text/Position ++javax/swing/text/StyleContext$KeyEnumeration ++javax/swing/text/GapContent$InsertUndo ++javax/swing/undo/AbstractUndoableEdit ++javax/swing/undo/UndoableEdit ++javax/swing/text/AbstractDocument$DefaultDocumentEvent ++javax/swing/event/DocumentEvent ++javax/swing/undo/CompoundEdit ++javax/swing/event/DocumentEvent$EventType ++javax/swing/text/Segment ++java/text/CharacterIterator ++javax/swing/text/Utilities ++javax/swing/text/SegmentCache ++javax/swing/text/SegmentCache$CachedSegment ++javax/swing/event/UndoableEditEvent ++javax/swing/text/AbstractDocument$ElementEdit ++javax/swing/event/DocumentEvent$ElementChange ++java/net/Socket ++java/net/InetAddress ++java/net/InetAddress$Cache ++java/net/InetAddress$Cache$Type ++java/net/InetAddressImplFactory ++java/net/Inet4AddressImpl ++java/net/InetAddressImpl ++java/net/InetAddress$1 ++sun/net/spi/nameservice/NameService ++sun/net/util/IPAddressUtil ++java/util/RandomAccessSubList ++java/util/SubList ++java/util/SubList$1 ++java/util/AbstractList$ListItr ++java/net/Inet4Address ++java/net/InetSocketAddress ++java/net/SocketAddress ++java/net/SocksSocketImpl ++java/net/SocksConsts ++java/net/PlainSocketImpl ++java/net/SocketImpl ++java/net/SocketOptions ++java/net/SocketException ++java/net/SocksSocketImpl$5 ++java/net/ProxySelector ++sun/net/spi/DefaultProxySelector ++sun/net/spi/DefaultProxySelector$1 ++sun/net/NetProperties ++sun/net/NetProperties$1 ++sun/net/spi/DefaultProxySelector$NonProxyInfo ++java/net/Inet6Address ++java/net/URI ++java/net/URI$Parser ++java/net/Proxy ++java/net/Proxy$Type ++java/net/ConnectException ++javax/swing/JMenu ++javax/swing/MenuElement ++javax/swing/JMenuItem ++javax/swing/AbstractButton ++java/awt/ItemSelectable ++javax/swing/event/MenuListener ++javax/swing/JCheckBoxMenuItem ++javax/swing/Icon ++javax/swing/JButton ++java/awt/event/WindowListener ++java/net/URLClassLoader$2 ++javax/swing/ImageIcon ++javax/swing/ImageIcon$1 ++java/awt/MediaTracker ++sun/misc/SoftCache$ValueCell ++sun/awt/image/URLImageSource ++sun/awt/image/InputStreamImageSource ++sun/awt/image/ImageFetchable ++sun/awt/image/ToolkitImage ++java/awt/Image$1 ++sun/awt/image/SurfaceManager$ImageAccessor ++sun/awt/image/SurfaceManager ++sun/awt/image/NativeLibLoader ++java/awt/ImageMediaEntry ++java/awt/MediaEntry ++sun/awt/image/ImageRepresentation ++java/awt/image/ImageConsumer ++sun/awt/image/ImageWatched ++sun/awt/image/ImageWatched$Link ++sun/awt/image/ImageWatched$WeakLink ++sun/awt/image/ImageConsumerQueue ++sun/awt/image/ImageFetcher ++sun/awt/image/FetcherInfo ++sun/awt/image/ImageFetcher$1 ++sun/awt/image/GifImageDecoder ++sun/awt/image/ImageDecoder ++sun/awt/image/GifFrame ++java/awt/image/Raster ++java/awt/image/DataBufferByte ++java/awt/image/DataBuffer ++java/awt/image/PixelInterleavedSampleModel ++java/awt/image/ComponentSampleModel ++java/awt/image/SampleModel ++sun/awt/image/ByteInterleavedRaster ++sun/awt/image/ByteComponentRaster ++sun/awt/image/SunWritableRaster ++java/awt/image/WritableRaster ++java/awt/image/BufferedImage ++java/awt/image/WritableRenderedImage ++java/awt/image/RenderedImage ++sun/awt/image/IntegerComponentRaster ++sun/awt/image/BytePackedRaster ++java/awt/Canvas ++sun/font/FontDesignMetrics ++sun/font/FontStrikeDesc ++sun/font/CompositeStrike ++sun/font/FontStrikeDisposer ++sun/font/StrikeCache$SoftDisposerRef ++sun/font/StrikeCache$DisposableStrike ++sun/font/TrueTypeFont$TTDisposerRecord ++sun/font/TrueTypeFont$1 ++java/io/RandomAccessFile ++java/nio/ByteBufferAsIntBufferB ++java/nio/IntBuffer ++sun/font/TrueTypeFont$DirectoryEntry ++java/nio/ByteBufferAsShortBufferB ++java/nio/ShortBuffer ++sun/nio/cs/UTF_16 ++sun/nio/cs/UTF_16$Decoder ++sun/nio/cs/UnicodeDecoder ++sun/font/FileFontStrike ++sun/font/TrueTypeGlyphMapper ++sun/font/CMap ++sun/font/CMap$NullCMapClass ++sun/font/CMap$CMapFormat4 ++java/nio/ByteBufferAsCharBufferB ++sun/font/FontDesignMetrics$KeyReference ++sun/awt/image/PNGImageDecoder ++sun/awt/image/PNGFilterInputStream ++java/util/zip/InflaterInputStream ++java/util/zip/Inflater ++sun/awt/EventQueueItem ++sun/awt/SunToolkit$3 ++sun/awt/X11/XExposeEvent ++sun/reflect/UnsafeBooleanFieldAccessorImpl ++sun/awt/event/IgnorePaintEvent ++java/awt/image/DataBufferInt ++java/awt/image/SinglePixelPackedSampleModel ++sun/awt/image/IntegerInterleavedRaster ++sun/awt/image/OffScreenImage ++sun/awt/image/BufImgSurfaceData ++sun/java2d/opengl/GLXGraphicsConfig ++sun/java2d/opengl/OGLGraphicsConfig ++sun/java2d/x11/X11SurfaceData$X11PixmapSurfaceData ++sun/awt/image/WritableRasterNative ++sun/awt/image/DataBufferNative ++sun/java2d/SurfaceManagerFactory ++sun/java2d/opengl/GLXSurfaceData ++sun/java2d/opengl/OGLSurfaceData ++sun/font/CompositeGlyphMapper ++sun/java2d/loops/FontInfo ++java/util/Date ++sun/util/calendar/CalendarSystem ++sun/util/calendar/Gregorian ++sun/util/calendar/BaseCalendar ++sun/util/calendar/AbstractCalendar ++java/util/TimeZone ++java/lang/InheritableThreadLocal ++sun/util/calendar/ZoneInfo ++sun/util/calendar/ZoneInfoFile ++sun/util/calendar/ZoneInfoFile$1 ++java/util/TimeZone$1 ++sun/util/calendar/Gregorian$Date ++sun/util/calendar/BaseCalendar$Date ++sun/util/calendar/CalendarDate ++sun/util/calendar/CalendarUtils ++java/util/TimeZone$DisplayNames ++sun/util/TimeZoneNameUtility ++sun/util/resources/TimeZoneNames ++sun/util/resources/TimeZoneNamesBundle ++sun/util/resources/TimeZoneNames_en ++java/util/spi/TimeZoneNameProvider ++java/lang/ProcessBuilder ++java/lang/ProcessImpl ++java/lang/UNIXProcess ++java/lang/Process ++java/lang/UNIXProcess$1 ++java/net/ServerSocket ++java/util/Random ++java/util/concurrent/atomic/AtomicLong ++java/lang/InternalError ++java/io/StringReader ++java/lang/SecurityException ++java/io/FilterReader ++java/lang/reflect/Proxy ++java/lang/reflect/InvocationHandler ++java/lang/NoSuchFieldException ++java/lang/InstantiationException ++java/lang/ArrayIndexOutOfBoundsException ++java/lang/IndexOutOfBoundsException ++javax/swing/JDialog ++sun/awt/X11/XClipboard ++sun/awt/datatransfer/SunClipboard ++java/awt/datatransfer/Clipboard ++java/awt/datatransfer/SystemFlavorMap ++java/awt/datatransfer/FlavorMap ++java/awt/datatransfer/FlavorTable ++java/awt/datatransfer/SystemFlavorMap$1 ++sun/net/ProgressMonitor ++sun/net/DefaultProgressMeteringPolicy ++sun/net/ProgressMeteringPolicy ++java/awt/datatransfer/SystemFlavorMap$2 ++java/awt/datatransfer/MimeType ++java/io/Externalizable ++java/awt/datatransfer/MimeTypeParameterList ++sun/awt/datatransfer/DataTransferer ++java/util/Collections$SynchronizedSet ++java/util/Collections$SynchronizedCollection ++java/awt/datatransfer/DataFlavor ++java/awt/datatransfer/DataFlavor$1 ++sun/awt/datatransfer/DataTransferer$CharsetComparator ++sun/awt/datatransfer/DataTransferer$IndexedComparator ++sun/nio/cs/UTF_16LE ++sun/nio/cs/UTF_16BE ++sun/awt/datatransfer/DataTransferer$DataFlavorComparator ++java/rmi/Remote ++sun/awt/datatransfer/DataTransferer$1 ++sun/awt/X11/XDataTransferer ++sun/awt/datatransfer/ToolkitThreadBlockedHandler ++javax/imageio/ImageTypeSpecifier ++sun/awt/X11/XSelection ++sun/security/action/GetIntegerAction ++sun/awt/X11/XSelection$IncrementalTransferHandler ++sun/awt/X11/XSelection$SelectionEventHandler ++java/awt/datatransfer/Transferable ++java/io/EOFException ++java/util/Vector$1 ++java/util/zip/ZipFile$1 ++java/util/zip/ZipFile$2 ++java/util/jar/JarFile$1 ++java/util/PropertyResourceBundle ++java/util/ResourceBundle$Control$1 ++java/util/Hashtable$EntrySet ++java/lang/IllegalAccessError ++java/text/MessageFormat ++java/text/MessageFormat$Field ++java/text/Format$Field ++java/lang/CloneNotSupportedException ++sun/reflect/MethodAccessorGenerator ++sun/reflect/AccessorGenerator ++sun/reflect/ClassFileConstants ++java/lang/Void ++sun/reflect/ByteVectorFactory ++sun/reflect/ByteVectorImpl ++sun/reflect/ByteVector ++sun/reflect/ClassFileAssembler ++sun/reflect/UTF8 ++sun/reflect/Label ++sun/reflect/Label$PatchInfo ++sun/reflect/MethodAccessorGenerator$1 ++sun/reflect/ClassDefiner ++sun/reflect/ClassDefiner$1 ++sun/reflect/BootstrapConstructorAccessorImpl ++java/awt/event/ActionListener ++javax/swing/Timer ++javax/swing/Timer$DoPostEvent ++javax/swing/TimerQueue ++javax/swing/TimerQueue$1 ++javax/swing/ToolTipManager ++java/awt/event/MouseAdapter ++javax/swing/ToolTipManager$insideTimerAction ++javax/swing/ToolTipManager$outsideTimerAction ++javax/swing/ToolTipManager$stillInsideTimerAction ++sun/swing/UIAction ++javax/swing/Action ++javax/swing/ToolTipManager$MoveBeforeEnterListener ++java/awt/event/MouseMotionAdapter ++java/util/Hashtable$ValueCollection ++javax/swing/event/CaretListener ++javax/swing/JToolBar ++javax/swing/JSplitPane ++javax/swing/border/Border ++javax/swing/JToggleButton ++javax/swing/border/EmptyBorder ++javax/swing/border/AbstractBorder ++javax/swing/DefaultButtonModel ++javax/swing/ButtonModel ++javax/swing/AbstractButton$Handler ++javax/swing/event/ChangeListener ++java/awt/event/ItemListener ++javax/swing/plaf/metal/MetalButtonUI ++javax/swing/plaf/basic/BasicButtonUI ++javax/swing/plaf/ButtonUI ++javax/swing/plaf/metal/MetalBorders ++javax/swing/plaf/BorderUIResource$CompoundBorderUIResource ++javax/swing/border/CompoundBorder ++javax/swing/plaf/metal/MetalBorders$ButtonBorder ++javax/swing/plaf/basic/BasicBorders$MarginBorder ++javax/swing/plaf/basic/BasicButtonListener ++java/awt/AWTEventMulticaster ++java/awt/event/WindowFocusListener ++java/awt/event/WindowStateListener ++java/awt/event/AdjustmentListener ++java/awt/event/TextListener ++javax/swing/event/AncestorListener ++java/beans/VetoableChangeListener ++javax/swing/ButtonGroup ++javax/swing/JToggleButton$ToggleButtonModel ++javax/swing/plaf/metal/MetalToggleButtonUI ++javax/swing/plaf/basic/BasicToggleButtonUI ++javax/swing/plaf/metal/MetalBorders$ToggleButtonBorder ++java/awt/CardLayout ++javax/swing/Box ++javax/swing/plaf/metal/MetalBorders$TextFieldBorder ++javax/swing/plaf/metal/MetalBorders$Flush3DBorder ++javax/swing/BoxLayout ++javax/swing/JMenuBar ++javax/swing/DefaultSingleSelectionModel ++javax/swing/SingleSelectionModel ++javax/swing/plaf/basic/BasicMenuBarUI ++javax/swing/plaf/MenuBarUI ++javax/swing/plaf/basic/DefaultMenuLayout ++javax/swing/plaf/metal/MetalBorders$MenuBarBorder ++javax/swing/plaf/basic/BasicMenuBarUI$Handler ++javax/swing/KeyboardManager ++javax/swing/event/MenuEvent ++javax/swing/JMenu$MenuChangeListener ++javax/swing/JMenuItem$MenuItemFocusListener ++javax/swing/plaf/basic/BasicMenuUI ++javax/swing/plaf/basic/BasicMenuItemUI ++javax/swing/plaf/MenuItemUI ++javax/swing/plaf/metal/MetalBorders$MenuItemBorder ++javax/swing/plaf/metal/MetalIconFactory ++javax/swing/plaf/metal/MetalIconFactory$MenuArrowIcon ++javax/swing/plaf/basic/BasicMenuUI$Handler ++javax/swing/event/MenuKeyListener ++javax/swing/plaf/basic/BasicMenuItemUI$Handler ++javax/swing/event/MenuDragMouseListener ++javax/swing/event/MouseInputListener ++javax/swing/event/ChangeEvent ++java/awt/event/ContainerEvent ++javax/swing/plaf/metal/MetalIconFactory$MenuItemArrowIcon ++javax/swing/JPopupMenu ++javax/swing/plaf/basic/BasicPopupMenuUI ++javax/swing/plaf/PopupMenuUI ++javax/swing/plaf/basic/BasicLookAndFeel$AWTEventHelper ++java/awt/event/AWTEventListenerProxy ++java/awt/Toolkit$SelectiveAWTEventListener ++java/awt/Toolkit$ToolkitEventMulticaster ++javax/swing/plaf/basic/BasicLookAndFeel$1 ++javax/swing/plaf/metal/MetalBorders$PopupMenuBorder ++javax/swing/plaf/basic/BasicPopupMenuUI$BasicPopupMenuListener ++javax/swing/event/PopupMenuListener ++javax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener ++javax/swing/plaf/basic/BasicPopupMenuUI$MouseGrabber ++javax/swing/MenuSelectionManager ++javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper ++javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper$1 ++java/awt/event/FocusAdapter ++javax/swing/JMenu$WinListener ++java/awt/event/WindowAdapter ++javax/swing/JPopupMenu$Separator ++javax/swing/JSeparator ++javax/swing/plaf/metal/MetalPopupMenuSeparatorUI ++javax/swing/plaf/metal/MetalSeparatorUI ++javax/swing/plaf/basic/BasicSeparatorUI ++javax/swing/plaf/SeparatorUI ++javax/swing/JComboBox ++javax/swing/event/ListDataListener ++javax/swing/event/CaretEvent ++javax/swing/text/TabExpander ++javax/swing/JScrollBar ++java/awt/Adjustable ++javax/swing/event/MouseInputAdapter ++javax/swing/JScrollBar$ModelListener ++javax/swing/DefaultBoundedRangeModel ++javax/swing/BoundedRangeModel ++javax/swing/plaf/metal/MetalScrollBarUI ++javax/swing/plaf/basic/BasicScrollBarUI ++javax/swing/plaf/ScrollBarUI ++javax/swing/plaf/metal/MetalBumps ++javax/swing/plaf/metal/MetalScrollButton ++javax/swing/plaf/basic/BasicArrowButton ++javax/swing/plaf/basic/BasicScrollBarUI$TrackListener ++javax/swing/plaf/basic/BasicScrollBarUI$ArrowButtonListener ++javax/swing/plaf/basic/BasicScrollBarUI$ModelListener ++javax/swing/plaf/metal/MetalScrollBarUI$ScrollBarListener ++javax/swing/plaf/basic/BasicScrollBarUI$PropertyChangeHandler ++javax/swing/plaf/basic/BasicScrollBarUI$Handler ++javax/swing/plaf/basic/BasicScrollBarUI$ScrollListener ++javax/swing/CellRendererPane ++java/util/HashMap$EntryIterator ++javax/swing/border/MatteBorder ++sun/font/StandardGlyphVector ++java/awt/font/GlyphVector ++sun/font/StandardGlyphVector$GlyphStrike ++sun/font/CoreMetrics ++sun/font/FontLineMetrics ++java/awt/font/LineMetrics ++javax/swing/ComboBoxModel ++javax/swing/ListModel ++javax/swing/ListCellRenderer ++javax/swing/DefaultComboBoxModel ++javax/swing/MutableComboBoxModel ++javax/swing/AbstractListModel ++javax/swing/JComboBox$1 ++javax/swing/AncestorNotifier ++javax/swing/plaf/metal/MetalComboBoxUI ++javax/swing/plaf/basic/BasicComboBoxUI ++javax/swing/plaf/ComboBoxUI ++javax/swing/plaf/metal/MetalComboBoxUI$MetalComboBoxLayoutManager ++javax/swing/plaf/basic/BasicComboBoxUI$ComboBoxLayoutManager ++javax/swing/plaf/basic/BasicComboPopup ++javax/swing/plaf/basic/ComboPopup ++javax/swing/plaf/basic/BasicComboPopup$EmptyListModelClass ++javax/swing/border/LineBorder ++javax/swing/plaf/basic/BasicComboPopup$1 ++javax/swing/JList ++javax/swing/DropMode ++javax/swing/DefaultListSelectionModel ++javax/swing/ListSelectionModel ++javax/swing/plaf/basic/BasicListUI ++javax/swing/plaf/ListUI ++javax/swing/plaf/basic/BasicListUI$ListTransferHandler ++javax/swing/TransferHandler ++javax/swing/TransferHandler$TransferAction ++javax/swing/DefaultListCellRenderer$UIResource ++javax/swing/DefaultListCellRenderer ++javax/swing/TransferHandler$SwingDropTarget ++java/awt/dnd/DropTargetContext ++javax/swing/TransferHandler$DropHandler ++javax/swing/TransferHandler$TransferSupport ++javax/swing/plaf/basic/BasicListUI$Handler ++javax/swing/event/ListSelectionListener ++javax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag ++javax/swing/plaf/basic/BasicComboPopup$Handler ++javax/swing/JScrollPane ++javax/swing/ScrollPaneConstants ++javax/swing/ScrollPaneLayout$UIResource ++javax/swing/ScrollPaneLayout ++javax/swing/JViewport ++javax/swing/ViewportLayout ++javax/swing/plaf/basic/BasicViewportUI ++javax/swing/plaf/ViewportUI ++javax/swing/JScrollPane$ScrollBar ++javax/swing/JViewport$ViewListener ++java/awt/event/ComponentAdapter ++javax/swing/plaf/metal/MetalScrollPaneUI ++javax/swing/plaf/basic/BasicScrollPaneUI ++javax/swing/plaf/ScrollPaneUI ++javax/swing/plaf/metal/MetalBorders$ScrollPaneBorder ++javax/swing/plaf/basic/BasicScrollPaneUI$Handler ++javax/swing/plaf/metal/MetalScrollPaneUI$1 ++javax/swing/plaf/basic/BasicComboBoxRenderer$UIResource ++javax/swing/plaf/basic/BasicComboBoxRenderer ++javax/swing/plaf/metal/MetalComboBoxEditor$UIResource ++javax/swing/plaf/metal/MetalComboBoxEditor ++javax/swing/plaf/basic/BasicComboBoxEditor ++javax/swing/ComboBoxEditor ++javax/swing/plaf/basic/BasicComboBoxEditor$BorderlessTextField ++javax/swing/JTextField$NotifyAction ++javax/swing/text/TextAction ++javax/swing/AbstractAction ++javax/swing/text/JTextComponent$MutableCaretEvent ++javax/swing/plaf/metal/MetalTextFieldUI ++javax/swing/plaf/basic/BasicTextFieldUI ++javax/swing/plaf/basic/BasicTextUI ++javax/swing/text/ViewFactory ++javax/swing/plaf/TextUI ++javax/swing/plaf/basic/BasicTextUI$BasicCursor ++javax/swing/text/DefaultEditorKit ++javax/swing/text/EditorKit ++javax/swing/text/DefaultEditorKit$InsertContentAction ++javax/swing/text/DefaultEditorKit$DeletePrevCharAction ++javax/swing/text/DefaultEditorKit$DeleteNextCharAction ++javax/swing/text/DefaultEditorKit$ReadOnlyAction ++javax/swing/text/DefaultEditorKit$DeleteWordAction ++javax/swing/text/DefaultEditorKit$WritableAction ++javax/swing/text/DefaultEditorKit$CutAction ++javax/swing/text/DefaultEditorKit$CopyAction ++javax/swing/text/DefaultEditorKit$PasteAction ++javax/swing/text/DefaultEditorKit$VerticalPageAction ++javax/swing/text/DefaultEditorKit$PageAction ++javax/swing/text/DefaultEditorKit$InsertBreakAction ++javax/swing/text/DefaultEditorKit$BeepAction ++javax/swing/text/DefaultEditorKit$NextVisualPositionAction ++javax/swing/text/DefaultEditorKit$BeginWordAction ++javax/swing/text/DefaultEditorKit$EndWordAction ++javax/swing/text/DefaultEditorKit$PreviousWordAction ++javax/swing/text/DefaultEditorKit$NextWordAction ++javax/swing/text/DefaultEditorKit$BeginLineAction ++javax/swing/text/DefaultEditorKit$EndLineAction ++javax/swing/text/DefaultEditorKit$BeginParagraphAction ++javax/swing/text/DefaultEditorKit$EndParagraphAction ++javax/swing/text/DefaultEditorKit$BeginAction ++javax/swing/text/DefaultEditorKit$EndAction ++javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction ++javax/swing/text/DefaultEditorKit$InsertTabAction ++javax/swing/text/DefaultEditorKit$SelectWordAction ++javax/swing/text/DefaultEditorKit$SelectLineAction ++javax/swing/text/DefaultEditorKit$SelectParagraphAction ++javax/swing/text/DefaultEditorKit$SelectAllAction ++javax/swing/text/DefaultEditorKit$UnselectAction ++javax/swing/text/DefaultEditorKit$ToggleComponentOrientationAction ++javax/swing/text/DefaultEditorKit$DumpModelAction ++javax/swing/plaf/basic/BasicTextUI$TextTransferHandler ++javax/swing/text/Position$Bias ++javax/swing/plaf/basic/BasicTextUI$RootView ++javax/swing/text/View ++javax/swing/plaf/basic/BasicTextUI$UpdateHandler ++javax/swing/event/DocumentListener ++javax/swing/plaf/basic/BasicTextUI$DragListener ++javax/swing/plaf/basic/BasicComboBoxEditor$UIResource ++javax/swing/plaf/basic/BasicTextUI$BasicCaret ++javax/swing/text/DefaultCaret ++javax/swing/text/Caret ++javax/swing/text/DefaultCaret$Handler ++java/awt/datatransfer/ClipboardOwner ++javax/swing/plaf/basic/BasicTextUI$BasicHighlighter ++javax/swing/text/DefaultHighlighter ++javax/swing/text/LayeredHighlighter ++javax/swing/text/Highlighter ++javax/swing/text/Highlighter$Highlight ++javax/swing/text/DefaultHighlighter$DefaultHighlightPainter ++javax/swing/text/LayeredHighlighter$LayerPainter ++javax/swing/text/Highlighter$HighlightPainter ++javax/swing/text/DefaultHighlighter$SafeDamager ++javax/swing/text/FieldView ++javax/swing/text/PlainView ++javax/swing/text/JTextComponent$DefaultKeymap ++javax/swing/text/Keymap ++javax/swing/text/JTextComponent$KeymapWrapper ++javax/swing/text/JTextComponent$KeymapActionMap ++javax/swing/plaf/basic/BasicTextUI$FocusAction ++javax/swing/plaf/basic/BasicTextUI$TextActionWrapper ++javax/swing/JTextArea ++javax/swing/JEditorPane ++javax/swing/JTextField$ScrollRepainter ++javax/swing/plaf/metal/MetalComboBoxEditor$1 ++javax/swing/plaf/metal/MetalComboBoxEditor$EditorBorder ++javax/swing/plaf/metal/MetalComboBoxUI$MetalPropertyChangeListener ++javax/swing/plaf/basic/BasicComboBoxUI$PropertyChangeHandler ++javax/swing/plaf/basic/BasicComboBoxUI$Handler ++javax/swing/plaf/metal/MetalComboBoxButton ++javax/swing/plaf/metal/MetalComboBoxIcon ++javax/swing/plaf/metal/MetalComboBoxButton$1 ++javax/swing/plaf/basic/BasicComboBoxUI$DefaultKeySelectionManager ++javax/swing/JComboBox$KeySelectionManager ++javax/swing/JToolBar$DefaultToolBarLayout ++javax/swing/plaf/metal/MetalToolBarUI ++javax/swing/plaf/basic/BasicToolBarUI ++javax/swing/plaf/ToolBarUI ++javax/swing/plaf/metal/MetalBorders$ToolBarBorder ++javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1 ++javax/swing/plaf/metal/MetalBorders$RolloverButtonBorder ++javax/swing/plaf/metal/MetalBorders$RolloverMarginBorder ++javax/swing/plaf/basic/BasicBorders$RadioButtonBorder ++javax/swing/plaf/basic/BasicBorders$ButtonBorder ++javax/swing/plaf/basic/BasicBorders$RolloverMarginBorder ++javax/swing/plaf/metal/MetalToolBarUI$MetalDockingListener ++javax/swing/plaf/basic/BasicToolBarUI$DockingListener ++javax/swing/plaf/basic/BasicToolBarUI$Handler ++javax/swing/border/EtchedBorder ++javax/swing/JToolBar$Separator ++javax/swing/plaf/basic/BasicToolBarSeparatorUI ++java/applet/Applet ++java/awt/Panel ++com/sun/awt/AWTUtilities ++javax/swing/KeyboardManager$ComponentKeyStrokePair ++sun/awt/EmbeddedFrame ++sun/awt/im/InputMethodContext ++java/awt/im/spi/InputMethodContext ++sun/awt/im/InputContext ++sun/awt/im/InputMethodManager ++sun/awt/im/ExecutableInputMethodManager ++sun/awt/X11/XInputMethodDescriptor ++sun/awt/X11InputMethodDescriptor ++java/awt/im/spi/InputMethodDescriptor ++sun/awt/im/InputMethodLocator ++sun/awt/im/ExecutableInputMethodManager$2 ++sun/misc/Service ++sun/misc/Service$LazyIterator ++java/util/TreeSet ++java/util/NavigableSet ++java/util/SortedSet ++javax/swing/SizeRequirements ++javax/swing/plaf/basic/BasicGraphicsUtils ++java/awt/event/AdjustmentEvent ++java/awt/MenuBar ++sun/awt/X11/XComponentPeer$2 ++java/awt/SequencedEvent ++java/beans/PropertyVetoException ++java/awt/DefaultKeyboardFocusManager$TypeAheadMarker ++java/awt/KeyboardFocusManager$HeavyweightFocusRequest ++java/awt/KeyboardFocusManager$LightweightFocusRequest ++sun/awt/KeyboardFocusManagerPeerImpl ++sun/awt/SunToolkit$7 ++java/awt/Window$1DisposeAction ++java/awt/LightweightDispatcher$2 ++sun/awt/X11/XReparentEvent ++sun/awt/X11/XWindowAttributes ++sun/awt/X11/XFocusChangeEvent ++sun/awt/X11/XComponentPeer$1 ++sun/awt/X11/XUnmapEvent ++java/io/StringWriter ++javax/swing/JWindow ++java/io/UnsupportedEncodingException ++java/net/UnknownHostException ++java/nio/channels/SocketChannel ++java/nio/channels/spi/AbstractSelectableChannel ++java/nio/channels/SelectableChannel ++java/net/SocketImplFactory ++javax/swing/UnsupportedLookAndFeelException ++java/lang/UnsatisfiedLinkError ++javax/swing/Box$Filler ++javax/swing/JComponent$2 ++sun/net/www/MimeTable ++java/net/FileNameMap ++sun/net/www/MimeTable$1 ++sun/net/www/MimeEntry ++java/net/URLConnection$1 ++java/text/SimpleDateFormat ++java/text/DateFormat ++java/text/DateFormat$Field ++java/util/Calendar ++java/util/GregorianCalendar ++sun/util/resources/CalendarData ++sun/util/resources/CalendarData_en ++java/text/DateFormatSymbols ++java/text/spi/DateFormatSymbolsProvider ++java/text/DontCareFieldPosition ++java/text/DontCareFieldPosition$1 ++java/text/Format$FieldDelegate ++javax/swing/plaf/BorderUIResource ++javax/swing/BorderFactory ++javax/swing/border/BevelBorder ++javax/swing/plaf/metal/MetalIconFactory$TreeFolderIcon ++javax/swing/plaf/metal/MetalIconFactory$FolderIcon16 ++java/util/zip/ZipInputStream ++java/io/PushbackInputStream ++java/util/zip/CRC32 ++java/util/zip/Checksum ++java/lang/Thread$State ++javax/swing/SwingUtilities$SharedOwnerFrame ++javax/swing/JTable ++javax/swing/event/TableModelListener ++javax/swing/event/TableColumnModelListener ++javax/swing/event/CellEditorListener ++javax/swing/event/RowSorterListener ++javax/swing/BufferStrategyPaintManager$BufferInfo ++java/awt/Component$BltSubRegionBufferStrategy ++sun/awt/SubRegionShowable ++java/awt/Component$BltBufferStrategy ++sun/awt/image/SunVolatileImage ++sun/awt/image/BufferedImageGraphicsConfig ++sun/print/PrinterGraphicsConfig ++sun/java2d/x11/X11VolatileSurfaceManager ++sun/awt/image/VolatileSurfaceManager ++java/awt/print/PrinterGraphics ++java/awt/PrintGraphics ++java/awt/GraphicsCallback$PaintCallback ++java/awt/GraphicsCallback ++sun/awt/SunGraphicsCallback ++javax/swing/JRadioButton ++java/lang/ClassFormatError ++javax/swing/JTabbedPane ++javax/swing/JTabbedPane$ModelListener ++javax/swing/plaf/metal/MetalTabbedPaneUI ++javax/swing/plaf/basic/BasicTabbedPaneUI ++javax/swing/plaf/TabbedPaneUI ++javax/swing/plaf/metal/MetalTabbedPaneUI$TabbedPaneLayout ++javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneLayout ++javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout ++javax/swing/plaf/basic/BasicTabbedPaneUI$Handler ++sun/swing/ImageIconUIResource ++javax/swing/GrayFilter ++java/awt/image/RGBImageFilter ++java/awt/image/ImageFilter ++java/awt/image/FilteredImageSource ++org/w3c/dom/Node ++org/xml/sax/SAXException ++javax/xml/parsers/ParserConfigurationException ++org/xml/sax/EntityResolver ++java/security/NoSuchAlgorithmException ++java/security/GeneralSecurityException ++java/util/zip/GZIPInputStream ++java/util/zip/DeflaterOutputStream ++org/xml/sax/InputSource ++javax/xml/parsers/DocumentBuilderFactory ++javax/xml/parsers/FactoryFinder ++javax/xml/parsers/SecuritySupport ++javax/xml/parsers/SecuritySupport$2 ++javax/xml/parsers/SecuritySupport$5 ++javax/xml/parsers/SecuritySupport$1 ++javax/xml/parsers/SecuritySupport$4 ++javax/xml/parsers/DocumentBuilder ++org/w3c/dom/Document ++org/xml/sax/helpers/DefaultHandler ++org/xml/sax/DTDHandler ++org/xml/sax/ContentHandler ++org/xml/sax/ErrorHandler ++org/xml/sax/SAXNotSupportedException ++org/xml/sax/Locator ++org/xml/sax/SAXNotRecognizedException ++org/xml/sax/SAXParseException ++org/w3c/dom/NodeList ++org/w3c/dom/events/EventTarget ++org/w3c/dom/traversal/DocumentTraversal ++org/w3c/dom/events/DocumentEvent ++org/w3c/dom/ranges/DocumentRange ++org/w3c/dom/Entity ++org/w3c/dom/Element ++org/w3c/dom/CharacterData ++org/w3c/dom/CDATASection ++org/w3c/dom/Text ++org/xml/sax/AttributeList ++org/w3c/dom/DOMException ++org/w3c/dom/Notation ++org/w3c/dom/DocumentType ++org/w3c/dom/Attr ++org/w3c/dom/EntityReference ++org/w3c/dom/ProcessingInstruction ++org/w3c/dom/Comment ++org/w3c/dom/DocumentFragment ++org/w3c/dom/events/Event ++org/w3c/dom/events/MutationEvent ++org/w3c/dom/traversal/TreeWalker ++org/w3c/dom/ranges/Range ++org/w3c/dom/traversal/NodeIterator ++org/w3c/dom/events/EventException ++org/w3c/dom/NamedNodeMap ++java/lang/StringIndexOutOfBoundsException ++java/awt/GridLayout ++javax/swing/plaf/metal/MetalRadioButtonUI ++javax/swing/plaf/basic/BasicRadioButtonUI ++javax/swing/plaf/basic/BasicBorders ++javax/swing/plaf/metal/MetalIconFactory$RadioButtonIcon ++java/awt/event/ItemEvent ++java/awt/CardLayout$Card ++javax/swing/JCheckBox ++javax/swing/event/ListSelectionEvent ++javax/swing/plaf/metal/MetalCheckBoxUI ++javax/swing/plaf/metal/MetalIconFactory$CheckBoxIcon ++java/lang/ExceptionInInitializerError ++com/sun/java/swing/plaf/windows/WindowsTabbedPaneUI ++javax/swing/JProgressBar ++javax/swing/JProgressBar$ModelListener ++javax/swing/plaf/metal/MetalProgressBarUI ++javax/swing/plaf/basic/BasicProgressBarUI ++javax/swing/plaf/ProgressBarUI ++javax/swing/plaf/BorderUIResource$LineBorderUIResource ++javax/swing/plaf/basic/BasicProgressBarUI$Handler ++javax/swing/tree/TreeModel ++javax/swing/table/TableCellRenderer ++javax/swing/table/JTableHeader ++javax/swing/event/TreeExpansionListener ++javax/swing/table/AbstractTableModel ++javax/swing/table/TableModel ++javax/swing/table/DefaultTableCellRenderer ++javax/swing/JTree ++javax/swing/tree/TreeSelectionModel ++javax/swing/tree/DefaultTreeCellRenderer ++javax/swing/tree/TreeCellRenderer ++javax/swing/table/TableCellEditor ++javax/swing/CellEditor ++javax/swing/JToolTip ++javax/swing/table/TableColumn ++javax/swing/table/DefaultTableColumnModel ++javax/swing/table/TableColumnModel ++javax/swing/table/DefaultTableModel ++javax/swing/event/TableModelEvent ++sun/swing/table/DefaultTableCellHeaderRenderer ++javax/swing/plaf/basic/BasicTableHeaderUI ++javax/swing/plaf/TableHeaderUI ++javax/swing/plaf/basic/BasicTableHeaderUI$1 ++javax/swing/plaf/basic/BasicTableHeaderUI$MouseInputHandler ++javax/swing/DefaultCellEditor ++javax/swing/tree/TreeCellEditor ++javax/swing/AbstractCellEditor ++javax/swing/plaf/basic/BasicTableUI ++javax/swing/plaf/TableUI ++javax/swing/plaf/basic/BasicTableUI$TableTransferHandler ++javax/swing/plaf/basic/BasicTableUI$Handler ++javax/swing/tree/DefaultTreeSelectionModel ++javax/swing/tree/TreePath ++javax/swing/plaf/metal/MetalTreeUI ++javax/swing/plaf/basic/BasicTreeUI ++javax/swing/plaf/TreeUI ++javax/swing/plaf/basic/BasicTreeUI$Actions ++javax/swing/plaf/basic/BasicTreeUI$TreeTransferHandler ++javax/swing/plaf/metal/MetalTreeUI$LineListener ++javax/swing/plaf/basic/BasicTreeUI$Handler ++javax/swing/event/TreeModelListener ++javax/swing/event/TreeSelectionListener ++javax/swing/event/SwingPropertyChangeSupport ++javax/swing/tree/VariableHeightLayoutCache ++javax/swing/tree/AbstractLayoutCache ++javax/swing/tree/RowMapper ++javax/swing/plaf/basic/BasicTreeUI$NodeDimensionsHandler ++javax/swing/tree/AbstractLayoutCache$NodeDimensions ++javax/swing/JTree$TreeModelHandler ++javax/swing/tree/VariableHeightLayoutCache$TreeStateNode ++javax/swing/tree/DefaultMutableTreeNode ++javax/swing/tree/MutableTreeNode ++javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration ++javax/swing/event/TableColumnModelEvent ++java/text/ParseException ++java/text/NumberFormat$Field ++javax/swing/event/UndoableEditListener ++javax/swing/filechooser/FileFilter ++javax/swing/tree/DefaultTreeModel ++javax/swing/tree/DefaultTreeCellEditor ++javax/swing/tree/DefaultTreeCellEditor$1 ++javax/swing/tree/DefaultTreeCellEditor$DefaultTextField ++javax/swing/DefaultCellEditor$1 ++javax/swing/DefaultCellEditor$EditorDelegate ++javax/swing/tree/DefaultTreeCellEditor$EditorContainer ++javax/swing/JTree$TreeSelectionRedirector ++javax/swing/event/TreeModelEvent ++javax/swing/plaf/metal/MetalSplitPaneUI ++javax/swing/plaf/basic/BasicSplitPaneUI ++javax/swing/plaf/SplitPaneUI ++javax/swing/plaf/basic/BasicSplitPaneDivider ++javax/swing/plaf/basic/BasicBorders$SplitPaneBorder ++javax/swing/plaf/metal/MetalSplitPaneDivider ++javax/swing/plaf/basic/BasicSplitPaneDivider$DividerLayout ++javax/swing/plaf/basic/BasicSplitPaneDivider$MouseHandler ++javax/swing/plaf/basic/BasicBorders$SplitPaneDividerBorder ++javax/swing/plaf/basic/BasicSplitPaneUI$BasicHorizontalLayoutManager ++javax/swing/plaf/basic/BasicSplitPaneUI$1 ++javax/swing/plaf/basic/BasicSplitPaneUI$Handler ++javax/swing/plaf/metal/MetalSplitPaneDivider$1 ++javax/swing/plaf/basic/BasicSplitPaneDivider$OneTouchActionHandler ++javax/swing/plaf/metal/MetalSplitPaneDivider$2 ++javax/swing/border/TitledBorder ++javax/swing/plaf/basic/BasicTextAreaUI ++java/util/Collections$UnmodifiableCollection$1 ++java/io/InterruptedIOException ++java/net/NoRouteToHostException ++java/net/BindException ++javax/swing/tree/PathPlaceHolder ++javax/swing/event/TreeSelectionEvent ++javax/swing/JList$3 ++javax/swing/JList$ListSelectionHandler ++javax/swing/JSlider ++javax/swing/JSlider$ModelListener ++javax/swing/plaf/metal/MetalSliderUI ++javax/swing/plaf/basic/BasicSliderUI ++javax/swing/plaf/SliderUI ++javax/swing/plaf/basic/BasicSliderUI$Actions ++javax/swing/plaf/metal/MetalIconFactory$HorizontalSliderThumbIcon ++javax/swing/plaf/metal/MetalIconFactory$VerticalSliderThumbIcon ++javax/swing/plaf/basic/BasicSliderUI$TrackListener ++javax/swing/plaf/basic/BasicSliderUI$Handler ++javax/swing/plaf/basic/BasicSliderUI$ScrollListener ++javax/swing/plaf/metal/MetalSliderUI$MetalPropertyListener ++javax/swing/plaf/basic/BasicSliderUI$PropertyChangeHandler ++sun/java2d/HeadlessGraphicsEnvironment ++java/util/Hashtable$KeySet ++java/awt/FontFormatException ++sun/font/Type1Font$1 ++java/nio/channels/FileChannel$MapMode ++sun/nio/ch/FileChannelImpl$Unmapper ++sun/nio/ch/Util$3 ++java/nio/DirectByteBufferR ++java/nio/charset/Charset$3 ++sun/nio/cs/AbstractCharsetProvider ++sun/nio/cs/SingleByteDecoder ++java/lang/CharacterData00 ++javax/swing/DefaultListModel ++javax/swing/event/ListDataEvent ++javax/sound/sampled/DataLine ++javax/sound/sampled/Line ++javax/sound/sampled/Line$Info ++javax/sound/sampled/DataLine$Info ++javax/sound/sampled/Control$Type ++javax/sound/sampled/FloatControl$Type ++javax/sound/sampled/LineUnavailableException ++javax/sound/sampled/UnsupportedAudioFileException ++javax/swing/JRadioButtonMenuItem ++javax/swing/JMenuItem$AccessibleJMenuItem ++javax/swing/AbstractButton$AccessibleAbstractButton ++javax/accessibility/AccessibleAction ++javax/accessibility/AccessibleValue ++javax/accessibility/AccessibleText ++javax/accessibility/AccessibleExtendedComponent ++javax/accessibility/AccessibleComponent ++javax/swing/JComponent$AccessibleJComponent ++java/awt/Container$AccessibleAWTContainer ++java/awt/Component$AccessibleAWTComponent ++javax/accessibility/AccessibleRelationSet ++javax/accessibility/AccessibleState ++javax/accessibility/AccessibleBundle ++javax/swing/plaf/basic/BasicCheckBoxMenuItemUI ++javax/swing/plaf/metal/MetalIconFactory$CheckBoxMenuItemIcon ++javax/swing/JCheckBoxMenuItem$AccessibleJCheckBoxMenuItem ++javax/swing/plaf/basic/BasicRadioButtonMenuItemUI ++javax/swing/plaf/metal/MetalIconFactory$RadioButtonMenuItemIcon ++sun/awt/image/ImageDecoder$1 ++javax/swing/JTabbedPane$Page ++java/net/DatagramSocket ++java/net/MulticastSocket ++java/net/DatagramPacket ++sun/net/InetAddressCachePolicy ++sun/net/InetAddressCachePolicy$1 ++sun/net/InetAddressCachePolicy$2 ++java/net/InetAddress$CacheEntry ++java/net/PlainDatagramSocketImpl ++java/net/DatagramSocketImpl ++java/net/NetworkInterface ++java/net/InterfaceAddress ++java/text/Collator ++java/text/spi/CollatorProvider ++sun/text/resources/CollationData ++sun/text/resources/CollationData_en ++sun/util/EmptyListResourceBundle ++java/text/RuleBasedCollator ++java/text/CollationRules ++java/text/RBCollationTables ++java/text/RBTableBuilder ++java/text/RBCollationTables$BuildAPI ++sun/text/IntHashtable ++sun/text/UCompactIntArray ++sun/text/normalizer/NormalizerImpl ++sun/text/normalizer/ICUData ++sun/text/normalizer/NormalizerDataReader ++sun/text/normalizer/ICUBinary$Authenticate ++sun/text/normalizer/ICUBinary ++sun/text/normalizer/NormalizerImpl$FCDTrieImpl ++sun/text/normalizer/Trie$DataManipulate ++sun/text/normalizer/NormalizerImpl$NormTrieImpl ++sun/text/normalizer/NormalizerImpl$AuxTrieImpl ++sun/text/normalizer/IntTrie ++sun/text/normalizer/Trie ++sun/text/normalizer/CharTrie ++sun/text/normalizer/CharTrie$FriendAgent ++sun/text/normalizer/UnicodeSet ++sun/text/normalizer/UnicodeMatcher ++sun/text/normalizer/NormalizerImpl$DecomposeArgs ++java/text/MergeCollation ++java/text/PatternEntry$Parser ++java/text/PatternEntry ++java/text/EntryPair ++sun/text/ComposedCharIter ++sun/text/normalizer/UTF16 ++sun/net/www/protocol/http/Handler ++java/io/ObjectInputStream$BlockDataInputStream ++java/io/ObjectInputStream$PeekInputStream ++java/io/ObjectInputStream$HandleTable ++java/io/ObjectInputStream$ValidationList ++java/io/Bits ++java/io/ObjectStreamClass$Caches ++java/io/ObjectStreamClass$WeakClassKey ++java/io/ObjectStreamClass$EntryFuture ++java/io/ObjectStreamClass$2 ++sun/reflect/SerializationConstructorAccessorImpl ++java/io/ObjectStreamClass$FieldReflectorKey ++java/io/ObjectStreamClass$FieldReflector ++java/io/ObjectStreamClass$1 ++java/io/DataOutputStream ++java/io/ObjectStreamClass$MemberSignature ++java/io/ObjectStreamClass$3 ++java/io/ObjectStreamClass$4 ++java/io/ObjectStreamClass$5 ++java/security/MessageDigest ++java/security/MessageDigestSpi ++sun/security/jca/GetInstance ++sun/security/jca/Providers ++sun/security/jca/ProviderList ++sun/security/jca/ProviderConfig ++sun/security/jca/ProviderList$3 ++sun/security/jca/ProviderList$1 ++sun/security/jca/ProviderList$2 ++sun/security/jca/ProviderConfig$1 ++sun/security/jca/ProviderConfig$3 ++java/security/Provider$Service ++java/security/Provider$UString ++sun/security/provider/SHA ++sun/security/provider/DigestBase ++sun/security/jca/GetInstance$Instance ++java/security/MessageDigest$Delegate ++sun/security/provider/ByteArrayAccess ++java/io/ObjectStreamClass$ClassDataSlot ++sun/reflect/UnsafeQualifiedStaticLongFieldAccessorImpl ++java/security/SignatureException ++java/security/InvalidKeyException ++java/security/KeyException ++java/security/Signature ++java/security/SignatureSpi ++java/io/ObjectOutputStream$BlockDataOutputStream ++sun/security/provider/DSAPublicKey ++java/security/interfaces/DSAPublicKey ++java/security/interfaces/DSAKey ++java/security/PublicKey ++java/security/Key ++sun/security/x509/X509Key ++java/io/ObjectOutputStream$HandleTable ++java/io/ObjectOutputStream$ReplaceTable ++sun/security/x509/AlgorithmId ++sun/security/util/DerEncoder ++sun/security/util/BitArray ++sun/security/util/DerOutputStream ++sun/security/util/DerValue ++java/math/BigInteger ++java/security/interfaces/DSAParams ++sun/security/util/DerInputStream ++sun/security/util/DerInputBuffer ++sun/security/util/ObjectIdentifier ++java/security/AlgorithmParameters ++java/security/AlgorithmParametersSpi ++sun/security/provider/DSAParameters ++sun/security/util/ByteArrayLexOrder ++sun/security/util/ByteArrayTagOrder ++sun/security/util/DerIndefLenConverter ++java/io/InvalidClassException ++java/io/ObjectStreamException ++java/io/ObjectInputStream$GetFieldImpl ++java/io/ObjectInputStream$GetField ++sun/security/jca/ServiceId ++sun/security/jca/ProviderList$ServiceList ++sun/security/jca/ProviderList$ServiceList$1 ++java/security/Signature$Delegate ++java/security/interfaces/DSAPrivateKey ++java/security/PrivateKey ++sun/security/provider/DSA$SHA1withDSA ++sun/security/provider/DSA ++java/security/spec/DSAParameterSpec ++java/security/spec/AlgorithmParameterSpec ++java/math/MutableBigInteger ++java/math/SignedMutableBigInteger ++java/awt/EventQueue$1AWTInvocationLock ++java/awt/Component$FlipBufferStrategy ++java/awt/SentEvent ++sun/awt/X11/XDestroyWindowEvent ++sun/awt/X11/XDropTargetRegistry ++sun/awt/X11/XEmbeddedFramePeer ++sun/awt/X11/XDragAndDropProtocols ++sun/awt/X11/XDropTargetContextPeer ++sun/awt/dnd/SunDropTargetContextPeer ++java/awt/dnd/peer/DropTargetContextPeer ++sun/awt/X11/XDropTargetContextPeer$XDropTargetProtocolListenerImpl ++sun/awt/X11/XDropTargetProtocolListener ++sun/awt/X11/XDnDDragSourceProtocol ++sun/awt/X11/XDragSourceProtocol ++sun/awt/X11/MotifDnDDragSourceProtocol ++sun/awt/X11/XDnDDropTargetProtocol ++sun/awt/X11/XDropTargetProtocol ++sun/awt/X11/MotifDnDDropTargetProtocol ++sun/awt/X11/XDnDConstants ++sun/awt/X11/MotifDnDConstants ++javax/swing/JTable$2 ++javax/swing/JTable$Resizable3 ++javax/swing/JTable$Resizable2 ++javax/swing/JTable$5 ++javax/swing/event/AncestorEvent ++sun/font/FontDesignMetrics$MetricsKey ++java/awt/geom/Line2D$Float ++java/awt/geom/Line2D ++com/sun/java/swing/plaf/gtk/GTKLookAndFeel ++javax/swing/plaf/synth/SynthLookAndFeel ++javax/swing/plaf/synth/DefaultSynthStyleFactory ++javax/swing/plaf/synth/SynthStyleFactory ++sun/swing/BakedArrayList ++javax/swing/plaf/synth/SynthLookAndFeel$Handler ++javax/swing/plaf/synth/SynthDefaultLookup ++com/sun/java/swing/plaf/gtk/GTKEngine ++com/sun/java/swing/plaf/gtk/GTKEngine$Settings ++com/sun/java/swing/plaf/gtk/GTKStyleFactory ++com/sun/java/swing/plaf/gtk/PangoFonts ++com/sun/java/swing/plaf/gtk/GTKLookAndFeel$WeakPCL ++javax/swing/plaf/synth/Region ++javax/swing/plaf/synth/SynthLookAndFeel$AATextListener ++com/sun/java/swing/plaf/gtk/GTKRegion ++com/sun/java/swing/plaf/gtk/GTKStyle ++com/sun/java/swing/plaf/gtk/GTKConstants ++javax/swing/plaf/synth/SynthStyle ++javax/swing/plaf/synth/SynthGraphicsUtils ++com/sun/java/swing/plaf/gtk/GTKGraphicsUtils ++com/sun/java/swing/plaf/gtk/GTKStyle$GTKStockIcon ++sun/swing/plaf/synth/SynthIcon ++com/sun/java/swing/plaf/gtk/GTKColorType ++javax/swing/plaf/synth/ColorType ++com/sun/java/swing/plaf/gtk/resources/gtk ++com/sun/swing/internal/plaf/synth/resources/synth ++com/sun/java/swing/plaf/gtk/GTKStyle$GTKLazyValue ++com/sun/java/swing/plaf/gtk/GTKLookAndFeel$1FontLazyValue ++com/sun/java/swing/plaf/gtk/GTKLookAndFeel$2 ++com/sun/java/swing/plaf/gtk/GTKLookAndFeel$3 ++javax/swing/plaf/synth/SynthPanelUI ++javax/swing/plaf/synth/SynthConstants ++javax/swing/plaf/synth/SynthContext ++javax/swing/plaf/synth/SynthBorder ++javax/swing/plaf/synth/SynthRootPaneUI ++javax/swing/plaf/synth/SynthLabelUI ++javax/swing/plaf/synth/SynthButtonUI ++javax/swing/plaf/synth/SynthToggleButtonUI ++javax/swing/plaf/basic/BasicBorders$FieldBorder ++javax/swing/plaf/synth/SynthMenuBarUI ++javax/swing/plaf/synth/SynthMenuUI ++javax/swing/plaf/synth/SynthUI ++com/sun/java/swing/plaf/gtk/GTKIconFactory ++com/sun/java/swing/plaf/gtk/GTKIconFactory$MenuArrowIcon ++com/sun/java/swing/plaf/gtk/GTKIconFactory$DelegatingIcon ++com/sun/java/swing/plaf/gtk/GTKConstants$ArrowType ++javax/swing/plaf/basic/BasicIconFactory ++javax/swing/plaf/basic/BasicIconFactory$MenuItemCheckIcon ++javax/swing/plaf/synth/SynthMenuItemUI ++javax/swing/plaf/synth/SynthPopupMenuUI ++javax/swing/plaf/synth/SynthSeparatorUI ++javax/swing/plaf/synth/SynthScrollBarUI ++javax/swing/plaf/synth/SynthArrowButton ++javax/swing/plaf/synth/SynthArrowButton$SynthArrowButtonUI ++javax/swing/plaf/synth/SynthComboBoxUI ++javax/swing/plaf/synth/SynthComboPopup ++javax/swing/plaf/synth/SynthListUI ++javax/swing/plaf/synth/SynthListUI$SynthListCellRenderer ++javax/swing/plaf/synth/SynthViewportUI ++javax/swing/plaf/synth/SynthScrollPaneUI ++javax/swing/plaf/synth/SynthScrollPaneUI$ViewportBorder ++javax/swing/plaf/synth/SynthComboBoxUI$SynthComboBoxRenderer ++javax/swing/plaf/synth/SynthComboBoxUI$SynthComboBoxEditor ++javax/swing/plaf/synth/SynthTextFieldUI ++javax/swing/plaf/synth/SynthToolBarUI ++javax/swing/plaf/synth/SynthToolBarUI$SynthToolBarLayoutManager ++com/sun/java/swing/plaf/gtk/GTKIconFactory$ToolBarHandleIcon ++com/sun/java/swing/plaf/gtk/GTKConstants$Orientation ++sun/awt/X11/XTranslateCoordinates ++com/sun/java/swing/plaf/gtk/GTKPainter ++javax/swing/plaf/synth/SynthPainter ++javax/swing/plaf/synth/SynthPainter$1 ++com/sun/java/swing/plaf/gtk/GTKConstants$PositionType ++com/sun/java/swing/plaf/gtk/GTKConstants$ShadowType ++java/io/ObjectInputStream$HandleTable$HandleList ++sun/java2d/pipe/ShapeSpanIterator ++sun/java2d/pipe/SpanIterator ++sun/dc/path/PathConsumer ++sun/dc/pr/PathStroker ++sun/dc/pr/PathDasher ++java/awt/geom/LineIterator ++java/awt/geom/PathIterator ++sun/applet/Main ++sun/applet/AppletMessageHandler ++sun/applet/resources/MsgAppletViewer ++sun/applet/AppletSecurity ++sun/awt/AWTSecurityManager ++java/lang/SecurityManager ++java/security/DomainCombiner ++sun/applet/AppletSecurity$1 ++java/lang/SecurityManager$1 ++java/security/SecurityPermission ++java/util/PropertyPermission ++sun/applet/AppletViewer ++java/applet/AppletContext ++java/awt/print/Printable ++sun/security/util/SecurityConstants ++java/awt/AWTPermission ++java/net/NetPermission ++java/net/SocketPermission ++javax/security/auth/AuthPermission ++java/lang/Thread$1 ++java/util/logging/LogManager$5 ++sun/applet/StdAppletViewerFactory ++sun/applet/AppletViewerFactory ++sun/applet/AppletViewer$UserActionListener ++sun/applet/AppletViewerPanel ++sun/applet/AppletPanel ++java/applet/AppletStub ++sun/misc/MessageUtils ++sun/applet/AppletPanel$10 ++java/security/Policy$1 ++sun/security/provider/PolicyFile$1 ++sun/security/provider/PolicyFile$3 ++sun/security/util/PropertyExpander ++sun/security/provider/PolicyParser ++sun/security/util/PolicyUtil ++sun/security/provider/PolicyParser$GrantEntry ++sun/security/provider/PolicyParser$PermissionEntry ++sun/security/provider/PolicyFile$PolicyEntry ++sun/security/provider/PolicyFile$6 ++sun/security/provider/PolicyFile$7 ++java/net/SocketPermissionCollection ++java/util/PropertyPermissionCollection ++sun/applet/AppletPanel$9 ++sun/applet/AppletClassLoader ++sun/applet/AppletThreadGroup ++sun/applet/AppContextCreator ++sun/applet/AppletPanel$1 ++sun/awt/X11/XMenuBarPeer ++java/awt/peer/MenuBarPeer ++java/awt/peer/MenuComponentPeer ++sun/awt/X11/XBaseMenuWindow ++sun/awt/X11/XMenuPeer ++java/awt/peer/MenuPeer ++java/awt/peer/MenuItemPeer ++sun/awt/X11/XMenuItemPeer ++java/awt/MenuShortcut ++sun/awt/X11/XMenuWindow ++sun/awt/X11/XMenuItemPeer$TextMetrics ++sun/awt/AppContext$3 ++sun/awt/X11/XMenuBarPeer$MappingData ++sun/awt/X11/XBaseMenuWindow$MappingData ++sun/applet/AppletViewer$1 ++sun/applet/AppletViewer$1AppletEventListener ++sun/applet/AppletListener ++sun/applet/AppletEventMulticaster ++sun/misc/Queue ++sun/misc/QueueElement ++sun/applet/AppletEvent ++sun/applet/AppletClassLoader$1 ++sun/awt/X11/XBaseMenuWindow$3 ++java/awt/DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent ++sun/awt/CausedFocusEvent ++sun/awt/X11/XWindow$1 ++java/net/URLClassLoader$4 ++sun/applet/AppletClassLoader$2 ++javax/swing/JApplet ++java/lang/ClassLoader$1 ++sun/security/provider/PolicyFile$5 ++java/security/PermissionsEnumerator ++java/util/Collections$1 ++sun/applet/AppletPanel$11 ++sun/applet/AppletPanel$8 ++sun/applet/AppletPanel$2 ++sun/applet/AppletPanel$3 ++sun/applet/AppletPanel$6 ++javax/swing/BufferStrategyPaintManager$1 ++# f3ac8b467e7f8c49 +--- jdk/src/bsd/doc/man/appletviewer.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/appletviewer.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH appletviewer 1 "10 May 2011" ++.TH appletviewer 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -36,11 +36,14 @@ + .SH "DESCRIPTION" + .LP + .LP +-The \f3appletviewer\fP command connects to the documents or resources designated by \f2urls\fP and displays each applet referenced by the documents in its own window. Note: if the documents referred to by \f2urls\fP do not reference any applets with the \f2OBJECT\fP, \f2EMBED\fP, or \f2APPLET\fP tag, then \f3appletviewer\fP does nothing. For details on the HTML tags that \f3appletviewer\fP supports, see ++The \f3appletviewer\fP command connects to the documents or resources designated by \f2urls\fP and displays each applet referenced by the documents in its own window. Note: if the documents referred to by \f2urls\fP do not reference any applets with the \f2OBJECT\fP, \f2EMBED\fP, or \f2APPLET\fP tag, then \f3appletviewer\fP does nothing. For details on the HTML tags that \f3appletviewer\fP supports, see + .na + \f2AppletViewer Tags\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/appletviewertags.html. ++http://docs.oracle.com/javase/7/docs/technotes/tools/appletviewertags.html. ++.LP ++.LP ++\f3Note:\fP The \f3appletviewer\fP is intended for development purposes only. See About Sample / Test Applications and Code for more information. + .LP + .LP + \f3Note:\fP The \f3appletviewer\fP requires encoded URLs according to the escaping mechanism defined in RFC2396. Only encoded URLs are supported. However, file names must be unencoded, as specified in RFC2396. +@@ -49,18 +52,18 @@ + .LP + .RS 3 + .TP 3 +-\-debug +-Starts the applet viewer in the Java debugger, jdb(1), thus allowing you to debug the applets in the document. ++\-debug ++Starts the applet viewer in the Java debugger, jdb(1), thus allowing you to debug the applets in the document. + .TP 3 +-\-encoding \ \ encoding name +-Specify the input HTML file encoding name. ++\-encoding \ \ encoding name ++Specify the input HTML file encoding name. + .TP 3 +-\-Jjavaoption +-Passes through the string \f2javaoption\fP as a single argument to the Java interpreter which runs the appletviewer. The argument should not contain spaces. Multiple argument words must all begin with the prefix \f3\-J\fP, which is stripped. This is useful for adjusting the compiler's execution environment or memory usage. ++\-Jjavaoption ++Passes through the string \f2javaoption\fP as a single argument to the Java interpreter which runs the appletviewer. The argument should not contain spaces. Multiple argument words must all begin with the prefix \f3\-J\fP, which is stripped. This is useful for adjusting the compiler's execution environment or memory usage. + .RE + + .LP + .LP + + .LP +- ++ +--- jdk/src/bsd/doc/man/apt.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/apt.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH apt 1 "10 May 2011" ++.TH apt 1 "16 Mar 2012" + + .LP + .SH "NAME" +@@ -39,11 +39,11 @@ + .LP + .RS 3 + .TP 3 +-sourcefiles +-Zero or more source files to be processed. ++sourcefiles ++Zero or more source files to be processed. + .TP 3 +-@files +-One or more files that list source files or other options ++@files ++One or more files that list source files or other options + .RE + + .LP +@@ -56,80 +56,80 @@ + The tool \f2apt\fP, annotation processing tool, includes reflective APIs and supporting infrastructure to process program annotations. The \f2apt\fP reflective APIs provide a build\-time, source\-based, read\-only view of program structure. These reflective APIs are designed to cleanly model the Java(TM) programming language's type system after the addition of generics. First, \f2apt\fP runs annotation processors that can produce new source code and other files. Next, \f2apt\fP can cause compilation of both original and generated source files, easing development. The reflective APIs and other APIs used to interact with the tool are subpackages of \f2com.sun.mirror\fP. + .LP + .LP +-A fuller discussion of how the tool operates as well as instructions for developing with \f2apt\fP are in ++A fuller discussion of how the tool operates as well as instructions for developing with \f2apt\fP are in + .na + \f4Getting Started with \fP\f4apt\fP. @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html + .LP + .SH "OPTIONS" + .LP +-.SS ++.SS + apt specific options + .LP + .RS 3 + .TP 3 +-\-s dir +-Specify the directory root under which processor\-generated source files will be placed; files are placed in subdirectories based on package namespace. ++\-s dir ++Specify the directory root under which processor\-generated source files will be placed; files are placed in subdirectories based on package namespace. + .TP 3 +-\-nocompile +-Do not compile source files to class files. ++\-nocompile ++Do not compile source files to class files. + .TP 3 +-\-print +-Print out textual representation of specified types; perform no annotation processing or compilation. ++\-print ++Print out textual representation of specified types; perform no annotation processing or compilation. + .TP 3 +-\-A[key[=val]] +-Options to pass to annotation processors \-\- these are not interpreted by \f2apt\fP directly, but are made available for use by individual processors ++\-A[key[=val]] ++Options to pass to annotation processors \-\- these are not interpreted by \f2apt\fP directly, but are made available for use by individual processors + .TP 3 +-\-factorypath path +-Specify where to find annotation processor factories; if this option is used, the classpath is \f2not\fP searched for factories. ++\-factorypath path ++Specify where to find annotation processor factories; if this option is used, the classpath is \f2not\fP searched for factories. + .TP 3 +-\-factory classname +-Name of annotation processor factory to use; bypasses default discovery process ++\-factory classname ++Name of annotation processor factory to use; bypasses default discovery process + .TP 3 +-\-version +-Print version information. ++\-version ++Print version information. + .TP 3 +-\-X +-Display information about non\-standard options. ++\-X ++Display information about non\-standard options. + .RE + + .LP +-.SS ++.SS + Options shared with javac + .LP + .RS 3 + .TP 3 +-\-d dir +-Specify where to place processor and javac generated class files ++\-d dir ++Specify where to place processor and javac generated class files + .TP 3 +-\-cp path or \-classpath path +-Specify where to find user class files and annotation processor factories. If \f2\-factorypath\fP is given, the classpath is not searched for factories. ++\-cp path or \-classpath path ++Specify where to find user class files and annotation processor factories. If \f2\-factorypath\fP is given, the classpath is not searched for factories. + .RE + + .LP + .LP + Consult the javac(1) man page for information on \f2javac\fP options. + .LP +-.SS ++.SS + Non\-Standard Options + .LP + .RS 3 + .TP 3 +-\-XListAnnotationTypes +-List found annotation types. ++\-XListAnnotationTypes ++List found annotation types. + .TP 3 +-\-XListDeclarations +-List specified and included declarations. ++\-XListDeclarations ++List specified and included declarations. + .TP 3 +-\-XPrintAptRounds +-Print information about initial and recursive \f2apt\fP rounds. ++\-XPrintAptRounds ++Print information about initial and recursive \f2apt\fP rounds. + .TP 3 +-\-XPrintFactoryInfo +-Print information about which annotations a factory is asked to process. ++\-XPrintFactoryInfo ++Print information about which annotations a factory is asked to process. + .TP 3 +-\-XclassesAsDecls +-Treat both class and source files as declarations to process. ++\-XclassesAsDecls ++Treat both class and source files as declarations to process. + .RE + + .LP +@@ -146,8 +146,8 @@ + .RS 3 + .TP 2 + o +-javac(1), java(1) ++javac(1), java(1) + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/extcheck.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/extcheck.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH extcheck 1 "10 May 2011" ++.TH extcheck 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -57,11 +57,11 @@ + .LP + .RS 3 + .TP 3 +-\-verbose +-Lists Jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file and any conflicting jar files are also reported. ++\-verbose ++Lists Jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file and any conflicting jar files are also reported. + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. + .RE + + .LP +@@ -70,4 +70,4 @@ + .LP + jar(1) + .LP +- ++ +--- jdk/src/bsd/doc/man/idlj.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/idlj.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,13 +19,13 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH idlj 1 "10 May 2011" ++.TH idlj 1 "16 Mar 2012" + + .LP + .SH "Name" + idlj \- The IDL\-to\-Java Compiler + .LP +-\f3idlj\fP generates Java bindings from a given IDL file. ++\f3idlj\fP generates Java bindings from a given IDL file. + .SH "Synopsis" + .LP + .nf +@@ -43,13 +43,13 @@ + .SH "Description" + .LP + .LP +-The IDL\-to\-Java Compiler generates the Java bindings for a given IDL file.\ For binding details, see the ++The IDL\-to\-Java Compiler generates the Java bindings for a given IDL file.\ For binding details, see the + .na + \f2OMG IDL to Java Language Language Mapping Specification\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/mapping/jidlMapping.html. Some previous releases of the IDL\-to\-Java compiler were named \f2idltojava\fP. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/mapping/jidlMapping.html. Some previous releases of the IDL\-to\-Java compiler were named \f2idltojava\fP. + .LP +-.SS ++.SS + Emitting Client and Server Bindings + .LP + .LP +@@ -106,18 +106,18 @@ + The default server\-side model is the \f2Portable Servant Inheritance Model\fP. Given an interface \f2My\fP defined in \f2My.idl\fP, the file \f2MyPOA.java\fP is generated. You must provide the implementation for \f2My\fP and it must inherit from \f2MyPOA\fP. + .LP + .LP +-\f2MyPOA.java\fP is a stream\-based skeleton that extends ++\f2MyPOA.java\fP is a stream\-based skeleton that extends + .na + \f2org.omg.PortableServer.Servant\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/org/omg/PortableServer/Servant.html and implements the \f2InvokeHandler\fP interface and the operations interface associated with the IDL interface the skeleton implements. ++http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/Servant.html and implements the \f2InvokeHandler\fP interface and the operations interface associated with the IDL interface the skeleton implements. + .LP + .LP +-The \f2PortableServer\fP module for the ++The \f2PortableServer\fP module for the + .na + \f2Portable Object Adapter (POA)\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/POA.html defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.html defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. + .LP + .LP + Another option for the Inheritance Model is to use the \f2\-oldImplBase\fP flag in order to generate server\-side bindings that are compatible with versions of the Java programming language prior to J2SE 1.4. Note that using the \f2\-oldImplBase\fP flag is non\-standard: these APIs are being deprecated. You would use this flag ONLY for compatibility with existing servers written in J2SE 1.3. In that case, you would need to modify an existing MAKEFILE to add the \f2\-oldImplBase\fP flag to the \f2idlj\fP compiler, otherwise POA\-based server\-side mappings will be generated. To generate server\-side bindings that are backwards compatible: +@@ -170,7 +170,7 @@ + .fl + MyServant myDelegate = new MyServant(); + .fl +- myDelegate.setORB(orb); ++ myDelegate.setORB(orb); + .fl + + .fl +@@ -218,7 +218,7 @@ + .fl + MyServant myDelegate = new MyServant(); + .fl +- myDelegate.setORB(orb); ++ myDelegate.setORB(orb); + .fl + + .fl +@@ -236,7 +236,7 @@ + .fi + + .LP +-.SS ++.SS + Specifying Alternate Locations for Emitted Files + .LP + .LP +@@ -253,7 +253,7 @@ + .LP + For the interface \f2My\fP, the bindings will be emitted to \f2/altdir/My.java\fP, etc., instead of \f2./My.java\fP. + .LP +-.SS ++.SS + Specifying Alternate Locations for Include Files + .LP + .LP +@@ -291,13 +291,13 @@ + + .LP + .LP +-The compiler will find this file and read in the includes list. Note that in this example the separator character between the two directories is a semicolon (;). This separator character is platform dependent. On the Windows platform, use a semicolon, on the Unix platform, use a colon, etc. For more information on \f2includes\fP, see the ++The compiler will find this file and read in the includes list. Note that in this example the separator character between the two directories is a semicolon (;). This separator character is platform dependent. On the Windows platform, use a semicolon, on the Unix platform, use a colon, etc. For more information on \f2includes\fP, see the + .na + \f2Setting the Classpath\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#general. ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general. + .LP +-.SS ++.SS + Emitting Bindings for Include Files + .LP + .LP +@@ -469,7 +469,7 @@ + .LP + If the \f2\-emitAll\fP flag had been used in the previous example, then all types in all included files would be emitted. + .LP +-.SS ++.SS + Inserting Package Prefixes + .LP + .LP +@@ -525,7 +525,7 @@ + .fi + + .LP +-So the line for the above example would be: ++So the line for the above example would be: + .nf + \f3 + .fl +@@ -538,7 +538,7 @@ + .LP + The use of this option does not affect the Repository ID. + .LP +-.SS ++.SS + Defining Symbols Before Compilation + .LP + .LP +@@ -555,7 +555,7 @@ + .LP + is the equivalent of putting the line \f2#define MYDEF\fP inside \f2My.idl\fP. + .LP +-.SS ++.SS + Preserving Pre\-Existing Bindings + .LP + .LP +@@ -572,7 +572,7 @@ + .LP + emits all client\-side bindings that do not already exist. + .LP +-.SS ++.SS + Viewing Progress of Compilation + .LP + .LP +@@ -589,7 +589,7 @@ + .LP + By default the compiler does not operate in verbose mode. + .LP +-.SS ++.SS + Displaying Version Information + .LP + .LP +@@ -611,8 +611,8 @@ + .LP + .RS 3 + .TP 3 +-\-d symbol +-This is equivalent to the following line in an IDL file: ++\-d symbol ++This is equivalent to the following line in an IDL file: + .nf + \f3 + .fl +@@ -621,32 +621,32 @@ + \fP + .fi + .TP 3 +-\-emitAll +-Emit all types, including those found in \f2#include\fP files. ++\-emitAll ++Emit all types, including those found in \f2#include\fP files. + .TP 3 +-\-fside +-Defines what bindings to emit. \f2side\fP is one of \f2client\fP, \f2server\fP, \f2serverTIE\fP, \f2all\fP, or \f2allTIE\fP. The \f2\-fserverTIE\fP and \f2\-fallTIE\fP options cause delegate model skeletons to be emitted. Assumes \f2\-fclient\fP if the flag is not specified. ++\-fside ++Defines what bindings to emit. \f2side\fP is one of \f2client\fP, \f2server\fP, \f2serverTIE\fP, \f2all\fP, or \f2allTIE\fP. The \f2\-fserverTIE\fP and \f2\-fallTIE\fP options cause delegate model skeletons to be emitted. Assumes \f2\-fclient\fP if the flag is not specified. + .TP 3 +-\-i include\-path +-By default, the current directory is scanned for included files. This option adds another directory. ++\-i include\-path ++By default, the current directory is scanned for included files. This option adds another directory. + .TP 3 +-\-keep +-If a file to be generated already exists, do not overwrite it. By default it is overwritten. ++\-keep ++If a file to be generated already exists, do not overwrite it. By default it is overwritten. + .TP 3 +-\-noWarn +-Suppresses warning messages. ++\-noWarn ++Suppresses warning messages. + .TP 3 +-\-oldImplBase +-Generates skeletons compatible with pre\-1.4 JDK ORBs. By default, the POA Inheritance Model server\-side bindings are generated. This option provides backward\-compatibility with older versions of the Java programming language by generating server\-side bindings that are \f2ImplBase\fP Inheritance Model classes. ++\-oldImplBase ++Generates skeletons compatible with pre\-1.4 JDK ORBs. By default, the POA Inheritance Model server\-side bindings are generated. This option provides backward\-compatibility with older versions of the Java programming language by generating server\-side bindings that are \f2ImplBase\fP Inheritance Model classes. + .TP 3 +-\-pkgPrefix type prefix +-Wherever \f2type\fP is encountered at file scope, prefix the generated Java package name with \f2prefix\fP for all files generated for that type. The \f2type\fP is the simple name of either a top\-level module, or an IDL type defined outside of any module. ++\-pkgPrefix type prefix ++Wherever \f2type\fP is encountered at file scope, prefix the generated Java package name with \f2prefix\fP for all files generated for that type. The \f2type\fP is the simple name of either a top\-level module, or an IDL type defined outside of any module. + .TP 3 +-\-pkgTranslate type package ++\-pkgTranslate type package + Whenever the module name \f2type\fP is encountered in an identifier, replace it in the identifier with \f2package\fP for all files in the generated Java package. Note that \f2pkgPrefix\fP changes are made first. \f2type\fP is the simple name of either a top\-level module, or an IDL type defined outside of any module, and must match the full package name exactly. + .br + .br +-If more than one translation matches an identifier, the longest match is chosen. For example, if the arguments include: ++If more than one translation matches an identifier, the longest match is chosen. For example, if the arguments include: + .nf + \f3 + .fl +@@ -654,7 +654,7 @@ + .fl + \fP + .fi +-The following translations would occur: ++The following translations would occur: + .nf + \f3 + .fl +@@ -668,47 +668,47 @@ + .fl + \fP + .fi +-The following package names cannot be translated: ++The following package names cannot be translated: + .RS 3 + .TP 2 + o +-\f2org\fP ++\f2org\fP + .TP 2 + o +-\f2org.omg\fP or any subpackages of \f2org.omg\fP ++\f2org.omg\fP or any subpackages of \f2org.omg\fP + .RE +-Any attempt to translate these packages will result in uncompilable code, and the use of these packages as the first argument after \f2\-pkgTranslate\fP will be treated as an error. ++Any attempt to translate these packages will result in uncompilable code, and the use of these packages as the first argument after \f2\-pkgTranslate\fP will be treated as an error. + .TP 3 +-\-skeletonName xxx%yyy +-Use \f2xxx%yyy\fP as the pattern for naming the skeleton. The defaults are: ++\-skeletonName xxx%yyy ++Use \f2xxx%yyy\fP as the pattern for naming the skeleton. The defaults are: + .RS 3 + .TP 2 + o +-%POA for the \f2POA\fP base class (\f2\-fserver\fP or \f2\-fall\fP) ++%POA for the \f2POA\fP base class (\f2\-fserver\fP or \f2\-fall\fP) + .TP 2 + o +-_%ImplBase for the \f2oldImplBase\fP class (\f2\-oldImplBase\fP and (\f2\-fserver\fP or \f2\-fall\fP)) ++_%ImplBase for the \f2oldImplBase\fP class (\f2\-oldImplBase\fP and (\f2\-fserver\fP or \f2\-fall\fP)) + .RE + .TP 3 +-\-td dir +-Use \f2dir\fP for the output directory instead of the current directory. ++\-td dir ++Use \f2dir\fP for the output directory instead of the current directory. + .TP 3 +-\-tieName xxx%yyy +-Name the tie according to the pattern. The defaults are: ++\-tieName xxx%yyy ++Name the tie according to the pattern. The defaults are: + .RS 3 + .TP 2 + o +-%POATie for the \f2POA\fP tie base class (\f2\-fserverTie\fP or \f2\-fallTie\fP) ++%POATie for the \f2POA\fP tie base class (\f2\-fserverTie\fP or \f2\-fallTie\fP) + .TP 2 + o +-%_Tie for the \f2oldImplBase\fP tie class (\f2\-oldImplBase\fP and (\f2\-fserverTie\fP or \f2\-fallTie\fP)) ++%_Tie for the \f2oldImplBase\fP tie class (\f2\-oldImplBase\fP and (\f2\-fserverTie\fP or \f2\-fallTie\fP)) + .RE + .TP 3 +-\-nowarn, \-verbose +-Verbose mode. ++\-nowarn, \-verbose ++Verbose mode. + .TP 3 +-\-version +-Display version information and terminate. ++\-version ++Display version information and terminate. + .RE + + .LP +@@ -720,10 +720,10 @@ + .RS 3 + .TP 2 + o +-Escaped identifiers in the global scope may not have the same spelling as IDL primitive types, \f2Object\fP, or \f2ValueBase\fP. This is because the symbol table is pre\-loaded with these identifiers; allowing them to be redefined would overwrite their original definitions. (Possible permanent restriction). ++Escaped identifiers in the global scope may not have the same spelling as IDL primitive types, \f2Object\fP, or \f2ValueBase\fP. This is because the symbol table is pre\-loaded with these identifiers; allowing them to be redefined would overwrite their original definitions. (Possible permanent restriction). + .TP 2 + o +-The \f2fixed\fP IDL type is not supported. ++The \f2fixed\fP IDL type is not supported. + .RE + + .LP +@@ -732,8 +732,8 @@ + .RS 3 + .TP 2 + o +-No import generated for global identifiers. If you invoke on an unexported local impl, you do get an exception, but it seems to be due to a \f2NullPointerException\fP in the \f2ServerDelegate\fP DSI code. ++No import generated for global identifiers. If you invoke on an unexported local impl, you do get an exception, but it seems to be due to a \f2NullPointerException\fP in the \f2ServerDelegate\fP DSI code. + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jar.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jar.1 2014-01-18 12:16:32.000000000 -0800 +@@ -19,31 +19,31 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jar 1 "10 May 2011" ++.TH jar 1 "16 Mar 2012" + + .LP + .SH "Name" + jar\-The Java Archive Tool + .LP +-\f3jar\fP combines multiple files into a single JAR archive file. ++\f3jar\fP combines multiple files into a single JAR archive file. + .SH "SYNOPSIS" + .LP + .RS 3 + .TP 3 +-Create jar file +-\f4jar c\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP ++Create jar file ++\f4jar c\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP + .TP 3 +-Update jar file +-\f4jar u\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP ++Update jar file ++\f4jar u\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP + .TP 3 +-Extract jar file +-\f4jar x\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP ++Extract jar file ++\f4jar x\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP + .TP 3 +-List table of contents of jar file +-\f4jar t\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP ++List table of contents of jar file ++\f4jar t\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP + .TP 3 +-Add index to jar file +-\f4jar i\fP \f2jarfile\fP \f2[\-J\fP\f2option\fP\f2]\fP ++Add index to jar file ++\f4jar i\fP \f2jarfile\fP \f2[\-J\fP\f2option\fP\f2]\fP + .RE + + .LP +@@ -52,36 +52,36 @@ + .LP + .RS 3 + .TP 3 +-cuxtiv0Mmfe +-Options that control the \f2jar\fP command. ++cuxtiv0Mmfe ++Options that control the \f2jar\fP command. + .TP 3 +-jarfile +-Jar file to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), or have its table of contents viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if either is present, they must both appear. Note that omitting \f2f\fP and \f2jarfile\fP accepts a "jar file" from standard input (for x and t) or sends the "jar file" to standard output (for c and u). ++jarfile ++Jar file to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), or have its table of contents viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if either is present, they must both appear. Note that omitting \f2f\fP and \f2jarfile\fP accepts a "jar file" from standard input (for x and t) or sends the "jar file" to standard output (for c and u). + .TP 3 +-inputfiles +-Files or directories, separated by spaces, to be combined into \f2jarfile\fP (for c and u), or to be extracted (for x) or listed (for t) from \f2jarfile\fP. All directories are processed recursively. The files are compressed unless option \f20\fP (zero) is used. ++inputfiles ++Files or directories, separated by spaces, to be combined into \f2jarfile\fP (for c and u), or to be extracted (for x) or listed (for t) from \f2jarfile\fP. All directories are processed recursively. The files are compressed unless option \f20\fP (zero) is used. + .TP 3 +-manifest +-Pre\-existing manifest file whose \f2name\fP\f2:\fP \f2value\fP pairs are to be included in MANIFEST.MF in the jar file. The \f2\-m\fP option and filename \f2manifest\fP are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. ++manifest ++Pre\-existing manifest file whose \f2name\fP\f2:\fP \f2value\fP pairs are to be included in MANIFEST.MF in the jar file. The \f2\-m\fP option and filename \f2manifest\fP are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. + .TP 3 +-entrypoint +-The name of the class that set as the application entry point for stand\-alone applications bundled into executable jar file. The \f2\-e\fP option and entrypoint are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. ++entrypoint ++The name of the class that set as the application entry point for stand\-alone applications bundled into executable jar file. The \f2\-e\fP option and entrypoint are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. + .TP 3 +-\-C\ dir +-Temporarily changes directories to \f2dir\fP while processing the following \f2inputfiles\fP argument. Multiple \f2\-C\ \fP\f2dir\fP \f2inputfiles\fP sets are allowed. ++\-C\ dir ++Temporarily changes directories to \f2dir\fP while processing the following \f2inputfiles\fP argument. Multiple \f2\-C\ \fP\f2dir\fP \f2inputfiles\fP sets are allowed. + .TP 3 +-\-Joption +-Option to be passed into the Java runtime environment. (There must be no space between \f2\-J\fP and \f2option\fP). ++\-Joption ++Option to be passed into the Java runtime environment. (There must be no space between \f2\-J\fP and \f2option\fP). + .RE + + .LP + .SH "DESCRIPTION" + .LP +-The \f3jar\fP tool combines multiple files into a single JAR archive file. \f3jar\fP is a general\-purpose archiving and compression tool, based on ZIP and the ++The \f3jar\fP tool combines multiple files into a single JAR archive file. \f3jar\fP is a general\-purpose archiving and compression tool, based on ZIP and the + .na + \f2ZLIB\fP @ + .fi +-http://www.gzip.org/zlib/ compression format. However, \f3jar\fP was designed mainly package java applets or applications into a single archive. When the components of an applet or application (files, images and sounds) are combined into a single archive, they can be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. \f3jar\fP also compresses files and so further improves download time. In addition, it allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the \f2tar\fP command. A \f3jar\fP archive can be used as a class path entry, whether or not it is compressed. ++http://www.gzip.org/zlib/ compression format. However, \f3jar\fP was designed mainly package java applets or applications into a single archive. When the components of an applet or application (files, images and sounds) are combined into a single archive, they can be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. \f3jar\fP also compresses files and so further improves download time. In addition, it allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the \f2tar\fP command. A \f3jar\fP archive can be used as a class path entry, whether or not it is compressed. + .LP + Typical usage to combine files into a jar file is: + .LP +@@ -94,11 +94,11 @@ + .fi + + .LP +-In this example, all the class files in the current directory are placed into the file named \f2myFile.jar\fP. The jar tool automatically generates a manifest file entry named \f2META\-INF/MANIFEST.MF\fP. It is always the first entry in the jar file. The manifest file declares meta\-information about the archive, and stores that data as \f2name\ :\ value\fP pairs. Refer to the ++In this example, all the class files in the current directory are placed into the file named \f2myFile.jar\fP. The jar tool automatically generates a manifest file entry named \f2META\-INF/MANIFEST.MF\fP. It is always the first entry in the jar file. The manifest file declares meta\-information about the archive, and stores that data as \f2name\ :\ value\fP pairs. Refer to the + .na + \f2JAR file specification\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR%20Manifest for details explaining how the jar tool stores meta\-information in the manifest file. ++http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR%20Manifest for details explaining how the jar tool stores meta\-information in the manifest file. + .LP + If a jar file should include \f2name\ :\ value\fP pairs contained in an existing manifest file, specify that file using the \f2\-m\fP option: + .LP +@@ -118,7 +118,7 @@ + .br + + .LP +-\f3Note:\ \fP A jar command that specifies \f2cfm\fP on the command line instead of \f2cmf\fP (the order of the m and \-f options are reversed), the \f3jar\fP command line must specify the name of the jar archive first, followed by the name of the manifest file: ++\f3Note:\ \fP A jar command that specifies \f2cfm\fP on the command line instead of \f2cmf\fP (the order of the m and \-f options are reversed), the \f3jar\fP command line must specify the name of the jar archive first, followed by the name of the manifest file: + .nf + \f3 + .fl +@@ -128,7 +128,7 @@ + .fi + + .LP +-The manifest is in a text format inspired by RFC822 ASCII format, so it is easy to view and process manifest\-file contents. ++The manifest is in a text format inspired by RFC822 ASCII format, so it is easy to view and process manifest\-file contents. + .LP + To extract the files from a jar file, use \f2x\fP: + .LP +@@ -154,11 +154,11 @@ + + .LP + .LP +-Beginning with version 1.3 of the JDK, the \f2jar\fP utility supports ++Beginning with version 1.3 of the JDK, the \f2jar\fP utility supports + .na + \f2JarIndex\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index, which allows application class loaders to load classes more efficiently from jar files. If an application or applet is bundled into multiple jar files,\ only the necessary jar files will be downloaded and opened to load classes. This performance optimization is enabled by running \f2jar\fP with the \f2\-i\fPoption. It will generate package location information for the specified main jar file and all the jar files it depends on, which need to be specified in the \f2Class\-Path\fP attribute of the main jar file's manifest. ++http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index, which allows application class loaders to load classes more efficiently from jar files. If an application or applet is bundled into multiple jar files,\ only the necessary jar files will be downloaded and opened to load classes. This performance optimization is enabled by running \f2jar\fP with the \f2\-i\fPoption. It will generate package location information for the specified main jar file and all the jar files it depends on, which need to be specified in the \f2Class\-Path\fP attribute of the main jar file's manifest. + .LP + .nf + \f3 +@@ -188,21 +188,21 @@ + + .LP + .LP +-To review command samples which use \f2jar\fP to opeate on jar files and jar file manifests, see Examples, below. Also refer to the jar trail of the ++To review command samples which use \f2jar\fP to opeate on jar files and jar file manifests, see Examples, below. Also refer to the jar trail of the + .na + \f2Java Tutorial\fP @ + .fi +-http://download.oracle.com/javase/tutorial/deployment/jar. ++http://docs.oracle.com/javase/tutorial/deployment/jar. + .LP + .SH "OPTIONS" + .LP + .RS 3 + .TP 3 +-c +-Creates a new archive file named \f2jarfile\fP (if \f2f\fP is specified) or to standard output (if \f2f\fP and \f2jarfile\fP are omitted). Add to it the files and directories specified by \f2inputfiles\fP. ++c ++Creates a new archive file named \f2jarfile\fP (if \f2f\fP is specified) or to standard output (if \f2f\fP and \f2jarfile\fP are omitted). Add to it the files and directories specified by \f2inputfiles\fP. + .TP 3 +-u +-Updates an existing file \f2jarfile\fP (when \f2f\fP is specified) by adding to it files and directories specified by \f2inputfiles\fP. For example: ++u ++Updates an existing file \f2jarfile\fP (when \f2f\fP is specified) by adding to it files and directories specified by \f2inputfiles\fP. For example: + .nf + \f3 + .fl +@@ -210,7 +210,7 @@ + .fl + \fP + .fi +-would add the file \f2foo.class\fP to the existing jar file \f2foo.jar\fP. The \f2\-u\fP option can also update the manifest entry, as given by this example: ++would add the file \f2foo.class\fP to the existing jar file \f2foo.jar\fP. The \f2\-u\fP option can also update the manifest entry, as given by this example: + .nf + \f3 + .fl +@@ -218,16 +218,16 @@ + .fl + \fP + .fi +-updates the \f2foo.jar\fP manifest with the \f2name : value\fP pairs in \f2manifest\fP. ++updates the \f2foo.jar\fP manifest with the \f2name : value\fP pairs in \f2manifest\fP. + .TP 3 +-x +-Extracts files and directories from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are extracted. Otherwise, all files and directories are extracted. The time and date of the extracted files are those given in the archive. ++x ++Extracts files and directories from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are extracted. Otherwise, all files and directories are extracted. The time and date of the extracted files are those given in the archive. + .TP 3 +-t +-Lists the table of contents from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are listed. Otherwise, all files and directories are listed. ++t ++Lists the table of contents from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are listed. Otherwise, all files and directories are listed. + .TP 3 +-i +-Generate index information for the specified \f2jarfile\fP and its dependent jar files. For example: ++i ++Generate index information for the specified \f2jarfile\fP and its dependent jar files. For example: + .nf + \f3 + .fl +@@ -236,25 +236,25 @@ + \fP + .fi + .LP +-would generate an \f2INDEX.LIST\fP file in \f2foo.jar\fP which contains location information for each package in \f2foo.jar\fP and all the jar files specified in the \f2Class\-Path\fP attribute of \f2foo.jar\fP. See the index example. ++would generate an \f2INDEX.LIST\fP file in \f2foo.jar\fP which contains location information for each package in \f2foo.jar\fP and all the jar files specified in the \f2Class\-Path\fP attribute of \f2foo.jar\fP. See the index example. + .TP 3 +-f +-Specifies the file \f2jarfile\fP to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), indexed (\f2i\fP), or viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if present, they must both appear. Omitting \f2f\fP and \f2jarfile\fP accepts a jar file name from \f2stdin\fP(for x and t) or sends jar file to \f2stdout\fP (for c and u). ++f ++Specifies the file \f2jarfile\fP to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), indexed (\f2i\fP), or viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if present, they must both appear. Omitting \f2f\fP and \f2jarfile\fP accepts a jar file name from \f2stdin\fP(for x and t) or sends jar file to \f2stdout\fP (for c and u). + .TP 3 +-v +-Generates verbose output to standard output. Examples shown below. ++v ++Generates verbose output to standard output. Examples shown below. + .TP 3 +-0 +-(zero) Store without using ZIP compression. ++0 ++(zero) Store without using ZIP compression. + .TP 3 +-M +-Do not create a manifest file entry (for c and u), or delete a manifest file entry if one exists (for u). ++M ++Do not create a manifest file entry (for c and u), or delete a manifest file entry if one exists (for u). + .TP 3 +-m ++m + Includes \f2name : value\fP attribute pairs from the specified manifest file \f2manifest\fP in the file at \f2META\-INF/MANIFEST.MF\fP. \f2jar\fP adds a \f2name\ :\ value\fP pair unless an entry already exists with the same name, in which case \f2jar\fP updates its value. + .br + .br +-On the command line, the letters \f3m\fP and \f3f\fP must appear in the same order that \f2manifest\fP and \f2jarfile\fP appear. Example use: ++On the command line, the letters \f3m\fP and \f3f\fP must appear in the same order that \f2manifest\fP and \f2jarfile\fP appear. Example use: + .nf + \f3 + .fl +@@ -262,18 +262,18 @@ + .fl + \fP + .fi +-You can add special\-purpose \f2name\ :\ value\fP attribute pairs to the manifest that aren't contained in the default manifest. For example, you can add attributes specifying vendor information, version information, package sealing, or to make JAR\-bundled applications executable. See the ++You can add special\-purpose \f2name\ :\ value\fP attribute pairs to the manifest that aren't contained in the default manifest. For example, you can add attributes specifying vendor information, version information, package sealing, or to make JAR\-bundled applications executable. See the + .na + \f2JAR Files\fP @ + .fi +-http://download.oracle.com/javase/tutorial/deployment/jar/ trail in the Java Tutorial for examples of using the \f4\-m\fP option. ++http://docs.oracle.com/javase/tutorial/deployment/jar/ trail in the Java Tutorial for examples of using the \f4\-m\fP option. + .TP 3 +-e ++e + Sets \f2entrypoint\fP as the application entry point for stand\-alone applications bundled into executable jar file. The use of this option creates or overrides the \f2Main\-Class\fP attribute value in the manifest file. This option can be used during creation of jar file or while updating the jar file. This option specifies the application entry point without editing or creating the manifest file. + .br + .br + .br +-For example, this command creates \f2Main.jar\fP where the \f2Main\-Class\fP attribute value in the manifest is set to \f2Main\fP: ++For example, this command creates \f2Main.jar\fP where the \f2Main\-Class\fP attribute value in the manifest is set to \f2Main\fP: + .nf + \f3 + .fl +@@ -281,7 +281,7 @@ + .fl + \fP + .fi +-The java runtime can directly invoke this application by running the following command: ++The java runtime can directly invoke this application by running the following command: + .nf + \f3 + .fl +@@ -289,7 +289,7 @@ + .fl + \fP + .fi +-If the entrypoint class name is in a package it may use either a dot (".") or slash ("/") character as the delimiter. For example, if \f2Main.class\fP is in a package called \f2foo\fP the entry point can be specified in the following ways: ++If the entrypoint class name is in a package it may use either a dot (".") or slash ("/") character as the delimiter. For example, if \f2Main.class\fP is in a package called \f2foo\fP the entry point can be specified in the following ways: + .nf + \f3 + .fl +@@ -297,7 +297,7 @@ + .fl + \fP + .fi +-or ++or + .nf + \f3 + .fl +@@ -305,13 +305,13 @@ + .fl + \fP + .fi +-\f3Note:\ \fP specifying both \f2\-m\fP and \f2\-e\fP options together when the given manifest also contains the \f2Main\-Class\fP attribute results in an ambigous \f2Main.class\fP specification, leading to an error and the jar creation or update operation is aborted. ++\f3Note:\ \fP specifying both \f2\-m\fP and \f2\-e\fP options together when the given manifest also contains the \f2Main\-Class\fP attribute results in an ambigous \f2Main.class\fP specification, leading to an error and the jar creation or update operation is aborted. + .TP 3 +-\-C\ dir ++\-C\ dir + Temporarily changes directories (\f2cd\fP\ \f2dir\fP) during execution of the \f2jar\fP command while processing the following \f2inputfiles\fP argument. Its operation is intended to be similar to the \f2\-C\fP option of the UNIX \f2tar\fP utility. + .br + .br +-For example, this command changes to the \f2classes\fP directory and adds the \f2bar.class\fP from that directory to \f2foo.jar\fP: ++For example, this command changes to the \f2classes\fP directory and adds the \f2bar.class\fP from that directory to \f2foo.jar\fP: + .nf + \f3 + .fl +@@ -319,7 +319,7 @@ + .fl + \fP + .fi +-This command changes to the \f2classes\fP directory and adds to \f2foo.jar\fP all files within the \f2classes\fP directory (without creating a classes directory in the jar file), then changes back to the original directory before changing to the \f2bin\fP directory to add \f2xyz.class\fP to \f2foo.jar\fP. ++This command changes to the \f2classes\fP directory and adds to \f2foo.jar\fP all files within the \f2classes\fP directory (without creating a classes directory in the jar file), then changes back to the original directory before changing to the \f2bin\fP directory to add \f2xyz.class\fP to \f2foo.jar\fP. + .nf + \f3 + .fl +@@ -327,7 +327,7 @@ + .fl + \fP + .fi +-If \f2classes\fP holds files \f2bar1\fP and \f2bar2\fP, then here's what the jar file will contain using \f2jar tf foo.jar\fP: ++If \f2classes\fP holds files \f2bar1\fP and \f2bar2\fP, then here's what the jar file will contain using \f2jar tf foo.jar\fP: + .nf + \f3 + .fl +@@ -345,14 +345,14 @@ + .fi + .LP + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java runtime environment, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f4\-J\-Xmx48M\fP sets the maximum memory to 48 megabytes. It is a common convention for \f2\-J\fP to pass options to the underlying runtime environment. ++\-Joption ++Pass \f2option\fP to the Java runtime environment, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f4\-J\-Xmx48M\fP sets the maximum memory to 48 megabytes. It is a common convention for \f2\-J\fP to pass options to the underlying runtime environment. + .RE + + .LP + .SH "COMMAND LINE ARGUMENT FILES" + .LP +-To shorten or simplify the jar command line, you can specify one or more files that themselves contain arguments to the \f2jar\fP command (except \f2\-J\fP options). This enables you to create jar commands of any length, overcoming command line limits imposed by the operating system. ++To shorten or simplify the jar command line, you can specify one or more files that themselves contain arguments to the \f2jar\fP command (except \f2\-J\fP options). This enables you to create jar commands of any length, overcoming command line limits imposed by the operating system. + .LP + An argument file can include options and filenames. The arguments within a file can be space\-separated or newline\-separated. Filenames within an argument file are relative to the current directory, not relative to the location of the argument file. Wildcards (*) that might otherwise be expanded by the operating system shell are not expanded. Use of the \f2@\fP character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files. + .LP +@@ -360,7 +360,7 @@ + When executing \f2jar\fP, pass in the path and name of each argument file with the \f2@\fP leading character. When \f2jar\fP encounters an argument beginning with the character \f2@\fP, it expands the contents of that file into the argument list. + .br + .br +-The example below, \f2classes.list\fP holds the names of files output by a \f2find\fP command: ++The example below, \f2classes.list\fP holds the names of files output by a \f2find\fP command: + .LP + .nf + \f3 +@@ -382,7 +382,7 @@ + .fi + + .LP +-An argument file can specify a path, but any filenames inside the argument file that have relative paths are relative to the current working directory, not to the path passed in. Here is an example: ++An argument file can specify a path, but any filenames inside the argument file that have relative paths are relative to the current working directory, not to the path passed in. Here is an example: + .nf + \f3 + .fl +@@ -397,7 +397,7 @@ + .LP + .SH "EXAMPLES" + .LP +-To add all the files in a particular directory to an archive (overwriting contents if the archive already exists). Enumerating verbosely (with the \f2\-v\fP option) will tell you more information about the files in the archive, such as their size and last modified date. ++To add all the files in a particular directory to an archive (overwriting contents if the archive already exists). Enumerating verbosely (with the \f2\-v\fP option) will tell you more information about the files in the archive, such as their size and last modified date. + .nf + \f3 + .fl +@@ -435,7 +435,7 @@ + .fi + + .LP +-If you already have separate subdirectories for images, audio files and classes, you can combine them into a single jar file: ++If you already have separate subdirectories for images, audio files and classes, you can combine them into a single jar file: + .nf + \f3 + .fl +@@ -481,7 +481,7 @@ + .fi + + .LP +-To see the entry names in the jarfile, use the \f2t\fP option: ++To see the entry names in the jarfile, use the \f2t\fP option: + .nf + \f3 + .fl +@@ -526,7 +526,7 @@ + .br + + .LP +-If you specify the \f2Class\-path\fP attribute in the \f2main.jar\fP manifest as: ++If you specify the \f2Class\-path\fP attribute in the \f2main.jar\fP manifest as: + .nf + \f3 + .fl +@@ -536,7 +536,7 @@ + .fi + + .LP +-then you can use the \f2\-i\fP option to speed up the class loading time for your application: ++then you can use the \f2\-i\fP option to speed up the class loading time for your application: + .nf + \f3 + .fl +@@ -546,34 +546,34 @@ + .fi + + .LP +-An \f2INDEX.LIST\fP file is inserted to the \f2META\-INF\fP directory. This enables the application class loader to download the specified jar files when it is searching for classes or resources. ++An \f2INDEX.LIST\fP file is inserted to the \f2META\-INF\fP directory. This enables the application class loader to download the specified jar files when it is searching for classes or resources. + .SH "SEE ALSO" + .LP + .LP + .na + \f2The Jar Overview\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jar/jarGuide.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jarGuide.html + .LP + .LP + .na + \f2The Jar File Specification\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jar/jar.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html + .LP + .LP + .na + \f2The JarIndex Spec\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index ++http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index + .LP + .LP + .na + \f2Jar Tutorial\fP @ + .fi +-http://download.oracle.com/javase/tutorial/deployment/jar/index.html ++http://docs.oracle.com/javase/tutorial/deployment/jar/index.html + .LP + .LP + pack200(1) + .LP +- ++ +--- jdk/src/bsd/doc/man/jarsigner.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jarsigner.1 2014-01-18 12:19:24.000000000 -0800 +@@ -1,1567 +1,985 @@ +-." Copyright (c) 1998, 2011, 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. +-." +-.TH jarsigner 1 "10 May 2011" +- +-.LP +-.SH "Name" +-jarsigner \- JAR Signing and Verification Tool +-.LP +-.LP +-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files. +-.LP +-.SH "SYNOPSIS" +-.LP +-.nf +-\f3 +-.fl +-\fP\f3jarsigner\fP [ options ] jar\-file alias +-.fl +-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...] +-.fl +-.fi +- +-.LP +-.LP +-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore. +-.LP +-.SH "DESCRIPTION" +-.LP +-.LP +-The \f3jarsigner\fP tool is used for two purposes: +-.LP +-.RS 3 +-.TP 3 +-1. +-to sign Java ARchive (JAR) files, and +-.TP 3 +-2. +-to verify the signatures and integrity of signed JAR files. +-.RE +- +-.LP +-.LP +-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.) +-.LP +-.LP +-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics: +-.LP +-.RS 3 +-.TP 2 +-o +-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature. +-.TP 2 +-o +-It cannot be forged, assuming the private key is kept secret. +-.TP 2 +-o +-It is a function of the data signed and thus can't be claimed to be the signature for other data as well. +-.TP 2 +-o +-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic. +-.RE +- +-.LP +-.LP +-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value. +-.LP +-.LP +-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores. +-.LP +-.LP +-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file). +-.LP +-.LP +-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information. +-.LP +-.LP +-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.) +-.LP +-.LP +-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file. +-.LP +-.SS +-Keystore Aliases +-.LP +-.LP +-All keystore entities are accessed via unique \f2aliases\fP. +-.LP +-.LP +-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file. +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password. +-.LP +-.SS +-Keystore Location +-.LP +-.LP +-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory. +-.LP +-.LP +-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device. +-.LP +-.SS +-Keystore Implementation +-.LP +-.LP +-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. +-.LP +-.LP +-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it. +-.LP +-.LP +-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. +-.LP +-.LP +-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in +-.na +-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @ +-.fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. +-.LP +-.LP +-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. +-.LP +-.LP +-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. +-.LP +-.LP +-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu. +-.LP +-.LP +-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). +-.LP +-.LP +-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. +-.LP +-.LP +-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): +-.LP +-.nf +-\f3 +-.fl +- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file: +-.LP +-.nf +-\f3 +-.fl +- keystore.type=jks +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". +-.LP +-.LP +-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to +-.LP +-.nf +-\f3 +-.fl +- keystore.type=pkcs12 +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that if you us the PKCS#11 provider package, you should refer to the +-.na +-\f2KeyTool and JarSigner\fP @ +-.fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details. +-.LP +-.SS +-Supported Algorithms +-.LP +-.LP +-By default, \f3jarsigner\fP signs a JAR file using one of the following: +-.LP +-.RS 3 +-.TP 2 +-o +-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm +-.TP 2 +-o +-RSA algorithm with the SHA256 digest algorithm. +-.TP 2 +-o +-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm). +-.RE +- +-.LP +-.LP +-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm. +-.LP +-.LP +-These default signature algorithms can be overridden using the \f2\-sigalg\fP option. +-.LP +-.SS +-The Signed JAR File +-.LP +-.LP +-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory: +-.LP +-.RS 3 +-.TP 2 +-o +-a signature file, with a .SF extension, and +-.TP 2 +-o +-a signature block file, with a .DSA, .RSA, or .EC extension. +-.RE +- +-.LP +-.LP +-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as +-.LP +-.nf +-\f3 +-.fl +-\-sigFile MKSIGN +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The files are named "MKSIGN.SF" and "MKSIGN.DSA". +-.LP +-.LP +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens. +-.LP +-\f3The Signature (.SF) File\fP +-.LP +-.LP +-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following: +-.LP +-.RS 3 +-.TP 2 +-o +-the file name, +-.TP 2 +-o +-the name of the digest algorithm used (SHA), and +-.TP 2 +-o +-a SHA digest value. +-.RE +- +-.LP +-.LP +-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file. +-.LP +-.LP +-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification. +-.LP +-\f3The Signature Block File\fP +-.LP +-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used. +-.SS +-Signature Timestamp +-.LP +-.LP +-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options: +-.LP +-.RS 3 +-.TP 2 +-o +-\f2\-tsa url\fP +-.TP 2 +-o +-\f2\-tsacert alias\fP +-.TP 2 +-o +-\f2\-altsigner class\fP +-.TP 2 +-o +-\f2\-altsignerpath classpathlist\fP +-.RE +- +-.LP +-.LP +-Each of these options is detailed in the Options section below. +-.LP +-.SS +-JAR File Verification +-.LP +-.LP +-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps: +-.LP +-.RS 3 +-.TP 3 +-1. +-Verify the signature of the .SF file itself. +-.br +-.br +-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with. +-.TP 3 +-2. +-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest. +-.br +-.br +-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step. +-.br +-.br +-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File). +-.br +-.br +-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file. +-.TP 3 +-3. +-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails. +-.RE +- +-.LP +-.LP +-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP. +-.LP +-.SS +-Multiple Signatures for a JAR File +-.LP +-.LP +-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner myBundle.jar susan +-.fl +- jarsigner myBundle.jar kevin +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names: +-.LP +-.nf +-\f3 +-.fl +- SUSAN.SF +-.fl +- SUSAN.DSA +-.fl +- KEVIN.SF +-.fl +- KEVIN.DSA +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP. +-.LP +-.SH "OPTIONS" +-.LP +-.LP +-The various \f3jarsigner\fP options are listed and described below. Note: +-.LP +-.RS 3 +-.TP 2 +-o +-All option names are preceded by a minus sign (\-). +-.TP 2 +-o +-The options may be provided in any order. +-.TP 2 +-o +-Items in italics (option values) represent the actual values that must be supplied. +-.TP 2 +-o +-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file. +-.RE +- +-.LP +-.RS 3 +-.TP 3 +-\-keystore url +-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property. +-.br +-.br +-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default). +-.br +-.br +-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore. +-.br +-.br +-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is, +-.nf +-\f3 +-.fl +- \-keystore \fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-is treated as equivalent to +-.nf +-\f3 +-.fl +- \-keystore file:\fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options: +-.RS 3 +-.TP 2 +-o +-\f2\-keystore NONE\fP +-.TP 2 +-o +-\f2\-storetype PKCS11\fP +-.RE +-For example, this command lists the contents of the configured PKCS#11 token: +-.nf +-\f3 +-.fl +- jarsigner \-keystore NONE \-storetype PKCS11 \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-storetype storetype +-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP. +-.br +-.br +-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified. +-.TP 3 +-\-storepass[:env | :file] argument +-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-keypass[:env | :file] argument +-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-sigfile file +-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file. +-.br +-.br +-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names. +-.br +-.br +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. +-.TP 3 +-\-sigalg algorithm +-Specifies the name of the signature algorithm to use to sign the JAR file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-digestalg algorithm +-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-signedjar file +-Specifies the name to be used for the signed JAR file. +-.br +-.br +-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file. +-.TP 3 +-\-verify +-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)" +-.br +-.br +-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both. +-.br +-.br +-For further information on verification, see JAR File Verification. +-.TP 3 +-\-certs +-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes +-.RS 3 +-.TP 2 +-o +-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key +-.TP 2 +-o +-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer +-.RE +-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed: +-.RS 3 +-.TP 2 +-o +-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses. +-.RE +-.TP 3 +-\-certchain file +-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard. +-.TP 3 +-\-verbose +-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification. +-.TP 3 +-\-internalsf +-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-sectionsonly +-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File . +-.br +-.br +-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file. +-.br +-.br +-For further information, see JAR File Verification. +-.br +-.br +-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-protected +-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. +-.TP 3 +-\-providerClass provider\-class\-name +-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP. +-.br +-.br +-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file. +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerClass sun.security.pkcs11.SunPKCS11 \\ +-.fl +- \-providerArg /foo/bar/token.config \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-providerName providerName +-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider. +-.br +-.br +-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the +-.na +-\f2configuration attributes table\fP @ +-.fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP: +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerName SunPKCS11\-SmartCard \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-Jjavaoption +-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line. +-.TP 3 +-\-tsa url +-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore. +-.br +-.br +-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in +-.na +-\f2RFC 3161\fP @ +-.fi +-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file. +-.TP 3 +-\-tsacert alias +-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA. +-.br +-.br +-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP. +-.TP 3 +-\-altsigner class +-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism. +-.br +-.br +-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP +-.TP 3 +-\-altsignerpath classpathlist +-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below. +-.br +-.br +-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path. +-.br +-.br +-Example of specifying the path to a jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/lib/authsigner.jar +-.fl +-\fP +-.fi +-Note that the JAR file name is included. +-.br +-.br +-Example of specifying the path to the jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +-.fl +-\fP +-.fi +-Note that the JAR file name is omitted. +-.TP 3 +-\-strict +-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details. +-.TP 3 +-\-verbose:sub\-options +-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information. +-.RE +- +-.LP +-.SH "EXAMPLES" +-.LP +-.SS +-Signing a JAR File +-.LP +-.LP +-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar": +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP. +-.LP +-.LP +-If you want to be prompted for the store password and the private key password, you could shorten the above command to +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore +-.fl +- \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option: +-.LP +-.nf +-\f3 +-.fl +- jarsigner bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verifying a Signed JAR File +-.LP +-.LP +-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify sbundle.jar +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the verification is successful, +-.LP +-.nf +-\f3 +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-is displayed. Otherwise, an error message appears. +-.LP +-.LP +-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify \-verbose sbundle.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class +-.fl +- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification with Certificate Information +-.LP +-.LP +-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example, +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF +-.fl +- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class +-.fl +- +-.fl +- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest) +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get +-.LP +-.nf +-\f3 +-.fl +- PGP, (bob) +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification of a JAR File that Includes Identity Database Signers +-.LP +-.LP +-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear. +-.LP +-.LP +-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF +-.fl +- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA +-.fl +- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html +-.fl +- +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke] +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- i = at least one certificate was found in identity scope +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias. +-.LP +-.SH "WARNINGS" +-.LP +-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows: +-.nf +-\f3 +-.fl +- hasExpiringCert 2 +-.fl +- This jar contains entries whose signer certificate will expire within six months +-.fl +- +-.fl +- hasExpiredCert 4 +-.fl +- This jar contains entries whose signer certificate has expired. +-.fl +- +-.fl +- notYetValidCert 4 +-.fl +- This jar contains entries whose signer certificate is not yet valid. +-.fl +- +-.fl +- chainNotValidated 4 +-.fl +- This jar contains entries whose certificate chain cannot be correctly validated. +-.fl +- +-.fl +- badKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing. +-.fl +- +-.fl +- badExtendedKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's ExtendedKeyUsage extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- badNetscapeCertType 8 +-.fl +- This jar contains entries whose signer certificate's NetscapeCertType extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- hasUnsignedEntry 16 +-.fl +- This jar contains unsigned entries which have not been integrity\-checked. +-.fl +- +-.fl +- notSignedByAlias 32 +-.fl +- This jar contains signed entries which are not signed by the specified alias(es) +-.fl +- +-.fl +- aliasNotInStore 32 +-.fl +- This jar contains signed entries that are not signed by alias in this keystore +-.fl +- +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned. +-.LP +-.LP +-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned: +-.LP +-.nf +-\f3 +-.fl +-failure 1 +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Compatibility with JDK 1.1 +-.LP +-.LP +-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them. +-.LP +-.LP +-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However, +-.LP +-.RS 3 +-.TP 2 +-o +-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command. +-.TP 2 +-o +-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP. +-.TP 2 +-o +-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore. +-.RE +- +-.LP +-.LP +-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform. +-.LP +-.LP +-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +-.de 35 +-.ps \n(.s +-.vs \n(.vu +-.in \n(.iu +-.if \n(.u .fi +-.if \n(.j .ad +-.if \n(.j=0 .na +-.. +-.nf +-.nr #~ 0 +-.if n .nr #~ 0.6n +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.fc +-.nr 33 \n(.s +-.rm 80 81 82 83 84 +-.nr 34 \n(.lu +-.eo +-.am 82 +-.br +-.di a+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(82 .ll \n(82u +-.in 0 +-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP +-.br +-.di +-.nr a| \n(dn +-.nr a- \n(dl +-.. +-.ec \ +-.eo +-.am 83 +-.br +-.di b+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(83 .ll \n(83u +-.in 0 +-\f3Policy File grants privileges to Identity/Alias\fP +-.br +-.di +-.nr b| \n(dn +-.nr b- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di c+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr c| \n(dn +-.nr c- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di d+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr d| \n(dn +-.nr d- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di e+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr e| \n(dn +-.nr e- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di f+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (3) +-.br +-.di +-.nr f| \n(dn +-.nr f- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di g+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (1,3) +-.br +-.di +-.nr g| \n(dn +-.nr g- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di h+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. +-.br +-.di +-.nr h| \n(dn +-.nr h- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di i+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. (2) +-.br +-.di +-.nr i| \n(dn +-.nr i- \n(dl +-.. +-.ec \ +-.35 +-.nf +-.ll \n(34u +-.nr 80 0 +-.nr 38 \w\f3JAR File Type\fP +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wUnsigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.80 +-.rm 80 +-.nr 81 0 +-.nr 38 \w\f3Identity in 1.1 database\fP +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.81 +-.rm 81 +-.nr 82 0 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.82 +-.rm 82 +-.nr 38 \n(a- +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 83 0 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.83 +-.rm 83 +-.nr 38 \n(b- +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 84 0 +-.nr 38 \w\f3Privileges Granted\fP +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.84 +-.rm 84 +-.nr 38 \n(c- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(d- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(e- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(f- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(g- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(h- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(i- +-.if \n(84<\n(38 .nr 84 \n(38 +-.35 +-.nf +-.ll \n(34u +-.nr 38 1n +-.nr 79 0 +-.nr 40 \n(79+(0*\n(38) +-.nr 80 +\n(40 +-.nr 41 \n(80+(3*\n(38) +-.nr 81 +\n(41 +-.nr 42 \n(81+(3*\n(38) +-.nr 82 +\n(42 +-.nr 43 \n(82+(3*\n(38) +-.nr 83 +\n(43 +-.nr 44 \n(83+(3*\n(38) +-.nr 84 +\n(44 +-.nr TW \n(84 +-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units +-.fc +-.nr #T 0-1 +-.nr #a 0-1 +-.eo +-.de T# +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.mk ## +-.nr ## -1v +-.ls 1 +-.ls +-.. +-.ec +-.ne \n(a|u+\n(.Vu +-.ne \n(b|u+\n(.Vu +-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(42u +-.in +\n(37u +-.a+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(43u +-.in +\n(37u +-.b+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(c|u+\n(.Vu +-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.c+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(d|u+\n(.Vu +-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.d+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(e|u+\n(.Vu +-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.e+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(f|u+\n(.Vu +-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.f+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(g|u+\n(.Vu +-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.g+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(h|u+\n(.Vu +-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.h+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(i|u+\n(.Vu +-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.i+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1) +-.fc +-.nr T. 1 +-.T# 1 +-.35 +-.rm a+ +-.rm b+ +-.rm c+ +-.rm d+ +-.rm e+ +-.rm f+ +-.rm g+ +-.rm h+ +-.rm i+ +-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42 +- +-.LP +-.LP +-Notes: +-.LP +-.RS 3 +-.TP 3 +-1. +-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted. +-.TP 3 +-2. +-The policy file/keystore combination has precedence over a trusted identity in the identity database. +-.TP 3 +-3. +-Untrusted identities are ignored in the Java 2 platform. +-.TP 3 +-4. +-Only trusted identities can be imported into Java 2 SDK keystores. +-.RE +- +-.LP +-.SH "SEE ALSO" +-.LP +-.RS 3 +-.TP 2 +-o +-jar(1) tool documentation +-.TP 2 +-o +-keytool(1) tool documentation +-.TP 2 +-o +-the +-.na +-\f4Security\fP @ +-.fi +-http://download.oracle.com/javase/tutorial/security/index.html trail of the +-.na +-\f4Java Tutorial\fP @ +-.fi +-http://download.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool +-.RE +- +-.LP +- ++'\" t ++.\" Copyright (c) 1998, 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. ++.\" ++.\" Arch: generic ++.\" Software: JDK 7 ++.\" Date: 6 August 2013 ++.\" SectDesc: Security Tools ++.\" Title: jarsigner.1 ++.\" ++.if n .pl 99999 ++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools" ++.\" ----------------------------------------------------------------- ++.\" * Define some portability stuff ++.\" ----------------------------------------------------------------- ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.\" http://bugs.debian.org/507673 ++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ----------------------------------------------------------------- ++.\" * set default formatting ++.\" ----------------------------------------------------------------- ++.\" disable hyphenation ++.nh ++.\" disable justification (adjust text to left margin only) ++.ad l ++.\" ----------------------------------------------------------------- ++.\" * MAIN CONTENT STARTS HERE * ++.\" ----------------------------------------------------------------- ++ ++.SH NAME ++jarsigner \- Signs and verifies Java Archive (JAR) files\&. ++.SH SYNOPSIS ++.sp ++.nf ++ ++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR ++.fi ++.nf ++ ++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] ++.fi ++.sp ++.TP ++\fIoptions\fR ++The command-line options\&. See Options\&. ++.TP ++-verify ++.br ++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&. ++.TP ++\fIjar-file\fR ++The JAR file to be signed\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&. ++.TP ++\fIalias\fR ++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++.SH DESCRIPTION ++The \f3jarsigner\fR tool has two purposes: ++.TP 0.2i ++\(bu ++To sign Java Archive (JAR) files\&. ++.TP 0.2i ++\(bu ++To verify the signatures and integrity of signed JAR files\&. ++.PP ++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.) ++.PP ++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics: ++.TP 0.2i ++\(bu ++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&. ++.TP 0.2i ++\(bu ++It cannot be forged, assuming the private key is kept secret\&. ++.TP 0.2i ++\(bu ++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&. ++.TP 0.2i ++\(bu ++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&. ++.PP ++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&. ++.PP ++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&. ++.PP ++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&. ++.PP ++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&. ++.PP ++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&. ++.PP ++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&. ++.PP ++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&. ++.SS KEYSTORE\ ALIASES ++All keystore entities are accessed with unique aliases\&. ++.PP ++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&. ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&. ++.SS KEYSTORE\ LOCATION ++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++.PP ++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&. ++.PP ++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&. ++.SS KEYSTORE\ IMPLEMENTATION ++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&. ++.PP ++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&. ++.PP ++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&. ++.PP ++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html ++.PP ++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&. ++.PP ++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&. ++.PP ++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&. ++.PP ++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&. ++.PP ++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&. ++.PP ++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR: ++.sp ++.nf ++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file: ++.sp ++.nf ++\f3keystore\&.type=jks\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&. ++.PP ++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following: ++.sp ++.nf ++\f3keystore\&.type=pkcs12\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html ++.SS SUPPORTED\ ALGORITHMS ++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms: ++.TP 0.2i ++\(bu ++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm ++.TP 0.2i ++\(bu ++RSA algorithm with the SHA256 digest algorithm ++.TP 0.2i ++\(bu ++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&. ++.PP ++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&. ++.PP ++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&. ++.SS THE\ SIGNED\ JAR\ FILE ++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory: ++.TP 0.2i ++\(bu ++A signature file with an \f3\&.SF\fR extension ++.TP 0.2i ++\(bu ++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension ++.PP ++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR ++.PP ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&. ++.PP ++Signature File ++ ++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following: ++.TP 0.2i ++\(bu ++File name ++.TP 0.2i ++\(bu ++Name of the digest algorithm (SHA) ++.TP 0.2i ++\(bu ++SHA digest value ++.PP ++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&. ++.PP ++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&. ++.PP ++Signature Block File ++ ++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&. ++.SS SIGNATURE\ TIME\ STAMP ++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&. ++.sp ++.nf ++\f3\-tsa \fIurl\fR\fP ++.fi ++.nf ++\f3\-tsacert \fIalias\fR\fP ++.fi ++.nf ++\f3\-altsigner \fIclass\fR\fP ++.fi ++.nf ++\f3\-altsignerpath \fIclasspathlist\fR\fP ++.fi ++.nf ++\f3\-tsapolicyid \fIpolicyid\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS JAR\ FILE\ VERIFICATION ++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps: ++.TP 0.4i ++1\&. ++Verify the signature of the \f3\&.SF\fR file\&. ++ ++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&. ++.TP 0.4i ++2\&. ++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&. ++ ++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&. ++ ++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&. ++ ++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&. ++.TP 0.4i ++3\&. ++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&. ++ ++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&. ++.PP ++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&. ++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE ++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows: ++.sp ++.nf ++\f3jarsigner myBundle\&.jar susan\fP ++.fi ++.nf ++\f3jarsigner myBundle\&.jar kevin\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names: ++.sp ++.nf ++\f3SUSAN\&.SF\fP ++.fi ++.nf ++\f3SUSAN\&.DSA\fP ++.fi ++.nf ++\f3KEVIN\&.SF\fP ++.fi ++.nf ++\f3KEVIN\&.DSA\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&. ++.SH OPTIONS ++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards: ++.TP 0.2i ++\(bu ++All option names are preceded by a minus sign (-)\&. ++.TP 0.2i ++\(bu ++The options can be provided in any order\&. ++.TP 0.2i ++\(bu ++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&. ++.TP 0.2i ++\(bu ++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&. ++.TP ++-keystore \fIurl\fR ++.br ++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++ ++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&. ++ ++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&. ++ ++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent: ++.sp ++.nf ++\f3\-keystore \fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\-keystore file:\fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options: ++.sp ++.nf ++\f3\-keystore NONE\fP ++.fi ++.nf ++\f3\-storetype PKCS11\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++For example, the following command lists the contents of the configured PKCS#11 token: ++.sp ++.nf ++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-storetype \fIstoretype\fR ++.br ++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&. ++ ++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&. ++.TP ++-storepass[:env | :file] \fIargument\fR ++.br ++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-keypass [:env | :file] \fIargument\fR ++.br ++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-sigfile \fIfile\fR ++.br ++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&. ++ ++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&. ++ ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&. ++.TP ++-sigalg \fIalgorithm\fR ++.br ++Specifies the name of the signature algorithm to use to sign the JAR file\&. ++ ++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-digestalg \fIalgorithm\fR ++.br ++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&. ++ ++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-certs ++.br ++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&. ++ ++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&. ++.TP ++-certchain \fIfile\fR ++.br ++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&. ++.TP ++-verbose ++.br ++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&. ++.TP ++-internalsf ++.br ++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&. ++.TP ++-sectionsonly ++.br ++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&. ++ ++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&. ++ ++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&. ++.TP ++-protected ++.br ++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&. ++.TP ++-providerClass \fIprovider-class-name\fR ++.br ++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&. ++ ++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&. ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-providerName \fIproviderName\fR ++.br ++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&. ++ ++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR: ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerName SunPKCS11\-SmartCard \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-J\fIjavaoption\fR ++.br ++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&. ++.TP ++-tsa \fIurl\fR ++.br ++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&. ++ ++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&. ++.TP ++-tsacert \fIalias\fR ++.br ++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&. ++ ++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&. ++.TP ++-tsapolicyid \fIpolicyid\fR ++.br ++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&. ++ ++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&. ++.TP ++-altsigner \fIclass\fR ++.br ++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&. ++ ++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&. ++.TP ++-altsignerpath \fIclasspathlist\fR ++.br ++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&. ++ ++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&. ++ ++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-strict ++.br ++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&. ++.TP ++-verbose \fIsuboptions\fR ++.br ++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&. ++.SH ERRORS\ AND\ WARNINGS ++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&. ++.PP ++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&. ++.PP ++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&. ++.PP ++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&. ++.PP ++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&. ++.SS FAILURE ++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&. ++.TP ++failure ++Code 1\&. The signing or verifying fails\&. ++.SS SEVERE\ WARNINGS ++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&. ++.PP ++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&. ++.TP ++hasExpiredCert ++Code 4\&. This jar contains entries whose signer certificate has expired\&. ++.TP ++notYetValidCert ++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&. ++.TP ++chainNotValidated ++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&. ++.TP ++badKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badExtendedKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badNetscapeCertType ++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&. ++.TP ++hasUnsignedEntry ++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&. ++.TP ++notSignedByAlias ++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&. ++.TP ++aliasNotInStore ++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&. ++.SS INFORMATIONAL\ WARNINGS ++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&. ++.TP ++hasExpiringCert ++This jar contains entries whose signer certificate will expire within six months\&. ++.TP ++noTimestamp ++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&. ++.SH EXAMPLES ++.SS SIGN\ A\ JAR\ FILE ++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password>\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&. ++.PP ++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows: ++.sp ++.nf ++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows: ++.sp ++.nf ++\f3jarsigner bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFY\ A\ SIGNED\ JAR\ FILE ++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following: ++.sp ++.nf ++\f3jarsigner \-verify sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows: ++.sp ++.nf ++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP ++.fi ++.nf ++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION ++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP ++.fi ++.nf ++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&. ++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS ++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&. ++.PP ++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example: ++.sp ++.nf ++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP ++.fi ++.nf ++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3 i = at least one certificate was found in identity scope\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&. ++.SH JDK\ 1\&.1\ COMPATIBILITY ++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&. ++.PP ++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following: ++.TP 0.2i ++\(bu ++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&. ++.SS UNSIGNED\ JARS ++Unsigned JARs have the default privileges that are granted to all code\&. ++.SS SIGNED\ JARS ++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&. ++.PP ++Default Privileges Granted to All Code ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Default Privileges and Policy File Privileges Granted ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 2 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++All Privileges Granted ++ ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Notes Regarding Privileges of Signed JARs ++.TP 0.4i ++1\&. ++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&. ++.TP 0.4i ++2\&. ++The policy file/keystore combination has precedence over a trusted identity in the identity database\&. ++.TP 0.4i ++3\&. ++Untrusted identities are ignored in the Java platform\&. ++.SH SEE\ ALSO ++.TP 0.2i ++\(bu ++\f3jar\fR ++.TP 0.2i ++\(bu ++\f3keytool\fR ++.TP 0.2i ++\(bu ++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html ++.RE ++.br ++'pl 8.5i ++'bp +--- jdk/src/bsd/doc/man/javac.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/javac.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH javac 1 "10 May 2011" ++.TH javac 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -42,17 +42,17 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options. ++options ++Command\-line options. + .TP 3 +-sourcefiles +-One or more source files to be compiled (such as MyClass.java). ++sourcefiles ++One or more source files to be compiled (such as MyClass.java). + .TP 3 +-classes +-One or more classes to be processed for annotations (such as MyPackage.MyClass). ++classes ++One or more classes to be processed for annotations (such as MyPackage.MyClass). + .TP 3 +-@argfiles +-One or more files that lists options and source files. The \f2\-J\fP options are not allowed in these files. ++@argfiles ++One or more files that lists options and source files. The \f2\-J\fP options are not allowed in these files. + .RE + + .LP +@@ -67,10 +67,10 @@ + .RS 3 + .TP 2 + o +-For a small number of source files, simply list the file names on the command line. ++For a small number of source files, simply list the file names on the command line. + .TP 2 + o +-For a large number of source files, list the file names in a file, separated by blanks or line breaks. Then use the list file name on the \f3javac\fP command line, preceded by an \f3@\fP character. ++For a large number of source files, list the file names in a file, separated by blanks or line breaks. Then use the list file name on the \f3javac\fP command line, preceded by an \f3@\fP character. + .RE + + .LP +@@ -91,150 +91,150 @@ + .LP + The compiler has a set of standard options that are supported on the current development environment and will be supported in future releases. An additional set of non\-standard options are specific to the current virtual machine and compiler implementations and are subject to change in the future. Non\-standard options begin with \f3\-X\fP. + .LP +-.SS ++.SS + Standard Options + .LP + .RS 3 + .TP 3 +-\-Akey[=value] +-Options to pass to annotation processors. These are not interpreted by javac directly, but are made available for use by individual processors. \f2key\fP should be one or more identifiers separated by ".". ++\-Akey[=value] ++Options to pass to annotation processors. These are not interpreted by javac directly, but are made available for use by individual processors. \f2key\fP should be one or more identifiers separated by ".". + .TP 3 +-\-cp path or \-classpath path ++\-cp path or \-classpath path + Specify where to find user class files, and (optionally) annotation processors and source files. This class path overrides the user class path in the \f3CLASSPATH\fP environment variable. If neither \f3CLASSPATH\fP, \f3\-cp\fP nor \f3\-classpath\fP is specified, the user class path consists of the current directory. See Setting the Class Path for more details. + .br + .br + >If the \f3\-sourcepath\fP option is not specified, the user class path is also searched for source files. + .br + .br +-If the \f3\-processorpath\fP option is not specified, the class path is also searched for annotation processors. ++If the \f3\-processorpath\fP option is not specified, the class path is also searched for annotation processors. + .TP 3 +-\-Djava.ext.dirs=directories +-Override the location of installed extensions. ++\-Djava.ext.dirs=directories ++Override the location of installed extensions. + .TP 3 +-\-Djava.endorsed.dirs=directories +-Override the location of endorsed standards path. ++\-Djava.endorsed.dirs=directories ++Override the location of endorsed standards path. + .TP 3 +-\-d directory ++\-d directory + Set the destination directory for class files. The directory must already exist; \f3javac\fP will not create it. If a class is part of a package, \f3javac\fP puts the class file in a subdirectory reflecting the package name, creating directories as needed. For example, if you specify \f3\-d /home/myclasses\fP and the class is called \f2com.mypackage.MyClass\fP, then the class file is called \f2/home/myclasses/com/mypackage/MyClass.class\fP. + .br + .br + If \f3\-d\fP is not specified, \f3javac\fP puts each class files in the same directory as the source file from which it was generated. + .br + .br +-\f3Note:\fP The directory specified by \f3\-d\fP is not automatically added to your user class path. ++\f3Note:\fP The directory specified by \f3\-d\fP is not automatically added to your user class path. + .TP 3 +-\-deprecation +-Show a description of each use or override of a deprecated member or class. Without \f3\-deprecation\fP, \f3javac\fP shows a summary of the source files that use or override deprecated members or classes. \f3\-deprecation\fP is shorthand for \f3\-Xlint:deprecation\fP. ++\-deprecation ++Show a description of each use or override of a deprecated member or class. Without \f3\-deprecation\fP, \f3javac\fP shows a summary of the source files that use or override deprecated members or classes. \f3\-deprecation\fP is shorthand for \f3\-Xlint:deprecation\fP. + .TP 3 +-\-encoding encoding +-Set the source file encoding name, such as \f2EUC\-JP and UTF\-8\fP. If \f3\-encoding\fP is not specified, the platform default converter is used. ++\-encoding encoding ++Set the source file encoding name, such as \f2EUC\-JP and UTF\-8\fP. If \f3\-encoding\fP is not specified, the platform default converter is used. + .TP 3 +-\-endorseddirs directories +-Override the location of endorsed standards path. ++\-endorseddirs directories ++Override the location of endorsed standards path. + .TP 3 +-\-extdirs directories ++\-extdirs directories + Overrides the location of the \f2ext\fP directory. The \f2directories\fP variable is a colon\-separated list of directories. Each JAR archive in the specified directories is searched for class files. All JAR archives found are automatically part of the class path. + .br + .br +-If you are cross\-compiling (compiling classes against bootstrap and extension classes of a different Java platform implementation), this option specifies the directories that contain the extension classes. See Cross\-Compilation Options for more information. ++If you are cross\-compiling (compiling classes against bootstrap and extension classes of a different Java platform implementation), this option specifies the directories that contain the extension classes. See Cross\-Compilation Options for more information. + .TP 3 +-\-g +-Generate all debugging information, including local variables. By default, only line number and source file information is generated. ++\-g ++Generate all debugging information, including local variables. By default, only line number and source file information is generated. + .TP 3 +-\-g:none +-Do not generate any debugging information. ++\-g:none ++Do not generate any debugging information. + .TP 3 +-\-g:{keyword list} +-Generate only some kinds of debugging information, specified by a comma separated list of keywords. Valid keywords are: ++\-g:{keyword list} ++Generate only some kinds of debugging information, specified by a comma separated list of keywords. Valid keywords are: + .RS 3 + .TP 3 +-source +-Source file debugging information ++source ++Source file debugging information + .TP 3 +-lines +-Line number debugging information ++lines ++Line number debugging information + .TP 3 +-vars +-Local variable debugging information ++vars ++Local variable debugging information + .RE + .TP 3 +-\-help +-Print a synopsis of standard options. ++\-help ++Print a synopsis of standard options. + .TP 3 +-\-implicit:{class,none} +-Controls the generation of class files for implicitly loaded source files. To automatically generate class files, use \f3\-implicit:class\fP. To suppress class file generation, use \f3\-implicit:none\fP. If this option is not specified, the default is to automatically generate class files. In this case, the compiler will issue a warning if any such class files are generated when also doing annotation processing. The warning will not be issued if this option is set explicitly. See Searching For Types. ++\-implicit:{class,none} ++Controls the generation of class files for implicitly loaded source files. To automatically generate class files, use \f3\-implicit:class\fP. To suppress class file generation, use \f3\-implicit:none\fP. If this option is not specified, the default is to automatically generate class files. In this case, the compiler will issue a warning if any such class files are generated when also doing annotation processing. The warning will not be issued if this option is set explicitly. See Searching For Types. + .TP 3 +-\-Joption ++\-Joption + Pass \f2option\fP to the \f3java\fP launcher called by \f3javac\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. + .br + .br +-\f3Note:\fP \f3CLASSPATH\fP, \f3\-classpath\fP, \f3\-bootclasspath\fP, and \f3\-extdirs\fP do \f2not\fP specify the classes used to run \f3javac\fP. Fiddling with the implementation of the compiler in this way is usually pointless and always risky. If you do need to do this, use the \f3\-J\fP option to pass through options to the underlying \f3java\fP launcher. ++\f3Note:\fP \f3CLASSPATH\fP, \f3\-classpath\fP, \f3\-bootclasspath\fP, and \f3\-extdirs\fP do \f2not\fP specify the classes used to run \f3javac\fP. Fiddling with the implementation of the compiler in this way is usually pointless and always risky. If you do need to do this, use the \f3\-J\fP option to pass through options to the underlying \f3java\fP launcher. + .TP 3 +-\-nowarn +-Disable warning messages. This has the same meaning as \f3\-Xlint:none\fP. ++\-nowarn ++Disable warning messages. This has the same meaning as \f3\-Xlint:none\fP. + .TP 3 +-\-proc: {none,only} +-Controls whether annotation processing and/or compilation is done. \f3\-proc:none\fP means that compilation takes place without annotation processing. \f3\-proc:only\fP means that only annotation processing is done, without any subsequent compilation. ++\-proc: {none,only} ++Controls whether annotation processing and/or compilation is done. \f3\-proc:none\fP means that compilation takes place without annotation processing. \f3\-proc:only\fP means that only annotation processing is done, without any subsequent compilation. + .TP 3 +-\-processor class1[,class2,class3...] +-Names of the annotation processors to run. This bypasses the default discovery process. ++\-processor class1[,class2,class3...] ++Names of the annotation processors to run. This bypasses the default discovery process. + .TP 3 +-\-processorpath path +-Specify where to find annotation processors; if this option is not used, the class path will be searched for processors. ++\-processorpath path ++Specify where to find annotation processors; if this option is not used, the class path will be searched for processors. + .TP 3 +-\-s dir +-Specify the directory where to place generated source files. The directory must already exist; \f3javac\fP will not create it. If a class is part of a package, the compiler puts the source file in a subdirectory reflecting the package name, creating directories as needed. For example, if you specify \f3\-s /home/mysrc\fP and the class is called \f2com.mypackage.MyClass\fP, then the source file will be placed in \f2/home/mysrc/com/mypackage/MyClass.java\fP. ++\-s dir ++Specify the directory where to place generated source files. The directory must already exist; \f3javac\fP will not create it. If a class is part of a package, the compiler puts the source file in a subdirectory reflecting the package name, creating directories as needed. For example, if you specify \f3\-s /home/mysrc\fP and the class is called \f2com.mypackage.MyClass\fP, then the source file will be placed in \f2/home/mysrc/com/mypackage/MyClass.java\fP. + .TP 3 +-\-source release +-Specifies the version of source code accepted. The following values for \f2release\fP are allowed: ++\-source release ++Specifies the version of source code accepted. The following values for \f2release\fP are allowed: + .RS 3 + .TP 3 +-1.3 +-The compiler does \f2not\fP support assertions, generics, or other language features introduced after JDK 1.3. ++1.3 ++The compiler does \f2not\fP support assertions, generics, or other language features introduced after Java SE 1.3. + .TP 3 +-1.4 +-The compiler accepts code containing assertions, which were introduced in JDK 1.4. ++1.4 ++The compiler accepts code containing assertions, which were introduced in Java SE 1.4. + .TP 3 +-1.5 +-The compiler accepts code containing generics and other language features introduced in JDK 5. ++1.5 ++The compiler accepts code containing generics and other language features introduced in Java SE 5. + .TP 3 +-5 +-Synonym for 1.5. ++5 ++Synonym for 1.5. + .TP 3 +-1.6 +-This is the default value. No language changes were introduced in Java SE 6. However, encoding errors in source files are now reported as errors, instead of warnings, as previously. ++1.6 ++No language changes were introduced in Java SE 6. However, encoding errors in source files are now reported as errors instead of warnings as in previous releases of Java SE. + .TP 3 +-6 +-Synonym for 1.6. ++6 ++Synonym for 1.6. + .TP 3 +-1.7 +-The compiler accepts code with features introduced in JDK 7. ++1.7 ++This is the default value. The compiler accepts code with features introduced in Java SE 7. + .TP 3 +-7 +-Synonym for 1.7. ++7 ++Synonym for 1.7. + .RE + .TP 3 +-\-sourcepath sourcepath ++\-sourcepath sourcepath + Specify the source code path to search for class or interface definitions. As with the user class path, source path entries are separated by colons (\f3:\fP) and can be directories, JAR archives, or ZIP archives. If packages are used, the local path name within the directory or archive must reflect the package name. + .br + .br +-\f3Note:\fP Classes found through the class path may be subject to automatic recompilation if their sources are also found. See Searching For Types. ++\f3Note:\fP Classes found through the class path may be subject to automatic recompilation if their sources are also found. See Searching For Types. + .TP 3 +-\-verbose +-Verbose output. This includes information about each class loaded and each source file compiled. ++\-verbose ++Verbose output. This includes information about each class loaded and each source file compiled. + .TP 3 +-\-version +-Print version information. ++\-version ++Print version information. + .TP 3 +-\-Werror +-Terminate compilation if warnings occur. ++\-Werror ++Terminate compilation if warnings occur. + .TP 3 +-\-X +-Display information about non\-standard options and exit. ++\-X ++Display information about non\-standard options and exit. + .RE + + .LP +-.SS ++.SS + Cross\-Compilation Options + .LP + .LP +@@ -242,87 +242,92 @@ + .LP + .RS 3 + .TP 3 +-\-target version +-Generate class files that target a specified version of the VM. Class files will run on the specified target and on later versions, but not on earlier versions of the VM. Valid targets are \f31.1\fP \f31.2\fP \f31.3\fP \f31.4\fP \f31.5\fP (also \f35\fP) \f31.6\fP (also \f36\fP) and \f31.7\fP (also \f37\fP). +-.br +-.br +-The default for \f3\-target\fP depends on the value of \f3\-source\fP: ++\-target version ++Generate class files that target a specified version of the VM. Class files will run on the specified target and on later versions, but not on earlier versions of the VM. Valid targets are \f31.1\fP, \f31.2\fP, \f31.3\fP, \f31.4\fP, \f31.5\fP (also \f35\fP), \f31.6\fP (also \f36\fP), and \f31.7\fP (also \f37\fP). ++.LP ++The default for \f3\-target\fP depends on the value of \f3\-source\fP: + .RS 3 + .TP 2 + o +-If \-source is \f3not specified\fP, the value of \-target is \f31.7\fP ++If \-source is \f3not specified\fP, the value of \-target is \f31.7\fP ++.TP 2 ++o ++If \-source is \f31.2\fP, the value of \-target is \f31.4\fP + .TP 2 + o +-If \-source is \f31.2\fP, the value of \-target is \f31.4\fP ++If \-source is \f31.3\fP, the value of \-target is \f31.4\fP + .TP 2 + o +-If \-source is \f31.3\fP, the value of \-target is \f31.4\fP ++If \-source is \f31.5\fP, the value of \-target is \f31.7\fP + .TP 2 + o +-For \f3all other values\fP of \-source, the value of \f3\-target\fP is the value of \f3\-source\fP. ++If \-source is \f31.6\fP, the value of \-target is \f31.7\fP ++.TP 2 ++o ++For \f3all other values\fP of \-source, the value of \f3\-target\fP is the value of \f3\-source\fP. + .RE + .TP 3 +-\-bootclasspath bootclasspath +-Cross\-compile against the specified set of boot classes. As with the user class path, boot class path entries are separated by colons (\f3:\fP) and can be directories, JAR archives, or ZIP archives. ++\-bootclasspath bootclasspath ++Cross\-compile against the specified set of boot classes. As with the user class path, boot class path entries are separated by colons (\f3:\fP) and can be directories, JAR archives, or ZIP archives. + .RE + + .LP +-.SS ++.SS + Non\-Standard Options + .LP + .RS 3 + .TP 3 +-\-Xbootclasspath/p:path +-Prepend to the bootstrap class path. ++\-Xbootclasspath/p:path ++Prepend to the bootstrap class path. + .TP 3 +-\-Xbootclasspath/a:path +-Append to the bootstrap class path. ++\-Xbootclasspath/a:path ++Append to the bootstrap class path. + .TP 3 +-\-Xbootclasspath/:path +-Override location of bootstrap class files. ++\-Xbootclasspath/:path ++Override location of bootstrap class files. + .TP 3 +-\-Xlint +-Enable all recommended warnings. In this release, enabling all available warnings is recommended. ++\-Xlint ++Enable all recommended warnings. In this release, enabling all available warnings is recommended. + .TP 3 +-\-Xlint:all +-Enable all recommended warnings. In this release, enabling all available warnings is recommended. ++\-Xlint:all ++Enable all recommended warnings. In this release, enabling all available warnings is recommended. + .TP 3 +-\-Xlint:none +-Disable all warnings. ++\-Xlint:none ++Disable all warnings. + .TP 3 +-\-Xlint:name +-Enable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can enable with this option. ++\-Xlint:name ++Enable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can enable with this option. + .TP 3 +-\-Xlint:\-name +-Disable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can disable with this option. ++\-Xlint:\-name ++Disable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can disable with this option. + .TP 3 +-\-Xmaxerrs number +-Set the maximum number of errors to print. ++\-Xmaxerrs number ++Set the maximum number of errors to print. + .TP 3 +-\-Xmaxwarns number +-Set the maximum number of warnings to print. ++\-Xmaxwarns number ++Set the maximum number of warnings to print. + .TP 3 +-\-Xstdout filename +-Send compiler messages to the named file. By default, compiler messages go to \f2System.err\fP. ++\-Xstdout filename ++Send compiler messages to the named file. By default, compiler messages go to \f2System.err\fP. + .TP 3 +-\-Xprefer:{newer,source} +-Specify which file to read when both a source file and class file are found for a type. (See Searching For Types). If \f2\-Xprefer:newer\fP is used, it reads the newer of the source or class file for a type (default). If the \f2\-Xprefer:source\fP option is used, it reads source file. Use \f2\-Xprefer:source\fP when you want to be sure that any annotation processors can access annotations declared with a retention policy of \f2SOURCE\fP. ++\-Xprefer:{newer,source} ++Specify which file to read when both a source file and class file are found for a type. (See Searching For Types). If \f2\-Xprefer:newer\fP is used, it reads the newer of the source or class file for a type (default). If the \f2\-Xprefer:source\fP option is used, it reads source file. Use \f2\-Xprefer:source\fP when you want to be sure that any annotation processors can access annotations declared with a retention policy of \f2SOURCE\fP. + .TP 3 +-\-Xpkginfo:{always,legacy,nonempty} +-Specify handling of package\-info files ++\-Xpkginfo:{always,legacy,nonempty} ++Specify handling of package\-info files + .TP 3 +-\-Xprint +-Print out textual representation of specified types for debugging purposes; perform neither annotation processing nor compilation. The format of the output may change. ++\-Xprint ++Print out textual representation of specified types for debugging purposes; perform neither annotation processing nor compilation. The format of the output may change. + .TP 3 +-\-XprintProcessorInfo +-Print information about which annotations a processor is asked to process. ++\-XprintProcessorInfo ++Print information about which annotations a processor is asked to process. + .TP 3 +-\-XprintRounds +-Print information about initial and subsequent annotation processing rounds. ++\-XprintRounds ++Print information about initial and subsequent annotation processing rounds. + .RE + + .LP +-.SS ++.SS + Warnings That Can Be Enabled or Disabled with \-Xlint Option + .LP + .LP +@@ -330,8 +335,8 @@ + .LP + .RS 3 + .TP 3 +-cast +-Warn about unnecessary and redundant casts. For example: ++cast ++Warn about unnecessary and redundant casts. For example: + .nf + \f3 + .fl +@@ -340,11 +345,11 @@ + \fP + .fi + .TP 3 +-classfile +-Warn about issues related to classfile contents. ++classfile ++Warn about issues related to classfile contents. + .TP 3 +-deprecation +-Warn about use of deprecated items. For example: ++deprecation ++Warn about use of deprecated items. For example: + .nf + \f3 + .fl +@@ -354,10 +359,10 @@ + .fl + \fP + .fi +-The method \f2java.util.Date.getDay\fP has been deprecated since JDK 1.1. ++The method \f2java.util.Date.getDay\fP has been deprecated since JDK 1.1. + .TP 3 +-dep\-ann +-Warn about items that are documented with an \f2@deprecated\fP Javadoc comment, but do not have a \f2@Deprecated\fP annotation. For example: ++dep\-ann ++Warn about items that are documented with an \f2@deprecated\fP Javadoc comment, but do not have a \f2@Deprecated\fP annotation. For example: + .nf + \f3 + .fl +@@ -378,8 +383,8 @@ + \fP + .fi + .TP 3 +-divzero +-Warn about division by constant integer 0. For example: ++divzero ++Warn about division by constant integer 0. For example: + .nf + \f3 + .fl +@@ -388,8 +393,8 @@ + \fP + .fi + .TP 3 +-empty +-Warn about empty statements after \f2if\fP statements. For example: ++empty ++Warn about empty statements after \f2if\fP statements. For example: + .nf + \f3 + .fl +@@ -406,8 +411,8 @@ + \fP + .fi + .TP 3 +-fallthrough +-Check \f2switch\fP blocks for fall\-through cases and provide a warning message for any that are found. Fall\-through cases are cases in a \f2switch\fP block, other than the last case in the block, whose code does not include a \f2break\fP statement, allowing code execution to "fall through" from that case to the next case. For example, the code following the \f2case 1\fP label in this \f2switch\fP block does not end with a \f2break\fP statement: ++fallthrough ++Check \f2switch\fP blocks for fall\-through cases and provide a warning message for any that are found. Fall\-through cases are cases in a \f2switch\fP block, other than the last case in the block, whose code does not include a \f2break\fP statement, allowing code execution to "fall through" from that case to the next case. For example, the code following the \f2case 1\fP label in this \f2switch\fP block does not end with a \f2break\fP statement: + .nf + \f3 + .fl +@@ -427,10 +432,10 @@ + .fl + \fP + .fi +-If the \f2\-Xlint:fallthrough\fP flag were used when compiling this code, the compiler would emit a warning about "possible fall\-through into case," along with the line number of the case in question. ++If the \f2\-Xlint:fallthrough\fP flag were used when compiling this code, the compiler would emit a warning about "possible fall\-through into case," along with the line number of the case in question. + .TP 3 +-finally +-Warn about \f2finally\fP clauses that cannot complete normally. For example: ++finally ++Warn about \f2finally\fP clauses that cannot complete normally. For example: + .nf + \f3 + .fl +@@ -456,13 +461,13 @@ + .fl + \fP + .fi +-The compiler generates a warning for \f2finally\fP block in this example. When this method is called, it returns a value of \f20\fP, not \f21\fP. A \f2finally\fP block always executes when the \f2try\fP block exits. In this example, if control is transferred to the \f2catch\fP, then the method exits. However, the \f2finally\fP block must be executed, so it is executed, even though control has already been transferred outside the method. ++The compiler generates a warning for \f2finally\fP block in this example. When this method is called, it returns a value of \f20\fP, not \f21\fP. A \f2finally\fP block always executes when the \f2try\fP block exits. In this example, if control is transferred to the \f2catch\fP, then the method exits. However, the \f2finally\fP block must be executed, so it is executed, even though control has already been transferred outside the method. + .TP 3 +-options +-Warn about issues relating to the use of command line options. See Cross\-Compilation Example for an example of this kind of warning. ++options ++Warn about issues relating to the use of command line options. See Cross\-Compilation Example for an example of this kind of warning. + .TP 3 +-overrides +-Warn about issues regarding method overrides. For example, consider the following two classes: ++overrides ++Warn about issues regarding method overrides. For example, consider the following two classes: + .nf + \f3 + .fl +@@ -493,10 +498,10 @@ + \f2warning: [override] varargsMethod(String[]) in ClassWithOverridingMethod overrides varargsMethod(String...) in ClassWithVarargsMethod; overriding method is missing '...'\fP + .br + .br +-When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. In the method \f2ClassWithVarargsMethod.varargsMethod\fP, the compiler translates the varargs formal parameter \f2String... s\fP to the formal parameter \f2String[] s\fP, an array, which matches the formal parameter of the method \f2ClassWithOverridingMethod.varargsMethod\fP. Consequently, this example compiles. ++When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. In the method \f2ClassWithVarargsMethod.varargsMethod\fP, the compiler translates the varargs formal parameter \f2String... s\fP to the formal parameter \f2String[] s\fP, an array, which matches the formal parameter of the method \f2ClassWithOverridingMethod.varargsMethod\fP. Consequently, this example compiles. + .TP 3 +-path +-Warn about invalid path elements and nonexistent path directories on the command line (with regards to the class path, the source path, and other paths). Such warnings cannot be suppressed with the \f2@SuppressWarnings\fP annotation. For example: ++path ++Warn about invalid path elements and nonexistent path directories on the command line (with regards to the class path, the source path, and other paths). Such warnings cannot be suppressed with the \f2@SuppressWarnings\fP annotation. For example: + .nf + \f3 + .fl +@@ -505,11 +510,11 @@ + \fP + .fi + .TP 3 +-processing ++processing + Warn about issues regarding annotation processing. The compiler generates this warning if you have a class that has an annotation, and you use an annotation processor that cannot handle that type of exception. For example, the following is a simple annotation processor: + .br + .br +-\f3Source file \fP\f4AnnoProc.java\fP: ++\f3Source file \fP\f4AnnoProc.java\fP: + .nf + \f3 + .fl +@@ -545,7 +550,7 @@ + .fl + \fP + .fi +-\f3Source file \fP\f4AnnosWithoutProcessors.java\fP\f3:\fP ++\f3Source file \fP\f4AnnosWithoutProcessors.java\fP\f3:\fP + .nf + \f3 + .fl +@@ -559,15 +564,14 @@ + .fl + \fP + .fi +-The following commands compile the annotation processor \f2AnnoProc\fP, then run this annotation processor against the source file \f2AnnosWithoutProcessors.java\fP: ++The following commands compile the annotation processor \f2AnnoProc\fP, then run this annotation processor against the source file \f2AnnosWithoutProcessors.java\fP: + .nf + \f3 + .fl +-% javac AnnoProc.java ++% \fP\f3javac AnnoProc.java\fP + .fl +-% javac \-cp . \-Xlint:processing \-processor AnnoProc \-proc:only AnnosWithoutProcessors.java ++% \f3javac \-cp . \-Xlint:processing \-processor AnnoProc \-proc:only AnnosWithoutProcessors.java\fP + .fl +-\fP + .fi + When the compiler runs the annotation processor against the source file \f2AnnosWithoutProcessors.java\fP, it generates the following warning: + .br +@@ -575,10 +579,10 @@ + \f2warning: [processing] No processor claimed any of these annotations: Anno\fP + .br + .br +-To resolve this issue, you can rename the annotation defined and used in the class \f2AnnosWithoutProcessors\fP from \f2Anno\fP to \f2NotAnno\fP. ++To resolve this issue, you can rename the annotation defined and used in the class \f2AnnosWithoutProcessors\fP from \f2Anno\fP to \f2NotAnno\fP. + .TP 3 +-rawtypes +-Warn about unchecked operations on raw types. The following statement generates a \f2rawtypes\fP warning: ++rawtypes ++Warn about unchecked operations on raw types. The following statement generates a \f2rawtypes\fP warning: + .nf + \f3 + .fl +@@ -586,7 +590,7 @@ + .fl + \fP + .fi +-The following does not generate a \f2rawtypes\fP warning: ++The following does not generate a \f2rawtypes\fP warning: + .nf + \f3 + .fl +@@ -594,10 +598,10 @@ + .fl + \fP + .fi +-\f2List\fP is a raw type. However, \f2List<?>\fP is a unbounded wildcard parameterized type. Because \f2List\fP is a parameterized interface, you should always specify its type argument. In this example, the \f2List\fP formal argument is specified with a unbounded wildcard (\f2?\fP) as its formal type parameter, which means that the \f2countElements\fP method can accept any instantiation of the \f2List\fP interface. ++\f2List\fP is a raw type. However, \f2List<?>\fP is a unbounded wildcard parameterized type. Because \f2List\fP is a parameterized interface, you should always specify its type argument. In this example, the \f2List\fP formal argument is specified with a unbounded wildcard (\f2?\fP) as its formal type parameter, which means that the \f2countElements\fP method can accept any instantiation of the \f2List\fP interface. + .TP 3 +-serial +-Warn about missing \f2serialVersionUID\fP definitions on serializable classes. For example: ++serial ++Warn about missing \f2serialVersionUID\fP definitions on serializable classes. For example: + .nf + \f3 + .fl +@@ -633,10 +637,10 @@ + \f2warning: [serial] serializable class PersistentTime has no definition of serialVersionUID\fP + .br + .br +-If a serializable class does not explicitly declare a field named \f2serialVersionUID\fP, then the serialization runtime will calculate a default \f2serialVersionUID\fP value for that class based on various aspects of the class, as described in the Java Object Serialization Specification. However, it is strongly recommended that all serializable classes explicitly declare \f2serialVersionUID\fP values because the default process of computing \f2serialVersionUID\fP vales is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected \f2InvalidClassExceptions\fP during deserialization. Therefore, to guarantee a consistent \f2serialVersionUID\fP value across different Java compiler implementations, a serializable class must declare an explicit \f2serialVersionUID\fP value. ++If a serializable class does not explicitly declare a field named \f2serialVersionUID\fP, then the serialization runtime will calculate a default \f2serialVersionUID\fP value for that class based on various aspects of the class, as described in the Java Object Serialization Specification. However, it is strongly recommended that all serializable classes explicitly declare \f2serialVersionUID\fP values because the default process of computing \f2serialVersionUID\fP vales is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected \f2InvalidClassExceptions\fP during deserialization. Therefore, to guarantee a consistent \f2serialVersionUID\fP value across different Java compiler implementations, a serializable class must declare an explicit \f2serialVersionUID\fP value. + .TP 3 +-static +-Warn about issues relating to use of statics. For example: ++static ++Warn about issues relating to use of statics. For example: + .nf + \f3 + .fl +@@ -650,7 +654,7 @@ + .fl + \fP + .fi +-The compiler generates the following warning: ++The compiler generates the following warning: + .nf + \f3 + .fl +@@ -658,7 +662,7 @@ + .fl + \fP + .fi +-To resolve this issue, you can call the static method \f2m1\fP as follows: ++To resolve this issue, you can call the static method \f2m1\fP as follows: + .nf + \f3 + .fl +@@ -666,10 +670,10 @@ + .fl + \fP + .fi +-Alternatively, you can remove the \f2static\fP keyword from the declaration of the method \f2m1\fP. ++Alternatively, you can remove the \f2static\fP keyword from the declaration of the method \f2m1\fP. + .TP 3 +-try +-Warn about issues relating to use of \f2try\fP blocks, including try\-with\-resources statements. For example, a warning is generated for the following statement because the resource \f2ac\fP declared in the \f2try\fP statement is not used: ++try ++Warn about issues relating to use of \f2try\fP blocks, including try\-with\-resources statements. For example, a warning is generated for the following statement because the resource \f2ac\fP declared in the \f2try\fP statement is not used: + .nf + \f3 + .fl +@@ -682,8 +686,8 @@ + \fP + .fi + .TP 3 +-unchecked +-Give more detail for unchecked conversion warnings that are mandated by the Java Language Specification. For example: ++unchecked ++Give more detail for unchecked conversion warnings that are mandated by the Java Language Specification. For example: + .nf + \f3 + .fl +@@ -699,10 +703,10 @@ + The variable \f2ls\fP has the parameterized type \f2List<String>\fP. When the \f2List\fP referenced by \f2l\fP is assigned to \f2ls\fP, the compiler generates an unchecked warning; the compiler is unable to determine at compile time, and moreover knows that the JVM will not be able to determine at runtime, if \f2l\fP refers to a \f2List<String>\fP type; it does not. Consequently, heap pollution occurs. + .br + .br +-In detail, a heap pollution situation occurs when the \f2List\fP object \f2l\fP, whose static type is \f2List<Number>\fP, is assigned to another \f2List\fP object, \f2ls\fP, that has a different static type, \f2List<String>\fP. However, the compiler still allows this assignment. It must allow this assignment to preserve backwards compatibility with versions of Java SE that do not support generics. Because of type erasure, \f2List<Number>\fP and \f2List<String>\fP both become \f2List\fP. Consequently, the compiler allows the assignment of the object \f2l\fP, which has a raw type of \f2List\fP, to the object \f2ls\fP. ++In detail, a heap pollution situation occurs when the \f2List\fP object \f2l\fP, whose static type is \f2List<Number>\fP, is assigned to another \f2List\fP object, \f2ls\fP, that has a different static type, \f2List<String>\fP. However, the compiler still allows this assignment. It must allow this assignment to preserve backwards compatibility with versions of Java SE that do not support generics. Because of type erasure, \f2List<Number>\fP and \f2List<String>\fP both become \f2List\fP. Consequently, the compiler allows the assignment of the object \f2l\fP, which has a raw type of \f2List\fP, to the object \f2ls\fP. + .TP 3 +-varargs +-Warn about unsafe usages of variable arguments (varargs) methods, in particular, those that contain non\-reifiable arguments. For example: ++varargs ++Warn about unsafe usages of variable arguments (varargs) methods, in particular, those that contain non\-reifiable arguments. For example: + .nf + \f3 + .fl +@@ -722,7 +726,7 @@ + .fl + \fP + .fi +-The compiler generates the following warning for the definition of the method \f2ArrayBuilder.addToList\fP: ++The compiler generates the following warning for the definition of the method \f2ArrayBuilder.addToList\fP: + .nf + \f3 + .fl +@@ -730,7 +734,7 @@ + .fl + \fP + .fi +-When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. However, the Java programming language does not permit the creation of arrays of parameterized types. In the method \f2ArrayBuilder.addToList\fP, the compiler translates the varargs formal parameter \f2T... elements\fP to the formal parameter \f2T[] elements\fP, an array. However, because of type erasure, the compiler converts the varargs formal parameter to \f2Object[] elements\fP. Consequently, there is a possibility of heap pollution. ++When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. However, the Java programming language does not permit the creation of arrays of parameterized types. In the method \f2ArrayBuilder.addToList\fP, the compiler translates the varargs formal parameter \f2T... elements\fP to the formal parameter \f2T[] elements\fP, an array. However, because of type erasure, the compiler converts the varargs formal parameter to \f2Object[] elements\fP. Consequently, there is a possibility of heap pollution. + .RE + + .LP +@@ -748,7 +752,7 @@ + .LP + When executing javac, pass in the path and name of each argument file with the '\f2@\fP' leading character. When javac encounters an argument beginning with the character `\f2@\fP', it expands the contents of that file into the argument list. + .LP +-.SS ++.SS + Example \- Single Arg File + .LP + .LP +@@ -765,7 +769,7 @@ + .LP + This argument file could contain the contents of both files shown in the next example. + .LP +-.SS ++.SS + Example \- Two Arg Files + .LP + .LP +@@ -820,7 +824,7 @@ + .fi + + .LP +-.SS ++.SS + Example \- Arg Files with Paths + .LP + .LP +@@ -842,7 +846,7 @@ + .LP + The API for annotation processors is defined in the \f2javax.annotation.processing\fP and \f2javax.lang.model\fP packages and subpackages. + .LP +-.SS ++.SS + Overview of annotation processing + .LP + .LP +@@ -857,7 +861,7 @@ + .LP + After a round occurs where no new source files are generated, the annotation processors will be invoked one last time, to give them a chance to complete any work they may need to do. Finally, unless the \f3\-proc:only\fP option is used, the compiler will compile the original and all the generated source files. + .LP +-.SS ++.SS + Implicitly loaded source files + .LP + .LP +@@ -894,7 +898,7 @@ + .LP + \f3javac\fP supports the new Java Compiler API defined by the classes and interfaces in the \f2javax.tools\fP package. + .LP +-.SS ++.SS + Example + .LP + .LP +@@ -917,7 +921,7 @@ + .LP + You can use other methods on the \f2javax.tools.JavaCompiler\fP interface to handle diagnostics, control where files are read from and written to, and so on. + .LP +-.SS ++.SS + Old Interface + .LP + .LP +@@ -951,7 +955,7 @@ + .LP + .SH "EXAMPLES" + .LP +-.SS ++.SS + Compiling a Simple Program + .LP + .LP +@@ -1005,7 +1009,7 @@ + .fi + + .LP +-.SS ++.SS + Compiling Multiple Source Files + .LP + .LP +@@ -1033,7 +1037,7 @@ + .fi + + .LP +-.SS ++.SS + Specifying a User Class Path + .LP + .LP +@@ -1068,7 +1072,7 @@ + .nf + \f3 + .fl +-% \fP\f3javac \-classpath /examples:/lib/Banners.jar \\ ++% \fP\f3javac \-classpath /examples:/lib/Banners.jar \\ + .fl + /examples/greetings/Hi.java\fP + .fl +@@ -1086,7 +1090,7 @@ + .fi + + .LP +-.SS ++.SS + Separating Source Files and Class Files + .LP + .LP +@@ -1113,7 +1117,7 @@ + .fl + % \f3ls classes\fP + .fl +-% \f3javac \-sourcepath src \-classpath classes:lib/Banners.jar \\ ++% \f3javac \-sourcepath src \-classpath classes:lib/Banners.jar \\ + .fl + src/farewells/GoodBye.java \-d classes\fP + .fl +@@ -1131,16 +1135,16 @@ + .LP + \f3Note:\fP The compiler compiled \f2src/farewells/Base.java\fP, even though we didn't specify it on the command line. To trace automatic compiles, use the \f3\-verbose\fP option. + .LP +-.SS ++.SS + Cross\-Compilation Example + .LP + .LP +-Here we use \f3javac\fP to compile code that will run on a 1.6 VM. ++The following example uses \f3javac\fP to compile code that will run on a 1.6 VM. + .LP + .nf + \f3 + .fl +-% \fP\f3javac \-source 1.6 \-target 1.6 \-bootclasspath jdk1.6.0/lib/rt.jar \\ ++% \fP\f3javac \-source 1.6 \-target 1.6 \-bootclasspath jdk1.6.0/lib/rt.jar \\ + .fl + \-extdirs "" OldCode.java\fP + .fl +@@ -1174,32 +1178,32 @@ + .na + \f2The javac Guide\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javac/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/javac/index.html + .TP 2 + o +-java(1) \- the Java Application Launcher ++java(1) \- the Java Application Launcher + .TP 2 + o +-jdb(1) \- Java Application Debugger ++jdb(1) \- Java Application Debugger + .TP 2 + o +-javah(1) \- C Header and Stub File Generator ++javah(1) \- C Header and Stub File Generator + .TP 2 + o +-javap(1) \- Class File Disassembler ++javap(1) \- Class File Disassembler + .TP 2 + o +-javadoc(1) \- API Documentation Generator ++javadoc(1) \- API Documentation Generator + .TP 2 + o +-jar(1) \- JAR Archive Tool ++jar(1) \- JAR Archive Tool + .TP 2 + o + .na + \f2The Java Extensions Framework\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/extensions/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/extensions/index.html + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/javadoc.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/javadoc.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH javadoc 1 "10 May 2011" ++.TH javadoc 1 "16 Mar 2012" + .SH "Name" + javadoc \- The Java API Documentation Generator + .LP +@@ -31,68 +31,68 @@ + Arguments can be in any order. See processing of Source Files for details on how the Javadoc tool determines which "\f2.java\fP" files to process. + .RS 3 + .TP 3 +-options +-Command\-line options, as specified in this document. To see a typical use of javadoc options, see Real\-World Example. ++options ++Command\-line options, as specified in this document. To see a typical use of javadoc options, see Real\-World Example. + .TP 3 +-packagenames +-A series of names of packages, separated by spaces, such as \f2java.lang\ java.lang.reflect\ java.awt\fP. You must separately specify each package you want to document. Wildcards are not allowed; use \-subpackages for recursion. The Javadoc tool uses \f2\-sourcepath\fP to look for these package names. See Example \- Documenting One or More Packages ++packagenames ++A series of names of packages, separated by spaces, such as \f2java.lang\ java.lang.reflect\ java.awt\fP. You must separately specify each package you want to document. Wildcards are not allowed; use \-subpackages for recursion. The Javadoc tool uses \f2\-sourcepath\fP to look for these package names. See Example \- Documenting One or More Packages + .TP 3 +-sourcefilenames +-A series of source file names, separated by spaces, each of which can begin with a path and contain a wildcard such as asterisk (*). The Javadoc tool will process every file whose name ends with ".java", and whose name, when stripped of that suffix, is actually a legal class name (see the Java Language Specification). Therefore, you can name files with dashes (such as \f2X\-Buffer\fP), or other illegal characters, to prevent them from being documented. This is useful for test files and template files The path that precedes the source file name determines where javadoc will look for the file. (The Javadoc tool does \f2not\fP use \f2\-sourcepath\fP to look for these source file names.) Relative paths are relative to the current directory, so passing in \f2Button.java\fP is identical to \f2./Button.java\fP. A source file name with an absolute path and a wildcard, for example, is \f2/home/src/java/awt/Graphics*.java\fP. See Example\ \-\ Documenting One or More Classes. You can also mix packagenames and sourcefilenames, as in Example\ \-\ Documenting Both Packages and Classes ++sourcefilenames ++A series of source file names, separated by spaces, each of which can begin with a path and contain a wildcard such as asterisk (*). The Javadoc tool will process every file whose name ends with ".java", and whose name, when stripped of that suffix, is actually a legal class name (see the Java Language Specification). Therefore, you can name files with dashes (such as \f2X\-Buffer\fP), or other illegal characters, to prevent them from being documented. This is useful for test files and template files The path that precedes the source file name determines where javadoc will look for the file. (The Javadoc tool does \f2not\fP use \f2\-sourcepath\fP to look for these source file names.) Relative paths are relative to the current directory, so passing in \f2Button.java\fP is identical to \f2./Button.java\fP. A source file name with an absolute path and a wildcard, for example, is \f2/home/src/java/awt/Graphics*.java\fP. See Example\ \-\ Documenting One or More Classes. You can also mix packagenames and sourcefilenames, as in Example\ \-\ Documenting Both Packages and Classes + .TP 3 +-\-subpackages pkg1:pkg2:... +-Generates documentation from source files in the specified packages and recursively in their subpackages. An alternative to supplying packagenames or sourcefilenames. ++\-subpackages pkg1:pkg2:... ++Generates documentation from source files in the specified packages and recursively in their subpackages. An alternative to supplying packagenames or sourcefilenames. + .TP 3 +-@argfiles +-One or more files that contain a list of Javadoc options, packagenames and sourcefilenames in any order. Wildcards (*) and \f2\-J\fP options are not allowed in these files. ++@argfiles ++One or more files that contain a list of Javadoc options, packagenames and sourcefilenames in any order. Wildcards (*) and \f2\-J\fP options are not allowed in these files. + .RE + .SH "DESCRIPTION" + .LP + The \f3Javadoc\fP tool parses the declarations and documentation comments in a set of Java source files and produces a corresponding set of HTML pages describing (by default) the public and protected classes, nested classes (but not anonymous inner classes), interfaces, constructors, methods, and fields. You can use it to generate the API (Application Programming Interface) documentation or the implementation documentation for a set of source files. + .LP + You can run the Javadoc tool on entire packages, individual source files, or both. When documenting entire packages, you can either use \f2\-subpackages\fP for traversing recursively down from a top\-level directory, or pass in an explicit list of package names. When documenting individual source files, you pass in a list of source (\f2.java\fP) filenames. Examples are given at the end of this document. How Javadoc processes source files is covered next. +-.SS ++.SS + Processing of source files + .LP + The Javadoc tool processes files that end in "\f2.java\fP" plus other files described under Source Files. If you run the Javadoc tool by explicitly passing in individual source filenames, you can determine exactly which "\f2.java\fP" files are processed. However, that is not how most developers want to work, as it is simpler to pass in package names. The Javadoc tool can be run three ways without explicitly specifying the source filenames. You can (1) pass in package names, (2) use \f2\-subpackages\fP, and (3) use wildcards with source filenames (\f2*.java\fP). In these cases, the Javadoc tool processes a "\f2.java\fP" file only if it fulfills all of the following requirements: + .RS 3 + .TP 2 + o +-Its name, after stripping off the "\f2.java\fP" suffix, is actually a legal class name (see the Java Language Specification for legal characters) ++Its name, after stripping off the "\f2.java\fP" suffix, is actually a legal class name (see the Java Language Specification for legal characters) + .TP 2 + o +-Its directory path relative to the root of the source tree is actually a legal package name (after converting its separators to dots) ++Its directory path relative to the root of the source tree is actually a legal package name (after converting its separators to dots) + .TP 2 + o +-Its package statement contains the legal package name (specified in the previous bullet) ++Its package statement contains the legal package name (specified in the previous bullet) + .RE + .LP + \f3Processing of links\fP \- During a run, the Javadoc tool automatically adds cross\-reference links to package, class and member names that are being documented as part of that run. Links appear in several places: + .RS 3 + .TP 2 + o +-Declarations (return types, argument types, field types) ++Declarations (return types, argument types, field types) + .TP 2 + o +-"See Also" sections generated from \f2@see\fP tags ++"See Also" sections generated from \f2@see\fP tags + .TP 2 + o +-In\-line text generated from \f2{@link}\fP tags ++In\-line text generated from \f2{@link}\fP tags + .TP 2 + o +-Exception names generated from \f2@throws\fP tags ++Exception names generated from \f2@throws\fP tags + .TP 2 + o +-"Specified by" links to members in interfaces and "Overrides" links to members in classes ++"Specified by" links to members in interfaces and "Overrides" links to members in classes + .TP 2 + o +-Summary tables listing packages, classes and members ++Summary tables listing packages, classes and members + .TP 2 + o +-Package and class inheritance trees ++Package and class inheritance trees + .TP 2 + o +-The index ++The index + .RE + .LP + You can add hyperlinks to existing text for classes not included on the command line (but generated separately) by way of the \f2\-link\fP and \f2\-linkoffline\fP options. +@@ -107,12 +107,12 @@ + .LP + In many cases, the Javadoc tool allows you to generate documentation for source files whose code is incomplete or erroneous. This is a benefit that enables you to generate documentation before all debugging and troubleshooting is done. For example, according to the \f2Java Language Specification\fP, a class that contains an abstract method should itself be declared abstract. The Javadoc tool does not check for this, and would proceed without a warning, whereas the javac compiler stops on this error. The Javadoc tool does do some primitive checking of doc comments. Use the DocCheck doclet to check the doc comments more thoroughly. + .LP +-When the Javadoc tool builds its internal structure for the documentation, it loads all referenced classes. Because of this, the Javadoc tool must be able to find all referenced classes, whether bootstrap classes, extensions, or user classes. For more about this, see ++When the Javadoc tool builds its internal structure for the documentation, it loads all referenced classes. Because of this, the Javadoc tool must be able to find all referenced classes, whether bootstrap classes, extensions, or user classes. For more about this, see + .na + \f2How Classes Are Found\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. Generally speaking, classes you create must either be loaded as an extension or in the Javadoc tool's class path. +-.SS ++http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. Generally speaking, classes you create must either be loaded as an extension or in the Javadoc tool's class path. ++.SS + Javadoc Doclets + .LP + You can customize the content and format of the Javadoc tool's output by using doclets. The Javadoc tool has a default "built\-in" doclet, called the standard doclet, that generates HTML\-formatted API documentation. You can modify or subclass the standard doclet, or write your own doclet to generate HTML, XML, MIF, RTF or whatever output format you'd like. Information about doclets and their use is at the following locations: +@@ -122,14 +122,14 @@ + .na + \f2Javadoc Doclets\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html + .TP 2 + o +-The \f2\-doclet\fP command\-line option ++The \f2\-doclet\fP command\-line option + .RE + .LP + When a custom doclet is not specified with the \f2\-doclet\fP command line option, the Javadoc tool will use the default standard doclet. The javadoc tool has several command line options that are available regardless of which doclet is being used. The standard doclet adds a supplementary set of command line options. Both sets of options are described below in the options section. +-.SS ++.SS + Related Documentation and Doclets + .RS 3 + .TP 2 +@@ -137,89 +137,89 @@ + .na + \f2Javadoc Enhancements\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html for details about improvements added in Javadoc. ++http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html for details about improvements added in Javadoc. + .TP 2 + o + .na + \f2Javadoc FAQ\fP @ + .fi +-http://java.sun.com/j2se/javadoc/faq/index.html for answers to common questions, information about Javadoc\-related tools, and workarounds for bugs. ++http://java.sun.com/j2se/javadoc/faq/index.html for answers to common questions, information about Javadoc\-related tools, and workarounds for bugs. + .TP 2 + o + .na + \f2How to Write Doc Comments for Javadoc\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html for more information about Sun conventions for writing documentation comments. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html for more information about Sun conventions for writing documentation comments. + .TP 2 + o + .na + \f2Requirements for Writing API Specifications\fP @ + .fi +-http://java.sun.com/j2se/javadoc/writingapispecs/index.html \- Standard requirements used when writing the Java SE Platform Specification. It can be useful whether you are writing API specifications in source file documentation comments or in other formats. It covers requirements for packages, classes, interfaces, fields and methods to satisfy testable assertions. ++http://java.sun.com/j2se/javadoc/writingapispecs/index.html \- Standard requirements used when writing the Java SE Platform Specification. It can be useful whether you are writing API specifications in source file documentation comments or in other formats. It covers requirements for packages, classes, interfaces, fields and methods to satisfy testable assertions. + .TP 2 + o + .na + \f2Documentation Comment Specification\fP @ + .fi +-http://java.sun.com/docs/books/jls/first_edition/html/18.doc.html \- The original specification on documentation comments, Chapter 18, Documentation Comments, in the \f2Java Language Specification\fP, First Edition, by James Gosling, Bill Joy, and Guy Steele. (This chapter was removed from the second edition.) ++http://java.sun.com/docs/books/jls/first_edition/html/18.doc.html \- The original specification on documentation comments, Chapter 18, Documentation Comments, in the \f2Java Language Specification\fP, First Edition, by James Gosling, Bill Joy, and Guy Steele. (This chapter was removed from the second edition.) + .TP 2 + o + .na + \f2DocCheck Doclet\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-141437.html \- Checks doc comments in source files and generates a report listing the errors and irregularities it finds. It is part of the Doc Check Utilities. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-141437.html \- Checks doc comments in source files and generates a report listing the errors and irregularities it finds. It is part of the Doc Check Utilities. + .TP 2 + o + .na + \f2MIF Doclet\fP @ + .fi +-http://java.sun.com/j2se/javadoc/mifdoclet/ \- Can automate the generation of API documentation in MIF, FrameMaker and PDF formats. MIF is Adobe FrameMaker's interchange format. ++http://java.sun.com/j2se/javadoc/mifdoclet/ \- Can automate the generation of API documentation in MIF, FrameMaker and PDF formats. MIF is Adobe FrameMaker's interchange format. + .RE +-.SS ++.SS + Terminology + .LP + The terms \f2documentation comment\fP, \f2doc comment\fP, \f2main description\fP, \f2tag\fP, \f2block tag\fP, and \f2in\-line tag\fP are described at Documentation Comments. These other terms have specific meanings within the context of the Javadoc tool: + .RS 3 + .TP 3 +-generated document +-The document generated by the javadoc tool from the doc comments in Java source code. The default generated document is in HTML and is created by the standard doclet. ++generated document ++The document generated by the javadoc tool from the doc comments in Java source code. The default generated document is in HTML and is created by the standard doclet. + .LP + .TP 3 +-name +-A name of a program element written in the Java Language \-\- that is, the name of a package, class, interface, field, constructor or method. A name can be fully\-qualified, such as \f2java.lang.String.equals(java.lang.Object)\fP, or partially\-qualified, such as \f2equals(Object)\fP. ++name ++A name of a program element written in the Java Language \-\- that is, the name of a package, class, interface, field, constructor or method. A name can be fully\-qualified, such as \f2java.lang.String.equals(java.lang.Object)\fP, or partially\-qualified, such as \f2equals(Object)\fP. + .LP + .TP 3 +-documented classes +-The classes and interfaces for which detailed documentation is generated during a javadoc run. To be documented, the source files must be available, their source filenames or package names must be passed into the javadoc command, and they must not be filtered out by their access modifier (public, protected, package\-private or private). We also refer to these as the classes included in the javadoc output, or the \f2included classes\fP. ++documented classes ++The classes and interfaces for which detailed documentation is generated during a javadoc run. To be documented, the source files must be available, their source filenames or package names must be passed into the javadoc command, and they must not be filtered out by their access modifier (public, protected, package\-private or private). We also refer to these as the classes included in the javadoc output, or the \f2included classes\fP. + .LP + .TP 3 +-included classes +-Classes and interfaces whose details are documented during a run of the Javadoc tool. Same as \f2documented classes\fP. ++included classes ++Classes and interfaces whose details are documented during a run of the Javadoc tool. Same as \f2documented classes\fP. + .LP + .TP 3 +-excluded classes +-Classes and interfaces whose details are \f2not\fP documented during a run of the Javadoc tool. ++excluded classes ++Classes and interfaces whose details are \f2not\fP documented during a run of the Javadoc tool. + .LP + .TP 3 +-referenced classes +-The classes and interfaces that are explicitly referred to in the definition (implementation) or doc comments of the documented classes and interfaces. Examples of references include return type, parameter type, cast type, extended class, implemented interface, imported classes, classes used in method bodies, @see, {@link}, {@linkplain}, and {@inheritDoc} tags. (Notice this definition has changed since ++referenced classes ++The classes and interfaces that are explicitly referred to in the definition (implementation) or doc comments of the documented classes and interfaces. Examples of references include return type, parameter type, cast type, extended class, implemented interface, imported classes, classes used in method bodies, @see, {@link}, {@linkplain}, and {@inheritDoc} tags. (Notice this definition has changed since + .na + \f21.3\fP @ + .fi +-http://download.oracle.com/javase/1.3/docs/tooldocs/solaris/javadoc.html#referencedclasses.) When the Javadoc tool is run, it should load into memory all of the referenced classes in javadoc's bootclasspath and classpath. (The Javadoc tool prints a "Class not found" warning for referenced classes not found.) The Javadoc tool can derive enough information from the .class files to determine their existence and the fully\-qualified names of their members. ++http://docs.oracle.com/javase/1.3/docs/tooldocs/solaris/javadoc.html#referencedclasses.) When the Javadoc tool is run, it should load into memory all of the referenced classes in javadoc's bootclasspath and classpath. (The Javadoc tool prints a "Class not found" warning for referenced classes not found.) The Javadoc tool can derive enough information from the .class files to determine their existence and the fully\-qualified names of their members. + .LP + .TP 3 +-external referenced classes +-The referenced classes whose documentation is not being generated during a javadoc run. In other words, these classes are not passed into the Javadoc tool on the command line. Links in the generated documentation to those classes are said to be \f2external references\fP or \f2external links\fP. For example, if you run the Javadoc tool on only the \f2java.awt\fP package, then any class in \f2java.lang\fP, such as \f2Object\fP, is an external referenced class. External referenced classes can be linked to using the \f2\-link\fP and \f2\-linkoffline\fP options. An important property of an external referenced class is that its source comments are normally not available to the Javadoc run. In this case, these comments cannot be inherited. ++external referenced classes ++The referenced classes whose documentation is not being generated during a javadoc run. In other words, these classes are not passed into the Javadoc tool on the command line. Links in the generated documentation to those classes are said to be \f2external references\fP or \f2external links\fP. For example, if you run the Javadoc tool on only the \f2java.awt\fP package, then any class in \f2java.lang\fP, such as \f2Object\fP, is an external referenced class. External referenced classes can be linked to using the \f2\-link\fP and \f2\-linkoffline\fP options. An important property of an external referenced class is that its source comments are normally not available to the Javadoc run. In this case, these comments cannot be inherited. + .RE + .SH "SOURCE FILES" + .LP + The Javadoc tool will generate output originating from four different types of "source" files: Java language source files for classes (\f2.java\fP), package comment files, overview comment files, and miscellaneous unprocessed files. This section also covers test files and template files that can also be in the source tree, but which you want to be sure not to document. +-.SS ++.SS + Class Source Code Files + .LP + Each class or interface and its members can have their own documentation comments, contained in a \f2.java\fP file. For more details about these doc comments, see Documentation Comments. +-.SS ++.SS + Package Comment Files + .LP + Each package can have its own documentation comment, contained in its own "source" file, that the Javadoc tool will merge into the package summary page that it generates. You typically include in this comment any documentation that applies to the entire package. +@@ -228,10 +228,10 @@ + .RS 3 + .TP 2 + o +-\f2package\-info.java\fP \- Can contain a package declaration, package annotations, package comments and Javadoc tags. This file is generally preferred over package.html. ++\f2package\-info.java\fP \- Can contain a package declaration, package annotations, package comments and Javadoc tags. This file is generally preferred over package.html. + .TP 2 + o +-\f2package.html\fP \- Can contain only package comments and Javadoc tags, no package annotations. ++\f2package.html\fP \- Can contain only package comments and Javadoc tags, no package annotations. + .RE + .LP + A package may have a single \f2package.html\fP file or a single \f2package\-info.java\fP file but not both. Place either file in the package directory in the source tree along with your \f2.java\fP files. +@@ -244,9 +244,9 @@ + .fl + /** + .fl +- * Provides the classes necessary to create an ++ * Provides the classes necessary to create an + .fl +- * applet and the classes an applet uses ++ * applet and the classes an applet uses + .fl + * to communicate with its applet context. + .fl +@@ -260,7 +260,7 @@ + .fl + * {@link java.awt.Panel} class) with a few extra + .fl +- * methods that the applet context can use to ++ * methods that the applet context can use to + .fl + * initialize, start, and stop the applet. + .fl +@@ -289,7 +289,7 @@ + .fl + <BODY> + .fl +-Provides the classes necessary to create an applet and the ++Provides the classes necessary to create an applet and the + .fl + classes an applet uses to communicate with its applet context. + .fl +@@ -303,11 +303,11 @@ + .fl + few extra methods that the applet context can use to + .fl +-initialize, start, and stop the applet. ++initialize, start, and stop the applet. + .fl + + .fl +-@since 1.0 ++@since 1.0 + .fl + @see java.awt + .fl +@@ -318,7 +318,7 @@ + \fP + .fi + .LP +-Notice this is just a normal HTML file and does not include a package declaration. The content of the package comment file is written in HTML, like all other comments, with one exception: The documentation comment should not include the comment separators \f2/**\fP and \f2*/\fP or leading asterisks. When writing the comment, you should make the first sentence a summary about the package, and not put a title or any other text between \f2<body>\fP and the first sentence. You can include package tags; as with any documentation comment, all block tags must appear after the main description. If you add a \f2@see\fP tag in a package comment file, it must have a fully\-qualified name. For more details, see the ++Notice this is just a normal HTML file and does not include a package declaration. The content of the package comment file is written in HTML, like all other comments, with one exception: The documentation comment should not include the comment separators \f2/**\fP and \f2*/\fP or leading asterisks. When writing the comment, you should make the first sentence a summary about the package, and not put a title or any other text between \f2<body>\fP and the first sentence. You can include package tags; as with any documentation comment, all block tags must appear after the main description. If you add a \f2@see\fP tag in a package comment file, it must have a fully\-qualified name. For more details, see the + .na + \f2example of \fP\f2package.html\fP @ + .fi +@@ -328,26 +328,26 @@ + .RS 3 + .TP 2 + o +-Copies the comment for processing. (For \f2package.html\fP, copies all content between \f2<body>\fP and \f2</body>\fP HTML tags. You can include a \f2<head>\fP section to put a \f2<title>\fP, source file copyright statement, or other information, but none of these will appear in the generated documentation.) ++Copies the comment for processing. (For \f2package.html\fP, copies all content between \f2<body>\fP and \f2</body>\fP HTML tags. You can include a \f2<head>\fP section to put a \f2<title>\fP, source file copyright statement, or other information, but none of these will appear in the generated documentation.) + .TP 2 + o +-Processes any package tags that are present. ++Processes any package tags that are present. + .TP 2 + o +-Inserts the processed text at the bottom of the package summary page it generates, as shown in ++Inserts the processed text at the bottom of the package summary page it generates, as shown in + .na + \f2Package Summary\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/applet/package\-summary.html. ++http://docs.oracle.com/javase/7/docs/api/java/applet/package\-summary.html. + .TP 2 + o +-Copies the first sentence of the package comment to the top of the package summary page. It also adds the package name and this first sentence to the list of packages on the overview page, as shown in ++Copies the first sentence of the package comment to the top of the package summary page. It also adds the package name and this first sentence to the list of packages on the overview page, as shown in + .na + \f2Overview Summary\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/overview\-summary.html. The end\-of\-sentence is determined by the same rules used for the end of the first sentence of class and member main descriptions. ++http://docs.oracle.com/javase/7/docs/api/overview\-summary.html. The end\-of\-sentence is determined by the same rules used for the end of the first sentence of class and member main descriptions. + .RE +-.SS ++.SS + Overview Comment File + .LP + Each application or set of packages that you are documenting can have its own overview documentation comment, kept in its own "source" file, that the Javadoc tool will merge into the overview page that it generates. You typically include in this comment any documentation that applies to the entire application or set of packages. +@@ -362,22 +362,22 @@ + .RS 3 + .TP 2 + o +-Copies all content between \f2<body>\fP and \f2</body>\fP tags for processing. ++Copies all content between \f2<body>\fP and \f2</body>\fP tags for processing. + .TP 2 + o +-Processes any overview tags that are present. ++Processes any overview tags that are present. + .TP 2 + o +-Inserts the processed text at the bottom of the overview page it generates, as shown in ++Inserts the processed text at the bottom of the overview page it generates, as shown in + .na + \f2Overview Summary\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/overview\-summary.html. ++http://docs.oracle.com/javase/7/docs/api/overview\-summary.html. + .TP 2 + o +-Copies the first sentence of the overview comment to the top of the overview summary page. ++Copies the first sentence of the overview comment to the top of the overview summary page. + .RE +-.SS ++.SS + Miscellaneous Unprocessed Files + .LP + You can also include in your source any miscellaneous files that you want the Javadoc tool to copy to the destination directory. These typically includes graphic files, example Java source (.java) and class (.class) files, and self\-standing HTML files whose content would overwhelm the documentation comment of a normal Java source file. +@@ -390,7 +390,7 @@ + .fl + /** + .fl +- * This button looks like this: ++ * This button looks like this: + .fl + * <img src="doc\-files/Button.gif"> + .fl +@@ -398,7 +398,7 @@ + .fl + \fP + .fi +-.SS ++.SS + Test Files and Template Files + .LP + Some developers have indicated they want to store test files and templates files in the source tree near their corresponding source files. That is, they would like to put them in the same directory, or a subdirectory, of those source files. +@@ -429,60 +429,60 @@ + .RS 3 + .TP 2 + o +-One \f3class or interface page\fP (\f2classname\fP\f2.html\fP) for each class or interface it is documenting. ++One \f3class or interface page\fP (\f2classname\fP\f2.html\fP) for each class or interface it is documenting. + .TP 2 + o +-One \f3package page\fP (\f2package\-summary.html\fP) for each package it is documenting. The Javadoc tool will include any HTML text provided in a file named \f2package.html\fP or \f2package\-info.java\fP in the package directory of the source tree. ++One \f3package page\fP (\f2package\-summary.html\fP) for each package it is documenting. The Javadoc tool will include any HTML text provided in a file named \f2package.html\fP or \f2package\-info.java\fP in the package directory of the source tree. + .TP 2 + o +-One \f3overview page\fP (\f2overview\-summary.html\fP) for the entire set of packages. This is the front page of the generated document. The Javadoc tool will include any HTML text provided in a file specified with the \f2\-overview\fP option. Note that this file is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) ++One \f3overview page\fP (\f2overview\-summary.html\fP) for the entire set of packages. This is the front page of the generated document. The Javadoc tool will include any HTML text provided in a file specified with the \f2\-overview\fP option. Note that this file is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) + .RE + .LP + \f3Cross\-Reference Pages\fP + .RS 3 + .TP 2 + o +-One \f3class hierarchy page for the entire set of packages\fP (\f2overview\-tree.html\fP). To view this, click on "Overview" in the navigation bar, then click on "Tree". ++One \f3class hierarchy page for the entire set of packages\fP (\f2overview\-tree.html\fP). To view this, click on "Overview" in the navigation bar, then click on "Tree". + .TP 2 + o +-One \f3class hierarchy page for each package\fP (\f2package\-tree.html\fP) To view this, go to a particular package, class or interface page; click "Tree" to display the hierarchy for that package. ++One \f3class hierarchy page for each package\fP (\f2package\-tree.html\fP) To view this, go to a particular package, class or interface page; click "Tree" to display the hierarchy for that package. + .TP 2 + o +-One \f3"use" page\fP for each package (\f2package\-use.html\fP) and a separate one for each class and interface (\f2class\-use/\fP\f2classname\fP\f2.html\fP). This page describes what packages, classes, methods, constructors and fields use any part of the given class, interface or package. Given a class or interface A, its "use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar. ++One \f3"use" page\fP for each package (\f2package\-use.html\fP) and a separate one for each class and interface (\f2class\-use/\fP\f2classname\fP\f2.html\fP). This page describes what packages, classes, methods, constructors and fields use any part of the given class, interface or package. Given a class or interface A, its "use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar. + .TP 2 + o +-A \f3deprecated API page\fP (\f2deprecated\-list.html\fP) listing all deprecated names. (A deprecated name is not recommended for use, generally due to improvements, and a replacement name is usually given. Deprecated APIs may be removed in future implementations.) ++A \f3deprecated API page\fP (\f2deprecated\-list.html\fP) listing all deprecated names. (A deprecated name is not recommended for use, generally due to improvements, and a replacement name is usually given. Deprecated APIs may be removed in future implementations.) + .TP 2 + o +-A \f3constant field values page\fP (\f2constant\-values.html\fP) for the values of static fields. ++A \f3constant field values page\fP (\f2constant\-values.html\fP) for the values of static fields. + .TP 2 + o +-A \f3serialized form page\fP (\f2serialized\-form.html\fP) for information about serializable and externalizable classes. Each such class has a description of its serialization fields and methods. This information is of interest to re\-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class comment. The standard doclet automatically generates a serialized form page: any class (public or non\-public) that implements Serializable is included, along with \f2readObject\fP and \f2writeObject\fP methods, the fields that are serialized, and the doc comments from the \f2@serial\fP, \f2@serialField\fP, and \f2@serialData\fP tags. Public serializable classes can be excluded by marking them (or their package) with \f2@serial exclude\fP, and package\-private serializable classes can be included by marking them (or their package) with \f2@serial include\fP. As of 1.4, you can generate the complete serialized form for public and private classes by running javadoc \f2without\fP specifying the \f2\-private\fP option. ++A \f3serialized form page\fP (\f2serialized\-form.html\fP) for information about serializable and externalizable classes. Each such class has a description of its serialization fields and methods. This information is of interest to re\-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class comment. The standard doclet automatically generates a serialized form page: any class (public or non\-public) that implements Serializable is included, along with \f2readObject\fP and \f2writeObject\fP methods, the fields that are serialized, and the doc comments from the \f2@serial\fP, \f2@serialField\fP, and \f2@serialData\fP tags. Public serializable classes can be excluded by marking them (or their package) with \f2@serial exclude\fP, and package\-private serializable classes can be included by marking them (or their package) with \f2@serial include\fP. As of 1.4, you can generate the complete serialized form for public and private classes by running javadoc \f2without\fP specifying the \f2\-private\fP option. + .TP 2 + o +-An \f3index\fP (\f2index\-*.html\fP) of all class, interface, constructor, field and method names, alphabetically arranged. This is internationalized for Unicode and can be generated as a single file or as a separate file for each starting character (such as A\-Z for English). ++An \f3index\fP (\f2index\-*.html\fP) of all class, interface, constructor, field and method names, alphabetically arranged. This is internationalized for Unicode and can be generated as a single file or as a separate file for each starting character (such as A\-Z for English). + .RE + .LP + \f3Support Files\fP + .RS 3 + .TP 2 + o +-A \f3help page\fP (\f2help\-doc.html\fP) that describes the navigation bar and the above pages. You can provide your own custom help file to override the default using \f2\-helpfile\fP. ++A \f3help page\fP (\f2help\-doc.html\fP) that describes the navigation bar and the above pages. You can provide your own custom help file to override the default using \f2\-helpfile\fP. + .TP 2 + o +-One \f3index.html file\fP which creates the HTML frames for display. This is the file you load to display the front page with frames. This file itself contains no text content. ++One \f3index.html file\fP which creates the HTML frames for display. This is the file you load to display the front page with frames. This file itself contains no text content. + .TP 2 + o +-Several \f3frame files\fP (\f2*\-frame.html\fP) containing lists of packages, classes and interfaces, used when HTML frames are being displayed. ++Several \f3frame files\fP (\f2*\-frame.html\fP) containing lists of packages, classes and interfaces, used when HTML frames are being displayed. + .TP 2 + o +-A \f3package list\fP file (\f2package\-list\fP), used by the \f2\-link\fP and \f2\-linkoffline\fP options. This is a text file, not HTML, and is not reachable through any links. ++A \f3package list\fP file (\f2package\-list\fP), used by the \f2\-link\fP and \f2\-linkoffline\fP options. This is a text file, not HTML, and is not reachable through any links. + .TP 2 + o +-A \f3style sheet\fP file (\f2stylesheet.css\fP) that controls a limited amount of color, font family, font size, font style and positioning on the generated pages. ++A \f3style sheet\fP file (\f2stylesheet.css\fP) that controls a limited amount of color, font family, font size, font style and positioning on the generated pages. + .TP 2 + o +-A \f3doc\-files\fP directory that holds any image, example, source code or other files that you want copied to the destination directory. These files are not processed by the Javadoc tool in any manner \-\- that is, any javadoc tags in them will be ignored. This directory is not generated unless it exists in the source tree. ++A \f3doc\-files\fP directory that holds any image, example, source code or other files that you want copied to the destination directory. These files are not processed by the Javadoc tool in any manner \-\- that is, any javadoc tags in them will be ignored. This directory is not generated unless it exists in the source tree. + .RE + .LP + \f3HTML Frames\fP +@@ -495,10 +495,10 @@ + .RS 3 + .TP 2 + o +-\f2index.html\fP (for frames) ++\f2index.html\fP (for frames) + .TP 2 + o +-\f2overview\-summary.html\fP (for no frames) ++\f2overview\-summary.html\fP (for no frames) + .RE + .LP + \f3Generated File Structure\fP +@@ -590,7 +590,7 @@ + AudioClip.html Page for AudioClip source code + .fl + .fi +-.SS ++.SS + Generated API Declarations + .LP + The Javadoc tool generates a declaration at the start of each class, interface, field, constructor, and method description for that API item. For example, the declaration for the \f2Boolean\fP class is: +@@ -611,7 +611,7 @@ + .SH "DOCUMENTATION COMMENTS" + .LP + The original "Documentation Comment Specification" can be found under related documentation. +-.SS ++.SS + Commenting the Source Code + .LP + You can include \f2documentation comments\fP ("doc comments") in the source code, ahead of declarations for any class, interface, method, constructor, or field. You can also create doc comments for each package and another one for the overview, though their syntax is slightly different. Doc comments are also known informally as "Javadoc comments" (but this term violates its trademark usage). A doc comment consists of the characters between the characters \f2/**\fP that begin the comment and the characters \f2*/\fP that end it. Leading asterisks are allowed on each line and are described further below. The text in a comment can continue onto multiple lines. +@@ -718,13 +718,13 @@ + .nf + \f3 + .fl +-/** ++/** + .fl + * The horizontal and vertical distances of point (x,y) + .fl + */ + .fl +-public int x, y; // Avoid this ++public int x, y; // Avoid this + .fl + \fP + .fi +@@ -737,7 +737,7 @@ + .fl + .fi + .RS 3 +-The horizontal and vertical distances of point (x,y) ++The horizontal and vertical distances of point (x,y) + .RE + .nf + \f3 +@@ -746,25 +746,25 @@ + .fl + .fi + .RS 3 +-The horizontal and vertical distances of point (x,y) ++The horizontal and vertical distances of point (x,y) + .RE + .LP + \f3Use header tags carefully\fP \- When writing documentation comments for members, it's best not to use HTML heading tags such as <H1> and <H2>, because the Javadoc tool creates an entire structured document and these structural tags might interfere with the formatting of the generated document. However, it is fine to use these headings in class and package comments to provide your own structure. +-.SS ++.SS + Automatic Copying of Method Comments + .LP + The Javadoc tool has the ability to copy or "inherit" method comments in classes and interfaces under the following two circumstances. Constructors, fields and nested classes do not inherit doc comments. + .RS 3 + .TP 2 + o +-\f3Automatically inherit comment to fill in missing text\fP \- When a main description, or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag is missing from a method comment, the Javadoc tool copies the corresponding main description or tag comment from the method it overrides or implements (if any), according to the algorithm below. ++\f3Automatically inherit comment to fill in missing text\fP \- When a main description, or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag is missing from a method comment, the Javadoc tool copies the corresponding main description or tag comment from the method it overrides or implements (if any), according to the algorithm below. + .LP +-More specifically, when a \f2@param\fP tag for a particular parameter is missing, then the comment for that parameter is copied from the method further up the inheritance hierarchy. When a \f2@throws\fP tag for a particular exception is missing, the \f2@throws\fP tag is copied \f2only if that exception is declared\fP. ++More specifically, when a \f2@param\fP tag for a particular parameter is missing, then the comment for that parameter is copied from the method further up the inheritance hierarchy. When a \f2@throws\fP tag for a particular exception is missing, the \f2@throws\fP tag is copied \f2only if that exception is declared\fP. + .LP +-This behavior contrasts with version 1.3 and earlier, where the presence of any main description or tag would prevent all comments from being inherited. ++This behavior contrasts with version 1.3 and earlier, where the presence of any main description or tag would prevent all comments from being inherited. + .TP 2 + o +-\f3Explicitly inherit comment with {@inheritDoc} tag\fP \- Insert the inline tag \f2{@inheritDoc}\fP in a method main description or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag comment \-\- the corresponding inherited main description or tag comment is copied into that spot. ++\f3Explicitly inherit comment with {@inheritDoc} tag\fP \- Insert the inline tag \f2{@inheritDoc}\fP in a method main description or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag comment \-\- the corresponding inherited main description or tag comment is copied into that spot. + .RE + .LP + The source file for the inherited method need only be on the path specified by \-sourcepath for the doc comment to actually be available to copy. Neither the class nor its package needs to be passed in on the command line. This contrasts with 1.3.x and earlier releases, where the class had to be a documented class +@@ -773,13 +773,13 @@ + .RS 3 + .TP 2 + o +-When a method in a class overrides a method in a superclass ++When a method in a class overrides a method in a superclass + .TP 2 + o +-When a method in an interface overrides a method in a superinterface ++When a method in an interface overrides a method in a superinterface + .TP 2 + o +-When a method in a class implements a method in an interface ++When a method in a class implements a method in an interface + .RE + .LP + In the first two cases, for method overrides, the Javadoc tool generates a subheading "Overrides" in the documentation for the overriding method, with a link to the method it is overriding, whether or not the comment is inherited. +@@ -790,37 +790,37 @@ + .RS 3 + .TP 3 + 1. +-Look in each directly implemented (or extended) interface in the order they appear following the word implements (or extends) in the method declaration. Use the first doc comment found for this method. ++Look in each directly implemented (or extended) interface in the order they appear following the word implements (or extends) in the method declaration. Use the first doc comment found for this method. + .TP 3 + 2. +-If step 1 failed to find a doc comment, recursively apply this entire algorithm to each directly implemented (or extended) interface, in the same order they were examined in step 1. ++If step 1 failed to find a doc comment, recursively apply this entire algorithm to each directly implemented (or extended) interface, in the same order they were examined in step 1. + .TP 3 + 3. +-If step 2 failed to find a doc comment and this is a class other than Object (not an interface): ++If step 2 failed to find a doc comment and this is a class other than Object (not an interface): + .RS 3 + .TP 3 + a. +-If the superclass has a doc comment for this method, use it. ++If the superclass has a doc comment for this method, use it. + .TP 3 + b. +-If step 3a failed to find a doc comment, recursively apply this entire algorithm to the superclass. ++If step 3a failed to find a doc comment, recursively apply this entire algorithm to the superclass. + .RE + .RE + .SH "JAVADOC TAGS" + .LP +-The Javadoc tool parses special tags when they are embedded within a Java doc comment. These doc tags enable you to autogenerate a complete, well\-formatted API from your source code. The tags start with an "at" sign (\f2@\fP) and are case\-sensitive \-\- they must be typed with the uppercase and lowercase letters as shown. A tag must start at the beginning of a line (after any leading spaces and an optional asterisk) or it is treated as normal text. By convention, tags with the same name are grouped together. For example, put all \f2@see\fP tags together. ++The Javadoc tool parses special tags when they are embedded within a Java doc comment. These doc tags enable you to autogenerate a complete, well\-formatted API from your source code. The tags start with an "at" sign (\f2@\fP) and are case\-sensitive \-\- they must be typed with the uppercase and lowercase letters as shown. A tag must start at the beginning of a line (after any leading spaces and an optional asterisk) or it is treated as normal text. By convention, tags with the same name are grouped together. For example, put all \f2@see\fP tags together. + .LP + Tags come in two types: + .RS 3 + .TP 2 + o +-\f3Block tags\fP \- Can be placed only in the tag section that follows the main description. Block tags are of the form: \f2@tag\fP. ++\f3Block tags\fP \- Can be placed only in the tag section that follows the main description. Block tags are of the form: \f2@tag\fP. + .TP 2 + o +-\f3Inline tags\fP \- Can be placed anywhere in the main description or in the comments for block tags. Inline tags are denoted by curly braces: \f2{@tag}\fP. ++\f3Inline tags\fP \- Can be placed anywhere in the main description or in the comments for block tags. Inline tags are denoted by curly braces: \f2{@tag}\fP. + .RE + .LP +-For information about tags we might introduce in future releases, see ++For information about tags we might introduce in future releases, see + .na + \f2Proposed Tags\fP @ + .fi +@@ -828,6 +828,7 @@ + .LP + The current tags are: + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -952,83 +953,83 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Tag\fP\h'|\n(41u'\f3Introduced in JDK/SDK\fP +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@author\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@code}\fP\h'|\n(41u'1.5 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@docRoot}\fP\h'|\n(41u'1.3 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@deprecated\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@exception\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@inheritDoc}\fP\h'|\n(41u'1.4 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@link}\fP\h'|\n(41u'1.2 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@linkplain}\fP\h'|\n(41u'1.4 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@literal}\fP\h'|\n(41u'1.5 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@param\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@return\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@see\fP\h'|\n(41u'1.0 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@serial\fP\h'|\n(41u'1.2 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@serialData\fP\h'|\n(41u'1.2 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@serialField\fP\h'|\n(41u'1.2 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@since\fP\h'|\n(41u'1.1 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@throws\fP\h'|\n(41u'1.2 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2{@value}\fP\h'|\n(41u'1.4 +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f2@version\fP\h'|\n(41u'1.0 +@@ -1036,16 +1037,17 @@ + .nr T. 1 + .T# 1 + .35 ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-42 + .LP + For custom tags, see the \-tag option. + .RS 3 + .TP 3 +-@author\ name\-text +-Adds an "Author" entry with the specified \f2name\-text\fP to the generated docs when the \-author option is used. A doc comment may contain multiple \f2@author\fP tags. You can specify one name per \f2@author\fP tag or multiple names per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. ++@author\ name\-text ++Adds an "Author" entry with the specified \f2name\-text\fP to the generated docs when the \-author option is used. A doc comment may contain multiple \f2@author\fP tags. You can specify one name per \f2@author\fP tag or multiple names per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. + .RE + .LP +-For more details, see Where Tags Can Be Used and ++For more details, see Where Tags Can Be Used and + .na + \f2writing @author tags\fP @ + .fi +@@ -1053,14 +1055,14 @@ + .LP + .RS 3 + .TP 3 +-@deprecated\ deprecated\-text Note: You can deprecate a program element using the @Deprecated annotation. ++@deprecated\ deprecated\-text Note: You can deprecate a program element using the @Deprecated annotation. + .RE + .LP + Adds a comment indicating that this API should no longer be used (even though it may continue to work). The Javadoc tool moves the \f2deprecated\-text\fP ahead of the main description, placing it in italics and preceding it with a bold warning: "Deprecated". This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field. + .LP + The first sentence of \f2deprecated\-text\fP should at least tell the user when the API was deprecated and what to use as a replacement. The Javadoc tool copies just the first sentence to the summary section and index. Subsequent sentences can also explain why it has been deprecated. You should include a \f2{@link}\fP tag (for Javadoc 1.2 or later) that points to the replacement API: + .LP +-For more details, see ++For more details, see + .na + \f2writing @deprecated tags\fP @ + .fi +@@ -1068,7 +1070,7 @@ + .RS 3 + .TP 2 + o +-For Javadoc 1.2 and later, use a \f2{@link}\fP tag. This creates the link in\-line, where you want it. For example: ++For Javadoc 1.2 and later, use a \f2{@link}\fP tag. This creates the link in\-line, where you want it. For example: + .nf + \f3 + .fl +@@ -1078,75 +1080,75 @@ + .fl + */ + .fl +- ++ + .fl + \fP + .fi + .TP 2 + o +-For Javadoc 1.1, the standard format is to create a \f2@see\fP tag (which cannot be in\-line) for each \f2@deprecated\fP tag. ++For Javadoc 1.1, the standard format is to create a \f2@see\fP tag (which cannot be in\-line) for each \f2@deprecated\fP tag. + .RE + .LP +-For more about deprecation, see ++For more about deprecation, see + .na + \f2The @deprecated tag\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javadoc/deprecation/index.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/deprecation/index.html. + .LP + .RS 3 + .TP 3 +-{@code\ text} +-Equivalent to \f2<code>{@literal}</code>\fP. ++{@code\ text} ++Equivalent to \f2<code>{@literal}</code>\fP. + .LP +-Displays \f2text\fP in \f2code\fP font without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: ++Displays \f2text\fP in \f2code\fP font without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: + .nf + \f3 + .fl + \fP\f4{@code A<B>C}\fP\f3 + .fl +- ++ + .fl + \fP + .fi + .LP +-displays in the generated HTML page unchanged, as: ++displays in the generated HTML page unchanged, as: + .nf + \f3 + .fl + \fP\f4A<B>C\fP\f3 + .fl +- ++ + .fl + \fP + .fi + .LP +-The noteworthy point is that the \f2<B>\fP is not interpreted as bold and is in code font. ++The noteworthy point is that the \f2<B>\fP is not interpreted as bold and is in code font. + .LP +-If you want the same functionality without the code font, use \f2{@literal}\fP. ++If you want the same functionality without the code font, use \f2{@literal}\fP. + .LP + .TP 3 +-{@docRoot} +-Represents the relative path to the generated document's (destination) root directory from any generated page. It is useful when you want to include a file, such as a copyright page or company logo, that you want to reference from all generated pages. Linking to the copyright page from the bottom of each page is common. ++{@docRoot} ++Represents the relative path to the generated document's (destination) root directory from any generated page. It is useful when you want to include a file, such as a copyright page or company logo, that you want to reference from all generated pages. Linking to the copyright page from the bottom of each page is common. + .LP +-This \f2{@docRoot}\fP tag can be used both on the command line and in a doc comment: This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). ++This \f2{@docRoot}\fP tag can be used both on the command line and in a doc comment: This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). + .RS 3 + .TP 3 + 1. +-On the command line, where the header/footer/bottom are defined: ++On the command line, where the header/footer/bottom are defined: + .nf + \f3 + .fl + javadoc \-bottom '<a href="{@docRoot}/copyright.html">Copyright</a>' + .fl +- ++ + .fl + \fP + .fi + .LP +-NOTE \- When using \f2{@docRoot}\fP this way in a make file, some makefile programs require special escaping for the brace {} characters. For example, the Inprise MAKE version 5.2 running on Windows requires double braces: \f2{{@docRoot}}\fP. It also requires double (rather than single) quotes to enclose arguments to options such as \f2\-bottom\fP (with the quotes around the \f2href\fP argument omitted). ++NOTE \- When using \f2{@docRoot}\fP this way in a make file, some makefile programs require special escaping for the brace {} characters. For example, the Inprise MAKE version 5.2 running on Windows requires double braces: \f2{{@docRoot}}\fP. It also requires double (rather than single) quotes to enclose arguments to options such as \f2\-bottom\fP (with the quotes around the \f2href\fP argument omitted). + .TP 3 + 2. +-In a doc comment: ++In a doc comment: + .nf + \f3 + .fl +@@ -1156,159 +1158,159 @@ + .fl + */ + .fl +- ++ + .fl + \fP + .fi + .RE + .LP +-The reason this tag is needed is because the generated docs are in hierarchical directories, as deep as the number of subpackages. This expression: ++The reason this tag is needed is because the generated docs are in hierarchical directories, as deep as the number of subpackages. This expression: + .nf + \f3 + .fl + <a href="{@docRoot}/copyright.html"> + .fl +- ++ + .fl + \fP + .fi + .LP +-would resolve to: ++would resolve to: + .nf + \f3 + .fl + <a href="../../copyright.html"> for java/lang/Object.java + .fl +- ++ + .fl + \fP + .fi + .LP +-and ++and + .nf + \f3 + .fl + <a href="../../../copyright.html"> for java/lang/ref/Reference.java + .fl +- ++ + .fl + \fP + .fi + .LP + .TP 3 +-@exception\ class\-name\ description +-The \f2@exception\fP tag is a synonym for \f2@throws\fP. ++@exception\ class\-name\ description ++The \f2@exception\fP tag is a synonym for \f2@throws\fP. + .LP + .TP 3 +-{@inheritDoc}\ +-Inherits (copies) documentation from the "nearest" inheritable class or implementable interface into the current doc comment at this tag's location. This allows you to write more general comments higher up the inheritance tree, and to write around the copied text. ++{@inheritDoc}\ ++Inherits (copies) documentation from the "nearest" inheritable class or implementable interface into the current doc comment at this tag's location. This allows you to write more general comments higher up the inheritance tree, and to write around the copied text. + .LP +-This tag is valid only in these places in a doc comment: ++This tag is valid only in these places in a doc comment: + .RS 3 + .TP 2 + o +-In the main description block of a method. In this case, the main description is copied from a class or interface up the hierarchy. ++In the main description block of a method. In this case, the main description is copied from a class or interface up the hierarchy. + .TP 2 + o +-In the text arguments of the @return, @param and @throws tags of a method. In this case, the tag text is copied from the corresponding tag up the hierarchy. ++In the text arguments of the @return, @param and @throws tags of a method. In this case, the tag text is copied from the corresponding tag up the hierarchy. + .RE + .LP +-See Automatic Copying of Method Comments for a more precise description of how comments are found in the inheritance hierarchy. Note that if this tag is missing, the comment is or is not automatically inherited according to rules described in that section. ++See Automatic Copying of Method Comments for a more precise description of how comments are found in the inheritance hierarchy. Note that if this tag is missing, the comment is or is not automatically inherited according to rules described in that section. + .LP + .TP 3 +-{@link\ package.class#member\ label} +-Inserts an in\-line link with visible text \f2label\fP that points to the documentation for the specified package, class or member name of a referenced class. This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). ++{@link\ package.class#member\ label} ++Inserts an in\-line link with visible text \f2label\fP that points to the documentation for the specified package, class or member name of a referenced class. This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). + .LP +-This tag is very simliar to \f2@see\fP \-\- both require the same references and accept exactly the same syntax for \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. The main difference is that \f2{@link}\fP generates an in\-line link rather than placing the link in the "See Also" section. Also, the \f2{@link}\fP tag begins and ends with curly braces to separate it from the rest of the in\-line text. If you need to use "}" inside the label, use the HTML entity notation } ++This tag is very simliar to \f2@see\fP \-\- both require the same references and accept exactly the same syntax for \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. The main difference is that \f2{@link}\fP generates an in\-line link rather than placing the link in the "See Also" section. Also, the \f2{@link}\fP tag begins and ends with curly braces to separate it from the rest of the in\-line text. If you need to use "}" inside the label, use the HTML entity notation } + .LP +-There is no limit to the number of \f2{@link}\fP tags allowed in a sentence. You can use this tag in the main description part of any documentation comment or in the text portion of any tag (such as @deprecated, @return or @param). ++There is no limit to the number of \f2{@link}\fP tags allowed in a sentence. You can use this tag in the main description part of any documentation comment or in the text portion of any tag (such as @deprecated, @return or @param). + .LP +-For example, here is a comment that refers to the \f2getComponentAt(int, int)\fP method: ++For example, here is a comment that refers to the \f2getComponentAt(int, int)\fP method: + .nf + \f3 + .fl + Use the {@link #getComponentAt(int, int) getComponentAt} method. + .fl +- ++ + .fl + \fP + .fi + .LP +-From this, the standard doclet would generate the following HTML (assuming it refers to another class in the same package): ++From this, the standard doclet would generate the following HTML (assuming it refers to another class in the same package): + .nf + \f3 + .fl + Use the <a href="Component.html#getComponentAt(int, int)">getComponentAt</a> method. + .fl +- ++ + .fl + \fP + .fi + .LP +-Which appears on the web page as: ++Which appears on the web page as: + .nf + \f3 + .fl + Use the getComponentAt method. + .fl +- ++ + .fl + \fP + .fi + .LP +-You can extend \f2{@link}\fP to link to classes not being documented by using the \f2\-link\fP option. ++You can extend \f2{@link}\fP to link to classes not being documented by using the \f2\-link\fP option. + .LP +-For more details, see ++For more details, see + .na + \f2writing {@link} tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#{@link}. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#{@link}. + .LP + .TP 3 +-{@linkplain\ package.class#member\ label} +-Identical to \f2{@link}\fP, except the link's label is displayed in plain text than code font. Useful when the label is plain text. Example: ++{@linkplain\ package.class#member\ label} ++Identical to \f2{@link}\fP, except the link's label is displayed in plain text than code font. Useful when the label is plain text. Example: + .nf + \f3 + .fl + Refer to {@linkplain add() the overridden method}. + .fl +- ++ + .fl + \fP + .fi + .LP +-This would display as: ++This would display as: + .LP +-Refer to the overridden method. ++Refer to the overridden method. + .LP + .TP 3 +-{@literal\ text} +-Displays \f2text\fP without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: ++{@literal\ text} ++Displays \f2text\fP without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: + .nf + \f3 + .fl + \fP\f4{@literal A<B>C}\fP\f3 + .fl +- ++ + .fl + \fP + .fi + .LP +-displays unchanged in the generated HTML page in your browser, as: ++displays unchanged in the generated HTML page in your browser, as: + .LP +-\f2\ \ \ \ \ \fPA<B>C ++\f2\ \ \ \ \ \fPA<B>C + .LP +-The noteworthy point is that the \f2<B>\fP is not interpreted as bold (and it is not in code font). ++The noteworthy point is that the \f2<B>\fP is not interpreted as bold (and it is not in code font). + .LP +-If you want the same functionality but with the text in code font, use \f2{@code}\fP. ++If you want the same functionality but with the text in code font, use \f2{@code}\fP. + .LP + .TP 3 +-@param\ parameter\-name description +-Adds a parameter with the specified \f2parameter\-name\fP followed by the specified \f2description\fP to the "Parameters" section. When writing the doc comment, you may continue the \f2description\fP onto multiple lines. This tag is valid only in a doc comment for a method, constructor or class. ++@param\ parameter\-name description ++Adds a parameter with the specified \f2parameter\-name\fP followed by the specified \f2description\fP to the "Parameters" section. When writing the doc comment, you may continue the \f2description\fP onto multiple lines. This tag is valid only in a doc comment for a method, constructor or class. + .LP +-The \f2parameter\-name\fP can be the name of a parameter in a method or constructor, or the name of a type parameter of a class, method or constructor. Use angle brackets around this parameter name to specify the use of a type parameter. ++The \f2parameter\-name\fP can be the name of a parameter in a method or constructor, or the name of a type parameter of a class, method or constructor. Use angle brackets around this parameter name to specify the use of a type parameter. + .LP +-Example of a type parameter of a class: ++Example of a type parameter of a class: + .nf + \f3 + .fl +@@ -1322,12 +1324,12 @@ + .fl + } + .fl +- ++ + .fl + \fP + .fi + .LP +-Example of a type parameter of a method: ++Example of a type parameter of a method: + .nf + \f3 + .fl +@@ -1347,45 +1349,45 @@ + .fl + } + .fl +- ++ + .fl + \fP + .fi + .LP +-For more details, see ++For more details, see + .na + \f2writing @param tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@param. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@param. + .LP + .TP 3 +-@return\ description +-Adds a "Returns" section with the \f2description\fP text. This text should describe the return type and permissible range of values. This tag is valid only in a doc comment for a method. ++@return\ description ++Adds a "Returns" section with the \f2description\fP text. This text should describe the return type and permissible range of values. This tag is valid only in a doc comment for a method. + .LP +-For more details, see ++For more details, see + .na + \f2writing @return tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@return. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@return. + .LP + .TP 3 +-@see\ reference +-Adds a "See Also" heading with a link or text entry that points to \f2reference\fP. A doc comment may contain any number of \f2@see\fP tags, which are all grouped under the same heading. The \f2@see\fP tag has three variations; the third form below is the most common. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. For inserting an in\-line link within a sentence to a package, class or member, see \f2{@link}\fP. ++@see\ reference ++Adds a "See Also" heading with a link or text entry that points to \f2reference\fP. A doc comment may contain any number of \f2@see\fP tags, which are all grouped under the same heading. The \f2@see\fP tag has three variations; the third form below is the most common. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. For inserting an in\-line link within a sentence to a package, class or member, see \f2{@link}\fP. + .RS 3 + .TP 3 +-@see "string" +-Adds a text entry for \f2string\fP. No link is generated. The \f2string\fP is a book or other reference to information not available by URL. The Javadoc tool distinguishes this from the previous cases by looking for a double\-quote (\f2"\fP) as the first character. For example: ++@see "string" ++Adds a text entry for \f2string\fP. No link is generated. The \f2string\fP is a book or other reference to information not available by URL. The Javadoc tool distinguishes this from the previous cases by looking for a double\-quote (\f2"\fP) as the first character. For example: + .nf + \f3 + .fl + @see "The Java Programming Language" + .fl +- ++ + .fl + \fP + .fi + .LP +-This generates text such as: ++This generates text such as: + .RE + .RE + .RS 3 +@@ -1393,13 +1395,13 @@ + .RS 3 + .RS 3 + .TP 3 +-See Also: +-"The Java Programming Language" ++See Also: ++"The Java Programming Language" + .RE + .RE + .TP 3 +-@see <a href="URL#value">label</a> +-Adds a link as defined by \f2URL\fP#\f2value\fP. The \f2URL\fP#\f2value\fP is a relative or absolute URL. The Javadoc tool distinguishes this from other cases by looking for a less\-than symbol (\f2<\fP) as the first character. For example: ++@see <a href="URL#value">label</a> ++Adds a link as defined by \f2URL\fP#\f2value\fP. The \f2URL\fP#\f2value\fP is a relative or absolute URL. The Javadoc tool distinguishes this from other cases by looking for a less\-than symbol (\f2<\fP) as the first character. For example: + .nf + \f3 + .fl +@@ -1407,31 +1409,31 @@ + .fl + \fP + .fi +-This generates a link such as: ++This generates a link such as: + .RS 3 + .TP 3 +-See Also: +-Java Spec ++See Also: ++Java Spec + .RE + .TP 3 +-@see\ package.class#member\ label +-Adds a link, with visible text \f2label\fP, that points to the documentation for the specified name in the Java Language that is referenced. The \f2label\fP is optional; if omitted, the name appears instead as the visible text, suitably shortened \-\- see How a name is displayed. Use \-noqualifier to globally remove the package name from this visible text. Use the label when you want the visible text to be different from the auto\-generated visible text. ++@see\ package.class#member\ label ++Adds a link, with visible text \f2label\fP, that points to the documentation for the specified name in the Java Language that is referenced. The \f2label\fP is optional; if omitted, the name appears instead as the visible text, suitably shortened \-\- see How a name is displayed. Use \-noqualifier to globally remove the package name from this visible text. Use the label when you want the visible text to be different from the auto\-generated visible text. + .LP +-Only in version 1.2, just the name but not the label would automatically appear in <code> HTML tags, Starting with 1.2.2, the <code> is always included around the visible text, whether or not a label is used. ++Only in version 1.2, just the name but not the label would automatically appear in <code> HTML tags, Starting with 1.2.2, the <code> is always included around the visible text, whether or not a label is used. + .LP + .RS 3 + .TP 2 + o +-\f4package.class\fP\f4#\fP\f4member\fP is any valid program element name that is referenced \-\- a package, class, interface, constructor, method or field name \-\- except that the character ahead of the member name should be a hash character (\f2#\fP). The \f2class\fP represents any top\-level or nested class or interface. The \f2member\fP represents any constructor, method or field (not a nested class or interface). If this name is in the documented classes, the Javadoc tool will automatically create a link to it. To create links to external referenced classes, use the \f2\-link\fP option. Use either of the other two \f2@see\fP forms for referring to documentation of a name that does not belong to a referenced class. This argument is described at greater length below under Specifying a Name. ++\f4package.class\fP\f4#\fP\f4member\fP is any valid program element name that is referenced \-\- a package, class, interface, constructor, method or field name \-\- except that the character ahead of the member name should be a hash character (\f2#\fP). The \f2class\fP represents any top\-level or nested class or interface. The \f2member\fP represents any constructor, method or field (not a nested class or interface). If this name is in the documented classes, the Javadoc tool will automatically create a link to it. To create links to external referenced classes, use the \f2\-link\fP option. Use either of the other two \f2@see\fP forms for referring to documentation of a name that does not belong to a referenced class. This argument is described at greater length below under Specifying a Name. + .TP 2 + o +-\f4label\fP is optional text that is visible as the link's label. The \f2label\fP can contain whitespace. If \f2label\fP is omitted, then \f2package.class.member\fP will appear, suitably shortened relative to the current class and package \-\- see How a name is displayed. ++\f4label\fP is optional text that is visible as the link's label. The \f2label\fP can contain whitespace. If \f2label\fP is omitted, then \f2package.class.member\fP will appear, suitably shortened relative to the current class and package \-\- see How a name is displayed. + .TP 2 + o +-A space is the delimiter between \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. A space inside parentheses does not indicate the start of a label, so spaces may be used between parameters in a method. ++A space is the delimiter between \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. A space inside parentheses does not indicate the start of a label, so spaces may be used between parameters in a method. + .RE + .LP +-\f3Example\fP \- In this example, an \f2@see\fP tag (in the \f2Character\fP class) refers to the \f2equals\fP method in the \f2String\fP class. The tag includes both arguments: the name "\f2String#equals(Object)\fP" and the label "\f2equals\fP". ++\f3Example\fP \- In this example, an \f2@see\fP tag (in the \f2Character\fP class) refers to the \f2equals\fP method in the \f2String\fP class. The tag includes both arguments: the name "\f2String#equals(Object)\fP" and the label "\f2equals\fP". + .nf + \f3 + .fl +@@ -1443,7 +1445,7 @@ + .fl + \fP + .fi +-The standard doclet produces HTML something like this: ++The standard doclet produces HTML something like this: + .nf + \f3 + .fl +@@ -1457,18 +1459,19 @@ + .fl + \fP + .fi +-Which looks something like this in a browser, where the label is the visible link text: ++Which looks something like this in a browser, where the label is the visible link text: + .RS 3 + .TP 3 +-See Also: +-equals ++See Also: ++equals + .RE + .LP +-\f3Specifying a name\fP \- This \f2package.class\fP\f2#\fP\f2member\fP name can be either fully\-qualified, such as \f2java.lang.String#toUpperCase()\fP or not, such as \f2String#toUpperCase()\fP or \f2#toUpperCase()\fP. If less than fully\-qualified, the Javadoc tool uses the normal Java compiler search order to find it, further described below in Search order for @see. The name can contain whitespace within parentheses, such as between method arguments. ++\f3Specifying a name\fP \- This \f2package.class\fP\f2#\fP\f2member\fP name can be either fully\-qualified, such as \f2java.lang.String#toUpperCase()\fP or not, such as \f2String#toUpperCase()\fP or \f2#toUpperCase()\fP. If less than fully\-qualified, the Javadoc tool uses the normal Java compiler search order to find it, further described below in Search order for @see. The name can contain whitespace within parentheses, such as between method arguments. + .LP +-Of course the advantage of providing shorter, "partially\-qualified" names is that they are shorter to type and there is less clutter in the source code. The following table shows the different forms of the name, where \f2Class\fP can be a class or interface, \f2Type\fP can be a class, interface, array, or primitive, and \f2method\fP can be a method or constructor. ++Of course the advantage of providing shorter, "partially\-qualified" names is that they are shorter to type and there is less clutter in the source code. The following table shows the different forms of the name, where \f2Class\fP can be a class or interface, \f2Type\fP can be a class, interface, array, or primitive, and \f2method\fP can be a method or constructor. + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -1629,7 +1632,7 @@ + .ec + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u ++.ta \n(80u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u' +@@ -1645,7 +1648,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u ++.ta \n(80u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u' +@@ -1661,7 +1664,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u ++.ta \n(80u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u' +@@ -1677,7 +1680,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u ++.ta \n(80u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u' +@@ -1699,54 +1702,56 @@ + .rm b+ + .rm c+ + .rm d+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-58 + .LP +-The following notes apply to the above table: ++The following notes apply to the above table: + .RS 3 + .TP 2 + o +-The first set of forms (with no class or package) will cause the Javadoc tool to search only through the current class's hierarchy. It will find a member of the current class or interface, one of its superclasses or superinterfaces, or one of its enclosing classes or interfaces (search steps 1\-3). It will not search the rest of the current package or other packages (search steps 4\-5). ++The first set of forms (with no class or package) will cause the Javadoc tool to search only through the current class's hierarchy. It will find a member of the current class or interface, one of its superclasses or superinterfaces, or one of its enclosing classes or interfaces (search steps 1\-3). It will not search the rest of the current package or other packages (search steps 4\-5). + .TP 2 + o +-If any method or constructor is entered as a name with no parentheses, such as \f2getValue\fP, and if there is no field with the same name, the Javadoc tool will correctly create a link to it, but will print a warning message reminding you to add the parentheses and arguments. If this method is overloaded, the Javadoc tool will link to the first method its search encounters, which is unspecified. ++If any method or constructor is entered as a name with no parentheses, such as \f2getValue\fP, and if there is no field with the same name, the Javadoc tool will correctly create a link to it, but will print a warning message reminding you to add the parentheses and arguments. If this method is overloaded, the Javadoc tool will link to the first method its search encounters, which is unspecified. + .TP 2 + o +-Nested classes must be specified as \f2outer\fP\f2.\fP\f2inner\fP, not simply \f2inner\fP, for all forms. ++Nested classes must be specified as \f2outer\fP\f2.\fP\f2inner\fP, not simply \f2inner\fP, for all forms. + .TP 2 + o +-As stated, the hash character (\f2#\fP), rather than a dot (\f2.\fP) separates a member from its class. This enables the Javadoc tool to resolve ambiguities, since the dot also separates classes, nested classes, packages, and subpackages. However, the Javadoc tool is generally lenient and will properly parse a dot if you know there is no ambiguity, though it will print a warning. ++As stated, the hash character (\f2#\fP), rather than a dot (\f2.\fP) separates a member from its class. This enables the Javadoc tool to resolve ambiguities, since the dot also separates classes, nested classes, packages, and subpackages. However, the Javadoc tool is generally lenient and will properly parse a dot if you know there is no ambiguity, though it will print a warning. + .RE + .LP +-\f3Search order for @see\fP \- the Javadoc tool will process a \f2@see\fP tag that appears in a source file (.java), package file (package.html or package\-info.java) or overview file (overview.html). In the latter two files, you must fully\-qualify the name you supply with \f2@see\fP. In a source file, you can specify a name that is fully\-qualified or partially\-qualified. ++\f3Search order for @see\fP \- the Javadoc tool will process a \f2@see\fP tag that appears in a source file (.java), package file (package.html or package\-info.java) or overview file (overview.html). In the latter two files, you must fully\-qualify the name you supply with \f2@see\fP. In a source file, you can specify a name that is fully\-qualified or partially\-qualified. + .LP +-When the Javadoc tool encounters a \f2@see\fP tag in a \f2.java\fP file that is \f2not\fP fully qualified, it searches for the specified name in the same order as the Java compiler would (except the Javadoc tool will not detect certain namespace ambiguities, since it assumes the source code is free of these errors). This search order is formally defined in the \f2Java Language Specification\fP. The Javadoc tool searches for that name through all related and imported classes and packages. In particular, it searches in this order: ++When the Javadoc tool encounters a \f2@see\fP tag in a \f2.java\fP file that is \f2not\fP fully qualified, it searches for the specified name in the same order as the Java compiler would (except the Javadoc tool will not detect certain namespace ambiguities, since it assumes the source code is free of these errors). This search order is formally defined in the \f2Java Language Specification\fP. The Javadoc tool searches for that name through all related and imported classes and packages. In particular, it searches in this order: + .RS 3 + .TP 3 + 1. +-the current class or interface ++the current class or interface + .TP 3 + 2. +-any enclosing classes and interfaces, searching closest first ++any enclosing classes and interfaces, searching closest first + .TP 3 + 3. +-any superclasses and superinterfaces, searching closest first ++any superclasses and superinterfaces, searching closest first + .TP 3 + 4. +-the current package ++the current package + .TP 3 + 5. +-any imported packages, classes and interfaces, searching in the order of the import statement ++any imported packages, classes and interfaces, searching in the order of the import statement + .RE + .LP +-The Javadoc tool continues to search recursively through steps 1\-3 for each class it encounters until it finds a match. That is, after it searches through the current class and its enclosing class E, it will search through E's superclasses before E's enclosing classes. In steps 4 and 5, the Javadoc tool does not search classes or interfaces within a package in any specified order (that order depends on the particular compiler). In step 5, the Javadoc tool looks in java.lang, since that is automatically imported by all programs. ++The Javadoc tool continues to search recursively through steps 1\-3 for each class it encounters until it finds a match. That is, after it searches through the current class and its enclosing class E, it will search through E's superclasses before E's enclosing classes. In steps 4 and 5, the Javadoc tool does not search classes or interfaces within a package in any specified order (that order depends on the particular compiler). In step 5, the Javadoc tool looks in java.lang, since that is automatically imported by all programs. + .LP +-The Javadoc tool does not necessarily look in subclasses, nor will it look in other packages even if their documentation is being generated in the same run. For example, if the \f2@see\fP tag is in the \f2java.awt.event.KeyEvent\fP class and refers to a name in the \f2java.awt\fP package, javadoc does not look in that package unless that class imports it. ++The Javadoc tool does not necessarily look in subclasses, nor will it look in other packages even if their documentation is being generated in the same run. For example, if the \f2@see\fP tag is in the \f2java.awt.event.KeyEvent\fP class and refers to a name in the \f2java.awt\fP package, javadoc does not look in that package unless that class imports it. + .LP +-\f3How a name is displayed\fP \- If \f2label\fP is omitted, then \f2package.class.member\fP appears. In general, it is suitably shortened relative to the current class and package. By "shortened", we mean the Javadoc tool displays only the minimum name necessary. For example, if the \f2String.toUpperCase()\fP method contains references to a member of the same class and to a member of a different class, the class name is displayed only in the latter case, as shown in the following table. ++\f3How a name is displayed\fP \- If \f2label\fP is omitted, then \f2package.class.member\fP appears. In general, it is suitably shortened relative to the current class and package. By "shortened", we mean the Javadoc tool displays only the minimum name necessary. For example, if the \f2String.toUpperCase()\fP method contains references to a member of the same class and to a member of a different class, the class name is displayed only in the latter case, as shown in the following table. + .LP + Use \-noqualifier to globally remove the package names. + .br + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -1973,7 +1978,7 @@ + .ec + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u ++.ta \n(80u \n(81u \n(82u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Type of Reference\fP\h'|\n(41u'\h'|\n(42u'\f3Displays As\fP +@@ -1991,7 +1996,7 @@ + .ne \n(c|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u ++.ta \n(80u \n(81u \n(82u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u'\f2@see String#toLowerCase()\fP\h'|\n(42u' +@@ -2018,7 +2023,7 @@ + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u ++.ta \n(80u \n(81u \n(82u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +@@ -2052,7 +2057,7 @@ + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u ++.ta \n(80u \n(81u \n(82u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +@@ -2093,125 +2098,126 @@ + .rm g+ + .rm h+ + .rm i+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-28 + .LP + \f3Examples of @see\fP + .br +-The comment to the right shows how the name would be displayed if the \f2@see\fP tag is in a class in another package, such as \f2java.applet.Applet\fP. ++The comment to the right shows how the name would be displayed if the \f2@see\fP tag is in a class in another package, such as \f2java.applet.Applet\fP. + .nf + \f3 + .fl +- See also: ++ See also: + .fl +-@see java.lang.String // String \fP\f3 ++@see java.lang.String // String \fP\f3 + .fl +-@see java.lang.String The String class // The String class \fP\f3 ++@see java.lang.String The String class // The String class \fP\f3 + .fl +-@see String // String \fP\f3 ++@see String // String \fP\f3 + .fl +-@see String#equals(Object) // String.equals(Object) \fP\f3 ++@see String#equals(Object) // String.equals(Object) \fP\f3 + .fl +-@see String#equals // String.equals(java.lang.Object) \fP\f3 ++@see String#equals // String.equals(java.lang.Object) \fP\f3 + .fl +-@see java.lang.Object#wait(long) // java.lang.Object.wait(long) \fP\f3 ++@see java.lang.Object#wait(long) // java.lang.Object.wait(long) \fP\f3 + .fl +-@see Character#MAX_RADIX // Character.MAX_RADIX \fP\f3 ++@see Character#MAX_RADIX // Character.MAX_RADIX \fP\f3 + .fl +-@see <a href="spec.html">Java Spec</a> // Java Spec \fP\f3 ++@see <a href="spec.html">Java Spec</a> // Java Spec \fP\f3 + .fl +-@see "The Java Programming Language" // "The Java Programming Language" \fP\f3 ++@see "The Java Programming Language" // "The Java Programming Language" \fP\f3 + .fl + \fP + .fi +-You can extend \f2@see\fP to link to classes not being documented by using the \f2\-link\fP option. ++You can extend \f2@see\fP to link to classes not being documented by using the \f2\-link\fP option. + .LP +-For more details, see ++For more details, see + .na + \f2writing @see tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@see. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@see. + .RE + .RE + .LP + .RS 3 + .TP 3 +-@serial\ field\-description | include | exclude +-Used in the doc comment for a default serializable field. ++@serial\ field\-description | include | exclude ++Used in the doc comment for a default serializable field. + .LP +-An optional \f2field\-description\fP should explain the meaning of the field and list the acceptable values. If needed, the description can span multiple lines. The standard doclet adds this information to the serialized form page. ++An optional \f2field\-description\fP should explain the meaning of the field and list the acceptable values. If needed, the description can span multiple lines. The standard doclet adds this information to the serialized form page. + .LP +-If a serializable field was added to a class some time after the class was made serializable, a statement should be added to its main description to identify at which version it was added. ++If a serializable field was added to a class some time after the class was made serializable, a statement should be added to its main description to identify at which version it was added. + .LP +-The \f2include\fP and \f2exclude\fP arguments identify whether a class or package should be included or excluded from the serialized form page. They work as follows: ++The \f2include\fP and \f2exclude\fP arguments identify whether a class or package should be included or excluded from the serialized form page. They work as follows: + .RS 3 + .TP 2 + o +-A public or protected class that implements \f2Serializable\fP is \f2included\fP unless that class (or its package) is marked \f2@serial exclude\fP. ++A public or protected class that implements \f2Serializable\fP is \f2included\fP unless that class (or its package) is marked \f2@serial exclude\fP. + .TP 2 + o +-A private or package\-private class that implements \f2Serializable\fP is \f2excluded\fP unless that class (or its package) is marked \f2@serial include\fP. ++A private or package\-private class that implements \f2Serializable\fP is \f2excluded\fP unless that class (or its package) is marked \f2@serial include\fP. + .RE + .LP +-Examples: The \f2javax.swing\fP package is marked \f2@serial exclude\fP (in \f2package.html\fP or \f2package\-info.java\fP). The public class \f2java.security.BasicPermission\fP is marked \f2@serial exclude\fP. The package\-private class \f2java.util.PropertyPermissionCollection\fP is marked \f2@serial include\fP. ++Examples: The \f2javax.swing\fP package is marked \f2@serial exclude\fP (in \f2package.html\fP or \f2package\-info.java\fP). The public class \f2java.security.BasicPermission\fP is marked \f2@serial exclude\fP. The package\-private class \f2java.util.PropertyPermissionCollection\fP is marked \f2@serial include\fP. + .LP +-The tag @serial at a class level overrides @serial at a package level. ++The tag @serial at a class level overrides @serial at a package level. + .LP + For more information about how to use these tags, along with an example, see " + .na + \f2Documenting Serializable Fields and Data for a Class\fP @ + .fi +-http://download.oracle.com/javase/7/docs/platform/serialization/spec/serial\-arch.html," Section 1.6 of the \f2Java Object Serialization Specification\fP. Also see the ++http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serial\-arch.html," Section 1.6 of the \f2Java Object Serialization Specification\fP. Also see the + .na + \f2Serialization FAQ\fP @ + .fi +-http://java.sun.com/javase/technologies/core/basic/serializationFAQ.jsp#javadoc_warn_missing, which covers common questions, such as "Why do I see javadoc warnings stating that I am missing @serial tags for private fields if I am not running javadoc with the \-private switch?". Also see ++http://java.sun.com/javase/technologies/core/basic/serializationFAQ.jsp#javadoc_warn_missing, which covers common questions, such as "Why do I see javadoc warnings stating that I am missing @serial tags for private fields if I am not running javadoc with the \-private switch?". Also see + .na + \f2Sun's criteria\fP @ + .fi +-http://java.sun.com/j2se/javadoc/writingapispecs/serialized\-criteria.html for including classes in the serialized form specification. ++http://java.sun.com/j2se/javadoc/writingapispecs/serialized\-criteria.html for including classes in the serialized form specification. + .LP + .TP 3 +-@serialField\ field\-name\ field\-type\ field\-description +-Documents an \f2ObjectStreamField\fP component of a \f2Serializable\fP class's \f2serialPersistentFields\fP member. One \f2@serialField\fP tag should be used for each \f2ObjectStreamField\fP component. ++@serialField\ field\-name\ field\-type\ field\-description ++Documents an \f2ObjectStreamField\fP component of a \f2Serializable\fP class's \f2serialPersistentFields\fP member. One \f2@serialField\fP tag should be used for each \f2ObjectStreamField\fP component. + .LP + .TP 3 +-@serialData\ data\-description +-The \f2data\-description\fP documents the types and order of data in the serialized form. Specifically, this data includes the optional data written by the \f2writeObject\fP method and all data (including base classes) written by the \f2Externalizable.writeExternal\fP method. ++@serialData\ data\-description ++The \f2data\-description\fP documents the types and order of data in the serialized form. Specifically, this data includes the optional data written by the \f2writeObject\fP method and all data (including base classes) written by the \f2Externalizable.writeExternal\fP method. + .LP +-The \f2@serialData\fP tag can be used in the doc comment for the \f2writeObject\fP, \f2readObject\fP, \f2writeExternal\fP, \f2readExternal\fP, \f2writeReplace\fP, and \f2readResolve\fP methods. ++The \f2@serialData\fP tag can be used in the doc comment for the \f2writeObject\fP, \f2readObject\fP, \f2writeExternal\fP, \f2readExternal\fP, \f2writeReplace\fP, and \f2readResolve\fP methods. + .LP + .TP 3 +-@since\ since\-text +-Adds a "Since" heading with the specified \f2since\-text\fP to the generated documentation. The text has no special internal structure. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. This tag means that this change or feature has existed since the software release specified by the \f2since\-text\fP. For example: ++@since\ since\-text ++Adds a "Since" heading with the specified \f2since\-text\fP to the generated documentation. The text has no special internal structure. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. This tag means that this change or feature has existed since the software release specified by the \f2since\-text\fP. For example: + .nf + \f3 + .fl + @since 1.5 + .fl +- ++ + .fl + \fP + .fi + .LP +-For source code in the Java platform, this tag indicates the version of the Java platform API specification (not necessarily when it was added to the reference implementation). Multiple @since tags are allowed and are treated like multiple @author tags. You could use multiple tags if the prgram element is used by more than one API. ++For source code in the Java platform, this tag indicates the version of the Java platform API specification (not necessarily when it was added to the reference implementation). Multiple @since tags are allowed and are treated like multiple @author tags. You could use multiple tags if the prgram element is used by more than one API. + .LP + .TP 3 +-@throws\ class\-name\ description +-The \f2@throws\fP and \f2@exception\fP tags are synonyms. Adds a "Throws" subheading to the generated documentation, with the \f2class\-name\fP and \f2description\fP text. The \f2class\-name\fP is the name of the exception that may be thrown by the method. This tag is valid only in the doc comment for a method or constructor. If this class is not fully\-specified, the Javadoc tool uses the search order to look up this class. Multiple \f2@throws\fP tags can be used in a given doc comment for the same or different exceptions. ++@throws\ class\-name\ description ++The \f2@throws\fP and \f2@exception\fP tags are synonyms. Adds a "Throws" subheading to the generated documentation, with the \f2class\-name\fP and \f2description\fP text. The \f2class\-name\fP is the name of the exception that may be thrown by the method. This tag is valid only in the doc comment for a method or constructor. If this class is not fully\-specified, the Javadoc tool uses the search order to look up this class. Multiple \f2@throws\fP tags can be used in a given doc comment for the same or different exceptions. + .LP +-To ensure that all checked exceptions are documented, if a \f2@throws\fP tag does not exist for an exception in the throws clause, the Javadoc tool automatically adds that exception to the HTML output (with no description) as if it were documented with @throws tag. ++To ensure that all checked exceptions are documented, if a \f2@throws\fP tag does not exist for an exception in the throws clause, the Javadoc tool automatically adds that exception to the HTML output (with no description) as if it were documented with @throws tag. + .LP +-The \f2@throws\fP documentation is copied from an overridden method to a subclass only when the exception is explicitly declared in the overridden method. The same is true for copying from an interface method to an implementing method. You can use {@inheritDoc} to force @throws to inherit documentation. ++The \f2@throws\fP documentation is copied from an overridden method to a subclass only when the exception is explicitly declared in the overridden method. The same is true for copying from an interface method to an implementing method. You can use {@inheritDoc} to force @throws to inherit documentation. + .LP +-For more details, see ++For more details, see + .na + \f2writing @throws tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@exception. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@exception. + .LP + .TP 3 +-{@value\ package.class#field} +-When \f2{@value}\fP is used (without any argument) in the doc comment of a static field, it displays the value of that constant: ++{@value\ package.class#field} ++When \f2{@value}\fP is used (without any argument) in the doc comment of a static field, it displays the value of that constant: + .nf + \f3 + .fl +@@ -2223,12 +2229,12 @@ + .fl + public static final String SCRIPT_START = "<script>" + .fl +- ++ + .fl + \fP + .fi + .LP +-When used with argument \f2package.class#field\fP in any doc comment, it displays the value of the specified constant: ++When used with argument \f2package.class#field\fP in any doc comment, it displays the value of the specified constant: + .nf + \f3 + .fl +@@ -2242,36 +2248,36 @@ + .fl + } + .fl +- ++ + .fl + \fP + .fi + .LP +-The argument \f2package.class#field\fP takes a form identical to that of the @see argument, except that the member must be a static field. ++The argument \f2package.class#field\fP takes a form identical to that of the @see argument, except that the member must be a static field. + .LP +-These values of these constants are also displayed on the ++These values of these constants are also displayed on the + .na + \f2Constant Field Values\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/constant\-values.html page. ++http://docs.oracle.com/javase/7/docs/api/constant\-values.html page. + .LP + .TP 3 +-@version\ version\-text +-Adds a "Version" subheading with the specified \f2version\-text\fP to the generated docs when the \-version option is used. This tag is intended to hold the current version number of the software that this code is part of (as opposed to @since, which holds the version number where this code was introduced). The \f2version\-text\fP has no special internal structure. To see where the version tag can be used, see Where Tags Can Be Used. ++@version\ version\-text ++Adds a "Version" subheading with the specified \f2version\-text\fP to the generated docs when the \-version option is used. This tag is intended to hold the current version number of the software that this code is part of (as opposed to @since, which holds the version number where this code was introduced). The \f2version\-text\fP has no special internal structure. To see where the version tag can be used, see Where Tags Can Be Used. + .LP +-A doc comment may contain multiple \f2@version\fP tags. If it makes sense, you can specify one version number per \f2@version\fP tag or multiple version numbers per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. ++A doc comment may contain multiple \f2@version\fP tags. If it makes sense, you can specify one version number per \f2@version\fP tag or multiple version numbers per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. + .LP +-For more details, see ++For more details, see + .na + \f2writing @version tags\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@version. ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@version. + .RE +-.SS ++.SS + Where Tags Can Be Used + .LP + The following sections describe where the tags can be used. Note that these tags can be used in all doc comments: \f2@see\fP, \f2@since\fP, \f2@deprecated\fP, \f2{@link}\fP, \f2{@linkplain}\fP, and \f2{@docroot}\fP. +-.SS ++.SS + Overview Documentation Tags + .LP + Overview tags are tags that can appear in the documentation comment for the overview page (which resides in the source file typically named \f2overview.html\fP). Like in any other documentation comments, these tags must appear after the main description. +@@ -2282,27 +2288,27 @@ + .RS 3 + .TP 2 + o +-\f2@see\fP ++\f2@see\fP + .TP 2 + o +-\f2@since\fP ++\f2@since\fP + .TP 2 + o +-\f2@author\fP ++\f2@author\fP + .TP 2 + o +-\f2@version\fP ++\f2@version\fP + .TP 2 + o +-\f2{@link}\fP ++\f2{@link}\fP + .TP 2 + o +-\f2{@linkplain}\fP ++\f2{@linkplain}\fP + .TP 2 + o +-\f2{@docRoot}\fP ++\f2{@docRoot}\fP + .RE +-.SS ++.SS + Package Documentation Tags + .LP + Package tags are tags that can appear in the documentation comment for a package (which resides in the source file named \f2package.html\fP or \f2package\-info.java\fP). The \f2@serial\fP tag can only be used here with the \f2include\fP or \f2exclude\fP argument. +@@ -2311,30 +2317,30 @@ + .RS 3 + .TP 2 + o +-\f2@see\fP ++\f2@see\fP + .TP 2 + o +-\f2@since\fP ++\f2@since\fP + .TP 2 + o +-\f2@serial\fP ++\f2@serial\fP + .TP 2 + o +-\f2@author\fP ++\f2@author\fP + .TP 2 + o +-\f2@version\fP ++\f2@version\fP + .TP 2 + o +-\f2{@link}\fP ++\f2{@link}\fP + .TP 2 + o +-\f2{@linkplain}\fP ++\f2{@linkplain}\fP + .TP 2 + o +-\f2{@docRoot}\fP ++\f2{@docRoot}\fP + .RE +-.SS ++.SS + Class and Interface Documentation Tags + .LP + The following are tags that can appear in the documentation comment for a class or interface. The \f2@serial\fP tag can only be used here with the \f2include\fP or \f2exclude\fP argument. +@@ -2343,31 +2349,31 @@ + .RS 3 + .TP 2 + o +-\f2@see\fP ++\f2@see\fP + .TP 2 + o +-\f2@since\fP ++\f2@since\fP + .TP 2 + o +-\f2@deprecated\fP ++\f2@deprecated\fP + .TP 2 + o +-\f2@serial\fP ++\f2@serial\fP + .TP 2 + o +-\f2@author\fP ++\f2@author\fP + .TP 2 + o +-\f2@version\fP ++\f2@version\fP + .TP 2 + o +-\f2{@link}\fP ++\f2{@link}\fP + .TP 2 + o +-\f2{@linkplain}\fP ++\f2{@linkplain}\fP + .TP 2 + o +-\f2{@docRoot}\fP ++\f2{@docRoot}\fP + .RE + \f3An example of a class comment:\fP + .nf +@@ -2407,7 +2413,7 @@ + .fl + \fP + .fi +-.SS ++.SS + Field Documentation Tags + .LP + The following are the tags that can appear in +@@ -2416,31 +2422,31 @@ + .RS 3 + .TP 2 + o +-\f2@see\fP ++\f2@see\fP + .TP 2 + o +-\f2@since\fP ++\f2@since\fP + .TP 2 + o +-\f2@deprecated\fP ++\f2@deprecated\fP + .TP 2 + o +-\f2@serial\fP ++\f2@serial\fP + .TP 2 + o +-\f2@serialField\fP ++\f2@serialField\fP + .TP 2 + o +-\f2{@link}\fP ++\f2{@link}\fP + .TP 2 + o +-\f2{@linkplain}\fP ++\f2{@linkplain}\fP + .TP 2 + o +-\f2{@docRoot}\fP ++\f2{@docRoot}\fP + .TP 2 + o +-\f2{@value}\fP ++\f2{@value}\fP + .RE + \f3An example of a field comment:\fP + .nf +@@ -2460,7 +2466,7 @@ + .fl + \fP + .fi +-.SS ++.SS + Constructor and Method Documentation Tags + .LP + The following are the tags that can appear in the documentation comment for a constructor or method, except for \f2@return\fP, which cannot appear in a constructor, and \f2{@inheritDoc}\fP, which has certain restrictions. The \f2@serialData\fP tag can only be used in the doc comment for certain serialization methods. +@@ -2469,37 +2475,37 @@ + .RS 3 + .TP 2 + o +-\f2@see\fP ++\f2@see\fP + .TP 2 + o +-\f2@since\fP ++\f2@since\fP + .TP 2 + o +-\f2@deprecated\fP ++\f2@deprecated\fP + .TP 2 + o +-\f2@param\fP ++\f2@param\fP + .TP 2 + o +-\f2@return\fP ++\f2@return\fP + .TP 2 + o +-\f2@throws\fP and \f2@exception\fP ++\f2@throws\fP and \f2@exception\fP + .TP 2 + o +-\f2@serialData\fP ++\f2@serialData\fP + .TP 2 + o +-\f2{@link}\fP ++\f2{@link}\fP + .TP 2 + o +-\f2{@linkplain}\fP ++\f2{@linkplain}\fP + .TP 2 + o +-\f2{@inheritDoc}\fP ++\f2{@inheritDoc}\fP + .TP 2 + o +-\f2{@docRoot}\fP ++\f2{@docRoot}\fP + .RE + \f3An example of a method doc comment:\fP + .nf +@@ -2507,7 +2513,7 @@ + .fl + /** + .fl +- * Returns the character at the specified index. An index ++ * Returns the character at the specified index. An index + .fl + * ranges from <code>0</code> to <code>length() \- 1</code>. + .fl +@@ -2517,9 +2523,9 @@ + .fl + * @return the desired character. + .fl +- * @exception StringIndexOutOfRangeException ++ * @exception StringIndexOutOfRangeException + .fl +- * if the index is not in the range <code>0</code> ++ * if the index is not in the range <code>0</code> + .fl + * to <code>length()\-1</code>. + .fl +@@ -2541,6 +2547,7 @@ + .LP + The options are: + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -2774,7 +2781,7 @@ + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u ++.ta \n(80u \n(81u \n(82u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +@@ -2809,14 +2816,15 @@ + .rm a+ + .rm b+ + .rm c+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-127 + .LP + Options shown in \f2italic\fP are the Javadoc core options, which are provided by the front end of the Javadoc tool and are available to all doclets. The standard doclet itself provides the non\-italic options. +-.SS ++.SS + Javadoc Options + .RS 3 + .TP 3 +-\-overview \ path/filename ++\-overview \ path/filename + Specifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by \f2path/filename\fP and place it on the Overview page (\f2overview\-summary.html\fP). The \f2path/filename\fP is relative to the current directory. + .br + .br +@@ -2829,28 +2837,28 @@ + Note that the overview page is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) + .br + .br +-The title on the overview page is set by \f2\-doctitle\fP. ++The title on the overview page is set by \f2\-doctitle\fP. + .TP 3 +-\-public +-Shows only public classes and members. ++\-public ++Shows only public classes and members. + .TP 3 +-\-protected +-Shows only protected and public classes and members. This is the default. ++\-protected ++Shows only protected and public classes and members. This is the default. + .TP 3 +-\-package +-Shows only package, protected, and public classes and members. ++\-package ++Shows only package, protected, and public classes and members. + .TP 3 +-\-private +-Shows all classes and members. ++\-private ++Shows all classes and members. + .TP 3 +-\-help +-Displays the online help, which lists these javadoc and doclet command line options. ++\-help ++Displays the online help, which lists these javadoc and doclet command line options. + .TP 3 +-\-doclet\ class ++\-doclet\ class + Specifies the class file that starts the doclet used in generating the documentation. Use the fully\-qualified name. This doclet defines the content and formats the output. If the \f4\-doclet\fP option is not used, javadoc uses the standard doclet for generating the default HTML format. This class must contain the \f2start(Root)\fP method. The path to this starting class is defined by the \f2\-docletpath\fP option. + .br + .br +-For example, to call the MIF doclet, use: ++For example, to call the MIF doclet, use: + .nf + \f3 + .fl +@@ -2858,17 +2866,17 @@ + .fl + \fP + .fi +-For full, working examples of running a particular doclet, see the ++For full, working examples of running a particular doclet, see the + .na + \f2MIF Doclet documentation\fP @ + .fi +-http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.html. ++http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.html. + .TP 3 +-\-docletpath\ classpathlist ++\-docletpath\ classpathlist + Specifies the path to the doclet starting class file (specified with the \f2\-doclet\fP option) and any jar files it depends on. If the starting class file is in a jar file, then this specifies the path to that jar file, as shown in the example below. You can specify an absolute path or a path relative to the current directory. If \f2classpathlist\fP contains multiple paths or jar files, they should be separated with a colon (:) on Solaris and a semi\-colon (;) on Windows. This option is not necessary if the doclet starting class is already in the search path. + .br + .br +-Example of path to jar file that contains the starting doclet class file. Notice the jar filename is included. ++Example of path to jar file that contains the starting doclet class file. Notice the jar filename is included. + .nf + \f3 + .fl +@@ -2876,7 +2884,7 @@ + .fl + \fP + .fi +-Example of path to starting doclet class file. Notice the class filename is omitted. ++Example of path to starting doclet class file. Notice the class filename is omitted. + .nf + \f3 + .fl +@@ -2884,38 +2892,38 @@ + .fl + \fP + .fi +-For full, working examples of running a particular doclet, see the ++For full, working examples of running a particular doclet, see the + .na + \f2MIF Doclet documentation\fP @ + .fi +-http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.html. ++http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.html. + .TP 3 +-\-1.1 +-\f2This feature has been removed from Javadoc 1.4. There is no replacement for it. This option created documentation with the appearance and functionality of documentation generated by Javadoc 1.1 (it never supported nested classes). If you need this option, use Javadoc 1.2 or 1.3 instead.\fP ++\-1.1 ++\f2This feature has been removed from Javadoc 1.4. There is no replacement for it. This option created documentation with the appearance and functionality of documentation generated by Javadoc 1.1 (it never supported nested classes). If you need this option, use Javadoc 1.2 or 1.3 instead.\fP + .TP 3 +-\-source release +-Specifies the version of source code accepted. The following values for \f2release\fP are allowed: ++\-source release ++Specifies the version of source code accepted. The following values for \f2release\fP are allowed: + .RS 3 + .TP 2 + o +-\f31.5\fP \- javadoc accepts code containing generics and other language features introduced in JDK 1.5. The compiler defaults to the 1.5 behavior if the \f3\-source\fP flag is not used. ++\f31.5\fP \- javadoc accepts code containing generics and other language features introduced in JDK 1.5. The compiler defaults to the 1.5 behavior if the \f3\-source\fP flag is not used. + .TP 2 + o +-\f31.4\fP \- javadoc accepts code containing assertions, which were introduced in JDK 1.4. ++\f31.4\fP \- javadoc accepts code containing assertions, which were introduced in JDK 1.4. + .TP 2 + o +-\f31.3\fP \- javadoc does \f2not\fP support assertions, generics, or other language features introduced after JDK 1.3. ++\f31.3\fP \- javadoc does \f2not\fP support assertions, generics, or other language features introduced after JDK 1.3. + .RE +-Use the value of \f2release\fP corresponding to that used when compiling the code with javac. ++Use the value of \f2release\fP corresponding to that used when compiling the code with javac. + .TP 3 +-\-sourcepath\ sourcepathlist ++\-sourcepath\ sourcepathlist + Specifies the search paths for finding source files (\f2.java\fP) when passing package names or \f2\-subpackages\fP into the \f2javadoc\fP command. The \f2sourcepathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. Note that this option is not only used to locate the source files being documented, but also to find source files that are not being documented but whose comments are inherited by the source files being documented. + .br + .br + Note that you can use the \f2\-sourcepath\fP option only when passing package names into the javadoc command \-\- it will not locate \f2.java\fP files passed into the \f2javadoc\fP command. (To locate \f2.java\fP files, cd to that directory or include the path ahead of each file, as shown at Documenting One or More Classes.) If \f2\-sourcepath\fP is omitted, javadoc uses the class path to find the source files (see \-classpath). Therefore, the default \-sourcepath is the value of class path. If \-classpath is omitted and you are passing package names into javadoc, it looks in the current directory (and subdirectories) for the source files. + .br + .br +-Set \f2sourcepathlist\fP to the root directory of the source tree for the package you are documenting. For example, suppose you want to document a package called \f2com.mypackage\fP whose source files are located at: ++Set \f2sourcepathlist\fP to the root directory of the source tree for the package you are documenting. For example, suppose you want to document a package called \f2com.mypackage\fP whose source files are located at: + .nf + \f3 + .fl +@@ -2923,7 +2931,7 @@ + .fl + \fP + .fi +-In this case you would specify the \f2sourcepath\fP to \f2/home/user/src\fP, the directory that contains \f2com/mypackage\fP, and then supply the package name \f2com.mypackage\fP: ++In this case you would specify the \f2sourcepath\fP to \f2/home/user/src\fP, the directory that contains \f2com/mypackage\fP, and then supply the package name \f2com.mypackage\fP: + .nf + \f3 + .fl +@@ -2933,7 +2941,7 @@ + This is easy to remember by noticing that if you concatenate the value of sourcepath and the package name together and change the dot to a slash "/", you end up with the full path to the package: \f2/home/user/src/com/mypackage\fP. + .br + .br +-To point to two source paths: ++To point to two source paths: + .nf + \f3 + .fl +@@ -2941,18 +2949,18 @@ + .fl + .fi + .TP 3 +-\-classpath\ classpathlist +-Specifies the paths where javadoc will look for referenced classes (\f2.class\fP files) \-\- these are the documented classes plus any classes referenced by those classes. The \f2classpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. Follow the instructions in ++\-classpath\ classpathlist ++Specifies the paths where javadoc will look for referenced classes (\f2.class\fP files) \-\- these are the documented classes plus any classes referenced by those classes. The \f2classpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. Follow the instructions in + .na + \f2class path\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#general documentation for specifying \f2classpathlist\fP. ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general documentation for specifying \f2classpathlist\fP. + .br + .br + If \f2\-sourcepath\fP is omitted, the Javadoc tool uses \f2\-classpath\fP to find the source files as well as class files (for backward compatibility). Therefore, if you want to search for source and class files in separate paths, use both \f2\-sourcepath\fP and \f2\-classpath\fP. + .br + .br +-For example, if you want to document \f2com.mypackage\fP, whose source files reside in the directory \f2/home/user/src/com/mypackage\fP, and if this package relies on a library in \f2/home/user/lib\fP, you would specify: ++For example, if you want to document \f2com.mypackage\fP, whose source files reside in the directory \f2/home/user/src/com/mypackage\fP, and if this package relies on a library in \f2/home/user/lib\fP, you would specify: + .nf + \f3 + .fl +@@ -2962,23 +2970,23 @@ + As with other tools, if you do not specify \f2\-classpath\fP, the Javadoc tool uses the CLASSPATH environment variable, if it is set. If both are not set, the Javadoc tool searches for classes from the current directory. + .br + .br +-For an in\-depth description of how the Javadoc tool uses \f2\-classpath\fP to find user classes as it relates to extension classes and bootstrap classes, see ++For an in\-depth description of how the Javadoc tool uses \f2\-classpath\fP to find user classes as it relates to extension classes and bootstrap classes, see + .na + \f2How Classes Are Found\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. ++http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. + .br + .br + As a special convenience, a class path element containing a basename of \f2*\fP is considered equivalent to specifying a list of all the files in the directory with the extension \f2.jar\fP or \f2.JAR\fP (a Java program cannot tell the difference between the two invocations). + .br + .br +-For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. ++For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. + .TP 3 +-\-subpackages\ \ package1:package2:... ++\-subpackages\ \ package1:package2:... + Generates documentation from source files in the specified packages and recursively in their subpackages. This option is useful when adding new subpackages to the source code, as they are automatically included. Each \f2package\fP argument is any top\-level subpackage (such as \f2java\fP) or fully qualified package (such as \f2javax.swing\fP) that does not need to contain source files. Arguments are separated by colons (on all operating systmes). Wildcards are not needed or allowed. Use \f2\-sourcepath\fP to specify where to find the packages. This option is smart about not processing source files that are in the source tree but do not belong to the packages, as described at processing of source files. + .br + .br +-For example: ++For example: + .nf + \f3 + .fl +@@ -2988,77 +2996,77 @@ + This command generates documentation for packages named "java" and "javax.swing" and all their subpackages. + .br + .br +-You can use \f2\-subpackages\fP in conjunction with \f2\-exclude\fP to exclude specific packages. ++You can use \f2\-subpackages\fP in conjunction with \f2\-exclude\fP to exclude specific packages. + .TP 3 +-\-exclude\ \ packagename1:packagename2:... +-Unconditionally excludes the specified packages and their subpackages from the list formed by \f2\-subpackages\fP. It excludes those packages even if they would otherwise be included by some previous or later \f2\-subpackages\fP option. For example: ++\-exclude\ \ packagename1:packagename2:... ++Unconditionally excludes the specified packages and their subpackages from the list formed by \f2\-subpackages\fP. It excludes those packages even if they would otherwise be included by some previous or later \f2\-subpackages\fP option. For example: + .nf + \f3 + .fl + % \fP\f3javadoc \-sourcepath /home/user/src \-subpackages java \-exclude java.net:java.lang\fP + .fl + .fi +-would include \f2java.io\fP, \f2java.util\fP, and \f2java.math\fP (among others), but would exclude packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). ++would include \f2java.io\fP, \f2java.util\fP, and \f2java.math\fP (among others), but would exclude packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). + .TP 3 +-\-bootclasspath\ classpathlist +-Specifies the paths where the boot classes reside. These are nominally the Java platform classes. The bootclasspath is part of the search path the Javadoc tool will use to look up source and class files. See ++\-bootclasspath\ classpathlist ++Specifies the paths where the boot classes reside. These are nominally the Java platform classes. The bootclasspath is part of the search path the Javadoc tool will use to look up source and class files. See + .na + \f2How Classes Are Found\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles. for more details. Separate directories in \f2classpathlist\fP with colons (:). ++http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles. for more details. Separate directories in \f2classpathlist\fP with colons (:). + .TP 3 +-\-extdirs\ dirlist +-Specifies the directories where extension classes reside. These are any classes that use the Java Extension mechanism. The extdirs is part of the search path the Javadoc tool will use to look up source and class files. See \f2\-classpath\fP (above) for more details. Separate directories in \f2dirlist\fP with colons (:). ++\-extdirs\ dirlist ++Specifies the directories where extension classes reside. These are any classes that use the Java Extension mechanism. The extdirs is part of the search path the Javadoc tool will use to look up source and class files. See \f2\-classpath\fP (above) for more details. Separate directories in \f2dirlist\fP with colons (:). + .TP 3 +-\-verbose +-Provides more detailed messages while javadoc is running. Without the verbose option, messages appear for loading the source files, generating the documentation (one message per source file), and sorting. The verbose option causes the printing of additional messages specifying the number of milliseconds to parse each java source file. ++\-verbose ++Provides more detailed messages while javadoc is running. Without the verbose option, messages appear for loading the source files, generating the documentation (one message per source file), and sorting. The verbose option causes the printing of additional messages specifying the number of milliseconds to parse each java source file. + .TP 3 +-\-quiet +-Shuts off non\-error and non\-warning messages, leaving only the warnings and errors appear, making them easier to view. Also suppresses the version string. ++\-quiet ++Shuts off non\-error and non\-warning messages, leaving only the warnings and errors appear, making them easier to view. Also suppresses the version string. + .TP 3 +-\-breakiterator\ +-Uses the internationalized sentence boundary of ++\-breakiterator\ ++Uses the internationalized sentence boundary of + .na + \f2java.text.BreakIterator\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/text/BreakIterator.html to determine the end of the first sentence for English (all other locales already use \f2BreakIterator\fP), rather than an English language, locale\-specific algorithm. By \f2first sentence\fP, we mean the first sentence in the main description of a package, class or member. This sentence is copied to the package, class or member summary, and to the alphabetic index. ++http://docs.oracle.com/javase/7/docs/api/java/text/BreakIterator.html to determine the end of the first sentence for English (all other locales already use \f2BreakIterator\fP), rather than an English language, locale\-specific algorithm. By \f2first sentence\fP, we mean the first sentence in the main description of a package, class or member. This sentence is copied to the package, class or member summary, and to the alphabetic index. + .br + .br +-From JDK 1.2 forward, the BreakIterator class is already used to determine the end of sentence for all languages but English. Therefore, the \f2\-breakiterator\fP option has no effect except for English from 1.2 forward. English has its own default algorithm: ++From JDK 1.2 forward, the BreakIterator class is already used to determine the end of sentence for all languages but English. Therefore, the \f2\-breakiterator\fP option has no effect except for English from 1.2 forward. English has its own default algorithm: + .RS 3 + .TP 2 + o +-English default sentence\-break algorithm \- Stops at a period followed by a space or a HTML block tag, such as \f2<P>\fP. ++English default sentence\-break algorithm \- Stops at a period followed by a space or a HTML block tag, such as \f2<P>\fP. + .TP 2 + o +-Breakiterator sentence\-break algorithm \- In general, stops at a period, question mark or exclamation mark followed by a space if the next word starts with a capital letter. This is meant to handle most abbreviations (such as "The serial no. is valid", but won't handle "Mr. Smith"). Doesn't stop at HTML tags or sentences that begin with numbers or symbols. Stops at the last period in "../filename", even if embedded in an HTML tag. ++Breakiterator sentence\-break algorithm \- In general, stops at a period, question mark or exclamation mark followed by a space if the next word starts with a capital letter. This is meant to handle most abbreviations (such as "The serial no. is valid", but won't handle "Mr. Smith"). Doesn't stop at HTML tags or sentences that begin with numbers or symbols. Stops at the last period in "../filename", even if embedded in an HTML tag. + .RE +-NOTE: We have removed from 1.5.0 the breakiterator warning messages that were in 1.4.x and have left the default sentence\-break algorithm unchanged. That is, the \-breakiterator option is not the default in 1.5.0, nor do we expect it to become the default. This is a reversal from our former intention that the default would change in the "next major release" (1.5.0). This means if you have not modified your source code to eliminate the breakiterator warnings in 1.4.x, then you don't have to do anything, and the warnings go away starting with 1.5.0. The reason for this reversal is because any benefit to having breakiterator become the default would be outweighed by the incompatible source change it would require. We regret any extra work and confusion this has caused. ++NOTE: We have removed from 1.5.0 the breakiterator warning messages that were in 1.4.x and have left the default sentence\-break algorithm unchanged. That is, the \-breakiterator option is not the default in 1.5.0, nor do we expect it to become the default. This is a reversal from our former intention that the default would change in the "next major release" (1.5.0). This means if you have not modified your source code to eliminate the breakiterator warnings in 1.4.x, then you don't have to do anything, and the warnings go away starting with 1.5.0. The reason for this reversal is because any benefit to having breakiterator become the default would be outweighed by the incompatible source change it would require. We regret any extra work and confusion this has caused. + .TP 3 +-\-locale\ language_country_variant ++\-locale\ language_country_variant + \f3Important\fP \- The \f2\-locale\fP option must be placed \f2ahead\fP (to the left) of any options provided by the standard doclet or any other doclet. Otherwise, the navigation bars will appear in English. This is the only command\-line option that is order\-dependent. + .br + .br + Specifies the locale that javadoc uses when generating documentation. The argument is the name of the locale, as described in java.util.Locale documentation, such as \f2en_US\fP (English, United States) or \f2en_US_WIN\fP (Windows variant). + .br + .br +-Specifying a locale causes javadoc to choose the resource files of that locale for messages (strings in the navigation bar, headings for lists and tables, help file contents, comments in stylesheet.css, and so forth). It also specifies the sorting order for lists sorted alphabetically, and the sentence separator to determine the end of the first sentence. It does not determine the locale of the doc comment text specified in the source files of the documented classes. ++Specifying a locale causes javadoc to choose the resource files of that locale for messages (strings in the navigation bar, headings for lists and tables, help file contents, comments in stylesheet.css, and so forth). It also specifies the sorting order for lists sorted alphabetically, and the sentence separator to determine the end of the first sentence. It does not determine the locale of the doc comment text specified in the source files of the documented classes. + .TP 3 +-\-encoding\ name ++\-encoding\ name + Specifies the encoding name of the source files, such as \f2EUCJIS/SJIS\fP. If this option is not specified, the platform default converter is used. + .br + .br +-Also see \-docencoding and \-charset. ++Also see \-docencoding and \-charset. + .TP 3 +-\-Jflag +-Passes \f2flag\fP directly to the runtime system java that runs javadoc. Notice there must be no space between the \f2J\fP and the \f2flag\fP. For example, if you need to ensure that the system sets aside 32 megabytes of memory in which to process the generated documentation, then you would call the \f2\-Xmx\fP option of java as follows (\f2\-Xms\fP is optional, as it only sets the size of initial memory, which is useful if you know the minimum amount of memory required): ++\-Jflag ++Passes \f2flag\fP directly to the runtime system java that runs javadoc. Notice there must be no space between the \f2J\fP and the \f2flag\fP. For example, if you need to ensure that the system sets aside 32 megabytes of memory in which to process the generated documentation, then you would call the \f2\-Xmx\fP option of java as follows (\f2\-Xms\fP is optional, as it only sets the size of initial memory, which is useful if you know the minimum amount of memory required): + .nf + \f3 + .fl + % \fP\f3javadoc \-J\-Xmx32m \-J\-Xms32m\fP \f3com.mypackage\fP + .fl + .fi +-To tell what version of javadoc you are using, call the "\f2\-version\fP" option of java: ++To tell what version of javadoc you are using, call the "\f2\-version\fP" option of java: + .nf + \f3 + .fl +@@ -3069,17 +3077,17 @@ + Classic VM (build JDK\-1.2\-V, green threads, sunwjit) + .fl + .fi +-(The version number of the standard doclet appears in its output stream.) ++(The version number of the standard doclet appears in its output stream.) + .RE +-.SS ++.SS + Options Provided by the Standard Doclet + .RS 3 + .TP 3 +-\-d\ directory ++\-d\ directory + Specifies the destination directory where javadoc saves the generated HTML files. (The "d" means "destination.") Omitting this option causes the files to be saved to the current directory. The value \f2directory\fP can be absolute, or relative to the current working directory. As of 1.4, the destination directory is automatically created when javadoc is run. + .br + .br +-For example, the following generates the documentation for the package \f2com.mypackage\fP and saves the results in the \f2/home/user/doc/\fP directory: ++For example, the following generates the documentation for the package \f2com.mypackage\fP and saves the results in the \f2/home/user/doc/\fP directory: + .nf + \f3 + .fl +@@ -3087,7 +3095,7 @@ + .fl + .fi + .TP 3 +-\-use ++\-use + Includes one "Use" page for each documented class and package. The page describes what packages, classes, methods, constructors and fields use any API of the given class or package. Given class C, things that use class C would include subclasses of C, fields declared as C, methods that return C, and methods and constructors with parameters of type C. + .br + .br +@@ -3097,19 +3105,19 @@ + Note that this documents only uses of the API, not the implementation. If a method uses \f2String\fP in its implementation but does not take a string as an argument or return a string, that is not considered a "use" of \f2String\fP. + .br + .br +-You can access the generated "Use" page by first going to the class or package, then clicking on the "Use" link in the navigation bar. ++You can access the generated "Use" page by first going to the class or package, then clicking on the "Use" link in the navigation bar. + .TP 3 +-\-version +-Includes the @version text in the generated docs. This text is omitted by default. To tell what version of the Javadoc tool you are using, use the \f2\-J\-version\fP option. ++\-version ++Includes the @version text in the generated docs. This text is omitted by default. To tell what version of the Javadoc tool you are using, use the \f2\-J\-version\fP option. + .TP 3 +-\-author +-Includes the @author text in the generated docs. ++\-author ++Includes the @author text in the generated docs. + .TP 3 +-\-splitindex +-Splits the index file into multiple files, alphabetically, one file per letter, plus a file for any index entries that start with non\-alphabetical characters. ++\-splitindex ++Splits the index file into multiple files, alphabetically, one file per letter, plus a file for any index entries that start with non\-alphabetical characters. + .TP 3 +-\-windowtitle\ title +-Specifies the title to be placed in the HTML <title> tag. This appears in the window title and in any browser bookmarks (favorite places) that someone creates for this page. This title should not contain any HTML tags, as the browser will not properly interpret them. Any internal quotation marks within \f2title\fP may have to be escaped. If \-windowtitle is omitted, the Javadoc tool uses the value of \-doctitle for this option. ++\-windowtitle\ title ++Specifies the title to be placed in the HTML <title> tag. This appears in the window title and in any browser bookmarks (favorite places) that someone creates for this page. This title should not contain any HTML tags, as the browser will not properly interpret them. Any internal quotation marks within \f2title\fP may have to be escaped. If \-windowtitle is omitted, the Javadoc tool uses the value of \-doctitle for this option. + .nf + \f3 + .fl +@@ -3117,8 +3125,8 @@ + .fl + .fi + .TP 3 +-\-doctitle\ title +-Specifies the title to be placed near the top of the overview summary file. The title will be placed as a centered, level\-one heading directly beneath the upper navigation bar. The \f2title\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2title\fP may have to be escaped. ++\-doctitle\ title ++Specifies the title to be placed near the top of the overview summary file. The title will be placed as a centered, level\-one heading directly beneath the upper navigation bar. The \f2title\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2title\fP may have to be escaped. + .nf + \f3 + .fl +@@ -3126,11 +3134,11 @@ + .fl + .fi + .TP 3 +-\-title\ title +-\f3This option no longer exists.\fP It existed only in Beta versions of Javadoc 1.2. It has been renamed to \f2\-doctitle\fP. This option is being renamed to make it clear that it defines the document title rather than the window title. ++\-title\ title ++\f3This option no longer exists.\fP It existed only in Beta versions of Javadoc 1.2. It has been renamed to \f2\-doctitle\fP. This option is being renamed to make it clear that it defines the document title rather than the window title. + .TP 3 +-\-header\ header +-Specifies the header text to be placed at the top of each output file. The header will be placed to the right of the upper navigation bar. \f2header\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2header\fP may have to be escaped. ++\-header\ header ++Specifies the header text to be placed at the top of each output file. The header will be placed to the right of the upper navigation bar. \f2header\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2header\fP may have to be escaped. + .nf + \f3 + .fl +@@ -3138,17 +3146,17 @@ + .fl + .fi + .TP 3 +-\-footer\ footer +-Specifies the footer text to be placed at the bottom of each output file. The footer will be placed to the right of the lower navigation bar. \f2footer\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2footer\fP may have to be escaped. ++\-footer\ footer ++Specifies the footer text to be placed at the bottom of each output file. The footer will be placed to the right of the lower navigation bar. \f2footer\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2footer\fP may have to be escaped. + .TP 3 +-\-top +-Specifies the text to be placed at the top of each output file. ++\-top ++Specifies the text to be placed at the top of each output file. + .TP 3 +-\-bottom\ text +-Specifies the text to be placed at the bottom of each output file. The text will be placed at the bottom of the page, below the lower navigation bar. The \f2text\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2text\fP may have to be escaped. ++\-bottom\ text ++Specifies the text to be placed at the bottom of each output file. The text will be placed at the bottom of the page, below the lower navigation bar. The \f2text\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2text\fP may have to be escaped. + .TP 3 +-\-link\ extdocURL +-Creates links to existing javadoc\-generated documentation of external referenced classes. It takes one argument: ++\-link\ extdocURL ++Creates links to existing javadoc\-generated documentation of external referenced classes. It takes one argument: + .RS 3 + .TP 2 + o +@@ -3161,21 +3169,21 @@ + When specifying an absolute link you normally use an \f2http:\fP link. However, if you want to link to a file system that has no web server, you can use a \f2file:\fP link \-\- however, do this only if everyone wanting to access the generated documentation shares the same file system. + .br + .br +-In all cases, and on all operating systems, you should use a forward slash as the separator, whether the URL is absolute or relative, and "http:" or "file:" based (as specified in the ++In all cases, and on all operating systems, you should use a forward slash as the separator, whether the URL is absolute or relative, and "http:" or "file:" based (as specified in the + .na + \f2URL Memo\fP @ + .fi +-http://www.ietf.org/rfc/rfc1738.txt). ++http://www.ietf.org/rfc/rfc1738.txt). + .RS 3 + .TP 3 +-Absolute http: based link: +-\f2\-link http://<host>/<directory>/<directory>/.../<name>\fP ++Absolute http: based link: ++\f2\-link http://<host>/<directory>/<directory>/.../<name>\fP + .TP 3 +-Absolute file: based link: +-\f2\-link file://<host>/<directory>/<directory>/.../<name>\fP ++Absolute file: based link: ++\f2\-link file://<host>/<directory>/<directory>/.../<name>\fP + .TP 3 +-Relative link: +-\f2\-link <directory>/<directory>/.../<name>\fP ++Relative link: ++\f2\-link <directory>/<directory>/.../<name>\fP + .RE + .RE + You can specify multiple \f2\-link\fP options in a given javadoc run to link to multiple documents. +@@ -3184,35 +3192,35 @@ + \f3Choosing between \-linkoffline and \-link\fP: + .br + .br +-Use \f2\-link\fP: ++Use \f2\-link\fP: + .RS 3 + .TP 2 + o +-when using a relative path to the external API document, or ++when using a relative path to the external API document, or + .TP 2 + o +-when using an absolute URL to the external API document, if your shell allows a program to open a connection to that URL for reading. ++when using an absolute URL to the external API document, if your shell allows a program to open a connection to that URL for reading. + .RE +-Use \f2\-linkoffline\fP: ++Use \f2\-linkoffline\fP: + .RS 3 + .TP 2 + o +-when using an absolute URL to the external API document, if your shell \f2does not allow\fP a program to open a connection to that URL for reading. This can occur if you are behind a firewall and the document you want to link to is on the other side. ++when using an absolute URL to the external API document, if your shell \f2does not allow\fP a program to open a connection to that URL for reading. This can occur if you are behind a firewall and the document you want to link to is on the other side. + .RE + .br + .br +-\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java Platform packages at ++\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java Platform packages at + .na +-\f2http://download.oracle.com/javase/7/docs/api/\fP @ ++\f2http://docs.oracle.com/javase/7/docs/api/\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/. The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other options, such as \f2\-sourcepath\fP and \f2\-d\fP, are not shown.) ++http://docs.oracle.com/javase/7/docs/api/. The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other options, such as \f2\-sourcepath\fP and \f2\-d\fP, are not shown.) + .nf + \f3 + .fl +- % \fP\f3javadoc \-link http://download.oracle.com/javase/7/docs/api/ com.mypackage\fP ++ % \fP\f3javadoc \-link http://docs.oracle.com/javase/7/docs/api/ com.mypackage\fP + .fl + .fi +-\f3Example using relative links to the external docs\fP \- Let us say you have two packages whose docs are generated in different runs of the Javadoc tool, and those docs are separated by a relative path. In this example, the packages are \f2com.apipackage\fP, an API, and \f2com.spipackage\fP, an SPI (Service Provide Interface). You want the documentation to reside in \f2docs/api/com/apipackage\fP and \f2docs/spi/com/spipackage\fP. Assuming the API package documentation is already generated, and that \f2docs\fP is the current directory, you would document the SPI package with links to the API documentation by running: ++\f3Example using relative links to the external docs\fP \- Let us say you have two packages whose docs are generated in different runs of the Javadoc tool, and those docs are separated by a relative path. In this example, the packages are \f2com.apipackage\fP, an API, and \f2com.spipackage\fP, an SPI (Service Provide Interface). You want the documentation to reside in \f2docs/api/com/apipackage\fP and \f2docs/spi/com/spipackage\fP. Assuming the API package documentation is already generated, and that \f2docs\fP is the current directory, you would document the SPI package with links to the API documentation by running: + .nf + \f3 + .fl +@@ -3234,7 +3242,7 @@ + Another use is for cross\-links between sets of packages: Execute javadoc on one set of packages, then run javadoc again on another set of packages, creating links both ways between both sets. + .br + .br +-\f3How a Class Must be Referenced\fP \- For a link to an external referenced class to actually appear (and not just its text label), the class must be referenced in the following way. It is not sufficient for it to be referenced in the body of a method. It must be referenced in either an \f2import\fP statement or in a declaration. Here are examples of how the class \f2java.io.File\fP can be referenced: ++\f3How a Class Must be Referenced\fP \- For a link to an external referenced class to actually appear (and not just its text label), the class must be referenced in the following way. It is not sufficient for it to be referenced in the body of a method. It must be referenced in either an \f2import\fP statement or in a declaration. Here are examples of how the class \f2java.io.File\fP can be referenced: + .RS 3 + .TP 2 + o +@@ -3242,30 +3250,30 @@ + .br + \f2import java.io.*;\fP + .br +-In 1.3.x and 1.2.x, only an explicit import by name works \-\- a wildcard import statement does not work, nor does the automatic import \f2java.lang.*\fP. ++In 1.3.x and 1.2.x, only an explicit import by name works \-\- a wildcard import statement does not work, nor does the automatic import \f2java.lang.*\fP. + .TP 2 + o + In a declaration: + .br + \f2void foo(File f) {}\fP + .br +-The reference and be in the return type or parameter type of a method, constructor, field, class or interface, or in an \f2implements\fP, \f2extends\fP or \f2throws\fP statement. ++The reference and be in the return type or parameter type of a method, constructor, field, class or interface, or in an \f2implements\fP, \f2extends\fP or \f2throws\fP statement. + .RE +-An important corollary is that when you use the \f2\-link\fP option, there may be many links that unintentionally do not appear due to this constraint. (The text would appear without a hypertext link.) You can detect these by the warnings they emit. The most innocuous way to properly reference a class and thereby add the link would be to import that class, as shown above. ++An important corollary is that when you use the \f2\-link\fP option, there may be many links that unintentionally do not appear due to this constraint. (The text would appear without a hypertext link.) You can detect these by the warnings they emit. The most innocuous way to properly reference a class and thereby add the link would be to import that class, as shown above. + .br + .br + \f3Package List\fP \- The \f2\-link\fP option requires that a file named \f2package\-list\fP, which is generated by the Javadoc tool, exist at the URL you specify with \f2\-link\fP. The \f2package\-list\fP file is a simple text file that lists the names of packages documented at that location. In the earlier example, the Javadoc tool looks for a file named \f2package\-list\fP at the given URL, reads in the package names and then links to those packages at that URL. + .br + .br +-For example, the package list for the Java SE 6 API is located at ++For example, the package list for the Java SE 6 API is located at + .na +-\f2http://download.oracle.com/javase/7/docs/api/package\-list\fP @ ++\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/package\-list. and starts as follows: ++http://docs.oracle.com/javase/7/docs/api/package\-list. and starts as follows: + .nf + \f3 + .fl +- java.applet ++ java.applet + .fl + java.awt + .fl +@@ -3304,9 +3312,9 @@ + \f3Cross\-links\fP \- Note that "bootstrapping" may be required when cross\-linking two or more documents that have not previously been generated. In other words, if \f2package\-list\fP does not exist for either document, when you run the Javadoc tool on the first document, the \f2package\-list\fP will not yet exist for the second document. Therefore, to create the external links, you must re\-generate the first document after generating the second document. + .br + .br +-In this case, the purpose of first generating a document is to create its \f2package\-list\fP (or you can create it by hand it if you're certain of the package names). Then generate the second document with its external links. The Javadoc tool prints a warning if a needed external \f2package\-list\fP file does not exist. ++In this case, the purpose of first generating a document is to create its \f2package\-list\fP (or you can create it by hand it if you're certain of the package names). Then generate the second document with its external links. The Javadoc tool prints a warning if a needed external \f2package\-list\fP file does not exist. + .TP 3 +-\-linkoffline\ extdocURL\ packagelistLoc ++\-linkoffline\ extdocURL\ packagelistLoc + This option is a variation of \f2\-link\fP; they both create links to javadoc\-generated documentation for external referenced classes. Use the \f2\-linkoffline\fP option when linking to a document on the web when the Javadoc tool itself is "offline" \-\- that is, it cannot access the document through a web connection. + .br + .br +@@ -3316,27 +3324,27 @@ + Another use is as a "hack" to update docs: After you have run javadoc on a full set of packages, then you can run javadoc again on onlya smaller set of changed packages, so that the updated files can be inserted back into the original set. Examples are given below. + .br + .br +-The \f2\-linkoffline\fP option takes two arguments \-\- the first for the string to be embedded in the \f2<a href>\fP links, the second telling it where to find \f2package\-list\fP: ++The \f2\-linkoffline\fP option takes two arguments \-\- the first for the string to be embedded in the \f2<a href>\fP links, the second telling it where to find \f2package\-list\fP: + .RS 3 + .TP 2 + o +-\f4extdocURL\fP is the absolute or relative URL of the directory containing the external javadoc\-generated documentation you want to link to. If relative, the value should be the relative path from the destination directory (specified with \f2\-d\fP) to the root of the packages being linked to. For more details, see \f2extdocURL\fP in the \f2\-link\fP option. ++\f4extdocURL\fP is the absolute or relative URL of the directory containing the external javadoc\-generated documentation you want to link to. If relative, the value should be the relative path from the destination directory (specified with \f2\-d\fP) to the root of the packages being linked to. For more details, see \f2extdocURL\fP in the \f2\-link\fP option. + .TP 2 + o +-\f4packagelistLoc\fP is the path or URL to the directory containing the \f2package\-list\fP file for the external documentation. This can be a URL (http: or file:) or file path, and can be absolute or relative. If relative, make it relative to the \f2current\fP directory from where javadoc was run. Do not include the \f2package\-list\fP filename. ++\f4packagelistLoc\fP is the path or URL to the directory containing the \f2package\-list\fP file for the external documentation. This can be a URL (http: or file:) or file path, and can be absolute or relative. If relative, make it relative to the \f2current\fP directory from where javadoc was run. Do not include the \f2package\-list\fP filename. + .RE + You can specify multiple \f2\-linkoffline\fP options in a given javadoc run. (Prior to 1.2.2, it could be specified only once.) + .br + .br +-\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java SE Platform packages at \f2http://download.oracle.com/javase/7/docs/api/\fP, but your shell does not have web access. You could open the \f2package\-list\fP file in a browser at ++\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java SE Platform packages at \f2http://docs.oracle.com/javase/7/docs/api/\fP, but your shell does not have web access. You could open the \f2package\-list\fP file in a browser at + .na +-\f2http://download.oracle.com/javase/7/docs/api/package\-list\fP @ ++\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/package\-list, save it to a local directory, and point to this local copy with the second argument, \f2packagelistLoc\fP. In this example, the package list file has been saved to the current directory "\f2.\fP" . The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other necessary options, such as \f2\-sourcepath\fP, are not shown.) ++http://docs.oracle.com/javase/7/docs/api/package\-list, save it to a local directory, and point to this local copy with the second argument, \f2packagelistLoc\fP. In this example, the package list file has been saved to the current directory "\f2.\fP" . The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other necessary options, such as \f2\-sourcepath\fP, are not shown.) + .nf + \f3 + .fl +-% \fP\f3javadoc \-linkoffline http://download.oracle.com/javase/7/docs/api/ . com.mypackage\fP ++% \fP\f3javadoc \-linkoffline http://docs.oracle.com/javase/7/docs/api/ . com.mypackage\fP + .fl + .fi + \f3Example using relative links to the external docs\fP \- It's not very common to use \f2\-linkoffline\fP with relative paths, for the simple reason that \f2\-link\fP usually suffices. When using \f2\-linkoffline\fP, the \f2package\-list\fP file is generally local, and when using relative links, the file you are linking to is also generally local. So it is usually unnecessary to give a different path for the two arguments to \f2\-linkoffline\fP. When the two arguments are identical, you can use \f2\-link\fP. See the \f2\-link\fP relative example. +@@ -3358,23 +3366,23 @@ + \f3Updating docs\fP \- Another use for \f2\-linkoffline\fP option is useful if your project has dozens or hundreds of packages, if you have already run javadoc on the entire tree, and now, in a separate run, you want to quickly make some small changes and re\-run javadoc on just a small portion of the source tree. This is somewhat of a hack in that it works properly only if your changes are only to doc comments and not to declarations. If you were to add, remove or change any declarations from the source code, then broken links could show up in the index, package tree, inherited member lists, use page, and other places. + .br + .br +-First, you create a new destination directory (call it \f2update\fP) for this new small run. Let us say the original destination directory was named \f2html\fP. In the simplest example, cd to the parent of \f2html\fP. Set the first argument of \f2\-linkoffline\fP to the current directory "." and set the second argument to the relative path to \f2html\fP, where it can find \f2package\-list\fP, and pass in only the package names of the packages you want to update: ++First, you create a new destination directory (call it \f2update\fP) for this new small run. Let us say the original destination directory was named \f2html\fP. In the simplest example, cd to the parent of \f2html\fP. Set the first argument of \f2\-linkoffline\fP to the current directory "." and set the second argument to the relative path to \f2html\fP, where it can find \f2package\-list\fP, and pass in only the package names of the packages you want to update: + .nf + \f3 + .fl + % \fP\f3javadoc \-d update \-linkoffline . html com.mypackage\fP + .fl + .fi +-When the Javadoc tool is done, copy these generated class pages in \f2update/com/package\fP (not the overview or index), over the original files in \f2html/com/package\fP. ++When the Javadoc tool is done, copy these generated class pages in \f2update/com/package\fP (not the overview or index), over the original files in \f2html/com/package\fP. + .TP 3 +-\-linksource\ ++\-linksource\ + Creates an HTML version of each source file (with line numbers) and adds links to them from the standard HTML documentation. Links are created for classes, interfaces, constructors, methods and fields whose declarations are in a source file. Otherwise, links are not created, such as for default constructors and generated classes. + .br + .br + \f3This option exposes \fP\f4all\fP\f3 private implementation details in the included source files, including private classes, private fields, and the bodies of private methods, \fP\f4regardless of the \fP\f4\-public\fP\f3, \fP\f4\-package\fP\f3, \fP\f4\-protected\fP\f3 and \fP\f4\-private\fP\f3 options.\fP Unless you also use the \f2\-private\fP option, not all private classes or interfaces will necessarily be accessible via links. + .br + .br +-Each link appears on the name of the identifier in its declaration. For example, the link to the source code of the \f2Button\fP class would be on the word "Button": ++Each link appears on the name of the identifier in its declaration. For example, the link to the source code of the \f2Button\fP class would be on the word "Button": + .nf + \f3 + .fl +@@ -3386,7 +3394,7 @@ + .fl + \fP + .fi +-and the link to the source code of the \f2getLabel()\fP method in the Button class would be on the word "getLabel": ++and the link to the source code of the \f2getLabel()\fP method in the Button class would be on the word "getLabel": + .nf + \f3 + .fl +@@ -3395,15 +3403,15 @@ + \fP + .fi + .TP 3 +-\-group\ groupheading\ packagepattern:packagepattern:... +-Separates packages on the overview page into whatever groups you specify, one group per table. You specify each group with a different \f2\-group\fP option. The groups appear on the page in the order specified on the command line; packages are alphabetized within a group. For a given \f2\-group\fP option, the packages matching the list of \f2packagepattern\fP expressions appear in a table with the heading \f2groupheading\fP. ++\-group\ groupheading\ packagepattern:packagepattern:... ++Separates packages on the overview page into whatever groups you specify, one group per table. You specify each group with a different \f2\-group\fP option. The groups appear on the page in the order specified on the command line; packages are alphabetized within a group. For a given \f2\-group\fP option, the packages matching the list of \f2packagepattern\fP expressions appear in a table with the heading \f2groupheading\fP. + .RS 3 + .TP 2 + o +-\f4groupheading\fP can be any text, and can include white space. This text is placed in the table heading for the group. ++\f4groupheading\fP can be any text, and can include white space. This text is placed in the table heading for the group. + .TP 2 + o +-\f4packagepattern\fP can be any package name, or can be the start of any package name followed by an asterisk (\f2*\fP). The asterisk is a wildcard meaning "match any characters". This is the only wildcard allowed. Multiple patterns can be included in a group by separating them with colons (\f2:\fP). ++\f4packagepattern\fP can be any package name, or can be the start of any package name followed by an asterisk (\f2*\fP). The asterisk is a wildcard meaning "match any characters". This is the only wildcard allowed. Multiple patterns can be included in a group by separating them with colons (\f2:\fP). + .RE + \f3NOTE: If using an asterisk in a pattern or pattern list, the pattern list must be inside quotes, such as \fP\f4"java.lang*:java.util"\fP + .br +@@ -3411,7 +3419,7 @@ + If you do not supply any \f2\-group\fP option, all packages are placed in one group with the heading "Packages". If the all groups do not include all documented packages, any leftover packages appear in a separate group with the heading "Other Packages". + .br + .br +-For example, the following option separates the four documented packages into core, extension and other packages. Notice the trailing "dot" does not appear in "java.lang*" \-\- including the dot, such as "java.lang.*" would omit the java.lang package. ++For example, the following option separates the four documented packages into core, extension and other packages. Notice the trailing "dot" does not appear in "java.lang*" \-\- including the dot, such as "java.lang.*" would omit the java.lang package. + .nf + \f3 + .fl +@@ -3422,44 +3430,44 @@ + java.lang java.lang.reflect java.util javax.servlet java.new\fP + .fl + .fi +-This results in the groupings: ++This results in the groupings: + .RS 3 + .TP 3 +-Core Packages +-\f2java.lang\fP +-\f2java.lang.reflect\fP +-\f2java.util\fP ++Core Packages ++\f2java.lang\fP ++\f2java.lang.reflect\fP ++\f2java.util\fP + .TP 3 +-Extension Packages +-\f2javax.servlet\fP ++Extension Packages ++\f2javax.servlet\fP + .TP 3 +-Other Packages +-\f2java.new\fP ++Other Packages ++\f2java.new\fP + .RE + .TP 3 +-\-nodeprecated +-Prevents the generation of any deprecated API at all in the documentation. This does what \-nodeprecatedlist does, plus it does not generate any deprecated API throughout the rest of the documentation. This is useful when writing code and you don't want to be distracted by the deprecated code. ++\-nodeprecated ++Prevents the generation of any deprecated API at all in the documentation. This does what \-nodeprecatedlist does, plus it does not generate any deprecated API throughout the rest of the documentation. This is useful when writing code and you don't want to be distracted by the deprecated code. + .TP 3 +-\-nodeprecatedlist +-Prevents the generation of the file containing the list of deprecated APIs (deprecated\-list.html) and the link in the navigation bar to that page. (However, javadoc continues to generate the deprecated API throughout the rest of the document.) This is useful if your source code contains no deprecated API, and you want to make the navigation bar cleaner. ++\-nodeprecatedlist ++Prevents the generation of the file containing the list of deprecated APIs (deprecated\-list.html) and the link in the navigation bar to that page. (However, javadoc continues to generate the deprecated API throughout the rest of the document.) This is useful if your source code contains no deprecated API, and you want to make the navigation bar cleaner. + .TP 3 +-\-nosince +-Omits from the generated docs the "Since" sections associated with the @since tags. ++\-nosince ++Omits from the generated docs the "Since" sections associated with the @since tags. + .TP 3 +-\-notree +-Omits the class/interface hierarchy pages from the generated docs. These are the pages you reach using the "Tree" button in the navigation bar. The hierarchy is produced by default. ++\-notree ++Omits the class/interface hierarchy pages from the generated docs. These are the pages you reach using the "Tree" button in the navigation bar. The hierarchy is produced by default. + .TP 3 +-\-noindex +-Omits the index from the generated docs. The index is produced by default. ++\-noindex ++Omits the index from the generated docs. The index is produced by default. + .TP 3 +-\-nohelp +-Omits the HELP link in the navigation bars at the top and bottom of each page of output. ++\-nohelp ++Omits the HELP link in the navigation bars at the top and bottom of each page of output. + .TP 3 +-\-nonavbar +-Prevents the generation of the navigation bar, header and footer, otherwise found at the top and bottom of the generated pages. Has no affect on the "bottom" option. The \f2\-nonavbar\fP option is useful when you are interested only in the content and have no need for navigation, such as converting the files to PostScript or PDF for print only. ++\-nonavbar ++Prevents the generation of the navigation bar, header and footer, otherwise found at the top and bottom of the generated pages. Has no affect on the "bottom" option. The \f2\-nonavbar\fP option is useful when you are interested only in the content and have no need for navigation, such as converting the files to PostScript or PDF for print only. + .TP 3 +-\-helpfile\ path/filename +-Specifies the path of an alternate help file \f2path/filename\fP that the HELP link in the top and bottom navigation bars link to. Without this option, the Javadoc tool automatically creates a help file \f2help\-doc.html\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2help\-doc.html\fP \-\- the Javadoc tool will adjust the links in the navigation bar accordingly. For example: ++\-helpfile\ path/filename ++Specifies the path of an alternate help file \f2path/filename\fP that the HELP link in the top and bottom navigation bars link to. Without this option, the Javadoc tool automatically creates a help file \f2help\-doc.html\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2help\-doc.html\fP \-\- the Javadoc tool will adjust the links in the navigation bar accordingly. For example: + .nf + \f3 + .fl +@@ -3467,8 +3475,8 @@ + .fl + .fi + .TP 3 +-\-stylesheetfile\ path/filename +-Specifies the path of an alternate HTML stylesheet file. Without this option, the Javadoc tool automatically creates a stylesheet file \f2stylesheet.css\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2stylesheet.css\fP. For example: ++\-stylesheetfile\ path/filename ++Specifies the path of an alternate HTML stylesheet file. Without this option, the Javadoc tool automatically creates a stylesheet file \f2stylesheet.css\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2stylesheet.css\fP. For example: + .nf + \f3 + .fl +@@ -3476,22 +3484,22 @@ + .fl + .fi + .TP 3 +-\-serialwarn +-Generates compile\-time warnings for missing @serial tags. By default, Javadoc 1.2.2 (and later versions) generates no serial warnings. (This is a reversal from earlier versions.) Use this option to display the serial warnings, which helps to properly document default serializable fields and \f2writeExternal\fP methods. ++\-serialwarn ++Generates compile\-time warnings for missing @serial tags. By default, Javadoc 1.2.2 (and later versions) generates no serial warnings. (This is a reversal from earlier versions.) Use this option to display the serial warnings, which helps to properly document default serializable fields and \f2writeExternal\fP methods. + .TP 3 +-\-charset\ name +-Specifies the HTML character set for this document. The name should be a preferred MIME name as given in the ++\-charset\ name ++Specifies the HTML character set for this document. The name should be a preferred MIME name as given in the + .na + \f2IANA Registry\fP @ + .fi +-http://www.iana.org/assignments/character\-sets. For example: ++http://www.iana.org/assignments/character\-sets. For example: + .nf + \f3 + .fl + % \fP\f3javadoc \-charset "iso\-8859\-1" mypackage\fP + .fl + .fi +-would insert the following line in the head of every generated page: ++would insert the following line in the head of every generated page: + .nf + \f3 + .fl +@@ -3499,34 +3507,34 @@ + .fl + \fP + .fi +-This META tag is described in the ++This META tag is described in the + .na + \f2HTML standard\fP @ + .fi + http://www.w3.org/TR/REC\-html40/charset.html#h\-5.2.2. (4197265 and 4137321) + .br + .br +-Also see \-encoding and \-docencoding. ++Also see \-encoding and \-docencoding. + .TP 3 +-\-docencoding\ name +-Specifies the encoding of the generated HTML files. The name should be a preferred MIME name as given in the ++\-docencoding\ name ++Specifies the encoding of the generated HTML files. The name should be a preferred MIME name as given in the + .na + \f2IANA Registry\fP @ + .fi +-http://www.iana.org/assignments/character\-sets. If you omit this option but use \-encoding, then the encoding of the generated HTML files is determined by \-encoding. Example: ++http://www.iana.org/assignments/character\-sets. If you omit this option but use \-encoding, then the encoding of the generated HTML files is determined by \-encoding. Example: + .nf + \f3 + .fl + % \fP\f3javadoc \-docencoding "ISO\-8859\-1" mypackage\fP + .fl + .fi +-Also see \-encoding and \-charset. ++Also see \-encoding and \-charset. + .TP 3 +-\-keywords ++\-keywords + Adds HTML meta keyword tags to the generated file for each class. These tags can help the page be found by search engines that look for meta tags. (Most search engines that search the entire Internet do not look at meta tags, because pages can misuse them; but search engines offered by companies that confine their search to their own website can benefit by looking at meta tags.) + .br + .br +-The meta tags include the fully qualified name of the class and the unqualified names of the fields and methods. Constructors are not included because they are identical to the class name. For example, the class String starts with these keywords: ++The meta tags include the fully qualified name of the class and the unqualified names of the fields and methods. Constructors are not included because they are identical to the class name. For example, the class String starts with these keywords: + .nf + \f3 + .fl +@@ -3541,7 +3549,7 @@ + \fP + .fi + .TP 3 +-\-tag\ \ tagname:Xaoptcmf:"taghead" ++\-tag\ \ tagname:Xaoptcmf:"taghead" + Enables the Javadoc tool to interpret a simple, one\-argument custom block tag \f2@\fP\f2tagname\fP in doc comments. So the Javadoc tool can "spell\-check" tag names, it is important to include a \f2\-tag\fP option for every custom tag that is present in the source code, disabling (with \f2X\fP) those that are not being output in the current run. + .br + .br +@@ -3568,10 +3576,10 @@ + .br + \f4m\fP (methods) + .br +-\f4f\fP (fields) ++\f4f\fP (fields) + .br + .br +-\f3Examples of single tags\fP \- An example of a tag option for a tag that can be used anywhere in the source code is: ++\f3Examples of single tags\fP \- An example of a tag option for a tag that can be used anywhere in the source code is: + .nf + \f3 + .fl +@@ -3579,7 +3587,7 @@ + .fl + \fP + .fi +-If you wanted @todo to be used only with constructors, methods and fields, you would use: ++If you wanted @todo to be used only with constructors, methods and fields, you would use: + .nf + \f3 + .fl +@@ -3587,7 +3595,7 @@ + .fl + \fP + .fi +-Notice the last colon (\f2:\fP) above is not a parameter separator, but is part of the heading text (as shown below). You would use either tag option for source code that contains the tag \f2@todo\fP, such as: ++Notice the last colon (\f2:\fP) above is not a parameter separator, but is part of the heading text (as shown below). You would use either tag option for source code that contains the tag \f2@todo\fP, such as: + .nf + \f3 + .fl +@@ -3595,7 +3603,7 @@ + .fl + \fP + .fi +-\f3Use of Colon in Tag Name\fP \- A colon can be used in a tag name if it is escaped with a backslash. For this doc comment: ++\f3Use of Colon in Tag Name\fP \- A colon can be used in a tag name if it is escaped with a backslash. For this doc comment: + .nf + \f3 + .fl +@@ -3607,7 +3615,7 @@ + .fl + \fP + .fi +-use this tag option: ++use this tag option: + .nf + \f3 + .fl +@@ -3618,7 +3626,7 @@ + \f3Spell\-checking tag names (Disabling tags)\fP \- Some developers put custom tags in the source code that they don't always want to output. In these cases, it is important to list all tags that are present in the source code, enabling the ones you want to output and disabling the ones you don't want to output. The presence of \f2X\fP disables the tag, while its absence enables the tag. This gives the Javadoc tool enough information to know if a tag it encounters is unknown, probably the results of a typo or a misspelling. It prints a warning in these cases. + .br + .br +-You can add \f2X\fP to the placement values already present, so that when you want to enable the tag, you can simply delete the \f2X\fP. For example, if @todo is a tag that you want to suppress on output, you would use: ++You can add \f2X\fP to the placement values already present, so that when you want to enable the tag, you can simply delete the \f2X\fP. For example, if @todo is a tag that you want to suppress on output, you would use: + .nf + \f3 + .fl +@@ -3626,7 +3634,7 @@ + .fl + \fP + .fi +-or, if you'd rather keep it simple: ++or, if you'd rather keep it simple: + .nf + \f3 + .fl +@@ -3643,7 +3651,7 @@ + If \f2\-tag\fP is missing, then the position of \f2\-taglet\fP determines its order. If they are both present, then whichever appears last on the command line determines its order. (This happens because the tags and taglets are processed in the order that they appear on the command line. For example, if \f2\-taglet\fP and \f2\-tag\fP both have the name "todo", the one that appears last on the command line will determine its order. + .br + .br +-\f3Example of a complete set of tags\fP \- This example inserts "To Do" after "Parameters" and before "Throws" in the output. By using "X", it also specifies that @example is a tag that might be encountered in the source code that should not be output during this run. Notice that if you use @argfile, you can put the tags on separate lines in an argument file like this (no line continuation characters needed): ++\f3Example of a complete set of tags\fP \- This example inserts "To Do" after "Parameters" and before "Throws" in the output. By using "X", it also specifies that @example is a tag that might be encountered in the source code that should not be output during this run. Notice that if you use @argfile, you can put the tags on separate lines in an argument file like this (no line continuation characters needed): + .nf + \f3 + .fl +@@ -3670,24 +3678,24 @@ + \f3Avoiding Conflicts\fP \- If you want to slice out your own namespace, you can use a dot\-separated naming convention similar to that used for packages: \f2com.mycompany.todo\fP. Oracle will continue to create standard tags whose names do not contain dots. Any tag you create will override the behavior of a tag by the same name defined by Oracle. In other words, if you create a tag or taglet \f2@todo\fP, it will always have the same behavior you define, even if Oracle later creates a standard tag of the same name. + .br + .br +-\f3Annotations vs. Javadoc Tags\fP \- In general, if the markup you want to add is intended to affect or produce documentation, it should probably be a javadoc tag; otherwise, it should be an annotation. See ++\f3Annotations vs. Javadoc Tags\fP \- In general, if the markup you want to add is intended to affect or produce documentation, it should probably be a javadoc tag; otherwise, it should be an annotation. See + .na + \f2Comparing Annotations and Javadoc Tags\fP @ + .fi + http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#annotations< + .br + .br +-You can also create more complex block tags, or custom inline tags with the \-taglet option. ++You can also create more complex block tags, or custom inline tags with the \-taglet option. + .TP 3 +-\-taglet\ \ class +-Specifies the class file that starts the taglet used in generating the documentation for that tag. Use the fully\-qualified name for \f2class\fP. This taglet also defines the number of text arguments that the custom tag has. The taglet accepts those arguments, processes them, and generates the output. For extensive documentation with example taglets, see: ++\-taglet\ \ class ++Specifies the class file that starts the taglet used in generating the documentation for that tag. Use the fully\-qualified name for \f2class\fP. This taglet also defines the number of text arguments that the custom tag has. The taglet accepts those arguments, processes them, and generates the output. For extensive documentation with example taglets, see: + .RS 3 + .TP 2 + o + .na + \f2Taglet Overview\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javadoc/taglet/overview.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/taglet/overview.html + .RE + Taglets are useful for block or inline tags. They can have any number of arguments and implement custom behavior, such as making text bold, formatting bullets, writing out the text to a file, or starting other processes. + .br +@@ -3695,13 +3703,13 @@ + Taglets can only determine where a tag should appear and in what form. All other decisions are made by the doclet. So a taglet cannot do things such as remove a class name from the list of included classes. However, it can execute side effects, such as printing the tag's text to a file or triggering another process. + .br + .br +-Use the \f2\-tagletpath\fP option to specify the path to the taglet. Here is an example that inserts the "To Do" taglet after "Parameters" and ahead of "Throws" in the generated pages: ++Use the \f2\-tagletpath\fP option to specify the path to the taglet. Here is an example that inserts the "To Do" taglet after "Parameters" and ahead of "Throws" in the generated pages: + .nf + \f3 + .fl + \-taglet com.sun.tools.doclets.ToDoTaglet + .fl +- \-tagletpath /home/taglets ++ \-tagletpath /home/taglets + .fl + \-tag return + .fl +@@ -3715,22 +3723,22 @@ + .fl + \fP + .fi +-Alternatively, you can use the \f2\-taglet\fP option in place of its \f2\-tag\fP option, but that may be harder to read. ++Alternatively, you can use the \f2\-taglet\fP option in place of its \f2\-tag\fP option, but that may be harder to read. + .TP 3 +-\-tagletpath\ \ tagletpathlist +-Specifies the search paths for finding taglet class files (.class). The \f2tagletpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. ++\-tagletpath\ \ tagletpathlist ++Specifies the search paths for finding taglet class files (.class). The \f2tagletpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. + .TP 3 +-\-docfilessubdirs\ +-Enables deep copying of "\f2doc\-files\fP" directories. In other words, subdirectories and all contents are recursively copied to the destination. For example, the directory \f2doc\-files/example/images\fP and all its contents would now be copied. There is also an option to exclude subdirectories. ++\-docfilessubdirs\ ++Enables deep copying of "\f2doc\-files\fP" directories. In other words, subdirectories and all contents are recursively copied to the destination. For example, the directory \f2doc\-files/example/images\fP and all its contents would now be copied. There is also an option to exclude subdirectories. + .TP 3 +-\-excludedocfilessubdir\ \ name1:name2... +-Excludes any "\f2doc\-files\fP" subdirectories with the given names. This prevents the copying of SCCS and other source\-code\-control subdirectories. ++\-excludedocfilessubdir\ \ name1:name2... ++Excludes any "\f2doc\-files\fP" subdirectories with the given names. This prevents the copying of SCCS and other source\-code\-control subdirectories. + .TP 3 +-\-noqualifier\ \ all\ | \ packagename1:packagename2:... ++\-noqualifier\ \ all\ | \ packagename1:packagename2:... + Omits qualifying package name from ahead of class names in output. The argument to \f2\-noqualifier\fP is either "\f2all\fP" (all package qualifiers are omitted) or a colon\-separate list of packages, with wildcards, to be removed as qualifiers. The package name is removed from places where class or interface names appear. + .br + .br +-The following example omits all package qualifiers: ++The following example omits all package qualifiers: + .nf + \f3 + .fl +@@ -3738,7 +3746,7 @@ + .fl + \fP + .fi +-The following example omits "java.lang" and "java.io" package qualifiers: ++The following example omits "java.lang" and "java.io" package qualifiers: + .nf + \f3 + .fl +@@ -3746,7 +3754,7 @@ + .fl + \fP + .fi +-The following example omits package qualifiers starting with "java", and "com.sun" subpackages (but not "javax"): ++The following example omits package qualifiers starting with "java", and "com.sun" subpackages (but not "javax"): + .nf + \f3 + .fl +@@ -3754,10 +3762,10 @@ + .fl + \fP + .fi +-Where a package qualifier would appear due to the above behavior, the name can be suitably shortened \-\- see How a name is displayed. This rule is in effect whether or not \f2\-noqualifier\fP is used. ++Where a package qualifier would appear due to the above behavior, the name can be suitably shortened \-\- see How a name is displayed. This rule is in effect whether or not \f2\-noqualifier\fP is used. + .TP 3 +-\-notimestamp\ +-Suppresses the timestamp, which is hidden in an HTML comment in the generated HTML near the top of each page. Useful when you want to run javadoc on two source bases and diff them, as it prevents timestamps from causing a diff (which would otherwise be a diff on every page). The timestamp includes the javadoc version number, and currently looks like this: ++\-notimestamp\ ++Suppresses the timestamp, which is hidden in an HTML comment in the generated HTML near the top of each page. Useful when you want to run javadoc on two source bases and diff them, as it prevents timestamps from causing a diff (which would otherwise be a diff on every page). The timestamp includes the javadoc version number, and currently looks like this: + .nf + \f3 + .fl +@@ -3766,11 +3774,11 @@ + \fP + .fi + .TP 3 +-\-nocomment\ +-Suppress the entire comment body, including the main description and all tags, generating only declarations. This option enables re\-using source files originally intended for a different purpose, to produce skeleton HTML documentation at the early stages of a new project. ++\-nocomment\ ++Suppress the entire comment body, including the main description and all tags, generating only declarations. This option enables re\-using source files originally intended for a different purpose, to produce skeleton HTML documentation at the early stages of a new project. + .TP 3 +-\-sourcetab tabLength +-Specify the number of spaces each tab takes up in the source. ++\-sourcetab tabLength ++Specify the number of spaces each tab takes up in the source. + .RE + .SH "COMMAND LINE ARGUMENT FILES" + .LP +@@ -3781,7 +3789,7 @@ + Filenames within an argument file are relative to the current directory, not the location of the argument file. Wildcards (*) are not allowed in these lists (such as for specifying \f2*.java\fP). Use of the '\f2@\fP' character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files. + .LP + When executing javadoc, pass in the path and name of each argument file with the '\f2@\fP' leading character. When javadoc encounters an argument beginning with the character `\f2@\fP', it expands the contents of that file into the argument list. +-.SS ++.SS + Example \- Single Arg File + .LP + You could use a single argument file named "\f2argfile\fP" to hold all Javadoc arguments: +@@ -3793,7 +3801,7 @@ + .fi + .LP + This argument file could contain the contents of both files shown in the next example. +-.SS ++.SS + Example \- Two Arg Files + .LP + You can create two argument files \-\- one for the Javadoc options and the other for the package names or source filenames: (Notice the following lists have no line\-continuation characters.) +@@ -3802,9 +3810,9 @@ + .nf + \f3 + .fl +- \-d docs\-filelist ++ \-d docs\-filelist + .fl +- \-use ++ \-use + .fl + \-splitindex + .fl +@@ -3845,7 +3853,7 @@ + % \fP\f3javadoc @options @packages\fP + .fl + .fi +-.SS ++.SS + Example \- Arg Files with Paths + .LP + The argument files can have paths, but any filenames inside the files are relative to the current working directory (not \f2path1\fP or \f2path2\fP): +@@ -3855,7 +3863,7 @@ + % \fP\f3javadoc @path1/options @path2/packages\fP + .fl + .fi +-.SS ++.SS + Example \- Option Arguments + .LP + Here's an example of saving just an argument to a javadoc option in an argument file. We'll use the \f2\-bottom\fP option, since it can have a lengthy argument. You could create a file named "\f2bottom\fP" containing its text argument: +@@ -3896,13 +3904,13 @@ + .LP + \f3Version Numbers\fP \- The version number of javadoc can be determined using \f3javadoc \-J\-version\fP. The version number of the standard doclet appears in its output stream. It can be turned off with \f2\-quiet\fP. + .LP +-\f3Public programmatic interface\fP \- To invoke the Javadoc tool from within programs written in the Java language. This interface is in \f2com.sun.tools.javadoc.Main\fP (and javadoc is re\-entrant). For more details, see ++\f3Public programmatic interface\fP \- To invoke the Javadoc tool from within programs written in the Java language. This interface is in \f2com.sun.tools.javadoc.Main\fP (and javadoc is re\-entrant). For more details, see + .na + \f2Standard Doclet\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javadoc/standard\-doclet.html#runningprogrammatically. ++http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/standard\-doclet.html#runningprogrammatically. + .LP +-\f3Running Doclets\fP \- The instructions given below are for invoking the standard HTML doclet. To invoke a custom doclet, use the \-doclet and \-docletpath options. For full, working examples of running a particular doclet, see the ++\f3Running Doclets\fP \- The instructions given below are for invoking the standard HTML doclet. To invoke a custom doclet, use the \-doclet and \-docletpath options. For full, working examples of running a particular doclet, see the + .na + \f2MIF Doclet documentation\fP @ + .fi +@@ -3910,7 +3918,7 @@ + .SH "SIMPLE EXAMPLES" + .LP + You can run javadoc on entire packages or individual source files. Each package name has a corresponding directory name. In the following examples, the source files are located at \f2/home/src/java/awt/*.java\fP. The destination directory is \f2/home/html\fP. +-.SS ++.SS + Documenting One or More Packages + .LP + To document a package, the source files (\f2*.java\fP) for that package must be located in a directory having the same name as the package. If a package name is made up of several identifiers (separated by dots, such as \f2java.awt.color\fP), each subsequent identifier must correspond to a deeper subdirectory (such as \f2java/awt/color\fP). You may split the source files for a single package among two such directory trees located at different places, as long as \f2\-sourcepath\fP points to them both \-\- for example \f2src1/java/awt/color\fP and \f2src2/java/awt/color\fP. +@@ -3919,7 +3927,7 @@ + .RS 3 + .TP 2 + o +-\f3Case 1 \- Run recursively starting from one or more packages\fP \- This example uses \-sourcepath so javadoc can be run from any directory and \-subpackages (a new 1.4 option) for recursion. It traverses the subpackages of the \f2java\fP directory excluding packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). ++\f3Case 1 \- Run recursively starting from one or more packages\fP \- This example uses \-sourcepath so javadoc can be run from any directory and \-subpackages (a new 1.4 option) for recursion. It traverses the subpackages of the \f2java\fP directory excluding packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). + .nf + \f3 + .fl +@@ -3927,10 +3935,10 @@ + .fl + .fi + .LP +-To also traverse down other package trees, append their names to the \f2\-subpackages\fP argument, such as \f2java:javax:org.xml.sax\fP. ++To also traverse down other package trees, append their names to the \f2\-subpackages\fP argument, such as \f2java:javax:org.xml.sax\fP. + .TP 2 + o +-\f3Case 2 \- Run on explicit packages after changing to the "root" source directory\fP \- Change to the parent directory of the fully\-qualified package. Then run javadoc, supplying names of one or more packages you want to document: ++\f3Case 2 \- Run on explicit packages after changing to the "root" source directory\fP \- Change to the parent directory of the fully\-qualified package. Then run javadoc, supplying names of one or more packages you want to document: + .nf + \f3 + .fl +@@ -3941,7 +3949,7 @@ + .fi + .TP 2 + o +-\f3Case 3 \- Run from any directory on explicit packages in a single directory tree\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying \f2\-sourcepath\fP with the parent directory of the top\-level package, and supplying names of one or more packages you want to document: ++\f3Case 3 \- Run from any directory on explicit packages in a single directory tree\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying \f2\-sourcepath\fP with the parent directory of the top\-level package, and supplying names of one or more packages you want to document: + .nf + \f3 + .fl +@@ -3950,7 +3958,7 @@ + .fi + .TP 2 + o +-\f3Case 4 \- Run from any directory on explicit packages in multiple directory trees\fP \- This is the same as case 3, but for packages in separate directory trees. Run javadoc supplying \f2\-sourcepath\fP with the path to each tree's root (colon\-separated) and supply names of one or more packages you want to document. All source files for a given package do not need to be located under a single root directory \-\- they just need to be found somewhere along the sourcepath. ++\f3Case 4 \- Run from any directory on explicit packages in multiple directory trees\fP \- This is the same as case 3, but for packages in separate directory trees. Run javadoc supplying \f2\-sourcepath\fP with the path to each tree's root (colon\-separated) and supply names of one or more packages you want to document. All source files for a given package do not need to be located under a single root directory \-\- they just need to be found somewhere along the sourcepath. + .nf + \f3 + .fl +@@ -3960,14 +3968,14 @@ + .RE + .LP + Result: All cases generate HTML\-formatted documentation for the public and protected classes and interfaces in packages \f2java.awt\fP and \f2java.awt.event\fP and save the HTML files in the specified destination directory (\f2/home/html\fP). Because two or more packages are being generated, the document has three HTML frames \-\- for the list of packages, the list of classes, and the main class pages. +-.SS ++.SS + Documenting One or More Classes + .LP + The second way to run the Javadoc tool is by passing in one or more source files (\f2.java\fP). You can run javadoc either of the following two ways \-\- by changing directories (with \f2cd\fP) or by fully\-specifying the path to the \f2.java\fP files. Relative paths are relative to the current directory. The \f2\-sourcepath\fP option is ignored when passing in source files. You can use command line wildcards, such as asterisk (*), to specify groups of classes. + .RS 3 + .TP 2 + o +-\f3Case 1 \- Changing to the source directory\fP \- Change to the directory holding the \f2.java\fP files. Then run javadoc, supplying names of one or more source files you want to document. ++\f3Case 1 \- Changing to the source directory\fP \- Change to the directory holding the \f2.java\fP files. Then run javadoc, supplying names of one or more source files you want to document. + .nf + \f3 + .fl +@@ -3976,10 +3984,10 @@ + % \f3javadoc \-d /home/html Button.java Canvas.java Graphics*.java\fP + .fl + .fi +-This example generates HTML\-formatted documentation for the classes \f2Button\fP, \f2Canvas\fP and classes beginning with \f2Graphics\fP. Because source files rather than package names were passed in as arguments to javadoc, the document has two frames \-\- for the list of classes and the main page. ++This example generates HTML\-formatted documentation for the classes \f2Button\fP, \f2Canvas\fP and classes beginning with \f2Graphics\fP. Because source files rather than package names were passed in as arguments to javadoc, the document has two frames \-\- for the list of classes and the main page. + .TP 2 + o +-\f3Case 2 \- Changing to the package root directory\fP \- This is useful for documenting individual source files from different subpackages off the same root. Change to the package root directory, and supply the source files with paths from the root. ++\f3Case 2 \- Changing to the package root directory\fP \- This is useful for documenting individual source files from different subpackages off the same root. Change to the package root directory, and supply the source files with paths from the root. + .nf + \f3 + .fl +@@ -3988,19 +3996,19 @@ + % \f3javadoc \-d /home/html java/awt/Button.java java/applet/Applet.java\fP + .fl + .fi +-This example generates HTML\-formatted documentation for the classes \f2Button\fP and \f2Applet\fP. ++This example generates HTML\-formatted documentation for the classes \f2Button\fP and \f2Applet\fP. + .TP 2 + o +-\f3Case 3 \- From any directory\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying the absolute path (or path relative to the current directory) to the \f2.java\fP files you want to document. ++\f3Case 3 \- From any directory\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying the absolute path (or path relative to the current directory) to the \f2.java\fP files you want to document. + .nf + \f3 + .fl + % \fP\f3javadoc \-d /home/html /home/src/java/awt/Button.java /home/src/java/awt/Graphics*.java\fP + .fl + .fi +-This example generates HTML\-formatted documentation for the class \f2Button\fP and classes beginning with \f2Graphics\fP. ++This example generates HTML\-formatted documentation for the class \f2Button\fP and classes beginning with \f2Graphics\fP. + .RE +-.SS ++.SS + Documenting Both Packages and Classes + .LP + You can document entire packages and individual classes at the same time. Here's an example that mixes two of the previous examples. You can use \f2\-sourcepath\fP for the path to the packages but not for the path to the individual classes. +@@ -4017,28 +4025,28 @@ + The Javadoc tool has many useful options, some of which are more commonly used than others. Here is effectively the command we use to run the Javadoc tool on the Java platform API. We use 180MB of memory to generate the documentation for the 1500 (approx.) public and protected classes in the Java SE Platform, Standard Edition, v1.2. + .LP + The same example is shown twice \-\- first as executed on the command line, then as executed from a makefile. It uses absolute paths in the option arguments, which enables the same \f2javadoc\fP command to be run from any directory. +-.SS ++.SS + Command Line Example + .LP + The following example may be too long for some shells such as DOS. You can use a command line argument file (or write a shell script) to workaround this limitation. + .nf + \f3 + .fl +-% javadoc \-sourcepath /java/jdk/src/share/classes \\ ++% javadoc \-sourcepath /java/jdk/src/share/classes \\ + .fl +- \-overview /java/jdk/src/share/classes/overview.html \\ ++ \-overview /java/jdk/src/share/classes/overview.html \\ + .fl +- \-d /java/jdk/build/api \\ ++ \-d /java/jdk/build/api \\ + .fl +- \-use \\ ++ \-use \\ + .fl +- \-splitIndex \\ ++ \-splitIndex \\ + .fl +- \-windowtitle 'Java Platform, Standard Edition 7 API Specification' \\ ++ \-windowtitle 'Java Platform, Standard Edition 7 API Specification' \\ + .fl +- \-doctitle 'Java Platform, Standard Edition 7 API Specification' \\ ++ \-doctitle 'Java Platform, Standard Edition 7 API Specification' \\ + .fl +- \-header '<b>Java(TM) SE 7</b>' \\ ++ \-header '<b>Java(TM) SE 7</b>' \\ + .fl + \-bottom '<font size="\-1"> + .fl +@@ -4048,13 +4056,13 @@ + .fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. + .fl +- Other names may be trademarks of their respective owners.</font>' \\ ++ Other names may be trademarks of their respective owners.</font>' \\ + .fl +- \-group "Core Packages" "java.*:com.sun.java.*:org.omg.*" \\ ++ \-group "Core Packages" "java.*:com.sun.java.*:org.omg.*" \\ + .fl +- \-group "Extension Packages" "javax.*" \\ ++ \-group "Extension Packages" "javax.*" \\ + .fl +- \-J\-Xmx180m \\ ++ \-J\-Xmx180m \\ + .fl + @packages + .fl +@@ -4062,10 +4070,10 @@ + .fi + .LP + where \f2packages\fP is the name of a file containing the packages to process, such as \f2java.applet java.lang\fP. None of the options should contain any newline characters between the single quotes. (For example, if you copy and paste this example, delete the newline characters from the \f2\-bottom\fP option.) See the other notes listed below. +-.SS ++.SS + Makefile Example + .LP +-This is an example of a GNU makefile. For an example of a Windows makefile, see ++This is an example of a GNU makefile. For an example of a Windows makefile, see + .na + \f2creating a makefile for Windows\fP @ + .fi +@@ -4099,11 +4107,11 @@ + .fl + java.lang java.lang.reflect \\ /* Sets packages to document */ + .fl +- java.util java.io java.net \\ ++ java.util java.io java.net \\ + .fl + java.applet + .fl +- ++ + .fl + WINDOWTITLE = 'Java(TM) SE 7 API Specification' + .fl +@@ -4136,91 +4144,91 @@ + .RS 3 + .TP 2 + o +-If you omit the \f2\-windowtitle\fP option, the Javadoc tool copies the doc title to the window title. The \f2\-windowtitle\fP text is basically the same as the \f2\-doctitle\fP but without HTML tags, to prevent those tags from appearing as raw text in the window title. ++If you omit the \f2\-windowtitle\fP option, the Javadoc tool copies the doc title to the window title. The \f2\-windowtitle\fP text is basically the same as the \f2\-doctitle\fP but without HTML tags, to prevent those tags from appearing as raw text in the window title. + .TP 2 + o +-If you omit the \f2\-footer\fP option, as done here, the Javadoc tool copies the header text to the footer. ++If you omit the \f2\-footer\fP option, as done here, the Javadoc tool copies the header text to the footer. + .TP 2 + o +-Other important options you might want to use but not needed in this example are \-\f2classpath\fP and \-\f2link\fP. ++Other important options you might want to use but not needed in this example are \-\f2classpath\fP and \-\f2link\fP. + .RE + .SH "TROUBLESHOOTING" +-.SS ++.SS + General Troubleshooting + .RS 3 + .TP 2 + o +-\f3Javadoc FAQ\fP \- Commonly\-encountered bugs and troubleshooting tips can be found on the ++\f3Javadoc FAQ\fP \- Commonly\-encountered bugs and troubleshooting tips can be found on the + .na + \f2Javadoc FAQ\fP @ + .fi +-http://java.sun.com/j2se/javadoc/faq/index.html#B ++http://java.sun.com/j2se/javadoc/faq/index.html#B + .TP 2 + o +-\f3Bugs and Limitations\fP \- You can also see some bugs listed at Important Bug Fixes and Changes. ++\f3Bugs and Limitations\fP \- You can also see some bugs listed at Important Bug Fixes and Changes. + .TP 2 + o +-\f3Version number\fP \- See version numbers. ++\f3Version number\fP \- See version numbers. + .TP 2 + o +-\f3Documents only legal classes\fP \- When documenting a package, javadoc only reads files whose names are composed of legal class names. You can prevent javadoc from parsing a file by including, for example, a hyphen "\-" in its filename. ++\f3Documents only legal classes\fP \- When documenting a package, javadoc only reads files whose names are composed of legal class names. You can prevent javadoc from parsing a file by including, for example, a hyphen "\-" in its filename. + .RE +-.SS ++.SS + Errors and Warnings + .LP + Error and warning messages contain the filename and line number to the declaration line rather than to the particular line in the doc comment. + .RS 3 + .TP 2 + o +-\f2"error: cannot read: Class1.java"\fP the Javadoc tool is trying to load the class Class1.java in the current directory. The class name is shown with its path (absolute or relative), which in this case is the same as \f2./Class1.java\fP. ++\f2"error: cannot read: Class1.java"\fP the Javadoc tool is trying to load the class Class1.java in the current directory. The class name is shown with its path (absolute or relative), which in this case is the same as \f2./Class1.java\fP. + .RE + .SH "ENVIRONMENT" + .RS 3 + .TP 3 +-CLASSPATH +-Environment variable that provides the path which javadoc uses to find user class files. This environment variable is overridden by the \f2\-classpath\fP option. Separate directories with a colon, for example: +-.:/home/classes:/usr/local/java/classes ++CLASSPATH ++Environment variable that provides the path which javadoc uses to find user class files. This environment variable is overridden by the \f2\-classpath\fP option. Separate directories with a colon, for example: ++.:/home/classes:/usr/local/java/classes + .RE + .SH "SEE ALSO" + .RS 3 + .TP 2 + o +-javac(1) ++javac(1) + .TP 2 + o +-java(1) ++java(1) + .TP 2 + o +-jdb(1) ++jdb(1) + .TP 2 + o +-javah(1) ++javah(1) + .TP 2 + o +-javap(1) ++javap(1) + .TP 2 + o + .na + \f2Javadoc Home Page\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-jsp\-135444.html ++http://www.oracle.com/technetwork/java/javase/documentation/index\-jsp\-135444.html + .TP 2 + o + .na + \f2How to Write Doc Comments for Javadoc\fP @ + .fi +-http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html ++http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html + .TP 2 + o + .na + \f2Setting the Class Path\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#general ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general + .TP 2 + o + .na + \f2How Javac and Javadoc Find Classes\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles (tools.jar) ++http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles (tools.jar) + .RE +- ++ +--- jdk/src/bsd/doc/man/javah.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/javah.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH javah 1 "10 May 2011" ++.TH javah 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -57,29 +57,29 @@ + .LP + .RS 3 + .TP 3 +-\-o outputfile +-Concatenates the resulting header or source files for all the classes listed on the command line into \f2outputfile\fP. Only one of \f3\-o\fP or \f3\-d\fP may be used. ++\-o outputfile ++Concatenates the resulting header or source files for all the classes listed on the command line into \f2outputfile\fP. Only one of \f3\-o\fP or \f3\-d\fP may be used. + .TP 3 +-\-d directory +-Sets the directory where \f3javah\fP saves the header files or the stub files. Only one of \f3\-d\fP or \f3\-o\fP may be used. ++\-d directory ++Sets the directory where \f3javah\fP saves the header files or the stub files. Only one of \f3\-d\fP or \f3\-o\fP may be used. + .TP 3 +-\-stubs +-Causes \f3javah\fP to generate C declarations from the Java object file. ++\-stubs ++Causes \f3javah\fP to generate C declarations from the Java object file. + .TP 3 +-\-verbose +-Indicates verbose output and causes \f3javah\fP to print a message to stdout concerning the status of the generated files. ++\-verbose ++Indicates verbose output and causes \f3javah\fP to print a message to stdout concerning the status of the generated files. + .TP 3 +-\-help +-Print help message for \f3javah\fP usage. ++\-help ++Print help message for \f3javah\fP usage. + .TP 3 +-\-version +-Print out \f3javah\fP version information. ++\-version ++Print out \f3javah\fP version information. + .TP 3 +-\-jni +-Causes \f3javah\fP to create an output file containing JNI\-style native method function prototypes. This is the default output, so use of \f3\-jni\fP is optional. ++\-jni ++Causes \f3javah\fP to create an output file containing JNI\-style native method function prototypes. This is the default output, so use of \f3\-jni\fP is optional. + .TP 3 +-\-classpath path +-Specifies the path \f3javah\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: ++\-classpath path ++Specifies the path \f3javah\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: + .nf + \f3 + .fl +@@ -87,7 +87,7 @@ + .fl + \fP + .fi +-For example: ++For example: + .nf + \f3 + .fl +@@ -98,19 +98,19 @@ + As a special convenience, a class path element containing a basename of \f2*\fP is considered equivalent to specifying a list of all the files in the directory with the extension \f2.jar\fP or \f2.JAR\fP (a java program cannot tell the difference between the two invocations). + .br + .br +-For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. ++For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. + .TP 3 +-\-bootclasspath path +-Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java 2 platform located in \f2jre/lib/rt.jar\fP and several other jar files. ++\-bootclasspath path ++Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java 2 platform located in \f2jre/lib/rt.jar\fP and several other jar files. + .TP 3 +-\-old +-Specifies that old JDK1.0\-style header files should be generated. ++\-old ++Specifies that old JDK1.0\-style header files should be generated. + .TP 3 +-\-force +-Specifies that output files should always be written. ++\-force ++Specifies that output files should always be written. + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. + .RE + + .LP +@@ -118,8 +118,8 @@ + .LP + .RS 3 + .TP 3 +-CLASSPATH +-Used to provide the system a path to user\-defined classes. Directories are separated by colons, for example, ++CLASSPATH ++Used to provide the system a path to user\-defined classes. Directories are separated by colons, for example, + .nf + \f3 + .fl +@@ -135,4 +135,4 @@ + .LP + javac(1), java(1), jdb(1), javap(1), javadoc(1) + .LP +- ++ +--- jdk/src/bsd/doc/man/javap.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/javap.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH javap 1 "10 May 2011" ++.TH javap 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -46,11 +46,11 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options. ++options ++Command\-line options. + .TP 3 +-classes +-List of one or more classes (separated by spaces) to be processed for annotations (such as \f2DocFooter.class\fP). You may specify a class that can be found in the class path, by its file name (for example, \f2/home/user/myproject/src/DocFooter.class\fP), or with a URL (for example, \f2file:///home/user/myproject/src/DocFooter.class\fP). ++classes ++List of one or more classes (separated by spaces) to be processed for annotations (such as \f2DocFooter.class\fP). You may specify a class that can be found in the class path, by its file name (for example, \f2/home/user/myproject/src/DocFooter.class\fP), or with a URL (for example, \f2file:///home/user/myproject/src/DocFooter.class\fP). + .RE + + .LP +@@ -148,11 +148,11 @@ + .fl + Code: + .fl +- 0: aload_0 ++ 0: aload_0 + .fl + 1: invokespecial #1 // Method java/applet/Applet."<init>":()V + .fl +- 4: return ++ 4: return + .fl + + .fl +@@ -160,7 +160,7 @@ + .fl + Code: + .fl +- 0: aload_0 ++ 0: aload_0 + .fl + 1: sipush 500 + .fl +@@ -168,9 +168,9 @@ + .fl + 6: invokevirtual #2 // Method resize:(II)V + .fl +- 9: aload_0 ++ 9: aload_0 + .fl +- 10: aload_0 ++ 10: aload_0 + .fl + 11: ldc #3 // String LAST_UPDATED + .fl +@@ -178,9 +178,9 @@ + .fl + 16: putfield #5 // Field date:Ljava/lang/String; + .fl +- 19: aload_0 ++ 19: aload_0 + .fl +- 20: aload_0 ++ 20: aload_0 + .fl + 21: ldc #6 // String EMAIL + .fl +@@ -188,7 +188,7 @@ + .fl + 26: putfield #7 // Field email:Ljava/lang/String; + .fl +- 29: return ++ 29: return + .fl + + .fl +@@ -196,21 +196,21 @@ + .fl + Code: + .fl +- 0: aload_1 ++ 0: aload_1 + .fl + 1: new #8 // class java/lang/StringBuilder + .fl +- 4: dup ++ 4: dup + .fl + 5: invokespecial #9 // Method java/lang/StringBuilder."<init>":()V + .fl +- 8: aload_0 ++ 8: aload_0 + .fl + 9: getfield #5 // Field date:Ljava/lang/String; + .fl + 12: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; + .fl +- 15: ldc #11 // String by ++ 15: ldc #11 // String by + .fl + 17: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; + .fl +@@ -222,9 +222,9 @@ + .fl + 27: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V + .fl +- 30: aload_1 ++ 30: aload_1 + .fl +- 31: aload_0 ++ 31: aload_0 + .fl + 32: getfield #7 // Field email:Ljava/lang/String; + .fl +@@ -234,7 +234,7 @@ + .fl + 40: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V + .fl +- 43: return ++ 43: return + .fl + } + .fl +@@ -246,29 +246,29 @@ + .LP + .RS 3 + .TP 3 +-\-help \-\-help \-? +-Prints out help message for \f3javap\fP. ++\-help \-\-help \-? ++Prints out help message for \f3javap\fP. + .TP 3 +-\-version +-Prints out version information. ++\-version ++Prints out version information. + .TP 3 +-\-l +-Prints out line and local variable tables. ++\-l ++Prints out line and local variable tables. + .TP 3 +-\-public +-Shows only public classes and members. ++\-public ++Shows only public classes and members. + .TP 3 +-\-protected +-Shows only protected and public classes and members. ++\-protected ++Shows only protected and public classes and members. + .TP 3 +-\-package +-Shows only package, protected, and public classes and members. This is the default. ++\-package ++Shows only package, protected, and public classes and members. This is the default. + .TP 3 +-\-private \-p +-Shows all classes and members. ++\-private \-p ++Shows all classes and members. + .TP 3 +-\-Jflag +-Pass \f2flag\fP directly to the runtime system. Some examples: ++\-Jflag ++Pass \f2flag\fP directly to the runtime system. Some examples: + .nf + \f3 + .fl +@@ -279,33 +279,33 @@ + \fP + .fi + .TP 3 +-\-s +-Prints internal type signatures. ++\-s ++Prints internal type signatures. + .TP 3 +-\-sysinfo +-Shows system information (path, size, date, MD5 hash) of the class being processed. ++\-sysinfo ++Shows system information (path, size, date, MD5 hash) of the class being processed. + .TP 3 +-\-constants +-Shows static final constants. ++\-constants ++Shows static final constants. + .TP 3 +-\-c +-Prints out disassembled code, i.e., the instructions that comprise the Java bytecodes, for each of the methods in the class. These are documented in the ++\-c ++Prints out disassembled code, i.e., the instructions that comprise the Java bytecodes, for each of the methods in the class. These are documented in the + .na + \f2Java Virtual Machine Specification\fP @ + .fi +-http://java.sun.com/docs/books/vmspec/. ++http://java.sun.com/docs/books/vmspec/. + .TP 3 +-\-verbose +-Prints stack size, number of \f2locals\fP and \f2args\fP for methods. ++\-verbose ++Prints stack size, number of \f2locals\fP and \f2args\fP for methods. + .TP 3 +-\-classpath path +-Specifies the path \f3javap\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. ++\-classpath path ++Specifies the path \f3javap\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. + .TP 3 +-\-bootclasspath path +-Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java platform located in \f2jre/lib/rt.jar\fP and several other jar files. ++\-bootclasspath path ++Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java platform located in \f2jre/lib/rt.jar\fP and several other jar files. + .TP 3 +-\-extdirs dirs +-Overrides location at which installed extensions are searched for. The default location for extensions is the value of \f2java.ext.dirs\fP. ++\-extdirs dirs ++Overrides location at which installed extensions are searched for. The default location for extensions is the value of \f2java.ext.dirs\fP. + .RE + + .LP +@@ -314,4 +314,4 @@ + .LP + javac(1), java(1), jdb(1), javah(1), javadoc(1) + .LP +- ++ +--- jdk/src/bsd/doc/man/javaws.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/javaws.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH javaws 1 "10 May 2011" ++.TH javaws 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -204,19 +204,19 @@ + .SH "FILES" + .LP + .LP +-For information about the user and system cache and deployment.properties files, see ++For information about the user and system cache and deployment.properties files, see + .na + \f2System\- and User\-Level Properties\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/properties.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/properties.html. + .LP + .SH "MORE INFORMATION" + .LP + .LP +-For more information about Java Web Start, see ++For more information about Java Web Start, see + .na + \f2Java Web Start\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/javaws/index.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/index.html. + .LP +- ++ +--- jdk/src/bsd/doc/man/jconsole.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jconsole.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jconsole 1 "10 May 2011" ++.TH jconsole 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -41,32 +41,32 @@ + .LP + .RS 3 + .TP 3 +-options +-Options, if used, should follow immediately after the command name. ++options ++Options, if used, should follow immediately after the command name. + .TP 3 +-connection = pid | host:port | jmxUrl ++connection = pid | host:port | jmxUrl + .RS 3 + .TP 2 + o +-\f2pid\fP Process ID of a local Java VM. The Java VM must be running with the same user ID as the user ID running jconsole. See ++\f2pid\fP Process ID of a local Java VM. The Java VM must be running with the same user ID as the user ID running jconsole. See + .na + \f2JMX Monitoring and Management\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. ++http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. + .TP 2 + o +-\f2host\fP:\f2port\fP Name of the host system on which the Java VM is running and the port number specified by the system property \f2com.sun.management.jmxremote.port\fP when the Java VM was started. See ++\f2host\fP:\f2port\fP Name of the host system on which the Java VM is running and the port number specified by the system property \f2com.sun.management.jmxremote.port\fP when the Java VM was started. See + .na + \f2JMX Monitoring and Management\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. ++http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. + .TP 2 + o +-\f2jmxUrl\fP Address of the JMX agent to be connected to as described in ++\f2jmxUrl\fP Address of the JMX agent to be connected to as described in + .na + \f2JMXServiceURL\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.html. ++http://docs.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.html. + .RE + .RE + +@@ -83,13 +83,13 @@ + .LP + .RS 3 + .TP 3 +-\-interval=n +-Set the update interval to \f2n\fP seconds (default is 4 seconds). ++\-interval=n ++Set the update interval to \f2n\fP seconds (default is 4 seconds). + .TP 3 +-\-notile +-Do not tile windows initially (for two or more connections). ++\-notile ++Do not tile windows initially (for two or more connections). + .TP 3 +-\-pluginpath plugins ++\-pluginpath plugins + Specify a list of directories or JAR files which are searched for JConsole plugins. The \f2plugins\fP path should contain a provider\-configuration file named: + .br + .nf +@@ -99,20 +99,20 @@ + .fl + \fP + .fi +-containing one line for each plugin specifying the fully qualified class name of the class implementing the ++containing one line for each plugin specifying the fully qualified class name of the class implementing the + .na + \f2com.sun.tools.jconsole.JConsolePlugin\fP @ + .fi +-http://download.oracle.com/javase/7/docs/jdk/api/jconsole/spec/com/sun/tools/jconsole/JConsolePlugin.html class. ++http://docs.oracle.com/javase/7/docs/jdk/api/jconsole/spec/com/sun/tools/jconsole/JConsolePlugin.html class. + .TP 3 +-\-version +-Output version information and exit. ++\-version ++Output version information and exit. + .TP 3 +-\-help +-Output help message and exit. ++\-help ++Output help message and exit. + .TP 3 +-\-J<flag> +-Pass <flag> to the Java virtual machine on which jconsole is run. ++\-J<flag> ++Pass <flag> to the Java virtual machine on which jconsole is run. + .RE + + .LP +@@ -124,14 +124,14 @@ + .na + \f2Using JConsole\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html + .TP 2 + o + .na + \f2Monitoring and Management for Java Platform\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/management/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/management/index.html + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jdb.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jdb.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jdb 1 "10 May 2011" ++.TH jdb 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -33,34 +33,34 @@ + .nf + \f3 + .fl +-\fP\f3jdb\fP [ options ] [ class ] [ arguments ] ++\fP\f3jdb\fP [ options ] [ class ] [ arguments ] + .fl + .fi + + .LP + .RS 3 + .TP 3 +-options +-Command\-line options, as specified below. ++options ++Command\-line options, as specified below. + .TP 3 +-class +-Name of the class to begin debugging. ++class ++Name of the class to begin debugging. + .TP 3 +-arguments +-Arguments passed to the \f2main()\fP method of \f2class\fP. ++arguments ++Arguments passed to the \f2main()\fP method of \f2class\fP. + .RE + + .LP + .SH "DESCRIPTION" + .LP + .LP +-The Java Debugger, \f3jdb\fP, is a simple command\-line debugger for Java classes. It is a demonstration of the ++The Java Debugger, \f3jdb\fP, is a simple command\-line debugger for Java classes. It is a demonstration of the + .na + \f2Java Platform Debugger Architecture\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jpda/index.html that provides inspection and debugging of a local or remote Java Virtual Machine. ++http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/index.html that provides inspection and debugging of a local or remote Java Virtual Machine. + .LP +-.SS ++.SS + Starting a jdb Session + .LP + .LP +@@ -69,7 +69,7 @@ + .nf + \f3 + .fl +- % jdb MyClass ++ % jdb MyClass + .fl + \fP + .fi +@@ -108,7 +108,7 @@ + .nf + \f3 + .fl +- % jdb \-attach 8000 ++ % jdb \-attach 8000 + .fl + \fP + .fi +@@ -118,17 +118,17 @@ + Note that "MyClass" is not specified in the \f3jdb\fP command line in this case because \f3jdb\fP is connecting to an existing VM instead of launching a new one. + .LP + .LP +-There are many other ways to connect the debugger to a VM, and all of them are supported by \f3jdb\fP. The Java Platform Debugger Architecture has additional ++There are many other ways to connect the debugger to a VM, and all of them are supported by \f3jdb\fP. The Java Platform Debugger Architecture has additional + .na + \f2documentation\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection options. For information on starting a J2SE 1.4.2 or early VM for use with \f3jdb\fP see the ++http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection options. For information on starting a J2SE 1.4.2 or early VM for use with \f3jdb\fP see the + .na + \f21.4.2 documentation\fP @ + .fi + http://java.sun.com/j2se/1.4.2/docs/guide/jpda/conninv.html + .LP +-.SS ++.SS + Basic jdb Commands + .LP + .LP +@@ -136,49 +136,49 @@ + .LP + .RS 3 + .TP 3 +-help, or ? +-The most important \f3jdb\fP command, \f2help\fP displays the list of recognized commands with a brief description. ++help, or ? ++The most important \f3jdb\fP command, \f2help\fP displays the list of recognized commands with a brief description. + .TP 3 +-run +-After starting \f3jdb\fP, and setting any necessary breakpoints, you can use this command to start the execution the debugged application. This command is available only when \f3jdb\fP launches the debugged application (as opposed to attaching to an existing VM). ++run ++After starting \f3jdb\fP, and setting any necessary breakpoints, you can use this command to start the execution the debugged application. This command is available only when \f3jdb\fP launches the debugged application (as opposed to attaching to an existing VM). + .TP 3 +-cont +-Continues execution of the debugged application after a breakpoint, exception, or step. ++cont ++Continues execution of the debugged application after a breakpoint, exception, or step. + .TP 3 +-print ++print + Displays Java objects and primitive values. For variables or fields of primitive types, the actual value is printed. For objects, a short description is printed. See the \f2dump\fP command below for getting more information about an object. + .br + .br + \f2NOTE: To display local variables, the containing class must have been compiled with the \fP\f2javac(1)\fP\f2 \fP\f2\-g\fP option. + .br + .br +-\f2print\fP supports many simple Java expressions including those with method invocations, for example: ++\f2print\fP supports many simple Java expressions including those with method invocations, for example: + .RS 3 + .TP 2 + o +-\f2print MyClass.myStaticField\fP ++\f2print MyClass.myStaticField\fP + .TP 2 + o +-\f2print myObj.myInstanceField\fP ++\f2print myObj.myInstanceField\fP + .TP 2 + o +-\f2print i + j + k\fP \f2(i, j, k are primities and either fields or local variables)\fP ++\f2print i + j + k\fP \f2(i, j, k are primities and either fields or local variables)\fP + .TP 2 + o +-\f2print myObj.myMethod()\fP \f2(if myMethod returns a non\-null)\fP ++\f2print myObj.myMethod()\fP \f2(if myMethod returns a non\-null)\fP + .TP 2 + o +-\f2print new java.lang.String("Hello").length()\fP ++\f2print new java.lang.String("Hello").length()\fP + .RE + .TP 3 +-dump ++dump + For primitive values, this command is identical to \f2print\fP. For objects, it prints the current value of each field defined in the object. Static and instance fields are included. + .br + .br +-The \f2dump\fP command supports the same set of expressions as the \f2print\fP command. ++The \f2dump\fP command supports the same set of expressions as the \f2print\fP command. + .TP 3 +-threads +-List the threads that are currently running. For each thread, its name and current status are printed, as well as an index that can be used for other commands, for example: ++threads ++List the threads that are currently running. For each thread, its name and current status are printed, as well as an index that can be used for other commands, for example: + .nf + \f3 + .fl +@@ -186,20 +186,20 @@ + .fl + \fP + .fi +-In this example, the thread index is 4, the thread is an instance of java.lang.Thread, the thread name is "main", and it is currently running, ++In this example, the thread index is 4, the thread is an instance of java.lang.Thread, the thread name is "main", and it is currently running, + .TP 3 +-thread +-Select a thread to be the current thread. Many \f3jdb\fP commands are based on the setting of the current thread. The thread is specified with the thread index described in the \f2threads\fP command above. ++thread ++Select a thread to be the current thread. Many \f3jdb\fP commands are based on the setting of the current thread. The thread is specified with the thread index described in the \f2threads\fP command above. + .TP 3 +-where ++where + \f2where\fP with no arguments dumps the stack of the current thread. \f2where all\fP dumps the stack of all threads in the current thread group. \f2where\fP \f2threadindex\fP dumps the stack of the specified thread. + .br + .br +-If the current thread is suspended (either through an event such as a breakpoint or through the \f2suspend\fP command), local variables and fields can be displayed with the \f2print\fP and \f2dump\fP commands. The \f2up\fP and \f2down\fP commands select which stack frame is current. ++If the current thread is suspended (either through an event such as a breakpoint or through the \f2suspend\fP command), local variables and fields can be displayed with the \f2print\fP and \f2dump\fP commands. The \f2up\fP and \f2down\fP commands select which stack frame is current. + .RE + + .LP +-.SS ++.SS + Breakpoints + .LP + .LP +@@ -208,16 +208,16 @@ + .RS 3 + .TP 2 + o +-\f2stop at MyClass:22\fP \f2(sets a breakpoint at the first instruction for line 22 of the source file containing MyClass)\fP ++\f2stop at MyClass:22\fP \f2(sets a breakpoint at the first instruction for line 22 of the source file containing MyClass)\fP + .TP 2 + o +-\f2stop in java.lang.String.length\fP \f2(sets a breakpoint at the beginnig of the method \fP\f2java.lang.String.length\fP) ++\f2stop in java.lang.String.length\fP \f2(sets a breakpoint at the beginnig of the method \fP\f2java.lang.String.length\fP) + .TP 2 + o +-\f2stop in MyClass.<init>\fP \f2(<init> identifies the MyClass constructor)\fP ++\f2stop in MyClass.<init>\fP \f2(<init> identifies the MyClass constructor)\fP + .TP 2 + o +-\f2stop in MyClass.<clinit>\fP \f2(<clinit> identifies the static initialization code for MyClass)\fP ++\f2stop in MyClass.<clinit>\fP \f2(<clinit> identifies the static initialization code for MyClass)\fP + .RE + + .LP +@@ -227,13 +227,13 @@ + .LP + The \f2clear\fP command removes breakpoints using a syntax as in "\f2clear\ MyClass:45\fP". Using the \f2clear\fP or command with no argument displays a list of all breakpoints currently set. The \f2cont\fP command continues execution. + .LP +-.SS ++.SS + Stepping + .LP + .LP + The \f2step\fP commands advances execution to the next line whether it is in the current stack frame or a called method. The \f2next\fP command advances execution to the next line in the current stack frame. + .LP +-.SS ++.SS + Exceptions + .LP + .LP +@@ -258,67 +258,67 @@ + .LP + .RS 3 + .TP 3 +-\-help +-Displays a help message. ++\-help ++Displays a help message. + .TP 3 +-\-sourcepath <dir1:dir2:...> +-Uses the given path in searching for source files in the specified path. If this option is not specified, the default path of "." is used. ++\-sourcepath <dir1:dir2:...> ++Uses the given path in searching for source files in the specified path. If this option is not specified, the default path of "." is used. + .TP 3 +-\-attach <address> +-Attaches the debugger to previously running VM using the default connection mechanism. ++\-attach <address> ++Attaches the debugger to previously running VM using the default connection mechanism. + .TP 3 +-\-listen <address> +-Waits for a running VM to connect at the specified address using standard connector. ++\-listen <address> ++Waits for a running VM to connect at the specified address using standard connector. + .TP 3 +-\-listenany +-Waits for a running VM to connect at any available address using standard connector. ++\-listenany ++Waits for a running VM to connect at any available address using standard connector. + .TP 3 +-\-launch +-Launches the debugged application immediately upon startup of jdb. This option removes the need for using the \f2run\fP command. The debuged application is launched and then stopped just before the initial application class is loaded. At that point you can set any necessary breakpoints and use the \f2cont\fP to continue execution. ++\-launch ++Launches the debugged application immediately upon startup of jdb. This option removes the need for using the \f2run\fP command. The debuged application is launched and then stopped just before the initial application class is loaded. At that point you can set any necessary breakpoints and use the \f2cont\fP to continue execution. + .TP 3 +-\-listconnectors +-List the connectors available in this VM ++\-listconnectors ++List the connectors available in this VM + .TP 3 +-\-connect <connector\-name>:<name1>=<value1>,... +-Connects to target VM using named connector with listed argument values. ++\-connect <connector\-name>:<name1>=<value1>,... ++Connects to target VM using named connector with listed argument values. + .TP 3 +-\-dbgtrace [flags] +-Prints info for debugging jdb. ++\-dbgtrace [flags] ++Prints info for debugging jdb. + .TP 3 +-\-tclient +-Runs the application in the Java HotSpot(tm) VM (Client). ++\-tclient ++Runs the application in the Java HotSpot(tm) VM (Client). + .TP 3 +-\-tserver +-Runs the application in the Java HotSpot(tm) VM (Server). ++\-tserver ++Runs the application in the Java HotSpot(tm) VM (Server). + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine used to run jdb. (Options for the application Java virtual machine are passed to the \f3run\fP command.) For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. ++\-Joption ++Pass \f2option\fP to the Java virtual machine used to run jdb. (Options for the application Java virtual machine are passed to the \f3run\fP command.) For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. + .RE + + .LP + .LP +-Other options are supported for alternate mechanisms for connecting the debugger and the VM it is to debug. The Java Platform Debugger Architecture has additional ++Other options are supported for alternate mechanisms for connecting the debugger and the VM it is to debug. The Java Platform Debugger Architecture has additional + .na + \f2documentation\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection alternatives. ++http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection alternatives. + .LP +-.SS ++.SS + Options Forwarded to Debuggee Process + .LP + .RS 3 + .TP 3 +-\-v \-verbose[:class|gc|jni] +-Turns on verbose mode. ++\-v \-verbose[:class|gc|jni] ++Turns on verbose mode. + .TP 3 +-\-D<name>=<value> +-Sets a system property. ++\-D<name>=<value> ++Sets a system property. + .TP 3 +-\-classpath <directories separated by ":"> +-Lists directories in which to look for classes. ++\-classpath <directories separated by ":"> ++Lists directories in which to look for classes. + .TP 3 +-\-X<option> +-Non\-standard target VM option ++\-X<option> ++Non\-standard target VM option + .RE + + .LP +@@ -327,4 +327,4 @@ + .LP + javac(1), java(1), javah(1), javap(1), javadoc(1). + .LP +- ++ +--- jdk/src/bsd/doc/man/jhat.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jhat.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jhat 1 "10 May 2011" ++.TH jhat 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -41,11 +41,11 @@ + .LP + .RS 3 + .TP 3 +-options +-Options, if used, should follow immediately after the command name. ++options ++Options, if used, should follow immediately after the command name. + .TP 3 +-heap\-dump\-file +-Java binary heap dump file to be browsed. For a dump file that contains multiple heap dumps, you may specify which dump in the file by appending "#<number> to the file name, i.e. "foo.hprof#3". ++heap\-dump\-file ++Java binary heap dump file to be browsed. For a dump file that contains multiple heap dumps, you may specify which dump in the file by appending "#<number> to the file name, i.e. "foo.hprof#3". + .RE + + .LP +@@ -60,24 +60,24 @@ + .RS 3 + .TP 2 + o +-Use jmap(1) \-dump option to obtain a heap dump at runtime; ++Use jmap(1) \-dump option to obtain a heap dump at runtime; + .TP 2 + o +-Use jconsole(1) option to obtain a heap dump via ++Use jconsole(1) option to obtain a heap dump via + .na + \f2HotSpotDiagnosticMXBean\fP @ + .fi +-http://download.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html at runtime; ++http://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html at runtime; + .TP 2 + o +-Heap dump will be generated when OutOfMemoryError is thrown by specifying \-XX:+HeapDumpOnOutOfMemoryError VM option; ++Heap dump will be generated when OutOfMemoryError is thrown by specifying \-XX:+HeapDumpOnOutOfMemoryError VM option; + .TP 2 + o +-Use ++Use + .na + \f2hprof\fP @ + .fi +-http://java.sun.com/developer/technicalArticles/Programming/HPROF.html. ++http://java.sun.com/developer/technicalArticles/Programming/HPROF.html. + .RE + + .LP +@@ -88,35 +88,35 @@ + .LP + .RS 3 + .TP 3 +-\-stack false/true +-Turn off tracking object allocation call stack. Note that if allocation site information is not available in the heap dump, you have to set this flag to false. Default is true. ++\-stack false/true ++Turn off tracking object allocation call stack. Note that if allocation site information is not available in the heap dump, you have to set this flag to false. Default is true. + .TP 3 +-\-refs false/true +-Turn off tracking of references to objects. Default is true. By default, back pointers (objects pointing to a given object a.k.a referrers or in\-coming references) are calculated for all objects in the heap. ++\-refs false/true ++Turn off tracking of references to objects. Default is true. By default, back pointers (objects pointing to a given object a.k.a referrers or in\-coming references) are calculated for all objects in the heap. + .TP 3 +-\-port port\-number +-Set the port for the jhat's HTTP server. Default is 7000. ++\-port port\-number ++Set the port for the jhat's HTTP server. Default is 7000. + .TP 3 +-\-exclude exclude\-file +-Specify a file that lists data members that should be excluded from the "reachable objects" query. For example, if the file lists \f2java.lang.String.value\fP, then, whenever list of objects reachable from a specific object "o" are calculated, reference paths involving \f2java.lang.String.value\fP field will not considered. ++\-exclude exclude\-file ++Specify a file that lists data members that should be excluded from the "reachable objects" query. For example, if the file lists \f2java.lang.String.value\fP, then, whenever list of objects reachable from a specific object "o" are calculated, reference paths involving \f2java.lang.String.value\fP field will not considered. + .TP 3 +-\-baseline baseline\-dump\-file +-Specify a baseline heap dump. Objects in both heap dumps with the same object ID will be marked as not being "new". Other objects will be marked as "new". This is useful while comparing two different heap dumps. ++\-baseline baseline\-dump\-file ++Specify a baseline heap dump. Objects in both heap dumps with the same object ID will be marked as not being "new". Other objects will be marked as "new". This is useful while comparing two different heap dumps. + .TP 3 +-\-debug int +-Set debug level for this tool. 0 means no debug output. Set higher values for more verbose modes. ++\-debug int ++Set debug level for this tool. 0 means no debug output. Set higher values for more verbose modes. + .TP 3 +-\-version +-Report version number and exit. ++\-version ++Report version number and exit. + .TP 3 +-\-h +-Output help message and exit. ++\-h ++Output help message and exit. + .TP 3 +-\-help +-Output help message and exit. ++\-help ++Output help message and exit. + .TP 3 +-\-J<flag> +-Pass <flag> to the Java virtual machine on which jhat is run. For example, \-J\-Xmx512m to use a maximum heap size of 512MB. ++\-J<flag> ++Pass <flag> to the Java virtual machine on which jhat is run. For example, \-J\-Xmx512m to use a maximum heap size of 512MB. + .RE + + .LP +@@ -125,17 +125,17 @@ + .RS 3 + .TP 2 + o +-jmap(1) ++jmap(1) + .TP 2 + o +-jconsole(1) ++jconsole(1) + .TP 2 + o + .na + \f2hprof \- Heap and CPU profiling tool\fP @ + .fi +-http://java.sun.com/developer/technicalArticles/Programming/HPROF.html ++http://java.sun.com/developer/technicalArticles/Programming/HPROF.html + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jinfo.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jinfo.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jinfo 1 "10 May 2011" ++.TH jinfo 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -34,7 +34,7 @@ + .fl + \f3jinfo\fP [ option ] executable core + .fl +-\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP ++\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP + .fl + .fi + +@@ -43,43 +43,43 @@ + .LP + .RS 3 + .TP 3 +-option +-Options are mutually exclusive. Option, if used, should follow immediately after the command name. ++option ++Options are mutually exclusive. Option, if used, should follow immediately after the command name. + .RE + + .LP + .RS 3 + .TP 3 +-pid +-process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. ++pid ++process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. + .RE + + .LP + .RS 3 + .TP 3 +-executable +-Java executable from which the core dump was produced. ++executable ++Java executable from which the core dump was produced. + .RE + + .LP + .RS 3 + .TP 3 +-core +-core file for which the configuration info is to be printed. ++core ++core file for which the configuration info is to be printed. + .RE + + .LP + .RS 3 + .TP 3 +-remote\-hostname\-or\-IP +-remote debug server's (see jsadebugd(1)) hostname or IP address. ++remote\-hostname\-or\-IP ++remote debug server's (see jsadebugd(1)) hostname or IP address. + .RE + + .LP + .RS 3 + .TP 3 +-server\-id +-optional unique id, if multiple debug servers are running on the same remote host. ++server\-id ++optional unique id, if multiple debug servers are running on the same remote host. + .RE + + .LP +@@ -100,35 +100,35 @@ + .LP + .RS 3 + .TP 3 +-<no option> ++<no option> + prints both command line flags as well as System properties name, value pairs. + .br + .TP 3 +-\-flag name ++\-flag name + prints the name and value of the given command line flag. + .br + .TP 3 +-\-flag [+|\-]name ++\-flag [+|\-]name + enables or disables the given boolean command line flag. + .br + .TP 3 +-\-flag name=value ++\-flag name=value + sets the given command line flag to the specified value. + .br + .TP 3 +-\-flags ++\-flags + prints command line flags passed to the JVM. pairs. + .br + .TP 3 +-\-sysprops ++\-sysprops + prints Java System properties as name, value pairs. + .br + .TP 3 +-\-h +-prints a help message ++\-h ++prints a help message + .TP 3 +-\-help +-prints a help message ++\-help ++prints a help message + .RE + + .LP +@@ -137,11 +137,11 @@ + .RS 3 + .TP 2 + o +-jps(1) ++jps(1) + .TP 2 + o +-jsadebugd(1) ++jsadebugd(1) + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jmap.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jmap.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jmap 1 "10 May 2011" ++.TH jmap 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -43,26 +43,26 @@ + .LP + .RS 3 + .TP 3 +-option +-Options are mutually exclusive. Option, if used, should follow immediately after the command name. ++option ++Options are mutually exclusive. Option, if used, should follow immediately after the command name. + .TP 3 +-pid +-process id for which the memory map is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. ++pid ++process id for which the memory map is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. + .br + .TP 3 +-executable +-Java executable from which the core dump was produced. ++executable ++Java executable from which the core dump was produced. + .br + .TP 3 +-core +-core file for which the memory map is to be printed. ++core ++core file for which the memory map is to be printed. + .br + .TP 3 +-remote\-hostname\-or\-IP +-remote debug server's (see jsadebugd(1)) hostname or IP address. ++remote\-hostname\-or\-IP ++remote debug server's (see jsadebugd(1)) hostname or IP address. + .br + .TP 3 +-server\-id ++server\-id + optional unique id, if multiple debug servers are running on the same remote host. + .br + .RE +@@ -95,46 +95,46 @@ + .LP + .RS 3 + .TP 3 +-<no option> +-When no option is used jmap prints shared object mappings. For each shared object loaded in the target VM, start address, the size of the mapping, and the full path of the shared object file are printed. This is similar to the Solaris \f3pmap\fP utility. ++<no option> ++When no option is used jmap prints shared object mappings. For each shared object loaded in the target VM, start address, the size of the mapping, and the full path of the shared object file are printed. This is similar to the Solaris \f3pmap\fP utility. + .br + .TP 3 +-\-dump:[live,]format=b,file=<filename> +-Dumps the Java heap in hprof binary format to filename. The \f2live\fP suboption is optional. If specified, only the live objects in the heap are dumped. To browse the heap dump, you can use jhat(1) (Java Heap Analysis Tool) to read the generated file. ++\-dump:[live,]format=b,file=<filename> ++Dumps the Java heap in hprof binary format to filename. The \f2live\fP suboption is optional. If specified, only the live objects in the heap are dumped. To browse the heap dump, you can use jhat(1) (Java Heap Analysis Tool) to read the generated file. + .br + .TP 3 +-\-finalizerinfo +-Prints information on objects awaiting finalization. ++\-finalizerinfo ++Prints information on objects awaiting finalization. + .br + .TP 3 +-\-heap +-Prints a heap summary. GC algorithm used, heap configuration and generation wise heap usage are printed. ++\-heap ++Prints a heap summary. GC algorithm used, heap configuration and generation wise heap usage are printed. + .br + .TP 3 +-\-histo[:live] +-Prints a histogram of the heap. For each Java class, number of objects, memory size in bytes, and fully qualified class names are printed. VM internal class names are printed with '*' prefix. If the \f2live\fP suboption is specified, only live objects are counted. ++\-histo[:live] ++Prints a histogram of the heap. For each Java class, number of objects, memory size in bytes, and fully qualified class names are printed. VM internal class names are printed with '*' prefix. If the \f2live\fP suboption is specified, only live objects are counted. + .br + .TP 3 +-\-permstat +-Prints class loader wise statistics of permanent generation of Java heap. For each class loader, its name, liveness, address, parent class loader, and the number and size of classes it has loaded are printed. In addition, the number and size of interned Strings are printed. ++\-permstat ++Prints class loader wise statistics of permanent generation of Java heap. For each class loader, its name, liveness, address, parent class loader, and the number and size of classes it has loaded are printed. In addition, the number and size of interned Strings are printed. + .br + .TP 3 +-\-F +-Force. Use with jmap \-dump or jmap \-histo option if the pid does not respond. The \f2live\fP suboption is not supported in this mode. ++\-F ++Force. Use with jmap \-dump or jmap \-histo option if the pid does not respond. The \f2live\fP suboption is not supported in this mode. + .br + .TP 3 +-\-h ++\-h + Prints a help message. + .br + .br + .TP 3 +-\-help ++\-help + Prints a help message. + .br + .br + .TP 3 +-\-J<flag> +-Passes <flag> to the Java virtual machine on which jmap is run. ++\-J<flag> ++Passes <flag> to the Java virtual machine on which jmap is run. + .br + .RE + +@@ -144,17 +144,17 @@ + .RS 3 + .TP 2 + o +-pmap(1) ++pmap(1) + .TP 2 + o +-jhat(1) ++jhat(1) + .TP 2 + o +-jps(1) ++jps(1) + .TP 2 + o +-jsadebugd(1) ++jsadebugd(1) + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jps.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jps.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jps 1 "10 May 2011" ++.TH jps 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -41,11 +41,11 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options. ++options ++Command\-line options. + .TP 3 +-hostid +-The host identifier of the host for which the process report should be generated. The \f2hostid\fP may include optional components that indicate the communications protocol, port number, and other implementation specific data. ++hostid ++The host identifier of the host for which the process report should be generated. The \f2hostid\fP may include optional components that indicate the communications protocol, port number, and other implementation specific data. + .RE + + .LP +@@ -76,27 +76,27 @@ + .LP + .RS 3 + .TP 3 +-\-q +-Suppress the output of the class name, JAR file name, and arguments passed to the \f2main\fP method, producing only a list of local VM identifiers. ++\-q ++Suppress the output of the class name, JAR file name, and arguments passed to the \f2main\fP method, producing only a list of local VM identifiers. + .TP 3 +-\-m +-Output the arguments passed to the main method. The output may be null for embedded JVMs. ++\-m ++Output the arguments passed to the main method. The output may be null for embedded JVMs. + .TP 3 +-\-l +-Output the full package name for the application's main class or the full path name to the application's JAR file. ++\-l ++Output the full package name for the application's main class or the full path name to the application's JAR file. + .TP 3 +-\-v +-Output the arguments passed to the JVM. ++\-v ++Output the arguments passed to the JVM. + .TP 3 +-\-V +-Output the arguments passed to the JVM through the flags file (the .hotspotrc file or the file specified by the \-XX:Flags=<\f2filename\fP> argument). ++\-V ++Output the arguments passed to the JVM through the flags file (the .hotspotrc file or the file specified by the \-XX:Flags=<\f2filename\fP> argument). + .TP 3 +-\-Joption +-Pass \f2option\fP to the \f3java\fP launcher called by \f3jps\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. ++\-Joption ++Pass \f2option\fP to the \f3java\fP launcher called by \f3jps\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. + .RE + + .LP +-.SS ++.SS + HOST IDENTIFIER + .LP + .LP +@@ -115,17 +115,17 @@ + .LP + .RS 3 + .TP 3 +-protocol +-The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific, optimized, local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. ++protocol ++The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific, optimized, local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. + .TP 3 +-hostname +-A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. ++hostname ++A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. + .TP 3 +-port +-The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. ++port ++The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. + .TP 3 +-servername +-The treatment of this parameter depends on the implementation. For the optimized, local protocol, this field is ignored. For the \f3rmi\fP protocol, this parameter is a string representing the name of the RMI remote object on the remote host. See the \f3\-n\fP option for the jstatd(1) command. ++servername ++The treatment of this parameter depends on the implementation. For the optimized, local protocol, this field is ignored. For the \f3rmi\fP protocol, this parameter is a string representing the name of the RMI remote object on the remote host. See the \f3\-n\fP option for the jstatd(1) command. + .RE + + .LP +@@ -234,17 +234,17 @@ + .RS 3 + .TP 2 + o +-java(1) \- the Java Application Launcher ++java(1) \- the Java Application Launcher + .TP 2 + o +-jstat(1) \- the Java virtual machine Statistics Monitoring Tool ++jstat(1) \- the Java virtual machine Statistics Monitoring Tool + .TP 2 + o +-jstatd(1) \- the jstat daemon ++jstatd(1) \- the jstat daemon + .TP 2 + o +-rmiregistry(1) \- the Java Remote Object Registry ++rmiregistry(1) \- the Java Remote Object Registry + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jrunscript.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jrunscript.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jrunscript 1 "10 May 2011" ++.TH jrunscript 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -39,11 +39,11 @@ + .LP + .RS 3 + .TP 3 +-options +-Options, if used, should follow immediately after the command name. ++options ++Options, if used, should follow immediately after the command name. + .TP 3 +-arguments +-Arguments, if used, should follow immediately after options or command name. ++arguments ++Arguments, if used, should follow immediately after options or command name. + .RE + + .LP +@@ -59,41 +59,41 @@ + .LP + .RS 3 + .TP 3 +-\-classpath path +-Specify where to find the user's .class files that are accessed by the script. ++\-classpath path ++Specify where to find the user's .class files that are accessed by the script. + .TP 3 +-\-cp path +-This is a synonym for \-classpath \f2path\fP ++\-cp path ++This is a synonym for \-classpath \f2path\fP + .TP 3 +-\-Dname=value +-Set a Java system property. ++\-Dname=value ++Set a Java system property. + .TP 3 +-\-J<flag> +-Pass <flag> directly to the Java virtual machine on which jrunscript is run. ++\-J<flag> ++Pass <flag> directly to the Java virtual machine on which jrunscript is run. + .TP 3 +-\-l language +-Use the specified scripting language. By default, JavaScript is used. Note that to use other scripting languages, you also need to specify the corresponding script engine's jar file using \-cp or \-classpath option. ++\-l language ++Use the specified scripting language. By default, JavaScript is used. Note that to use other scripting languages, you also need to specify the corresponding script engine's jar file using \-cp or \-classpath option. + .TP 3 +-\-e script +-Evaluate the given script. This option can be used to run "one liner" scripts specified completely on the command line. ++\-e script ++Evaluate the given script. This option can be used to run "one liner" scripts specified completely on the command line. + .TP 3 +-\-encoding encoding +-Specify the character encoding used while reading script files. ++\-encoding encoding ++Specify the character encoding used while reading script files. + .TP 3 +-\-f script\-file +-Evaluate the given script file (batch mode). ++\-f script\-file ++Evaluate the given script file (batch mode). + .TP 3 +-\-f \- +-Read and evaluate a script from standard input (interactive mode). ++\-f \- ++Read and evaluate a script from standard input (interactive mode). + .TP 3 +-\-help\ +-Output help message and exit. ++\-help\ ++Output help message and exit. + .TP 3 +-\-?\ +-Output help message and exit. ++\-?\ ++Output help message and exit. + .TP 3 +-\-q\ +-List all script engines available and exit. ++\-q\ ++List all script engines available and exit. + .RE + + .LP +@@ -104,7 +104,7 @@ + .LP + .SH "EXAMPLES" + .LP +-.SS ++.SS + Executing inline scripts + .LP + .nf +@@ -118,7 +118,7 @@ + .fi + + .LP +-.SS ++.SS + Use specified language and evaluate given script file + .LP + .nf +@@ -130,7 +130,7 @@ + .fi + + .LP +-.SS ++.SS + Interactive mode + .LP + .nf +@@ -162,7 +162,7 @@ + .fi + + .LP +-.SS ++.SS + Run script file with script arguments + .LP + .nf +@@ -174,14 +174,14 @@ + .fi + + .LP +-test.js is script file to execute and arg1, arg2 and arg3 are passed to script as script arguments. Script can access these using "arguments" array. ++test.js is script file to execute and arg1, arg2 and arg3 are passed to script as script arguments. Script can access these using "arguments" array. + .SH "SEE ALSO" + .LP + .LP +-If JavaScript is used, then before evaluating any user defined script, jrunscript initializes certain built\-in functions and objects. These JavaScript built\-ins are documented in ++If JavaScript is used, then before evaluating any user defined script, jrunscript initializes certain built\-in functions and objects. These JavaScript built\-ins are documented in + .na + \f2jsdocs\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/share/jsdocs/allclasses\-noframe.html. ++http://docs.oracle.com/javase/7/docs/technotes/tools/share/jsdocs/allclasses\-noframe.html. + .LP +- ++ +--- jdk/src/bsd/doc/man/jsadebugd.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jsadebugd.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jsadebugd 1 "10 May 2011" ++.TH jsadebugd 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -41,28 +41,28 @@ + .LP + .RS 3 + .TP 3 +-pid +-process id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. At most one instance of the debug server may be attached to a single process. ++pid ++process id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. At most one instance of the debug server may be attached to a single process. + .TP 3 +-executable +-Java executable from which the core dump was produced ++executable ++Java executable from which the core dump was produced + .TP 3 +-core +-Core file to which the debug server should attach. ++core ++Core file to which the debug server should attach. + .TP 3 +-server\-id +-Optional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients to identify the particular debug server to attach. Within a single machine, this ID must be unique. ++server\-id ++Optional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients to identify the particular debug server to attach. Within a single machine, this ID must be unique. + .RE + + .LP + .SH "DESCRIPTION" + .LP + .LP +-\f3jsadebugd\fP attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack(1), jmap(1), and jinfo(1) can attach to the server using Java Remote Method Invocation (RMI). Before starting \f2jsadebugd\fP, ++\f3jsadebugd\fP attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack(1), jmap(1), and jinfo(1) can attach to the server using Java Remote Method Invocation (RMI). Before starting \f2jsadebugd\fP, + .na + \f2rmiregistry\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#rmi must be started with: ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi must be started with: + .LP + .nf + \f3 +@@ -87,23 +87,23 @@ + .RS 3 + .TP 2 + o +-jinfo(1) ++jinfo(1) + .TP 2 + o +-jmap(1) ++jmap(1) + .TP 2 + o +-jps(1) ++jps(1) + .TP 2 + o +-jstack(1) ++jstack(1) + .TP 2 + o + .na + \f2rmiregistry\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#rmi ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jstack.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jstack.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jstack 1 "10 May 2011" ++.TH jstack 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -48,27 +48,27 @@ + .LP + .RS 3 + .TP 3 +-pid +-process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. ++pid ++process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. + .RE + + .LP + .RS 3 + .TP 3 +-executable +-Java executable from which the core dump was produced. ++executable ++Java executable from which the core dump was produced. + .br + .TP 3 +-core +-core file for which the stack trace is to be printed. ++core ++core file for which the stack trace is to be printed. + .br + .TP 3 +-remote\-hostname\-or\-IP +-remote debug server's (see jsadebugd(1)) hostname or IP address. ++remote\-hostname\-or\-IP ++remote debug server's (see jsadebugd(1)) hostname or IP address. + .br + .TP 3 +-server\-id +-optional unique id, if multiple debug servers are running on the same remote host. ++server\-id ++optional unique id, if multiple debug servers are running on the same remote host. + .RE + + .LP +@@ -98,25 +98,25 @@ + .LP + .RS 3 + .TP 3 +-\-F +-Force a stack dump when 'jstack [\-l] pid' does not respond. ++\-F ++Force a stack dump when 'jstack [\-l] pid' does not respond. + .TP 3 +-\-l +-Long listing. Prints additional information about locks such as list of owned java.util.concurrent ++\-l ++Long listing. Prints additional information about locks such as list of owned java.util.concurrent + .na + \f2ownable synchronizers\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer.html. ++http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer.html. + .TP 3 +-\-m +-prints mixed mode (both Java and native C/C++ frames) stack trace. ++\-m ++prints mixed mode (both Java and native C/C++ frames) stack trace. + .TP 3 +-\-h ++\-h + prints a help message. + .br + .br + .TP 3 +-\-help ++\-help + prints a help message + .br + .RE +@@ -127,16 +127,16 @@ + .RS 3 + .TP 2 + o +-pstack(1) ++pstack(1) + .TP 2 + o +-c++filt(1) ++c++filt(1) + .TP 2 + o +-jps(1) ++jps(1) + .TP 2 + o +-jsadebugd(1) ++jsadebugd(1) + .RE + + .LP +@@ -145,4 +145,4 @@ + .LP + Mixed mode stack trace, the \-m option, does not work with the remote debug server. + .LP +- ++ +--- jdk/src/bsd/doc/man/jstat.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jstat.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jstat 1 "10 May 2011" ++.TH jstat 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -39,27 +39,27 @@ + .LP + .RS 3 + .TP 3 +-generalOption +-A single general command\-line option (\-help, \-options, or \-version) ++generalOption ++A single general command\-line option (\-help, \-options, or \-version) + .TP 3 +-outputOptions +-One or more output options, consisting of a single \f2statOption\fP, plus any of the \-t, \-h, and \-J options. ++outputOptions ++One or more output options, consisting of a single \f2statOption\fP, plus any of the \-t, \-h, and \-J options. + .TP 3 +-vmid +-Virtual machine identifier, a string indicating the target Java virtual machine (JVM). The general syntax is ++vmid ++Virtual machine identifier, a string indicating the target Java virtual machine (JVM). The general syntax is + .nf + \f3 + .fl + [\fP\f4protocol\fP\f3:][//]\fP\f4lvmid\fP[@\f2hostname\fP[:\f2port\fP]/\f2servername\fP] + .fl + .fi +-The syntax of the vmid string largely corresponds to the syntax of a URI. The \f2vmid\fP can vary from a simple integer representing a local JVM to a more complex construction specifying a communications protocol, port number, and other implementation\-specific values. See Virtual Machine Identifier for details. ++The syntax of the vmid string largely corresponds to the syntax of a URI. The \f2vmid\fP can vary from a simple integer representing a local JVM to a more complex construction specifying a communications protocol, port number, and other implementation\-specific values. See Virtual Machine Identifier for details. + .TP 3 +-interval[s|ms] +-Sampling interval in the specified units, seconds (s) or milliseconds (ms). Default units are milliseconds. Must be a positive integer. If specified, \f3jstat\fP will produce its output at each interval. ++interval[s|ms] ++Sampling interval in the specified units, seconds (s) or milliseconds (ms). Default units are milliseconds. Must be a positive integer. If specified, \f3jstat\fP will produce its output at each interval. + .TP 3 +-count +-Number of samples to display. Default value is infinity; that is, \f3jstat\fP displays statistics until the target JVM terminates or the \f3jstat\fP command is terminated. Must be a positive integer. ++count ++Number of samples to display. Default value is infinity; that is, \f3jstat\fP displays statistics until the target JVM terminates or the \f3jstat\fP command is terminated. Must be a positive integer. + .RE + + .LP +@@ -73,7 +73,7 @@ + .br + + .LP +-.SS ++.SS + VIRTUAL MACHINE IDENTIFIER + .LP + .LP +@@ -89,20 +89,20 @@ + .LP + .RS 3 + .TP 3 +-protocol +-The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific optimized local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. ++protocol ++The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific optimized local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. + .TP 3 +-lvmid +-The local virtual machine identifier for the target JVM. The \f2lvmid\fP is a platform\-specific value that uniquely identifies a JVM on a system. The \f2lvmid\fP is the only required component of a virtual machine identifier. The \f2lvmid\fP is typically, but not necessarily, the operating system's process identifier for the target JVM process. You can use the jps(1) command to determine the \f2lvmid\fP. Also, you can determine \f2lvmid\fP on Unix platforms with the \f3ps\fP command, and on Windows with the Windows Task Manager. ++lvmid ++The local virtual machine identifier for the target JVM. The \f2lvmid\fP is a platform\-specific value that uniquely identifies a JVM on a system. The \f2lvmid\fP is the only required component of a virtual machine identifier. The \f2lvmid\fP is typically, but not necessarily, the operating system's process identifier for the target JVM process. You can use the jps(1) command to determine the \f2lvmid\fP. Also, you can determine \f2lvmid\fP on Unix platforms with the \f3ps\fP command, and on Windows with the Windows Task Manager. + .TP 3 +-hostname +-A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. ++hostname ++A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. + .TP 3 +-port +-The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol, the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. ++port ++The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol, the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. + .TP 3 +-servername +-The treatment of this parameter depends on implementation. For the optimized local protocol, this field is ignored. For the \f3rmi\fP protocol, it represents the name of the RMI remote object on the remote host. ++servername ++The treatment of this parameter depends on implementation. For the optimized local protocol, this field is ignored. For the \f3rmi\fP protocol, it represents the name of the RMI remote object on the remote host. + .RE + + .LP +@@ -116,7 +116,7 @@ + .LP + \f3NOTE\fP: All options, and their functionality are subject to change or removal in future releases. + .LP +-.SS ++.SS + GENERAL OPTIONS + .LP + .LP +@@ -124,18 +124,18 @@ + .LP + .RS 3 + .TP 3 +-\-help +-Display help message. ++\-help ++Display help message. + .TP 3 +-\-version +-Display version information. ++\-version ++Display version information. + .TP 3 +-\-options +-Display list of statistics options. See the Output Options section below. ++\-options ++Display list of statistics options. See the Output Options section below. + .RE + + .LP +-.SS ++.SS + OUTPUT OPTIONS + .LP + .LP +@@ -155,11 +155,12 @@ + .LP + .RS 3 + .TP 3 +-\-statOption ++\-statOption + Determines the statistics information that \f3jstat\fP displays. The following table lists the available options. Use the \f3\-options\fP general option to display the list of options for a particular platform installation. + .br + .br + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -455,13 +456,13 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Displays...\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'class\h'|\n(41u' +@@ -477,7 +478,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'compiler\h'|\n(41u' +@@ -493,7 +494,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gc\h'|\n(41u' +@@ -509,7 +510,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gccapacity\h'|\n(41u' +@@ -525,7 +526,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gccause\h'|\n(41u' +@@ -541,7 +542,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcnew\h'|\n(41u' +@@ -557,7 +558,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcnewcapacity\h'|\n(41u' +@@ -573,7 +574,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcold\h'|\n(41u' +@@ -589,7 +590,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcoldcapacity\h'|\n(41u' +@@ -605,7 +606,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcpermcapacity\h'|\n(41u' +@@ -621,7 +622,7 @@ + .sp |\n(31u + .ne \n(k|u+\n(.Vu + .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'gcutil\h'|\n(41u' +@@ -637,7 +638,7 @@ + .sp |\n(31u + .ne \n(l|u+\n(.Vu + .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'printcompilation\h'|\n(41u' +@@ -667,20 +668,21 @@ + .rm j+ + .rm k+ + .rm l+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-52 + .TP 3 +-\-h n +-Display a column header every \f2n\fP samples (output rows), where \f2n\fP is a positive integer. Default value is 0, which displays the column header above the first row of data. ++\-h n ++Display a column header every \f2n\fP samples (output rows), where \f2n\fP is a positive integer. Default value is 0, which displays the column header above the first row of data. + .TP 3 +-\-t n +-Display a timestamp column as the first column of output. The timestamp is the time since the start time of the target JVM. ++\-t n ++Display a timestamp column as the first column of output. The timestamp is the time since the start time of the target JVM. + .TP 3 +-\-JjavaOption +-Pass \f2javaOption\fP to the \f3java\fP application launcher. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. For a complete list of options, see java(1) ++\-JjavaOption ++Pass \f2javaOption\fP to the \f3java\fP application launcher. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. For a complete list of options, see java(1) + .RE + + .LP +-.SS ++.SS + STATOPTIONS AND OUTPUT + .LP + .LP +@@ -688,10 +690,11 @@ + .br + + .LP +-.SS ++.SS + \-class Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -817,25 +820,25 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Class Loader Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Loaded\h'|\n(41u'Number of classes loaded. +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Bytes\h'|\n(41u'Number of Kbytes loaded. + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Unloaded\h'|\n(41u' +@@ -851,7 +854,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Bytes\h'|\n(41u' +@@ -867,7 +870,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Time\h'|\n(41u' +@@ -888,13 +891,15 @@ + .rm a+ + .rm b+ + .rm c+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-21 + + .LP +-.SS ++.SS + \-compiler Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -1072,17 +1077,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'HotSpot Just\-In\-Time Compiler Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Compiled\h'|\n(41u' +@@ -1098,7 +1103,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Failed\h'|\n(41u' +@@ -1114,7 +1119,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Invalid\h'|\n(41u' +@@ -1130,7 +1135,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Time\h'|\n(41u' +@@ -1146,7 +1151,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FailedType\h'|\n(41u' +@@ -1162,7 +1167,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FailedMethod\h'|\n(41u' +@@ -1186,13 +1191,15 @@ + .rm d+ + .rm e+ + .rm f+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-29 + + .LP +-.SS ++.SS + \-gc Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -1534,17 +1541,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Garbage\-collected heap statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0C\h'|\n(41u' +@@ -1560,7 +1567,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1C\h'|\n(41u' +@@ -1576,7 +1583,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0U\h'|\n(41u' +@@ -1592,7 +1599,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1U\h'|\n(41u' +@@ -1608,7 +1615,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EC\h'|\n(41u' +@@ -1624,7 +1631,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EU\h'|\n(41u' +@@ -1640,7 +1647,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OC\h'|\n(41u' +@@ -1656,7 +1663,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OU\h'|\n(41u' +@@ -1672,7 +1679,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PC\h'|\n(41u' +@@ -1688,7 +1695,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PU\h'|\n(41u' +@@ -1704,7 +1711,7 @@ + .sp |\n(31u + .ne \n(k|u+\n(.Vu + .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -1720,7 +1727,7 @@ + .sp |\n(31u + .ne \n(l|u+\n(.Vu + .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGCT\h'|\n(41u' +@@ -1734,13 +1741,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. + .ne \n(m|u+\n(.Vu + .if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGCT\h'|\n(41u' +@@ -1756,7 +1763,7 @@ + .sp |\n(31u + .ne \n(n|u+\n(.Vu + .if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCT\h'|\n(41u' +@@ -1788,13 +1795,15 @@ + .rm l+ + .rm m+ + .rm n+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-63 + + .LP +-.SS ++.SS + \-gccapacity Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -2156,17 +2165,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Memory Pool Generation and Space Capacities\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGCMN\h'|\n(41u' +@@ -2182,7 +2191,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGCMX\h'|\n(41u' +@@ -2198,7 +2207,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGC\h'|\n(41u' +@@ -2214,7 +2223,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0C\h'|\n(41u' +@@ -2230,7 +2239,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1C\h'|\n(41u' +@@ -2246,7 +2255,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EC\h'|\n(41u' +@@ -2262,7 +2271,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGCMN\h'|\n(41u' +@@ -2278,7 +2287,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGCMX\h'|\n(41u' +@@ -2294,7 +2303,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGC\h'|\n(41u' +@@ -2310,7 +2319,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OC\h'|\n(41u' +@@ -2326,7 +2335,7 @@ + .sp |\n(31u + .ne \n(k|u+\n(.Vu + .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGCMN\h'|\n(41u' +@@ -2342,7 +2351,7 @@ + .sp |\n(31u + .ne \n(l|u+\n(.Vu + .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGCMX\h'|\n(41u' +@@ -2358,7 +2367,7 @@ + .sp |\n(31u + .ne \n(m|u+\n(.Vu + .if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGC\h'|\n(41u' +@@ -2374,7 +2383,7 @@ + .sp |\n(31u + .ne \n(n|u+\n(.Vu + .if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PC\h'|\n(41u' +@@ -2390,7 +2399,7 @@ + .sp |\n(31u + .ne \n(o|u+\n(.Vu + .if (\n(o|+\n(#^-1v)>\n(#- .nr #- +(\n(o|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -2404,7 +2413,7 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of Full GC Events. +@@ -2427,16 +2436,18 @@ + .rm m+ + .rm n+ + .rm o+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-67 + + .LP +-.SS ++.SS + \-gccause Option + .LP + .LP + This option displays the same summary of garbage collection statistics as the \f3\-gcutil\fP option, but includes the causes of the last garbage collection event and (if applicable) the current garbage collection event. In addition to the columns listed for \f3\-gcutil\fP, this option adds the following columns: + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -2534,17 +2545,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Garbage Collection Statistics, Including GC Events\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'LGCC\h'|\n(41u' +@@ -2560,7 +2571,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCC\h'|\n(41u' +@@ -2580,13 +2591,15 @@ + .35 + .rm a+ + .rm b+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-13 + + .LP +-.SS ++.SS + \-gcnew Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -2848,17 +2861,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'New Generation Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0C\h'|\n(41u' +@@ -2874,7 +2887,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1C\h'|\n(41u' +@@ -2890,7 +2903,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0U\h'|\n(41u' +@@ -2906,7 +2919,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1U\h'|\n(41u' +@@ -2920,13 +2933,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'TT\h'|\n(41u'Tenuring threshold. + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'MTT\h'|\n(41u' +@@ -2942,7 +2955,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'DSS\h'|\n(41u' +@@ -2958,7 +2971,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EC\h'|\n(41u' +@@ -2974,7 +2987,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EU\h'|\n(41u' +@@ -2990,7 +3003,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -3006,7 +3019,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGCT\h'|\n(41u' +@@ -3034,13 +3047,15 @@ + .rm h+ + .rm i+ + .rm j+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + + .LP +-.SS ++.SS + \-gcnewcapacity Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -3302,17 +3317,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'New Generation Space Size Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGCMN\h'|\n(41u' +@@ -3328,7 +3343,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGCMX\h'|\n(41u' +@@ -3344,7 +3359,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'NGC\h'|\n(41u' +@@ -3360,7 +3375,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0CMX\h'|\n(41u' +@@ -3376,7 +3391,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0C\h'|\n(41u' +@@ -3392,7 +3407,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1CMX\h'|\n(41u' +@@ -3408,7 +3423,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1C\h'|\n(41u' +@@ -3424,7 +3439,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'ECMX\h'|\n(41u' +@@ -3440,7 +3455,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EC\h'|\n(41u' +@@ -3456,7 +3471,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -3470,7 +3485,7 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of Full GC Events. +@@ -3488,13 +3503,15 @@ + .rm h+ + .rm i+ + .rm j+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + + .LP +-.SS ++.SS + \-gcold Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -3696,17 +3713,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Old and Permanent Generation Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PC\h'|\n(41u' +@@ -3722,7 +3739,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PU\h'|\n(41u' +@@ -3738,7 +3755,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OC\h'|\n(41u' +@@ -3754,7 +3771,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OU\h'|\n(41u' +@@ -3770,7 +3787,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -3784,13 +3801,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGCT\h'|\n(41u' +@@ -3806,7 +3823,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCT\h'|\n(41u' +@@ -3831,13 +3848,15 @@ + .rm e+ + .rm f+ + .rm g+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + + .LP +-.SS ++.SS + \-gcoldcapacity Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -4039,17 +4058,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Old Generation Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGCMN\h'|\n(41u' +@@ -4065,7 +4084,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGCMX\h'|\n(41u' +@@ -4081,7 +4100,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OGC\h'|\n(41u' +@@ -4097,7 +4116,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'OC\h'|\n(41u' +@@ -4113,7 +4132,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -4127,13 +4146,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGCT\h'|\n(41u' +@@ -4149,7 +4168,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCT\h'|\n(41u' +@@ -4174,13 +4193,15 @@ + .rm e+ + .rm f+ + .rm g+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + + .LP +-.SS ++.SS + \-gcpermcapacity Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -4382,17 +4403,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Permanent Generation Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGCMN\h'|\n(41u' +@@ -4408,7 +4429,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGCMX\h'|\n(41u' +@@ -4424,7 +4445,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PGC\h'|\n(41u' +@@ -4440,7 +4461,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'PC\h'|\n(41u' +@@ -4456,7 +4477,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -4470,13 +4491,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGCT\h'|\n(41u' +@@ -4492,7 +4513,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCT\h'|\n(41u' +@@ -4517,13 +4538,15 @@ + .rm e+ + .rm f+ + .rm g+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + + .LP +-.SS ++.SS + \-gcutil Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -4765,17 +4788,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Summary of Garbage Collection Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S0\h'|\n(41u' +@@ -4791,7 +4814,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'S1\h'|\n(41u' +@@ -4807,7 +4830,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'E\h'|\n(41u' +@@ -4823,7 +4846,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'O\h'|\n(41u' +@@ -4839,7 +4862,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'P\h'|\n(41u' +@@ -4855,7 +4878,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGC\h'|\n(41u' +@@ -4871,7 +4894,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'YGCT\h'|\n(41u' +@@ -4885,13 +4908,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'FGCT\h'|\n(41u' +@@ -4907,7 +4930,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'GCT\h'|\n(41u' +@@ -4934,13 +4957,15 @@ + .rm g+ + .rm h+ + .rm i+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-43 + + .LP +-.SS ++.SS + \-printcompilation Option + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -5062,17 +5087,17 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'HotSpot Compiler Method Statistics\h'|\n(41u' +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Compiled\h'|\n(41u' +@@ -5088,7 +5113,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Size\h'|\n(41u' +@@ -5102,13 +5127,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Type\h'|\n(41u'Compilation type. + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'Method\h'|\n(41u' +@@ -5129,6 +5154,7 @@ + .rm a+ + .rm b+ + .rm c+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-19 + + .LP +@@ -5137,7 +5163,7 @@ + .LP + This section presents some examples of monitoring a local JVM with a \f2lvmid\fP of 21891. + .LP +-.SS ++.SS + Using the gcutil option + .LP + .LP +@@ -5188,7 +5214,7 @@ + .LP + The output of this example shows that a young generation collection occurred between the 3rd and 4th sample. The collection took 0.001 seconds and promoted objects from the eden space (E) to the old space (O), resulting in an increase of old space utilization from 9.49% to 9.51%. Before the collection, the survivor space was 12.44% utilized, but after this collection it is only 7.74% utilized. + .LP +-.SS ++.SS + Repeating the column header string + .LP + .LP +@@ -5250,7 +5276,7 @@ + .LP + Another collection occurs between the 5th and 6th samples. This collection found very few survivors and returned the tenuring threshold to 31. + .LP +-.SS ++.SS + Including a time stamp for each sample + .LP + .LP +@@ -5285,7 +5311,7 @@ + .LP + The \f2Timestamp\fP column reports the elapsed time in seconds since the start of the target JVM. In addition, the \f3\-gcoldcapacity\fP output shows the old generation capacity (OGC) and the old space capacity (OC) increasing as the heap expands to meet allocation and/or promotion demands. The old generation capacity (OGC) has grown to from 11696 KB to 13820 KB after the 81st Full GC (FGC). The maximum capacity of the generation (and space) is 60544 KB (OGCMX), so it still has room to expand. + .LP +-.SS ++.SS + Monitor instrumentation for a remote JVM + .LP + .LP +@@ -5313,17 +5339,17 @@ + .RS 3 + .TP 2 + o +-java(1) \- the Java Application Launcher ++java(1) \- the Java Application Launcher + .TP 2 + o +-jps(1) \- the Java Process Status Application ++jps(1) \- the Java Process Status Application + .TP 2 + o +-jstatd(1) \- the jvmstat daemon ++jstatd(1) \- the jvmstat daemon + .TP 2 + o +-rmiregistry(1) \- the Java Remote Object Registry ++rmiregistry(1) \- the Java Remote Object Registry + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/jstatd.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/jstatd.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH jstatd 1 "10 May 2011" ++.TH jstatd 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -42,8 +42,8 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options. The options may be in any order. If there are redundant or contradictory options, the last option specified will take precedence. ++options ++Command\-line options. The options may be in any order. If there are redundant or contradictory options, the last option specified will take precedence. + .RE + + .LP +@@ -65,17 +65,17 @@ + .LP + .RS 3 + .TP 3 +-\-nr +-Do not attempt to create an internal RMI registry within the \f2jstatd\fP process when an existing RMI registry is not found. ++\-nr ++Do not attempt to create an internal RMI registry within the \f2jstatd\fP process when an existing RMI registry is not found. + .TP 3 +-\-p\ port +-Port number where the RMI registry is expected to be found, or, if not found, created if \f2\-nr\fP is not specified. ++\-p\ port ++Port number where the RMI registry is expected to be found, or, if not found, created if \f2\-nr\fP is not specified. + .TP 3 +-\-n\ rminame +-Name to which the remote RMI object is bound in the RMI registry. The default name is \f2JStatRemoteHost\fP. If multiple \f3jstatd\fP servers are started on the same host, the name of the exported RMI object for each server can be made unique by specifying this option. However, doing so will require that the unique server name be included in the monitoring client's \f2hostid\fP and \f2vmid\fP strings. ++\-n\ rminame ++Name to which the remote RMI object is bound in the RMI registry. The default name is \f2JStatRemoteHost\fP. If multiple \f3jstatd\fP servers are started on the same host, the name of the exported RMI object for each server can be made unique by specifying this option. However, doing so will require that the unique server name be included in the monitoring client's \f2hostid\fP and \f2vmid\fP strings. + .TP 3 +-\-Joption +-Pass \f2option\fP to the \f3java\fP launcher called by \f3javac\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. ++\-Joption ++Pass \f2option\fP to the \f3java\fP launcher called by \f3javac\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. + .RE + + .LP +@@ -88,11 +88,11 @@ + The \f3jstatd\fP server does not provide any authentication of remote clients. Therefore, running a \f3jstatd\fP server process exposes the instrumentation export by all JVMs for which the \f3jstatd\fP process has access permissions to any user on the network. This exposure may be undesireable in your environment and local security policies should be considered before starting the \f3jstatd\fP process, particularly in production environments or on unsecure networks. + .LP + .LP +-The \f3jstatd\fP server installs an instance of RMISecurityPolicy if no other security manager has been installed and therefore requires a security policy file to be specified. The policy file must conform to the default policy implementation's ++The \f3jstatd\fP server installs an instance of RMISecurityPolicy if no other security manager has been installed and therefore requires a security policy file to be specified. The policy file must conform to the default policy implementation's + .na + \f2Policy File Syntax\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html. + .LP + .LP + The following policy file will allow the \f3jstatd\fP server to run without any security exceptions. This policy is less liberal then granting all permissions to all codebases, but is more liberal than a policy that grants the minimal permissions to run the \f3jstatd\fP server. +@@ -143,7 +143,7 @@ + .LP + Here are some examples of starting \f3jstatd\fP. Note that the \f3jstatd\fP scripts automatically start the server in the background. + .LP +-.SS ++.SS + Using Internal RMI Registry + .LP + .LP +@@ -158,7 +158,7 @@ + .fi + + .LP +-.SS ++.SS + Using External RMI Registry + .LP + .LP +@@ -203,7 +203,7 @@ + .fi + + .LP +-.SS ++.SS + Inhibiting creation of an in\-process RMI registry + .LP + .LP +@@ -218,7 +218,7 @@ + .fi + + .LP +-.SS ++.SS + Enabling RMI logging capabilities. + .LP + .LP +@@ -238,20 +238,20 @@ + .RS 3 + .TP 2 + o +-java(1) \- the Java Application Launcher ++java(1) \- the Java Application Launcher + .TP 2 + o +-jps(1) \- the Java Process Status Application ++jps(1) \- the Java Process Status Application + .TP 2 + o +-jstat(1) \- the Java Virtual Machine Statistics Monitoring Tool ++jstat(1) \- the Java Virtual Machine Statistics Monitoring Tool + .TP 2 + o + .na + \f2rmiregistry\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#rmi \- the Java Remote Object Registry ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi \- the Java Remote Object Registry + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/keytool.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/keytool.1 2014-01-18 12:16:33.000000000 -0800 +@@ -1,4 +1,4 @@ +-." Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. ++." Copyright (c) 1998-2011 keytool tool, 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 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH keytool 1 "10 May 2011" ++.TH keytool 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -43,7 +43,7 @@ + .LP + .SH "DESCRIPTION" + .LP +-\f3keytool\fP is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self\-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. It also allows users to cache the public keys (in the form of certificates) of their communicating peers. ++\f3keytool\fP is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self\-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. It also allows users to cache the public keys (in the form of certificates) of their communicating peers. + .LP + A \f2certificate\fP is a digitally signed statement from one entity (person, company, etc.), saying that the public key (and some other information) of some other entity has a particular value. (See Certificates.) When data is digitally signed, the signature can be verified to check the data integrity and authenticity. \f2Integrity\fP means that the data has not been modified or tampered with, and \f2authenticity\fP means the data indeed comes from whoever claims to have created and signed it. + .LP +@@ -61,22 +61,22 @@ + .RS 3 + .TP 2 + o +-All command and option names are preceded by a minus sign (\-). ++All command and option names are preceded by a minus sign (\-). + .TP 2 + o +-The options for each command may be provided in any order. ++The options for each command may be provided in any order. + .TP 2 + o +-All items not italicized or in braces or square brackets are required to appear as is. ++All items not italicized or in braces or square brackets are required to appear as is. + .TP 2 + o +-Braces surrounding an option generally signify that a default value will be used if the option is not specified on the command line. Braces are also used around the \f2\-v\fP, \f2\-rfc\fP, and \f2\-J\fP options, which only have meaning if they appear on the command line (that is, they don't have any "default" values other than not existing). ++Braces surrounding an option generally signify that a default value will be used if the option is not specified on the command line. Braces are also used around the \f2\-v\fP, \f2\-rfc\fP, and \f2\-J\fP options, which only have meaning if they appear on the command line (that is, they don't have any "default" values other than not existing). + .TP 2 + o +-Brackets surrounding an option signify that the user is prompted for the value(s) if the option is not specified on the command line. (For a \f2\-keypass\fP option, if you do not specify the option on the command line, \f3keytool\fP will first attempt to use the keystore password to recover the private/secret key, and if this fails, will then prompt you for the private/secret key password.) ++Brackets surrounding an option signify that the user is prompted for the value(s) if the option is not specified on the command line. (For a \f2\-keypass\fP option, if you do not specify the option on the command line, \f3keytool\fP will first attempt to use the keystore password to recover the private/secret key, and if this fails, will then prompt you for the private/secret key password.) + .TP 2 + o +-Items in italics (option values) represent the actual values that must be supplied. For example, here is the format of the \f2\-printcert\fP command: ++Items in italics (option values) represent the actual values that must be supplied. For example, here is the format of the \f2\-printcert\fP command: + .nf + \f3 + .fl +@@ -85,7 +85,7 @@ + \fP + .fi + .LP +-When specifying a \f2\-printcert\fP command, replace \f2cert_file\fP with the actual file name, as in: ++When specifying a \f2\-printcert\fP command, replace \f2cert_file\fP with the actual file name, as in: + .nf + \f3 + .fl +@@ -95,10 +95,10 @@ + .fi + .TP 2 + o +-Option values must be quoted if they contain a blank (space). ++Option values must be quoted if they contain a blank (space). + .TP 2 + o +-The \f2\-help\fP command is the default. Thus, the command line ++The \f2\-help\fP command is the default. Thus, the command line + .nf + \f3 + .fl +@@ -107,7 +107,7 @@ + \fP + .fi + .LP +-is equivalent to ++is equivalent to + .nf + \f3 + .fl +@@ -118,7 +118,7 @@ + .RE + + .LP +-.SS ++.SS + Option Defaults + .LP + .LP +@@ -187,24 +187,24 @@ + .RS 3 + .TP 2 + o +-If the underlying private key is of type "DSA", the \f2\-sigalg\fP option defaults to "SHA1withDSA" ++If the underlying private key is of type "DSA", the \f2\-sigalg\fP option defaults to "SHA1withDSA" + .TP 2 + o +-If the underlying private key is of type "RSA", the \f2\-sigalg\fP option defaults to "SHA256withRSA". ++If the underlying private key is of type "RSA", the \f2\-sigalg\fP option defaults to "SHA256withRSA". + .TP 2 + o +-If the underlying private key is of type "EC", the \f2\-sigalg\fP option defaults to "SHA256withECDSA". ++If the underlying private key is of type "EC", the \f2\-sigalg\fP option defaults to "SHA256withECDSA". + .RE + + .LP + .LP +-Please consult the ++Please consult the + .na + \f2Java Cryptography Architecture API Specification & Reference\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA for a full list of \f2\-keyalg\fP and \f2\-sigalg\fP you can choose from. ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA for a full list of \f2\-keyalg\fP and \f2\-sigalg\fP you can choose from. + .LP +-.SS ++.SS + Common Options + .LP + .LP +@@ -218,59 +218,59 @@ + .LP + .RS 3 + .TP 3 +-\-storetype storetype ++\-storetype storetype + .LP +-This qualifier specifies the type of keystore to be instantiated. ++This qualifier specifies the type of keystore to be instantiated. + .TP 3 +-\-keystore keystore ++\-keystore keystore + .LP +-The keystore location. ++The keystore location. + .LP +-If the JKS storetype is used and a keystore file does not yet exist, then certain \f3keytool\fP commands may result in a new keystore file being created. For example, if \f2keytool \-genkeypair\fP is invoked and the \f2\-keystore\fP option is not specified, the default keystore file named \f2.keystore\fP in the user's home directory will be created if it does not already exist. Similarly, if the \f2\-keystore \fP\f2ks_file\fP option is specified but \f2ks_file\fP does not exist, then it will be created ++If the JKS storetype is used and a keystore file does not yet exist, then certain \f3keytool\fP commands may result in a new keystore file being created. For example, if \f2keytool \-genkeypair\fP is invoked and the \f2\-keystore\fP option is not specified, the default keystore file named \f2.keystore\fP in the user's home directory will be created if it does not already exist. Similarly, if the \f2\-keystore \fP\f2ks_file\fP option is specified but \f2ks_file\fP does not exist, then it will be created + .LP +-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based (for example, if it resides on a hardware token device). ++Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based (for example, if it resides on a hardware token device). + .TP 3 +-\-storepass[:env|:file] argument ++\-storepass[:env|:file] argument + .LP +-The password which is used to protect the integrity of the keystore. ++The password which is used to protect the integrity of the keystore. + .LP +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP, which must be at least 6 characters long. Otherwise, the password is retrieved as follows: ++If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP, which must be at least 6 characters long. Otherwise, the password is retrieved as follows: + .RS 3 + .TP 2 + o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP ++\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP + .TP 2 + o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP ++\f2file\fP: Retrieve the password from the file named \f2argument\fP + .RE + .LP +-\f3Note\fP: All other options that require passwords, such as \f2\-keypass\fP, \f2\-srckeypass\fP, \f2\-destkeypass\fP \f2\-srcstorepass\fP, and \f2\-deststorepass\fP, accept the \f2env\fP and \f2file\fP modifiers. (Remember to separate the password option and the modifier with a colon, (\f2:\fP).) ++\f3Note\fP: All other options that require passwords, such as \f2\-keypass\fP, \f2\-srckeypass\fP, \f2\-destkeypass\fP \f2\-srcstorepass\fP, and \f2\-deststorepass\fP, accept the \f2env\fP and \f2file\fP modifiers. (Remember to separate the password option and the modifier with a colon, (\f2:\fP).) + .LP +-The password must be provided to all commands that access the keystore contents. For such commands, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for it. ++The password must be provided to all commands that access the keystore contents. For such commands, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for it. + .LP +-When retrieving information from the keystore, the password is optional; if no password is given, the integrity of the retrieved information cannot be checked and a warning is displayed. ++When retrieving information from the keystore, the password is optional; if no password is given, the integrity of the retrieved information cannot be checked and a warning is displayed. + .TP 3 +-\-providerName provider_name ++\-providerName provider_name + .LP +-Used to identify a cryptographic service provider's name when listed in the security properties file. ++Used to identify a cryptographic service provider's name when listed in the security properties file. + .TP 3 +-\-providerClass provider_class_name ++\-providerClass provider_class_name + .LP +-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file. ++Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file. + .TP 3 +-\-providerArg provider_arg ++\-providerArg provider_arg + .LP +-Used in conjunction with \f2\-providerClass\fP. Represents an optional string input argument for the constructor of \f2provider_class_name\fP. ++Used in conjunction with \f2\-providerClass\fP. Represents an optional string input argument for the constructor of \f2provider_class_name\fP. + .TP 3 +-\-protected ++\-protected + .LP +-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. ++Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. + .LP +-Note: Since there are two keystores involved in \f2\-importkeystore\fP command, two options, namely, \f2\-srcprotected\fP and \f2\-destprotected\fP are provided for the source keystore and the destination keystore respectively. ++Note: Since there are two keystores involved in \f2\-importkeystore\fP command, two options, namely, \f2\-srcprotected\fP and \f2\-destprotected\fP are provided for the source keystore and the destination keystore respectively. + .TP 3 +-\-ext {name{:critical}{=value}} ++\-ext {name{:critical}{=value}} + .LP +-Denotes an X.509 certificate extension. The option can be used in \-genkeypair and \-gencert to embed extensions into the certificate generated, or in \f2\-certreq\fP to show what extensions are requested in the certificate request. The option can appear multiple times. name can be a supported extension name (see below) or an arbitrary OID number. value, if provided, denotes the parameter for the extension; if omitted, denotes the default value (if defined) of the extension or the extension requires no parameter. The \f2:critical\fP modifier, if provided, means the extension's isCritical attribute is true; otherwise, false. You may use \f2:c\fP in place of \f2:critical\fP. ++Denotes an X.509 certificate extension. The option can be used in \-genkeypair and \-gencert to embed extensions into the certificate generated, or in \f2\-certreq\fP to show what extensions are requested in the certificate request. The option can appear multiple times. name can be a supported extension name (see below) or an arbitrary OID number. value, if provided, denotes the parameter for the extension; if omitted, denotes the default value (if defined) of the extension or the extension requires no parameter. The \f2:critical\fP modifier, if provided, means the extension's isCritical attribute is true; otherwise, false. You may use \f2:c\fP in place of \f2:critical\fP. + .RE + + .LP +@@ -278,6 +278,7 @@ + Currently keytool supports these named extensions (case\-insensitive): + .LP + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -521,13 +522,13 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Name\fP\h'|\n(41u'\f3Value\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'BC or BasicConstraints\h'|\n(41u' +@@ -543,7 +544,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'KU or KeyUsage\h'|\n(41u' +@@ -559,7 +560,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'EKU or ExtendedkeyUsage\h'|\n(41u' +@@ -577,7 +578,7 @@ + .ne \n(e|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -602,7 +603,7 @@ + .ne \n(g|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -625,7 +626,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'SIA or SubjectInfoAccess\h'|\n(41u' +@@ -643,7 +644,7 @@ + .ne \n(j|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -678,11 +679,12 @@ + .rm h+ + .rm i+ + .rm j+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-38 + + .LP + .LP +-For name as OID, value is the HEX dumped DER encoding of the extnValue for the extension excluding the OCTET STRING type and length bytes. Any extra character other than standard HEX numbers (0\-9, a\-f, A\-F) are ignored in the HEX string. Therefore, both \f2"01:02:03:04"\fP and \f2"01020304"\fP are accepted as identical values. If there's no value, the extension has an empty value field then. ++For name as OID, value is the HEX dumped DER encoding of the extnValue for the extension excluding the OCTET STRING type and length bytes. Any extra character other than standard HEX numbers (0\-9, a\-f, A\-F) are ignored in the HEX string. Therefore, both \f2"01:02:03:04"\fP and \f2"01020304"\fP are accepted as identical values. If there is no value, the extension has an empty value field then. + .LP + .LP + A special name \f2'honored'\fP, used in \f2\-gencert\fP only, denotes how the extensions included in the certificate request should be honored. The value for this name is a comma separated list of \f2"all"\fP (all requested extensions are honored), \f2"name{:[critical|non\-critical]}"\fP (the named extension is honored, but using a different isCritical attribute) and \f2"\-name"\fP (used with all, denotes an exception). Requested extensions are not honored by default. +@@ -698,24 +700,24 @@ + .LP + .SH "COMMANDS" + .LP +-.SS ++.SS + Creating or Adding Data to the Keystore + .LP + .RS 3 + .TP 3 +-\-gencert {\-rfc} {\-infile infile} {\-outfile outfile} {\-alias alias} {\-sigalg sigalg} {\-dname dname} {\-startdate startdate {\-ext ext}* {\-validity valDays} [\-keypass keypass] {\-keystore keystore} [\-storepass storepass] {\-storetype storetype} {\-providername provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-gencert {\-rfc} {\-infile infile} {\-outfile outfile} {\-alias alias} {\-sigalg sigalg} {\-dname dname} {\-startdate startdate {\-ext ext}* {\-validity valDays} [\-keypass keypass] {\-keystore keystore} [\-storepass storepass] {\-storetype storetype} {\-providername provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Generates a certificate as a response to a certificate request file (which can be created by the \f2keytool \-certreq\fP command). The command reads the request from \f2infile\fP (if omitted, from the standard input), signs it using alias's private key, and output the X.509 certificate into \f2outfile\fP (if omitted, to the standard output). If \f2\-rfc\fP is specified, output format is BASE64\-encoded PEM; otherwise, a binary DER is created. ++Generates a certificate as a response to a certificate request file (which can be created by the \f2keytool \-certreq\fP command). The command reads the request from \f2infile\fP (if omitted, from the standard input), signs it using alias's private key, and output the X.509 certificate into \f2outfile\fP (if omitted, to the standard output). If \f2\-rfc\fP is specified, output format is BASE64\-encoded PEM; otherwise, a binary DER is created. + .LP +-\f2sigalg\fP specifies the algorithm that should be used to sign the certificate. \f2startdate\fP is the start time/date that the certificate is valid. \f2valDays\fP tells the number of days for which the certificate should be considered valid. ++\f2sigalg\fP specifies the algorithm that should be used to sign the certificate. \f2startdate\fP is the start time/date that the certificate is valid. \f2valDays\fP tells the number of days for which the certificate should be considered valid. + .LP +-If \f2dname\fP is provided, it's used as the subject of the generated certificate. Otherwise, the one from the certificate request is used. ++If \f2dname\fP is provided, it's used as the subject of the generated certificate. Otherwise, the one from the certificate request is used. + .LP +-\f2ext\fP shows what X.509 extensions will be embedded in the certificate. Read Common Options for the grammar of \f2\-ext\fP. ++\f2ext\fP shows what X.509 extensions will be embedded in the certificate. Read Common Options for the grammar of \f2\-ext\fP. + .LP +-The \f2\-gencert\fP command enables you to create certificate chains. The following example creates a certificate, \f2e1\fP, that contains three certificates in its certificate chain. ++The \f2\-gencert\fP command enables you to create certificate chains. The following example creates a certificate, \f2e1\fP, that contains three certificates in its certificate chain. + .LP +-The following commands creates four key pairs named \f2ca\fP, \f2ca1\fP, \f2ca2\fP, and \f2e1\fP: ++The following commands creates four key pairs named \f2ca\fP, \f2ca1\fP, \f2ca2\fP, and \f2e1\fP: + .nf + \f3 + .fl +@@ -730,7 +732,7 @@ + \fP + .fi + .LP +-The following two commands create a chain of signed certificates; \f2ca\fP signs ca1 and \f2ca1 signs ca2\fP, all of which are self\-issued: ++The following two commands create a chain of signed certificates; \f2ca\fP signs ca1 and \f2ca1 signs ca2\fP, all of which are self\-issued: + .nf + \f3 + .fl +@@ -741,7 +743,7 @@ + \fP + .fi + .LP +-The following command creates the certificate \f2e1\fP and stores it in the file \f2e1.cert\fP, which is signed by \f2ca2\fP. As a result, \f2e1\fP should contain \f2ca\fP, \f2ca1\fP, and \f2ca2\fP in its certificate chain: ++The following command creates the certificate \f2e1\fP and stores it in the file \f2e1.cert\fP, which is signed by \f2ca2\fP. As a result, \f2e1\fP should contain \f2ca\fP, \f2ca1\fP, and \f2ca2\fP in its certificate chain: + .nf + \f3 + .fl +@@ -750,29 +752,29 @@ + \fP + .fi + .TP 3 +-\-genkeypair {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} {\-sigalg sigalg} [\-dname dname] [\-keypass keypass] {\-startdate value} {\-ext ext}* {\-validity valDays} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-genkeypair {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} {\-sigalg sigalg} [\-dname dname] [\-keypass keypass] {\-startdate value} {\-ext ext}* {\-validity valDays} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Generates a key pair (a public key and associated private key). Wraps the public key into an X.509 v3 self\-signed certificate, which is stored as a single\-element certificate chain. This certificate chain and the private key are stored in a new keystore entry identified by \f2alias\fP. ++Generates a key pair (a public key and associated private key). Wraps the public key into an X.509 v3 self\-signed certificate, which is stored as a single\-element certificate chain. This certificate chain and the private key are stored in a new keystore entry identified by \f2alias\fP. + .LP +-\f2keyalg\fP specifies the algorithm to be used to generate the key pair, and \f2keysize\fP specifies the size of each key to be generated. \f2sigalg\fP specifies the algorithm that should be used to sign the self\-signed certificate; this algorithm must be compatible with \f2keyalg\fP. ++\f2keyalg\fP specifies the algorithm to be used to generate the key pair, and \f2keysize\fP specifies the size of each key to be generated. \f2sigalg\fP specifies the algorithm that should be used to sign the self\-signed certificate; this algorithm must be compatible with \f2keyalg\fP. + .LP +-\f2dname\fP specifies the X.500 Distinguished Name to be associated with \f2alias\fP, and is used as the \f2issuer\fP and \f2subject\fP fields in the self\-signed certificate. If no distinguished name is provided at the command line, the user will be prompted for one. ++\f2dname\fP specifies the X.500 Distinguished Name to be associated with \f2alias\fP, and is used as the \f2issuer\fP and \f2subject\fP fields in the self\-signed certificate. If no distinguished name is provided at the command line, the user will be prompted for one. + .LP +-\f2keypass\fP is a password used to protect the private key of the generated key pair. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. ++\f2keypass\fP is a password used to protect the private key of the generated key pair. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. + .LP +-\f2startdate\fP specifies the issue time of the certificate, also known as the "Not Before" value of the X.509 certificate's Validity field. ++\f2startdate\fP specifies the issue time of the certificate, also known as the "Not Before" value of the X.509 certificate's Validity field. + .LP +-The option value can be set in one of these two forms: ++The option value can be set in one of these two forms: + .RS 3 + .TP 3 + 1. +-([+\-]\f2nnn\fP[ymdHMS])+ ++([+\-]\f2nnn\fP[ymdHMS])+ + .TP 3 + 2. +-[yyyy/mm/dd] [HH:MM:SS] ++[yyyy/mm/dd] [HH:MM:SS] + .RE + .LP +-With the first form, the issue time is shifted by the specified value from the current time. The value is a concatenation of a sequence of sub values. Inside each sub value, the plus sign ("+") means shifting forward, and the minus sign ("\-") means shifting backward. The time to be shifted is \f2nnn\fP units of years, months, days, hours, minutes, or seconds (denoted by a single character of "y", "m", "d", "H", "M", or "S" respectively). The exact value of the issue time is calculated using the \f2java.util.GregorianCalendar.add(int field, int amount)\fP method on each sub value, from left to right. For example, by specifying \f2"\-startdate \-1y+1m\-1d"\fP, the issue time will be: ++With the first form, the issue time is shifted by the specified value from the current time. The value is a concatenation of a sequence of sub values. Inside each sub value, the plus sign ("+") means shifting forward, and the minus sign ("\-") means shifting backward. The time to be shifted is \f2nnn\fP units of years, months, days, hours, minutes, or seconds (denoted by a single character of "y", "m", "d", "H", "M", or "S" respectively). The exact value of the issue time is calculated using the \f2java.util.GregorianCalendar.add(int field, int amount)\fP method on each sub value, from left to right. For example, by specifying \f2"\-startdate \-1y+1m\-1d"\fP, the issue time will be: + .nf + \f3 + .fl +@@ -789,197 +791,197 @@ + \fP + .fi + .LP +-With the second form, the user sets the exact issue time in two parts, year/month/day and hour:minute:second (using the local time zone). The user may provide only one part, which means the other part is the same as the current date (or time). User must provide the exact number of digits as shown in the format definition (padding with 0 if shorter). When both the date and time are provided, there is one (and only one) space character between the two parts. The hour should always be provided in 24 hour format. ++With the second form, the user sets the exact issue time in two parts, year/month/day and hour:minute:second (using the local time zone). The user may provide only one part, which means the other part is the same as the current date (or time). User must provide the exact number of digits as shown in the format definition (padding with 0 if shorter). When both the date and time are provided, there is one (and only one) space character between the two parts. The hour should always be provided in 24 hour format. + .LP +-When the option is not provided, the start date is the current time. The option can be provided at most once. ++When the option is not provided, the start date is the current time. The option can be provided at most once. + .LP +-\f2valDays\fP specifies the number of days (starting at the date specified by \f2\-startdate\fP, or the current date if \f2\-startdate\fP is not specified) for which the certificate should be considered valid. ++\f2valDays\fP specifies the number of days (starting at the date specified by \f2\-startdate\fP, or the current date if \f2\-startdate\fP is not specified) for which the certificate should be considered valid. + .LP +-This command was named \f2\-genkey\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarity the new name, \f2\-genkeypair\fP, is preferred going forward. ++This command was named \f2\-genkey\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarity the new name, \f2\-genkeypair\fP, is preferred going forward. + .TP 3 +-\-genseckey {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-genseckey {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Generates a secret key and stores it in a new \f2KeyStore.SecretKeyEntry\fP identified by \f2alias\fP. ++Generates a secret key and stores it in a new \f2KeyStore.SecretKeyEntry\fP identified by \f2alias\fP. + .LP +-\f2keyalg\fP specifies the algorithm to be used to generate the secret key, and \f2keysize\fP specifies the size of the key to be generated. \f2keypass\fP is a password used to protect the secret key. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. ++\f2keyalg\fP specifies the algorithm to be used to generate the secret key, and \f2keysize\fP specifies the size of the key to be generated. \f2keypass\fP is a password used to protect the secret key. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. + .TP 3 +-\-importcert {\-alias alias} {\-file cert_file} [\-keypass keypass] {\-noprompt} {\-trustcacerts} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-importcert {\-alias alias} {\-file cert_file} [\-keypass keypass] {\-noprompt} {\-trustcacerts} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Reads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply or a sequence of X.509 certificates) from the file \f2cert_file\fP, and stores it in the keystore entry identified by \f2alias\fP. If no file is given, the certificate or certificate chain is read from stdin. ++Reads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply or a sequence of X.509 certificates) from the file \f2cert_file\fP, and stores it in the keystore entry identified by \f2alias\fP. If no file is given, the certificate or certificate chain is read from stdin. + .LP +-\f3keytool\fP can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificate chains consisting of certificates of that type. The data to be imported must be provided either in binary encoding format, or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard. In the latter case, the encoding must be bounded at the beginning by a string that starts with "\-\-\-\-\-BEGIN", and bounded at the end by a string that starts with "\-\-\-\-\-END". ++\f3keytool\fP can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificate chains consisting of certificates of that type. The data to be imported must be provided either in binary encoding format, or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard. In the latter case, the encoding must be bounded at the beginning by a string that starts with "\-\-\-\-\-BEGIN", and bounded at the end by a string that starts with "\-\-\-\-\-END". + .LP +-You import a certificate for two reasons: ++You import a certificate for two reasons: + .RS 3 + .TP 3 + 1. +-to add it to the list of trusted certificates, or ++to add it to the list of trusted certificates, or + .TP 3 + 2. +-to import a certificate reply received from a CA as the result of submitting a Certificate Signing Request (see the \-certreq command) to that CA. ++to import a certificate reply received from a CA as the result of submitting a Certificate Signing Request (see the \-certreq command) to that CA. + .RE + .LP +-Which type of import is intended is indicated by the value of the \f2\-alias\fP option: ++Which type of import is intended is indicated by the value of the \f2\-alias\fP option: + .RS 3 + .TP 3 + 1. +-\f3If the alias does not point to a key entry\fP, then \f3keytool\fP assumes you are adding a trusted certificate entry. In this case, the alias should not already exist in the keystore. If the alias does already exist, then \f3keytool\fP outputs an error, since there is already a trusted certificate for that alias, and does not import the certificate. ++\f3If the alias does not point to a key entry\fP, then \f3keytool\fP assumes you are adding a trusted certificate entry. In this case, the alias should not already exist in the keystore. If the alias does already exist, then \f3keytool\fP outputs an error, since there is already a trusted certificate for that alias, and does not import the certificate. + .TP 3 + 2. +-\f3If the alias points to a key entry\fP, then \f3keytool\fP assumes you are importing a certificate reply. ++\f3If the alias points to a key entry\fP, then \f3keytool\fP assumes you are importing a certificate reply. + .RE +-\f3Importing a New Trusted Certificate\fP ++\f3Importing a New Trusted Certificate\fP + .LP +-Before adding the certificate to the keystore, \f3keytool\fP tries to verify it by attempting to construct a chain of trust from that certificate to a self\-signed certificate (belonging to a root CA), using trusted certificates that are already available in the keystore. ++Before adding the certificate to the keystore, \f3keytool\fP tries to verify it by attempting to construct a chain of trust from that certificate to a self\-signed certificate (belonging to a root CA), using trusted certificates that are already available in the keystore. + .LP +-If the \f2\-trustcacerts\fP option has been specified, additional certificates are considered for the chain of trust, namely the certificates in a file named "cacerts". ++If the \f2\-trustcacerts\fP option has been specified, additional certificates are considered for the chain of trust, namely the certificates in a file named "cacerts". + .LP +-If \f3keytool\fP fails to establish a trust path from the certificate to be imported up to a self\-signed certificate (either from the keystore or the "cacerts" file), the certificate information is printed out, and the user is prompted to verify it, e.g., by comparing the displayed certificate fingerprints with the fingerprints obtained from some other (trusted) source of information, which might be the certificate owner himself/herself. Be very careful to ensure the certificate is valid prior to importing it as a "trusted" certificate! \-\- see WARNING Regarding Importing Trusted Certificates. The user then has the option of aborting the import operation. If the \f2\-noprompt\fP option is given, however, there will be no interaction with the user. +-\f3Importing a Certificate Reply\fP ++If \f3keytool\fP fails to establish a trust path from the certificate to be imported up to a self\-signed certificate (either from the keystore or the "cacerts" file), the certificate information is printed out, and the user is prompted to verify it, e.g., by comparing the displayed certificate fingerprints with the fingerprints obtained from some other (trusted) source of information, which might be the certificate owner himself/herself. Be very careful to ensure the certificate is valid prior to importing it as a "trusted" certificate! \-\- see WARNING Regarding Importing Trusted Certificates. The user then has the option of aborting the import operation. If the \f2\-noprompt\fP option is given, however, there will be no interaction with the user. ++\f3Importing a Certificate Reply\fP + .LP +-When importing a certificate reply, the certificate reply is validated using trusted certificates from the keystore, and optionally using the certificates configured in the "cacerts" keystore file (if the \f2\-trustcacerts\fP option was specified). ++When importing a certificate reply, the certificate reply is validated using trusted certificates from the keystore, and optionally using the certificates configured in the "cacerts" keystore file (if the \f2\-trustcacerts\fP option was specified). + .LP +-The methods of determining whether the certificate reply is trusted are described in the following: ++The methods of determining whether the certificate reply is trusted are described in the following: + .RS 3 + .TP 2 + o +-\f3If the reply is a single X.509 certificate\fP, \f3keytool\fP attempts to establish a trust chain, starting at the certificate reply and ending at a self\-signed certificate (belonging to a root CA). The certificate reply and the hierarchy of certificates used to authenticate the certificate reply form the new certificate chain of \f2alias\fP. If a trust chain cannot be established, the certificate reply is not imported. In this case, \f3keytool\fP does not print out the certificate and prompt the user to verify it, because it is very hard (if not impossible) for a user to determine the authenticity of the certificate reply. ++\f3If the reply is a single X.509 certificate\fP, \f3keytool\fP attempts to establish a trust chain, starting at the certificate reply and ending at a self\-signed certificate (belonging to a root CA). The certificate reply and the hierarchy of certificates used to authenticate the certificate reply form the new certificate chain of \f2alias\fP. If a trust chain cannot be established, the certificate reply is not imported. In this case, \f3keytool\fP does not print out the certificate and prompt the user to verify it, because it is very hard (if not impossible) for a user to determine the authenticity of the certificate reply. + .TP 2 + o +-\f3If the reply is a PKCS#7 formatted certificate chain or a sequence of X.509 certificates\fP, the chain is ordered with the user certificate first followed by zero or more CA certificates. If the chain ends with a self\-signed root CA certificate and \f2\-trustcacerts\fP option was specified, \f3keytool\fP will attempt to match it with any of the trusted certificates in the keystore or the "cacerts" keystore file. If the chain does not end with a self\-signed root CA certificate and the \f2\-trustcacerts\fP option was specified, \f3keytool\fP will try to find one from the trusted certificates in the keystore or the "cacerts" keystore file and add it to the end of the chain. If the certificate is not found and \f2\-noprompt\fP option is not specified, the information of the last certificate in the chain is printed out, and the user is prompted to verify it. ++\f3If the reply is a PKCS#7 formatted certificate chain or a sequence of X.509 certificates\fP, the chain is ordered with the user certificate first followed by zero or more CA certificates. If the chain ends with a self\-signed root CA certificate and \f2\-trustcacerts\fP option was specified, \f3keytool\fP will attempt to match it with any of the trusted certificates in the keystore or the "cacerts" keystore file. If the chain does not end with a self\-signed root CA certificate and the \f2\-trustcacerts\fP option was specified, \f3keytool\fP will try to find one from the trusted certificates in the keystore or the "cacerts" keystore file and add it to the end of the chain. If the certificate is not found and \f2\-noprompt\fP option is not specified, the information of the last certificate in the chain is printed out, and the user is prompted to verify it. + .RE + .LP +-If the public key in the certificate reply matches the user's public key already stored with under \f2alias\fP, the old certificate chain is replaced with the new certificate chain in the reply. The old chain can only be replaced if a valid \f2keypass\fP, the password used to protect the private key of the entry, is supplied. If no password is provided, and the private key password is different from the keystore password, the user is prompted for it. ++If the public key in the certificate reply matches the user's public key already stored with under \f2alias\fP, the old certificate chain is replaced with the new certificate chain in the reply. The old chain can only be replaced if a valid \f2keypass\fP, the password used to protect the private key of the entry, is supplied. If no password is provided, and the private key password is different from the keystore password, the user is prompted for it. + .LP +-This command was named \f2\-import\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-importcert\fP, is preferred going forward. ++This command was named \f2\-import\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-importcert\fP, is preferred going forward. + .TP 3 +-\-importkeystore \-srckeystore srckeystore \-destkeystore destkeystore {\-srcstoretype srcstoretype} {\-deststoretype deststoretype} [\-srcstorepass srcstorepass] [\-deststorepass deststorepass] {\-srcprotected} {\-destprotected} {\-srcalias srcalias {\-destalias destalias} [\-srckeypass srckeypass] [\-destkeypass destkeypass] } {\-noprompt} {\-srcProviderName src_provider_name} {\-destProviderName dest_provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-importkeystore \-srckeystore srckeystore \-destkeystore destkeystore {\-srcstoretype srcstoretype} {\-deststoretype deststoretype} [\-srcstorepass srcstorepass] [\-deststorepass deststorepass] {\-srcprotected} {\-destprotected} {\-srcalias srcalias {\-destalias destalias} [\-srckeypass srckeypass] [\-destkeypass destkeypass] } {\-noprompt} {\-srcProviderName src_provider_name} {\-destProviderName dest_provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Imports a single entry or all entries from a source keystore to a destination keystore. ++Imports a single entry or all entries from a source keystore to a destination keystore. + .LP +-When the \f2srcalias\fP option is provided, the command imports the single entry identified by the alias to the destination keystore. If a destination alias is not provided with \f2destalias\fP, then \f2srcalias\fP is used as the destination alias. If the source entry is protected by a password, \f2srckeypass\fP will be used to recover the entry. If \f2srckeypass\fP is not provided, then \f3keytool\fP will attempt to use \f2srcstorepass\fP to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. The destination entry will be protected using \f2destkeypass\fP. If \f2destkeypass\fP is not provided, the destination entry will be protected with the source entry password. ++When the \f2srcalias\fP option is provided, the command imports the single entry identified by the alias to the destination keystore. If a destination alias is not provided with \f2destalias\fP, then \f2srcalias\fP is used as the destination alias. If the source entry is protected by a password, \f2srckeypass\fP will be used to recover the entry. If \f2srckeypass\fP is not provided, then \f3keytool\fP will attempt to use \f2srcstorepass\fP to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. The destination entry will be protected using \f2destkeypass\fP. If \f2destkeypass\fP is not provided, the destination entry will be protected with the source entry password. + .LP +-If the \f2srcalias\fP option is not provided, then all entries in the source keystore are imported into the destination keystore. Each destination entry will be stored under the alias from the source entry. If the source entry is protected by a password, \f2srcstorepass\fP will be used to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. If a source keystore entry type is not supported in the destination keystore, or if an error occurs while storing an entry into the destination keystore, the user will be prompted whether to skip the entry and continue, or to quit. The destination entry will be protected with the source entry password. ++If the \f2srcalias\fP option is not provided, then all entries in the source keystore are imported into the destination keystore. Each destination entry will be stored under the alias from the source entry. If the source entry is protected by a password, \f2srcstorepass\fP will be used to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. If a source keystore entry type is not supported in the destination keystore, or if an error occurs while storing an entry into the destination keystore, the user will be prompted whether to skip the entry and continue, or to quit. The destination entry will be protected with the source entry password. + .LP +-If the destination alias already exists in the destination keystore, the user is prompted to either overwrite the entry, or to create a new entry under a different alias name. ++If the destination alias already exists in the destination keystore, the user is prompted to either overwrite the entry, or to create a new entry under a different alias name. + .LP +-Note that if \f2\-noprompt\fP is provided, the user will not be prompted for a new destination alias. Existing entries will automatically be overwritten with the destination alias name. Finally, entries that can not be imported are automatically skipped and a warning is output. ++Note that if \f2\-noprompt\fP is provided, the user will not be prompted for a new destination alias. Existing entries will automatically be overwritten with the destination alias name. Finally, entries that can not be imported are automatically skipped and a warning is output. + .TP 3 +-\-printcertreq {\-file file} ++\-printcertreq {\-file file} + .LP +-Prints the content of a PKCS #10 format certificate request, which can be generated by the keytool \-certreq command. The command reads the request from file; if omitted, from the standard input. ++Prints the content of a PKCS #10 format certificate request, which can be generated by the keytool \-certreq command. The command reads the request from file; if omitted, from the standard input. + .RE + + .LP +-.SS ++.SS + Exporting Data + .LP + .RS 3 + .TP 3 +-\-certreq {\-alias alias} {\-dname dname} {\-sigalg sigalg} {\-file certreq_file} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-certreq {\-alias alias} {\-dname dname} {\-sigalg sigalg} {\-file certreq_file} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Generates a Certificate Signing Request (CSR), using the PKCS#10 format. ++Generates a Certificate Signing Request (CSR), using the PKCS#10 format. + .LP +-A CSR is intended to be sent to a certificate authority (CA). The CA will authenticate the certificate requestor (usually off\-line) and will return a certificate or certificate chain, used to replace the existing certificate chain (which initially consists of a self\-signed certificate) in the keystore. ++A CSR is intended to be sent to a certificate authority (CA). The CA will authenticate the certificate requestor (usually off\-line) and will return a certificate or certificate chain, used to replace the existing certificate chain (which initially consists of a self\-signed certificate) in the keystore. + .LP +-The private key associated with \f2alias\fP is used to create the PKCS#10 certificate request. In order to access the private key, the appropriate password must be provided, since private keys are protected in the keystore with a password. If \f2keypass\fP is not provided at the command line, and is different from the password used to protect the integrity of the keystore, the user is prompted for it. If dname is provided, it's used as the subject in the CSR. Otherwise, the X.500 Distinguished Name associated with alias is used. ++The private key associated with \f2alias\fP is used to create the PKCS#10 certificate request. In order to access the private key, the appropriate password must be provided, since private keys are protected in the keystore with a password. If \f2keypass\fP is not provided at the command line, and is different from the password used to protect the integrity of the keystore, the user is prompted for it. If dname is provided, it's used as the subject in the CSR. Otherwise, the X.500 Distinguished Name associated with alias is used. + .LP +-\f2sigalg\fP specifies the algorithm that should be used to sign the CSR. ++\f2sigalg\fP specifies the algorithm that should be used to sign the CSR. + .LP +-The CSR is stored in the file \f2certreq_file\fP. If no file is given, the CSR is output to stdout. ++The CSR is stored in the file \f2certreq_file\fP. If no file is given, the CSR is output to stdout. + .LP +-Use the \f2importcert\fP command to import the response from the CA. ++Use the \f2importcert\fP command to import the response from the CA. + .TP 3 +-\-exportcert {\-alias alias} {\-file cert_file} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-rfc} {\-v} {\-protected} {\-Jjavaoption} ++\-exportcert {\-alias alias} {\-file cert_file} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-rfc} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Reads (from the keystore) the certificate associated with \f2alias\fP, and stores it in the file \f2cert_file\fP. ++Reads (from the keystore) the certificate associated with \f2alias\fP, and stores it in the file \f2cert_file\fP. + .LP +-If no file is given, the certificate is output to stdout. ++If no file is given, the certificate is output to stdout. + .LP +-The certificate is by default output in binary encoding, but will instead be output in the printable encoding format, as defined by the Internet RFC 1421 standard, if the \f2\-rfc\fP option is specified. ++The certificate is by default output in binary encoding, but will instead be output in the printable encoding format, as defined by the Internet RFC 1421 standard, if the \f2\-rfc\fP option is specified. + .LP +-If \f2alias\fP refers to a trusted certificate, that certificate is output. Otherwise, \f2alias\fP refers to a key entry with an associated certificate chain. In that case, the first certificate in the chain is returned. This certificate authenticates the public key of the entity addressed by \f2alias\fP. ++If \f2alias\fP refers to a trusted certificate, that certificate is output. Otherwise, \f2alias\fP refers to a key entry with an associated certificate chain. In that case, the first certificate in the chain is returned. This certificate authenticates the public key of the entity addressed by \f2alias\fP. + .LP +-This command was named \f2\-export\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-exportcert\fP, is preferred going forward. ++This command was named \f2\-export\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-exportcert\fP, is preferred going forward. + .RE + + .LP +-.SS ++.SS + Displaying Data + .LP + .RS 3 + .TP 3 +-\-list {\-alias alias} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v | \-rfc} {\-protected} {\-Jjavaoption} ++\-list {\-alias alias} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v | \-rfc} {\-protected} {\-Jjavaoption} + .LP +-Prints (to stdout) the contents of the keystore entry identified by \f2alias\fP. If no alias is specified, the contents of the entire keystore are printed. ++Prints (to stdout) the contents of the keystore entry identified by \f2alias\fP. If no alias is specified, the contents of the entire keystore are printed. + .LP +-This command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, with additional information such as the owner, issuer, serial number, and any extensions. If the \f2\-rfc\fP option is specified, certificate contents are printed using the printable encoding format, as defined by the Internet RFC 1421 standard ++This command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, with additional information such as the owner, issuer, serial number, and any extensions. If the \f2\-rfc\fP option is specified, certificate contents are printed using the printable encoding format, as defined by the Internet RFC 1421 standard + .LP +-You cannot specify both \f2\-v\fP and \f2\-rfc\fP. ++You cannot specify both \f2\-v\fP and \f2\-rfc\fP. + .TP 3 +-\-printcert {\-file cert_file | \-sslserver host[:port]} {\-jarfile JAR_file {\-rfc} {\-v} {\-Jjavaoption} ++\-printcert {\-file cert_file | \-sslserver host[:port]} {\-jarfile JAR_file {\-rfc} {\-v} {\-Jjavaoption} + .LP +-Reads the certificate from the file \f2cert_file\fP, the SSL server located at \f2host:port\fP, or the signed JAR file \f2JAR_file\fP (with the option \f2\-jarfile\fP and prints its contents in a human\-readable format. When no port is specified, the standard HTTPS port 443 is assumed. Note that \f2\-sslserver\fP and \f2\-file\fP options cannot be provided at the same time. Otherwise, an error is reported. If neither option is given, the certificate is read from stdin. ++Reads the certificate from the file \f2cert_file\fP, the SSL server located at \f2host:port\fP, or the signed JAR file \f2JAR_file\fP (with the option \f2\-jarfile\fP and prints its contents in a human\-readable format. When no port is specified, the standard HTTPS port 443 is assumed. Note that \f2\-sslserver\fP and \f2\-file\fP options cannot be provided at the same time. Otherwise, an error is reported. If neither option is given, the certificate is read from stdin. + .LP +-If \f2\-rfc\fP is specified, keytool prints the certificate in PEM mode as defined by the Internet RFC 1421 standard. ++If \f2\-rfc\fP is specified, keytool prints the certificate in PEM mode as defined by the Internet RFC 1421 standard. + .LP +-If the certificate is read from a file or stdin, it may be either binary encoded or in printable encoding format, as defined by the Internet RFC 1421 standard ++If the certificate is read from a file or stdin, it may be either binary encoded or in printable encoding format, as defined by the Internet RFC 1421 standard + .LP +-If the SSL server is behind a firewall, \f2\-J\-Dhttps.proxyHost=proxyhost\fP and \f2\-J\-Dhttps.proxyPort=proxyport\fP can be specified on the command line for proxy tunneling. See the ++If the SSL server is behind a firewall, \f2\-J\-Dhttps.proxyHost=proxyhost\fP and \f2\-J\-Dhttps.proxyPort=proxyport\fP can be specified on the command line for proxy tunneling. See the + .na + \f2JSSE Reference Guide\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html for more information. ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html for more information. + .LP +-\f3Note\fP: This option can be used independently of a keystore. ++\f3Note\fP: This option can be used independently of a keystore. + .TP 3 +-\-printcrl \-file crl_ {\-v} ++\-printcrl \-file crl_ {\-v} + .LP +-Reads the certificate revocation list (CRL) from the file \f2crl_file\fP. ++Reads the certificate revocation list (CRL) from the file \f2crl_file\fP. + .LP +-A Certificate Revocation List (CRL) is a list of digital certificates which have been revoked by the Certificate Authority (CA) that issued them. The CA generates \f2crl_file\fP. ++A Certificate Revocation List (CRL) is a list of digital certificates which have been revoked by the Certificate Authority (CA) that issued them. The CA generates \f2crl_file\fP. + .LP +-\f3Note\fP: This option can be used independently of a keystore. ++\f3Note\fP: This option can be used independently of a keystore. + .RE + + .LP +-.SS ++.SS + Managing the Keystore + .LP + .RS 3 + .TP 3 +-\-storepasswd [\-new new_storepass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} ++\-storepasswd [\-new new_storepass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} + .LP +-Changes the password used to protect the integrity of the keystore contents. The new password is \f2new_storepass\fP, which must be at least 6 characters long. ++Changes the password used to protect the integrity of the keystore contents. The new password is \f2new_storepass\fP, which must be at least 6 characters long. + .TP 3 +-\-keypasswd {\-alias alias} [\-keypass old_keypass] [\-new new_keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} ++\-keypasswd {\-alias alias} [\-keypass old_keypass] [\-new new_keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} + .LP +-Changes the password under which the private/secret key identified by \f2alias\fP is protected, from \f2old_keypass\fP to \f2new_keypass\fP, which must be at least 6 characters long. ++Changes the password under which the private/secret key identified by \f2alias\fP is protected, from \f2old_keypass\fP to \f2new_keypass\fP, which must be at least 6 characters long. + .LP +-If the \f2\-keypass\fP option is not provided at the command line, and the key password is different from the keystore password, the user is prompted for it. ++If the \f2\-keypass\fP option is not provided at the command line, and the key password is different from the keystore password, the user is prompted for it. + .LP +-If the \f2\-new\fP option is not provided at the command line, the user is prompted for it. ++If the \f2\-new\fP option is not provided at the command line, the user is prompted for it. + .TP 3 +-\-delete [\-alias alias] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-delete [\-alias alias] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Deletes from the keystore the entry identified by \f2alias\fP. The user is prompted for the alias, if no alias is provided at the command line. ++Deletes from the keystore the entry identified by \f2alias\fP. The user is prompted for the alias, if no alias is provided at the command line. + .TP 3 +-\-changealias {\-alias alias} [\-destalias destalias] [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} ++\-changealias {\-alias alias} [\-destalias destalias] [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} + .LP +-Move an existing keystore entry from the specified \f2alias\fP to a new alias, \f2destalias\fP. If no destination alias is provided, the command will prompt for one. If the original entry is protected with an entry password, the password can be supplied via the "\-keypass" option. If no key password is provided, the \f2storepass\fP (if given) will be attempted first. If that attempt fails, the user will be prompted for a password. ++Move an existing keystore entry from the specified \f2alias\fP to a new alias, \f2destalias\fP. If no destination alias is provided, the command will prompt for one. If the original entry is protected with an entry password, the password can be supplied via the "\-keypass" option. If no key password is provided, the \f2storepass\fP (if given) will be attempted first. If that attempt fails, the user will be prompted for a password. + .RE + + .LP +-.SS ++.SS + Getting Help + .LP + .RS 3 + .TP 3 +-\-help ++\-help + .LP +-Lists the basic commands and their options. ++Lists the basic commands and their options. + .LP +-For more information about a specific command, enter the following, where \f2command_name\fP is the name of the command: ++For more information about a specific command, enter the following, where \f2command_name\fP is the name of the command: + .nf + \f3 + .fl +@@ -995,7 +997,7 @@ + .LP + Suppose you want to create a keystore for managing your public/private key pair and certificates from entities you trust. + .LP +-.SS ++.SS + Generating Your Key Pair + .LP + .LP +@@ -1041,7 +1043,7 @@ + .LP + The rest of the examples assume you executed the \f2\-genkeypair\fP command without options specified, and that you responded to the prompts with values equal to those given in the first \f2\-genkeypair\fP command, above (for example, a distinguished name of "cn=Mark Jones, ou=Java, o=Oracle, c=US"). + .LP +-.SS ++.SS + Requesting a Signed Certificate from a Certification Authority + .LP + .LP +@@ -1059,7 +1061,7 @@ + .LP + This creates a CSR (for the entity identified by the default alias "mykey") and puts the request in the file named "MarkJ.csr". Submit this file to a CA, such as VeriSign, Inc. The CA will authenticate you, the requestor (usually off\-line), and then will return a certificate, signed by them, authenticating your public key. (In some cases, they will actually return a chain of certificates, each one authenticating the public key of the signer of the previous certificate in the chain.) + .LP +-.SS ++.SS + Importing a Certificate for the CA + .LP + .LP +@@ -1071,10 +1073,10 @@ + .RS 3 + .TP 2 + o +-If the certificate reply is a certificate chain, you just need the top certificate of the chain (that is, the "root" CA certificate authenticating that CA's public key). ++If the certificate reply is a certificate chain, you just need the top certificate of the chain (that is, the "root" CA certificate authenticating that CA's public key). + .TP 2 + o +-If the certificate reply is a single certificate, you need a certificate for the issuing CA (the one that signed it), and if that certificate is not self\-signed, you need a certificate for its signer, and so on, up to a self\-signed "root" CA certificate. ++If the certificate reply is a single certificate, you need a certificate for the issuing CA (the one that signed it), and if that certificate is not self\-signed, you need a certificate for its signer, and so on, up to a self\-signed "root" CA certificate. + .RE + + .LP +@@ -1102,11 +1104,11 @@ + .LP + This creates a "trusted certificate" entry in the keystore, with the data from the file "ABCCA.cer", and assigns the alias "abc" to the entry. + .LP +-.SS ++.SS + Importing the Certificate Reply from the CA + .LP + .LP +-Once you've imported a certificate authenticating the public key of the CA you submitted your certificate signing request to (or there's already such a certificate in the "cacerts" file), you can import the certificate reply and thereby replace your self\-signed certificate with a certificate chain. This chain is the one returned by the CA in response to your request (if the CA reply is a chain), or one constructed (if the CA reply is a single certificate) using the certificate reply and trusted certificates that are already available in the keystore where you import the reply or in the "cacerts" keystore file. ++Once you've imported a certificate authenticating the public key of the CA you submitted your certificate signing request to (or there is already such a certificate in the "cacerts" file), you can import the certificate reply and thereby replace your self\-signed certificate with a certificate chain. This chain is the one returned by the CA in response to your request (if the CA reply is a chain), or one constructed (if the CA reply is a single certificate) using the certificate reply and trusted certificates that are already available in the keystore where you import the reply or in the "cacerts" keystore file. + .LP + .LP + For example, suppose you sent your certificate signing request to VeriSign. You can then import the reply via the following, which assumes the returned certificate is named "VSMarkJ.cer": +@@ -1120,7 +1122,7 @@ + .fi + + .LP +-.SS ++.SS + Exporting a Certificate Authenticating Your Public Key + .LP + .LP +@@ -1141,7 +1143,7 @@ + .LP + Given that certificate, and the signed JAR file, a client can use the \f3jarsigner\fP tool to authenticate your signature. + .LP +-.SS ++.SS + Importing Keystore + .LP + .LP +@@ -1189,7 +1191,7 @@ + .fi + + .LP +-.SS ++.SS + Generating Certificates for a Typical SSL Server + .LP + .LP +@@ -1226,7 +1228,7 @@ + .LP + .SH "TERMINOLOGY and WARNINGS" + .LP +-.SS ++.SS + KeyStore + .LP + .LP +@@ -1235,26 +1237,26 @@ + .RS 3 + .TP 2 + o +-\f3KeyStore Entries\fP ++\f3KeyStore Entries\fP + .LP +-Keystores may have different types of entries. The two most applicable entry types for \f3keytool\fP include: ++Keystores may have different types of entries. The two most applicable entry types for \f3keytool\fP include: + .RS 3 + .TP 3 + 1. +-\f3key entries\fP \- each holds very sensitive cryptographic key information, which is stored in a protected format to prevent unauthorized access. Typically, a key stored in this type of entry is a secret key, or a private key accompanied by the certificate "chain" for the corresponding public key. The \f3keytool\fP can handle both types of entries, while the \f3jarsigner\fP tool only handle the latter type of entry, that is private keys and their associated certificate chains. ++\f3key entries\fP \- each holds very sensitive cryptographic key information, which is stored in a protected format to prevent unauthorized access. Typically, a key stored in this type of entry is a secret key, or a private key accompanied by the certificate "chain" for the corresponding public key. The \f3keytool\fP can handle both types of entries, while the \f3jarsigner\fP tool only handle the latter type of entry, that is private keys and their associated certificate chains. + .TP 3 + 2. +-\f3trusted certificate entries\fP \- each contains a single public key certificate belonging to another party. It is called a "trusted certificate" because the keystore owner trusts that the public key in the certificate indeed belongs to the identity identified by the "subject" (owner) of the certificate. The issuer of the certificate vouches for this, by signing the certificate. ++\f3trusted certificate entries\fP \- each contains a single public key certificate belonging to another party. It is called a "trusted certificate" because the keystore owner trusts that the public key in the certificate indeed belongs to the identity identified by the "subject" (owner) of the certificate. The issuer of the certificate vouches for this, by signing the certificate. + .RE + .TP 2 + o +-\f3KeyStore Aliases\fP ++\f3KeyStore Aliases\fP + .LP +-All keystore entries (key and trusted certificate entries) are accessed via unique \f2aliases\fP. ++All keystore entries (key and trusted certificate entries) are accessed via unique \f2aliases\fP. + .LP +-An alias is specified when you add an entity to the keystore using the \-genseckey command to generate a secret key, \-genkeypair command to generate a key pair (public and private key) or the \-importcert command to add a certificate or certificate chain to the list of trusted certificates. Subsequent \f3keytool\fP commands must use this same alias to refer to the entity. ++An alias is specified when you add an entity to the keystore using the \-genseckey command to generate a secret key, \-genkeypair command to generate a key pair (public and private key) or the \-importcert command to add a certificate or certificate chain to the list of trusted certificates. Subsequent \f3keytool\fP commands must use this same alias to refer to the entity. + .LP +-For example, suppose you use the alias \f2duke\fP to generate a new public/private key pair and wrap the public key into a self\-signed certificate (see Certificate Chains) via the following command: ++For example, suppose you use the alias \f2duke\fP to generate a new public/private key pair and wrap the public key into a self\-signed certificate (see Certificate Chains) via the following command: + .nf + \f3 + .fl +@@ -1263,7 +1265,7 @@ + \fP + .fi + .LP +-This specifies an initial password of "dukekeypasswd" required by subsequent commands to access the private key associated with the alias \f2duke\fP. If you later want to change duke's private key password, you use a command like the following: ++This specifies an initial password of "dukekeypasswd" required by subsequent commands to access the private key associated with the alias \f2duke\fP. If you later want to change duke's private key password, you use a command like the following: + .nf + \f3 + .fl +@@ -1272,36 +1274,36 @@ + \fP + .fi + .LP +-This changes the password from "dukekeypasswd" to "newpass". ++This changes the password from "dukekeypasswd" to "newpass". + .LP +-Please note: A password should not actually be specified on a command line or in a script unless it is for testing purposes, or you are on a secure system. If you don't specify a required password option on a command line, you will be prompted for it. ++Please note: A password should not actually be specified on a command line or in a script unless it is for testing purposes, or you are on a secure system. If you don't specify a required password option on a command line, you will be prompted for it. + .TP 2 + o +-\f3KeyStore Implementation\fP ++\f3KeyStore Implementation\fP + .LP +-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. ++The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. + .LP +-Currently, two command\-line tools (\f3keytool\fP and \f3jarsigner\fP) and a GUI\-based tool named \f3Policy Tool\fP make use of keystore implementations. Since \f2KeyStore\fP is publicly available, users can write additional security applications that use it. ++Currently, two command\-line tools (\f3keytool\fP and \f3jarsigner\fP) and a GUI\-based tool named \f3Policy Tool\fP make use of keystore implementations. Since \f2KeyStore\fP is publicly available, users can write additional security applications that use it. + .LP +-There is a built\-in default implementation, provided by Oracle. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. ++There is a built\-in default implementation, provided by Oracle. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. + .LP +-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a "provider" and supply a KeystoreSpi subclass implementation, as described in ++Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a "provider" and supply a KeystoreSpi subclass implementation, as described in + .na + \f2How to Implement a Provider for the Java Cryptography Architecture\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. + .LP +-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. ++Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. + .LP +-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. ++\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. + .LP +-For \f3keytool\fP and \f3jarsigner\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Keystore" menu. ++For \f3keytool\fP and \f3jarsigner\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Keystore" menu. + .LP +-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). ++If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). + .LP +-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. ++Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. + .LP +-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): ++The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): + .nf + \f3 + .fl +@@ -1310,7 +1312,7 @@ + \fP + .fi + .LP +-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Oracle). This is specified by the following line in the security properties file: ++The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Oracle). This is specified by the following line in the security properties file: + .nf + \f3 + .fl +@@ -1319,9 +1321,9 @@ + \fP + .fi + .LP +-To have the tools utilize a keystore implementation other than the default, you can change that line to specify a different keystore type. ++To have the tools utilize a keystore implementation other than the default, you can change that line to specify a different keystore type. + .LP +-For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to ++For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to + .nf + \f3 + .fl +@@ -1330,100 +1332,100 @@ + \fP + .fi + .LP +-Note: case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". ++Note: case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". + .RE + + .LP +-.SS ++.SS + Certificate + .LP +-A \f3certificate\fP (also known as a \f3public\-key certificate\fP) is a digitally signed statement from one entity (the \f2issuer\fP), saying that the public key (and some other information) of another entity (the \f2subject\fP) has some specific value. ++A \f3certificate\fP (also known as a \f3public\-key certificate\fP) is a digitally signed statement from one entity (the \f2issuer\fP), saying that the public key (and some other information) of another entity (the \f2subject\fP) has some specific value. + .RS 3 + .TP 2 + o +-\f3Certificate Terms\fP ++\f3Certificate Terms\fP + .RS 3 + .TP 3 +-Public Keys ++Public Keys + .LP +-These are numbers associated with a particular entity, and are intended to be known to everyone who needs to have trusted interactions with that entity. Public keys are used to verify signatures. ++These are numbers associated with a particular entity, and are intended to be known to everyone who needs to have trusted interactions with that entity. Public keys are used to verify signatures. + .TP 3 +-Digitally Signed ++Digitally Signed + .LP +-If some data is \f2digitally signed\fP it has been stored with the "identity" of an entity, and a signature that proves that entity knows about the data. The data is rendered unforgeable by signing with the entity's private key. ++If some data is \f2digitally signed\fP it has been stored with the "identity" of an entity, and a signature that proves that entity knows about the data. The data is rendered unforgeable by signing with the entity's private key. + .TP 3 +-Identity ++Identity + .LP +-A known way of addressing an entity. In some systems the identity is the public key, in others it can be anything from a Unix UID to an Email address to an X.509 Distinguished Name. ++A known way of addressing an entity. In some systems the identity is the public key, in others it can be anything from a Unix UID to an Email address to an X.509 Distinguished Name. + .TP 3 +-Signature ++Signature + .LP +-A signature is computed over some data using the private key of an entity (the \f2signer\fP, which in the case of a certificate is also known as the \f2issuer\fP). ++A signature is computed over some data using the private key of an entity (the \f2signer\fP, which in the case of a certificate is also known as the \f2issuer\fP). + .TP 3 +-Private Keys ++Private Keys + .LP +-These are numbers, each of which is supposed to be known only to the particular entity whose private key it is (that is, it's supposed to be kept secret). Private and public keys exist in pairs in all public key cryptography systems (also referred to as "public key crypto systems"). In a typical public key crypto system, such as DSA, a private key corresponds to exactly one public key. Private keys are used to compute signatures. ++These are numbers, each of which is supposed to be known only to the particular entity whose private key it is (that is, it's supposed to be kept secret). Private and public keys exist in pairs in all public key cryptography systems (also referred to as "public key crypto systems"). In a typical public key crypto system, such as DSA, a private key corresponds to exactly one public key. Private keys are used to compute signatures. + .TP 3 +-Entity ++Entity + .LP +-An entity is a person, organization, program, computer, business, bank, or something else you are trusting to some degree. ++An entity is a person, organization, program, computer, business, bank, or something else you are trusting to some degree. + .RE + .LP +-Basically, public key cryptography requires access to users' public keys. In a large\-scale networked environment it is impossible to guarantee that prior relationships between communicating entities have been established or that a trusted repository exists with all used public keys. Certificates were invented as a solution to this public key distribution problem. Now a \f2Certification Authority\fP (CA) can act as a trusted third party. CAs are entities (for example, businesses) that are trusted to sign (issue) certificates for other entities. It is assumed that CAs will only create valid and reliable certificates, as they are bound by legal agreements. There are many public Certification Authorities, such as ++Basically, public key cryptography requires access to users' public keys. In a large\-scale networked environment it is impossible to guarantee that prior relationships between communicating entities have been established or that a trusted repository exists with all used public keys. Certificates were invented as a solution to this public key distribution problem. Now a \f2Certification Authority\fP (CA) can act as a trusted third party. CAs are entities (for example, businesses) that are trusted to sign (issue) certificates for other entities. It is assumed that CAs will only create valid and reliable certificates, as they are bound by legal agreements. There are many public Certification Authorities, such as + .na + \f2VeriSign\fP @ + .fi +-http://www.verisign.com/, ++http://www.verisign.com/, + .na + \f2Thawte\fP @ + .fi +-http://www.thawte.com/, ++http://www.thawte.com/, + .na + \f2Entrust\fP @ + .fi +-http://www.entrust.com/, and so on. You can also run your own Certification Authority using products such as Microsoft Certificate Server or the Entrust CA product for your organization. ++http://www.entrust.com/, and so on. You can also run your own Certification Authority using products such as Microsoft Certificate Server or the Entrust CA product for your organization. + .LP +-Using \f3keytool\fP, it is possible to display, import, and export certificates. It is also possible to generate self\-signed certificates. ++Using \f3keytool\fP, it is possible to display, import, and export certificates. It is also possible to generate self\-signed certificates. + .LP +-\f3keytool\fP currently handles X.509 certificates. ++\f3keytool\fP currently handles X.509 certificates. + .TP 2 + o +-\f3X.509 Certificates\fP ++\f3X.509 Certificates\fP + .LP +-The X.509 standard defines what information can go into a certificate, and describes how to write it down (the data format). All the data in a certificate is encoded using two related standards called ASN.1/DER. \f2Abstract Syntax Notation 1\fP describes data. The \f2Definite Encoding Rules\fP describe a single way to store and transfer that data. ++The X.509 standard defines what information can go into a certificate, and describes how to write it down (the data format). All the data in a certificate is encoded using two related standards called ASN.1/DER. \f2Abstract Syntax Notation 1\fP describes data. The \f2Definite Encoding Rules\fP describe a single way to store and transfer that data. + .LP +-All X.509 certificates have the following data, in addition to the signature: ++All X.509 certificates have the following data, in addition to the signature: + .RS 3 + .TP 3 +-Version ++Version + .LP +-This identifies which version of the X.509 standard applies to this certificate, which affects what information can be specified in it. Thus far, three versions are defined. \f3keytool\fP can import and export v1, v2, and v3 certificates. It generates v3 certificates. ++This identifies which version of the X.509 standard applies to this certificate, which affects what information can be specified in it. Thus far, three versions are defined. \f3keytool\fP can import and export v1, v2, and v3 certificates. It generates v3 certificates. + .LP +-\f2X.509 Version 1\fP has been available since 1988, is widely deployed, and is the most generic. ++\f2X.509 Version 1\fP has been available since 1988, is widely deployed, and is the most generic. + .LP +-\f2X.509 Version 2\fP introduced the concept of subject and issuer unique identifiers to handle the possibility of reuse of subject and/or issuer names over time. Most certificate profile documents strongly recommend that names not be reused, and that certificates should not make use of unique identifiers. Version 2 certificates are not widely used. ++\f2X.509 Version 2\fP introduced the concept of subject and issuer unique identifiers to handle the possibility of reuse of subject and/or issuer names over time. Most certificate profile documents strongly recommend that names not be reused, and that certificates should not make use of unique identifiers. Version 2 certificates are not widely used. + .LP +-\f2X.509 Version 3\fP is the most recent (1996) and supports the notion of extensions, whereby anyone can define an extension and include it in the certificate. Some common extensions in use today are: \f2KeyUsage\fP (limits the use of the keys to particular purposes such as "signing\-only") and \f2AlternativeNames\fP (allows other identities to also be associated with this public key, e.g. DNS names, Email addresses, IP addresses). Extensions can be marked \f2critical\fP to indicate that the extension should be checked and enforced/used. For example, if a certificate has the KeyUsage extension marked critical and set to "keyCertSign" then if this certificate is presented during SSL communication, it should be rejected, as the certificate extension indicates that the associated private key should only be used for signing certificates and not for SSL use. ++\f2X.509 Version 3\fP is the most recent (1996) and supports the notion of extensions, whereby anyone can define an extension and include it in the certificate. Some common extensions in use today are: \f2KeyUsage\fP (limits the use of the keys to particular purposes such as "signing\-only") and \f2AlternativeNames\fP (allows other identities to also be associated with this public key, e.g. DNS names, Email addresses, IP addresses). Extensions can be marked \f2critical\fP to indicate that the extension should be checked and enforced/used. For example, if a certificate has the KeyUsage extension marked critical and set to "keyCertSign" then if this certificate is presented during SSL communication, it should be rejected, as the certificate extension indicates that the associated private key should only be used for signing certificates and not for SSL use. + .TP 3 +-Serial Number ++Serial Number + .LP +-The entity that created the certificate is responsible for assigning it a serial number to distinguish it from other certificates it issues. This information is used in numerous ways, for example when a certificate is revoked its serial number is placed in a Certificate Revocation List (CRL). ++The entity that created the certificate is responsible for assigning it a serial number to distinguish it from other certificates it issues. This information is used in numerous ways, for example when a certificate is revoked its serial number is placed in a Certificate Revocation List (CRL). + .TP 3 +-Signature Algorithm Identifier ++Signature Algorithm Identifier + .LP +-This identifies the algorithm used by the CA to sign the certificate. ++This identifies the algorithm used by the CA to sign the certificate. + .TP 3 +-Issuer Name ++Issuer Name + .LP +-The X.500 Distinguished Name of the entity that signed the certificate. This is normally a CA. Using this certificate implies trusting the entity that signed this certificate. (Note that in some cases, such as \f2root or top\-level\fP CA certificates, the issuer signs its own certificate.) ++The X.500 Distinguished Name of the entity that signed the certificate. This is normally a CA. Using this certificate implies trusting the entity that signed this certificate. (Note that in some cases, such as \f2root or top\-level\fP CA certificates, the issuer signs its own certificate.) + .TP 3 +-Validity Period ++Validity Period + .LP +-Each certificate is valid only for a limited amount of time. This period is described by a start date and time and an end date and time, and can be as short as a few seconds or almost as long as a century. The validity period chosen depends on a number of factors, such as the strength of the private key used to sign the certificate or the amount one is willing to pay for a certificate. This is the expected period that entities can rely on the public value, if the associated private key has not been compromised. ++Each certificate is valid only for a limited amount of time. This period is described by a start date and time and an end date and time, and can be as short as a few seconds or almost as long as a century. The validity period chosen depends on a number of factors, such as the strength of the private key used to sign the certificate or the amount one is willing to pay for a certificate. This is the expected period that entities can rely on the public value, if the associated private key has not been compromised. + .TP 3 +-Subject Name ++Subject Name + .LP +-The name of the entity whose public key the certificate identifies. This name uses the X.500 standard, so it is intended to be unique across the Internet. This is the X.500 Distinguished Name (DN) of the entity, for example, ++The name of the entity whose public key the certificate identifies. This name uses the X.500 standard, so it is intended to be unique across the Internet. This is the X.500 Distinguished Name (DN) of the entity, for example, + .nf + \f3 + .fl +@@ -1432,36 +1434,36 @@ + \fP + .fi + .LP +-(These refer to the subject's Common Name, Organizational Unit, Organization, and Country.) ++(These refer to the subject's Common Name, Organizational Unit, Organization, and Country.) + .TP 3 +-Subject Public Key Information ++Subject Public Key Information + .LP +-This is the public key of the entity being named, together with an algorithm identifier which specifies which public key crypto system this key belongs to and any associated key parameters. ++This is the public key of the entity being named, together with an algorithm identifier which specifies which public key crypto system this key belongs to and any associated key parameters. + .RE + .TP 2 + o +-\f3Certificate Chains\fP ++\f3Certificate Chains\fP + .LP +-\f3keytool\fP can create and manage keystore "key" entries that each contain a private key and an associated certificate "chain". The first certificate in the chain contains the public key corresponding to the private key. ++\f3keytool\fP can create and manage keystore "key" entries that each contain a private key and an associated certificate "chain". The first certificate in the chain contains the public key corresponding to the private key. + .LP +-When keys are first generated (see the \-genkeypair command), the chain starts off containing a single element, a \f2self\-signed certificate\fP. A self\-signed certificate is one for which the issuer (signer) is the same as the subject (the entity whose public key is being authenticated by the certificate). Whenever the \f2\-genkeypair\fP command is called to generate a new public/private key pair, it also wraps the public key into a self\-signed certificate. ++When keys are first generated (see the \-genkeypair command), the chain starts off containing a single element, a \f2self\-signed certificate\fP. A self\-signed certificate is one for which the issuer (signer) is the same as the subject (the entity whose public key is being authenticated by the certificate). Whenever the \f2\-genkeypair\fP command is called to generate a new public/private key pair, it also wraps the public key into a self\-signed certificate. + .LP +-Later, after a Certificate Signing Request (CSR) has been generated (see the \-certreq command) and sent to a Certification Authority (CA), the response from the CA is imported (see \-importcert), and the self\-signed certificate is replaced by a chain of certificates. At the bottom of the chain is the certificate (reply) issued by the CA authenticating the subject's public key. The next certificate in the chain is one that authenticates the \f2CA\fP's public key. ++Later, after a Certificate Signing Request (CSR) has been generated (see the \-certreq command) and sent to a Certification Authority (CA), the response from the CA is imported (see \-importcert), and the self\-signed certificate is replaced by a chain of certificates. At the bottom of the chain is the certificate (reply) issued by the CA authenticating the subject's public key. The next certificate in the chain is one that authenticates the \f2CA\fP's public key. + .LP +-In many cases, this is a self\-signed certificate (that is, a certificate from the CA authenticating its own public key) and the last certificate in the chain. In other cases, the CA may return a chain of certificates. In this case, the bottom certificate in the chain is the same (a certificate signed by the CA, authenticating the public key of the key entry), but the second certificate in the chain is a certificate signed by a \f2different\fP CA, authenticating the public key of the CA you sent the CSR to. Then, the next certificate in the chain will be a certificate authenticating the second CA's key, and so on, until a self\-signed "root" certificate is reached. Each certificate in the chain (after the first) thus authenticates the public key of the signer of the previous certificate in the chain. ++In many cases, this is a self\-signed certificate (that is, a certificate from the CA authenticating its own public key) and the last certificate in the chain. In other cases, the CA may return a chain of certificates. In this case, the bottom certificate in the chain is the same (a certificate signed by the CA, authenticating the public key of the key entry), but the second certificate in the chain is a certificate signed by a \f2different\fP CA, authenticating the public key of the CA you sent the CSR to. Then, the next certificate in the chain will be a certificate authenticating the second CA's key, and so on, until a self\-signed "root" certificate is reached. Each certificate in the chain (after the first) thus authenticates the public key of the signer of the previous certificate in the chain. + .LP +-Many CAs only return the issued certificate, with no supporting chain, especially when there is a flat hierarchy (no intermediates CAs). In this case, the certificate chain must be established from trusted certificate information already stored in the keystore. ++Many CAs only return the issued certificate, with no supporting chain, especially when there is a flat hierarchy (no intermediates CAs). In this case, the certificate chain must be established from trusted certificate information already stored in the keystore. + .LP +-A different reply format (defined by the PKCS#7 standard) also includes the supporting certificate chain, in addition to the issued certificate. Both reply formats can be handled by \f3keytool\fP. ++A different reply format (defined by the PKCS#7 standard) also includes the supporting certificate chain, in addition to the issued certificate. Both reply formats can be handled by \f3keytool\fP. + .LP +-The top\-level (root) CA certificate is self\-signed. However, the trust into the root's public key does not come from the root certificate itself (anybody could generate a self\-signed certificate with the distinguished name of say, the VeriSign root CA!), but from other sources like a newspaper. The root CA public key is widely known. The only reason it is stored in a certificate is because this is the format understood by most tools, so the certificate in this case is only used as a "vehicle" to transport the root CA's public key. Before you add the root CA certificate to your keystore, you should view it (using the \f2\-printcert\fP option) and compare the displayed fingerprint with the well\-known fingerprint (obtained from a newspaper, the root CA's Web page, etc.). ++The top\-level (root) CA certificate is self\-signed. However, the trust into the root's public key does not come from the root certificate itself (anybody could generate a self\-signed certificate with the distinguished name of say, the VeriSign root CA!), but from other sources like a newspaper. The root CA public key is widely known. The only reason it is stored in a certificate is because this is the format understood by most tools, so the certificate in this case is only used as a "vehicle" to transport the root CA's public key. Before you add the root CA certificate to your keystore, you should view it (using the \f2\-printcert\fP option) and compare the displayed fingerprint with the well\-known fingerprint (obtained from a newspaper, the root CA's Web page, etc.). + .TP 2 + o +-\f3The cacerts Certificates File\fP ++\f3The cacerts Certificates File\fP + .LP +-A certificates file named \f3"cacerts"\fP resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). ++A certificates file named \f3"cacerts"\fP resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). + .LP +-The "cacerts" file represents a system\-wide keystore with CA certificates. System administrators can configure and manage that file using \f3keytool\fP, specifying "jks" as the keystore type. The "cacerts" keystore file ships with a default set of root CA certificates; list them with the following command: ++The "cacerts" file represents a system\-wide keystore with CA certificates. System administrators can configure and manage that file using \f3keytool\fP, specifying "jks" as the keystore type. The "cacerts" keystore file ships with a default set of root CA certificates; list them with the following command: + .nf + \f3 + .fl +@@ -1470,22 +1472,22 @@ + \fP + .fi + .LP +-The initial password of the "cacerts" keystore file is "changeit". System administrators should change that password and the default access permission of that file upon installing the SDK. ++The initial password of the "cacerts" keystore file is "changeit". System administrators should change that password and the default access permission of that file upon installing the SDK. + .LP +-\f3IMPORTANT: Verify Your \fP\f4cacerts\fP\f3 File\fP: Since you trust the CAs in the \f2cacerts\fP file as entities for signing and issuing certificates to other entities, you must manage the \f2cacerts\fP file carefully. The \f2cacerts\fP file should contain only certificates of the CAs you trust. It is your responsibility to verify the trusted root CA certificates bundled in the \f2cacerts\fP file and make your own trust decisions. To remove an untrusted CA certificate from the \f2cacerts\fP file, use the delete option of the \f2keytool\fP command. You can find the \f2cacerts\fP file in the JRE installation directory. Contact your system administrator if you do not have permission to edit this file. ++\f3IMPORTANT: Verify Your \fP\f4cacerts\fP\f3 File\fP: Since you trust the CAs in the \f2cacerts\fP file as entities for signing and issuing certificates to other entities, you must manage the \f2cacerts\fP file carefully. The \f2cacerts\fP file should contain only certificates of the CAs you trust. It is your responsibility to verify the trusted root CA certificates bundled in the \f2cacerts\fP file and make your own trust decisions. To remove an untrusted CA certificate from the \f2cacerts\fP file, use the delete option of the \f2keytool\fP command. You can find the \f2cacerts\fP file in the JRE installation directory. Contact your system administrator if you do not have permission to edit this file. + .TP 2 + o +-\f3The Internet RFC 1421 Certificate Encoding Standard\fP ++\f3The Internet RFC 1421 Certificate Encoding Standard\fP + .LP +-Certificates are often stored using the printable encoding format defined by the Internet RFC 1421 standard, instead of their binary encoding. This certificate format, also known as "Base 64 encoding", facilitates exporting certificates to other applications by email or through some other mechanism. ++Certificates are often stored using the printable encoding format defined by the Internet RFC 1421 standard, instead of their binary encoding. This certificate format, also known as "Base 64 encoding", facilitates exporting certificates to other applications by email or through some other mechanism. + .LP +-Certificates read by the \f2\-importcert\fP and \f2\-printcert\fP commands can be in either this format or binary encoded. ++Certificates read by the \f2\-importcert\fP and \f2\-printcert\fP commands can be in either this format or binary encoded. + .LP +-The \f2\-exportcert\fP command by default outputs a certificate in binary encoding, but will instead output a certificate in the printable encoding format, if the \f2\-rfc\fP option is specified. ++The \f2\-exportcert\fP command by default outputs a certificate in binary encoding, but will instead output a certificate in the printable encoding format, if the \f2\-rfc\fP option is specified. + .LP +-The \f2\-list\fP command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, while if the \f2\-rfc\fP option is specified, the certificate is output in the printable encoding format. ++The \f2\-list\fP command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, while if the \f2\-rfc\fP option is specified, the certificate is output in the printable encoding format. + .LP +-In its printable encoding format, the encoded certificate is bounded at the beginning by ++In its printable encoding format, the encoded certificate is bounded at the beginning by + .nf + \f3 + .fl +@@ -1494,7 +1496,7 @@ + \fP + .fi + .LP +-and at the end by ++and at the end by + .nf + \f3 + .fl +@@ -1505,7 +1507,7 @@ + .RE + + .LP +-.SS ++.SS + X.500 Distinguished Names + .LP + .LP +@@ -1514,22 +1516,22 @@ + .RS 3 + .TP 2 + o +-\f2commonName\fP \- common name of a person, e.g., "Susan Jones" ++\f2commonName\fP \- common name of a person, e.g., "Susan Jones" + .TP 2 + o +-\f2organizationUnit\fP \- small organization (e.g., department or division) name, e.g., "Purchasing" ++\f2organizationUnit\fP \- small organization (e.g., department or division) name, e.g., "Purchasing" + .TP 2 + o +-\f2organizationName\fP \- large organization name, e.g., "ABCSystems, Inc." ++\f2organizationName\fP \- large organization name, e.g., "ABCSystems, Inc." + .TP 2 + o +-\f2localityName\fP \- locality (city) name, e.g., "Palo Alto" ++\f2localityName\fP \- locality (city) name, e.g., "Palo Alto" + .TP 2 + o +-\f2stateName\fP \- state or province name, e.g., "California" ++\f2stateName\fP \- state or province name, e.g., "California" + .TP 2 + o +-\f2country\fP \- two\-letter country code, e.g., "CH" ++\f2country\fP \- two\-letter country code, e.g., "CH" + .RE + + .LP +@@ -1623,7 +1625,7 @@ + .LP + It is never necessary to specify a distinguished name string on a command line. If it is needed for a command, but not supplied on the command line, the user is prompted for each of the subcomponents. In this case, a comma does not need to be escaped by a "\\". + .LP +-.SS ++.SS + WARNING Regarding Importing Trusted Certificates + .LP + .LP +@@ -1665,7 +1667,7 @@ + .LP + Note: it is not required that you execute a \f2\-printcert\fP command prior to importing a certificate, since before adding a certificate to the list of trusted certificates in the keystore, the \f2\-importcert\fP command prints out the certificate information and prompts you to verify it. You then have the option of aborting the import operation. Note, however, this is only the case if you invoke the \f2\-importcert\fP command without the \f2\-noprompt\fP option. If the \f2\-noprompt\fP option is given, there is no interaction with the user. + .LP +-.SS ++.SS + Warning Regarding Passwords + .LP + .LP +@@ -1677,11 +1679,11 @@ + .LP + If you don't specify a required password option on a command line, you will be prompted for it. + .LP +-.SS ++.SS + Warning Regarding Certificate Conformance + .LP + .LP +-The Internet standard ++The Internet standard + .na + \f2RFC 5280\fP @ + .fi +@@ -1692,21 +1694,21 @@ + .RS 3 + .TP 2 + o +-jar(1) tool documentation ++jar(1) tool documentation + .TP 2 + o +-jarsigner(1) tool documentation ++jarsigner(1) tool documentation + .TP 2 + o +-the ++the + .na + \f4Security\fP @ + .fi +-http://download.oracle.com/javase/tutorial/security/index.html trail of the ++http://docs.oracle.com/javase/tutorial/security/index.html trail of the + .na + \f4Java Tutorial\fP @ + .fi +-http://download.oracle.com/javase/tutorial/ for examples of the use of \f3keytool\fP ++http://docs.oracle.com/javase/tutorial/ for examples of the use of \f3keytool\fP + .RE + + .LP +@@ -1727,13 +1729,13 @@ + .RS 3 + .TP 2 + o +-\f2\-export\fP, renamed to \f2\-exportcert\fP ++\f2\-export\fP, renamed to \f2\-exportcert\fP + .TP 2 + o +-\f2\-genkey\fP, renamed to \f2\-genkeypair\fP ++\f2\-genkey\fP, renamed to \f2\-genkeypair\fP + .TP 2 + o +-\f2\-import\fP, renamed to \f2\-importcert\fP ++\f2\-import\fP, renamed to \f2\-importcert\fP + .RE + + .LP +@@ -1746,20 +1748,20 @@ + .na + \f2\-keyclone\fP @ + .fi +-http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#keycloneCmd ++http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#keycloneCmd + .TP 2 + o + .na + \f2\-identitydb\fP @ + .fi +-http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#identitydbCmd ++http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#identitydbCmd + .TP 2 + o + .na + \f2\-selfcert\fP @ + .fi +-http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#selfcertCmd ++http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html#selfcertCmd + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/native2ascii.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/native2ascii.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH native2ascii 1 "10 May 2011" ++.TH native2ascii 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -50,23 +50,23 @@ + .LP + .RS 3 + .TP 3 +-\-reverse ++\-reverse + Perform the reverse operation: Convert a file encoded in ISO\-8859\-1 with Unicode escapes to a file in any character encoding supported by the Java runtime environment. + .br + .br + .TP 3 +-\-encoding encoding_name +-Specifies the name of the character encoding to be used by the conversion procedure. If this option is not present, the default character encoding (as determined by the \f2java.nio.charset.Charset.defaultCharset\fP method) is used. The \f2encoding_name\fP string must be the name of a character encoding that is supported by the Java runtime environment \- see the ++\-encoding encoding_name ++Specifies the name of the character encoding to be used by the conversion procedure. If this option is not present, the default character encoding (as determined by the \f2java.nio.charset.Charset.defaultCharset\fP method) is used. The \f2encoding_name\fP string must be the name of a character encoding that is supported by the Java runtime environment \- see the + .na + \f4Supported Encodings\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html document. ++http://docs.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html document. + .br + .br + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/orbd.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/orbd.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH orbd 1 "10 May 2011" ++.TH orbd 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -29,11 +29,11 @@ + \f3orbd\fP is used to enable clients to transparently locate and invoke persistent objects on servers in the CORBA environment. + .LP + .LP +-\f3See also:\fP ++\f3See also:\fP + .na + \f2Naming Service\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html + .LP + .SH "SYNOPSIS" + .LP +@@ -54,10 +54,10 @@ + .RS 3 + .TP 2 + o +-The object reference in the Naming Service remains independent of the server life cycle. For example, the object reference could be published by the server in the Naming Service when it is first installed, and then, independent of how many times the server is started or shutdown, the ORBD will always return the correct object reference to the invoking client. ++The object reference in the Naming Service remains independent of the server life cycle. For example, the object reference could be published by the server in the Naming Service when it is first installed, and then, independent of how many times the server is started or shutdown, the ORBD will always return the correct object reference to the invoking client. + .TP 2 + o +-The client needs to lookup the object reference in the Naming Service only once, and can keep re\-using this reference independent of the changes introduced due to server life cycle. ++The client needs to lookup the object reference in the Naming Service only once, and can keep re\-using this reference independent of the changes introduced due to server life cycle. + .RE + + .LP +@@ -65,79 +65,79 @@ + To access ORBD's Server Manager, the server must be started using servertool(1), which is a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. For more information on the Server Manager, see the section in this document titled \f2Server Manager\fP. + .LP + .LP +-When \f2orbd\fP starts up, it also starts a naming service. For more information on the naming service, link to ++When \f2orbd\fP starts up, it also starts a naming service. For more information on the naming service, link to + .na + \f2Naming Service\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. + .LP + .SH "OPTIONS" + .LP +-.SS ++.SS + Required Options + .LP + .RS 3 + .TP 3 +-\-ORBInitialPort nameserverport +-Specifies the port on which the name server should be started. Once started, \f2orbd\fP will listen for incoming requests on this port. Note that when using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. (required) ++\-ORBInitialPort nameserverport ++Specifies the port on which the name server should be started. Once started, \f2orbd\fP will listen for incoming requests on this port. Note that when using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. (required) + .RE + + .LP + .LP + + .LP +-.SS ++.SS + OTHER OPTIONS + .LP + .RS 3 + .TP 3 +-\-port port +-Specifies the activation port where ORBD should be started, and where ORBD will be accepting requests for persistent objects. The default value for this port is 1049. This port number is added to the port field of the persistent Interoperable Object References (IOR). (optional) ++\-port port ++Specifies the activation port where ORBD should be started, and where ORBD will be accepting requests for persistent objects. The default value for this port is 1049. This port number is added to the port field of the persistent Interoperable Object References (IOR). (optional) + .RE + + .LP + .RS 3 + .TP 3 +-\-defaultdb directory +-Specifies the base where the ORBD persistent storage directory \f2orb.db\fP is created. If this option is not specified, the default value is "./orb.db". (optional) ++\-defaultdb directory ++Specifies the base where the ORBD persistent storage directory \f2orb.db\fP is created. If this option is not specified, the default value is "./orb.db". (optional) + .RE + + .LP + .RS 3 + .TP 3 +-\-serverPollingTime milliseconds +-Specifies how often ORBD checks for the health of persistent servers registered via \f2servertool\fP. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) ++\-serverPollingTime milliseconds ++Specifies how often ORBD checks for the health of persistent servers registered via \f2servertool\fP. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) + .RE + + .LP + .RS 3 + .TP 3 +-\-serverStartupDelay milliseconds +-Specifies how long ORBD waits before sending a location forward exception after a persistent server that is registered via \f2servertool\fP is restarted. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) ++\-serverStartupDelay milliseconds ++Specifies how long ORBD waits before sending a location forward exception after a persistent server that is registered via \f2servertool\fP is restarted. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) + .RE + + .LP + .RS 3 + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. + .TP 3 +- ++ + .RE + + .LP + .SH "Starting and Stopping the Naming Service" + .LP + .LP +-A Naming Service is a CORBA service that allows ++A Naming Service is a CORBA service that allows + .na + \f2CORBA objects\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#CORBA%20object to be named by means of binding a name to an object reference. The ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#CORBA%20object to be named by means of binding a name to an object reference. The + .na + \f2name binding\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#name%20binding may be stored in the naming service, and a client may supply the name to obtain the desired object reference. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#name%20binding may be stored in the naming service, and a client may supply the name to obtain the desired object reference. + .LP + .LP + Prior to running a client or a server, you will start ORBD. ORBD includes a persistent Naming Service and a transient Naming Service, both of which are an implementation of the COS Naming Service. +@@ -146,7 +146,7 @@ + The \f4Persistent\fP\f3 Naming Service\fP provides persistence for naming contexts. This means that this information is persistent across service shutdowns and startups, and is recoverable in the event of a service failure. If ORBD is restarted, the Persistent Naming Service will restore the naming context graph, so that the binding of all clients' and servers' names remains intact (persistent). + .LP + .LP +-\ ++\ + .LP + .LP + For backward compatibility, \f2tnameserv\fP, a \f4Transient\fP\f3 Naming Service\fP shipped with older versions of the JDK, is also included in this release of J2SE. A transient naming service retains naming contexts as long as it is running. If there is a service interruption, the naming context graph is lost. +@@ -212,26 +212,26 @@ + To stop the naming service, use the relevant operating system command, such as \f2pkill orbd\fP on Solaris, or \f2Ctrl+C\fP in the DOS window in which \f2orbd\fP is running. Note that names registered with the naming service may disappear when the service is terminated if the naming service is transient. The Java IDL naming service will run until it is explicitly stopped. + .LP + .LP +-For more information on the Naming Service included with ORBD, see ++For more information on the Naming Service included with ORBD, see + .na + \f2Naming Service\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. + .LP + .SH "Server Manager" + .LP + .LP + To access ORBD's Server Manager and run a persistent server, the server must be started using servertool(1), which is a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. When a server is started using \f2servertool\fP, it must be started on the same host and port on which \f2orbd\fP is executing. If the server is run on a different port, the information stored in the database for local contexts will be invalid and the service will not work properly. + .LP +-.SS ++.SS + Server Manager: an Example + .LP + .LP +-Using the ++Using the + .na + \f2sample tutorial\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlExample.html for our demonstration, you would run the \f2idlj\fP compiler and \f2javac\fP compiler as shown in the tutorial. To run the Server Manager, follow these steps for running the application: ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlExample.html for our demonstration, you would run the \f2idlj\fP compiler and \f2javac\fP compiler as shown in the tutorial. To run the Server Manager, follow these steps for running the application: + .LP + .LP + Start \f2orbd\fP. +@@ -240,12 +240,12 @@ + To start \f2orbd\fP from a UNIX command shell, enter: + .LP + .LP +-\ ++\ + .LP + .nf + \f3 + .fl +- orbd \-ORBInitialPort 1050 ++ orbd \-ORBInitialPort 1050 + .fl + \fP + .fi +@@ -314,7 +314,7 @@ + Run the client application from another terminal window or prompt: + .LP + .LP +-\ ++\ + .LP + .nf + \f3 +@@ -332,10 +332,10 @@ + Specify the name server (\f2orbd\fP) port as done in the previous step, for example, \f2\-ORBInitialPort 1050\fP. + .LP + .LP +-\ ++\ + .LP + .LP +-\ ++\ + .LP + .LP + When you have finished experimenting with the Server Manager, be sure to shut down or kill the name server (\f2orbd\fP) and \f2servertool\fP. +@@ -354,15 +354,15 @@ + .na + \f2Naming Service\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html + .br + .TP 2 + o +-servertool(1) ++servertool(1) + .RE + + .LP + .br + + .LP +- ++ +--- jdk/src/bsd/doc/man/pack200.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/pack200.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH pack200 1 "10 May 2011" ++.TH pack200 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -35,14 +35,14 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options. ++options ++Command\-line options. + .TP 3 +-output\-file +-Name of the output file. ++output\-file ++Name of the output file. + .TP 3 +-JAR\-file +-Name of the input file. ++JAR\-file ++Name of the input file. + .RE + + .LP +@@ -54,7 +54,7 @@ + .LP + The \f2pack200\fP tool uses several options to fine\-tune and set the compression engine. + .LP +-.SS ++.SS + Typical usage: + .LP + .LP +@@ -138,17 +138,17 @@ + .LP + .RS 3 + .TP 3 +-true ++true + .TP 3 +-false +-In either case, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements. ++false ++In either case, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements. + .RE + + .LP + .RS 3 + .TP 3 +-keep +-Preserve deflation hints observed in the input JAR. (This is the default.) ++keep ++Preserve deflation hints observed in the input JAR. (This is the default.) + .RE + + .LP +@@ -160,11 +160,11 @@ + .LP + .RS 3 + .TP 3 +-latest +-The packer will attempt to determine the latest modification time, among all the available entries in the original archive, or the latest modification time of all the available entries in that segment. This single value will be transmitted as part of the segment and applied to all the entries in each segment. This can marginally decrease the transmitted size of the archive at the expense of setting all installed files to a single date. ++latest ++The packer will attempt to determine the latest modification time, among all the available entries in the original archive, or the latest modification time of all the available entries in that segment. This single value will be transmitted as part of the segment and applied to all the entries in each segment. This can marginally decrease the transmitted size of the archive at the expense of setting all installed files to a single date. + .TP 3 +-keep +-Preserves modification times observed in the input JAR. (This is the default.) ++keep ++Preserves modification times observed in the input JAR. (This is the default.) + .RE + + .LP +@@ -182,14 +182,14 @@ + .LP + .RS 3 + .TP 3 +-error +-The \f2pack200\fP operation as a whole will fail with a suitable explanation. ++error ++The \f2pack200\fP operation as a whole will fail with a suitable explanation. + .TP 3 +-strip +-The attribute will be dropped. Note: Removing the required VM attributes may cause Class Loader failures. ++strip ++The attribute will be dropped. Note: Removing the required VM attributes may cause Class Loader failures. + .TP 3 +-pass +-Upon encountering this attribute, the entire class will be transmitted as though it is a resource. ++pass ++Upon encountering this attribute, the entire class will be transmitted as though it is a resource. + .RE + + .LP +@@ -207,16 +207,16 @@ + .LP + .RS 3 + .TP 3 +-some\-layout\-string +-The layout language is defined in the JSR 200 specification. ++some\-layout\-string ++The layout language is defined in the JSR 200 specification. + .LP +-Example: \f2\-\-class\-attribute=SourceFile=RUH\fP ++Example: \f2\-\-class\-attribute=SourceFile=RUH\fP + .TP 3 +-error +-Upon encountering this attribute, the pack200 operation will fail with a suitable explanation. ++error ++Upon encountering this attribute, the pack200 operation will fail with a suitable explanation. + .TP 3 +-strip +-Upon encountering this attribute, the attribute will be removed from the output. Note: removing VM\-required attributes may cause Class Loader failures. ++strip ++Upon encountering this attribute, the attribute will be removed from the output. Note: removing VM\-required attributes may cause Class Loader failures. + .RE + + .LP +@@ -304,28 +304,28 @@ + .RS 3 + .TP 2 + o +-unpack200(1) ++unpack200(1) + .TP 2 + o + .na + \f2Java SE Documentation\fP @ + .fi +-http://download.oracle.com/javase/7/docs/index.html ++http://docs.oracle.com/javase/7/docs/index.html + .TP 2 + o + .na + \f2Java Deployment Guide \- Pack200\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html + .TP 2 + o +-jar(1) \- Java Archive Tool ++jar(1) \- Java Archive Tool + .TP 2 + o +-jarsigner(1) \- JAR Signer tool ++jarsigner(1) \- JAR Signer tool + .TP 2 + o +-\f2attributes(5)\fP man page ++\f2attributes(5)\fP man page + .RE + + .LP +@@ -337,4 +337,4 @@ + .LP + The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies. + .LP +- ++ +--- jdk/src/bsd/doc/man/policytool.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/policytool.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,71 +19,86 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH policytool 1 "10 May 2011" ++.TH policytool 1 "16 Mar 2012" + + .LP + .SH "Name" + policytool \- PolicyTool Administration GUI Utility + .LP +-\f3policytool\fP reads and writes a plain text policy file based on user input via the utility GUI. ++\f3policytool\fP reads and writes a plain text policy file based on user input via the utility GUI. + .SH "SYNOPSIS" + .LP +-.RS 3 +-.TP 3 +-\ +-.TP 3 ++.LP + Run the policytool Administrator's utility ++.LP ++.LP + \f4policytool\fP +-.TP 3 ++.LP ++.LP + Run policytool and load the specified policy file ++.LP ++.LP + \f4policytool\fP\f2[\-file\ \fP\f2filename\fP\f2]\fP +-.TP 3 +-\ +-.TP 3 ++.LP ++.LP + where: ++.LP + .RS 3 + .TP 3 +-file +-directs \f2policytool\fP to load a local policy file ++file ++directs \f2policytool\fP to load a local policy file + .TP 3 +-filename +-The file name ++filename ++The file name + .RE ++ ++.LP + .SH "DESCRIPTION" + .LP +-\f3policytool\fP is a GUI that allows users to create and manage policy files. For details, see ++.LP ++\f3policytool\fP is a GUI that allows users to create and manage policy files. For details, see + .na + \f2the Policytool Users Guide\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html. ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html. ++.LP + .SH "OPTIONS" ++.LP + .RS 3 + .TP 3 +-file +-Loads \f2filename\fP. ++file ++Loads \f2filename\fP. ++.RE ++ ++.LP + .SH "SEE ALSO" ++.LP + .na + \f2Default Policy Implementation and Syntax\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html + .br ++ ++.LP + .na + \f2Policy Tool Users' Guide\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html + .br ++ ++.LP + .na + \f2Security Permissions\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/permissions.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/permissions.html + .br ++ ++.LP + .na + \f2Security Overview\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html + .br +-.RE +-.RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/rmic.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/rmic.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH rmic 1 "10 May 2011" ++.TH rmic 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -75,11 +75,11 @@ + .LP + .RS 3 + .TP 3 +-\-bootclasspath path +-Overrides location of bootstrap class files ++\-bootclasspath path ++Overrides location of bootstrap class files + .TP 3 +-\-classpath path +-Specifies the path \f3rmic\fP uses to look up classes. This option overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: ++\-classpath path ++Specifies the path \f3rmic\fP uses to look up classes. This option overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: + .nf + \f3 + .fl +@@ -87,7 +87,7 @@ + .fl + \fP + .fi +-For example: ++For example: + .nf + \f3 + .fl +@@ -96,8 +96,8 @@ + \fP + .fi + .TP 3 +-\-d directory +-Specifies the root destination directory for the generated class hierarchy. You can use this option to specify a destination directory for the stub, skeleton, and tie files. For example, the command ++\-d directory ++Specifies the root destination directory for the generated class hierarchy. You can use this option to specify a destination directory for the stub, skeleton, and tie files. For example, the command + .nf + \f3 + .fl +@@ -107,43 +107,43 @@ + .fi + would place the stub and skeleton classes derived from \f2MyClass\fP into the directory \f2/java/classes/foo\fP. If the \f2\-d\fP option is not specified, the default behavior is as if \f2"\-d\ ."\fP were specified: the package hierarchy of the target class is created in the current directory, and stub/tie/skeleton files are placed within it. (Note that in some previous versions of \f3rmic\fP, if \f2\-d\fP was not specified, then the package hierarchy was \f2not\fP created, and all of the output files were placed directly in the current directory.) + .br +-\ ++\ + .TP 3 +-\-extdirs path +-Overrides location of installed extensions ++\-extdirs path ++Overrides location of installed extensions + .TP 3 +-\-g +-Enables generation of all debugging information, including local variables. By default, only line number information is generated. ++\-g ++Enables generation of all debugging information, including local variables. By default, only line number information is generated. + .TP 3 +-\-idl +-Causes \f2rmic\fP to generate OMG IDL for the classes specified and any classes referenced. IDL provides a purely declarative, programming language\-independent way of specifying an object's API. The IDL is used as a specification for methods and data that can be written in and invoked from any language that provides CORBA bindings. This includes Java and C++ among others. See the ++\-idl ++Causes \f2rmic\fP to generate OMG IDL for the classes specified and any classes referenced. IDL provides a purely declarative, programming language\-independent way of specifying an object's API. The IDL is used as a specification for methods and data that can be written in and invoked from any language that provides CORBA bindings. This includes Java and C++ among others. See the + .na + \f2Java Language to IDL Mapping\fP @ + .fi + http://www.omg.org/technology/documents/formal/java_language_mapping_to_omg_idl.htm (OMG) document for a complete description. + .br + .br +-When the \f2\-idl\fP option is used, other options also include: ++When the \f2\-idl\fP option is used, other options also include: + .RS 3 + .TP 3 +-\-always or \-alwaysgenerate +-Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. ++\-always or \-alwaysgenerate ++Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. + .TP 3 +-\-factory +-Uses factory keyword in generated IDL. ++\-factory ++Uses factory keyword in generated IDL. + .TP 3 +-\-idlModule\ fromJavaPackage[.class]\ toIDLModule +-Specifies IDLEntity package mapping. For example:\ \f2\-idlModule foo.bar my::real::idlmod\fP. ++\-idlModule\ fromJavaPackage[.class]\ toIDLModule ++Specifies IDLEntity package mapping. For example:\ \f2\-idlModule foo.bar my::real::idlmod\fP. + .TP 3 +-\-idlFile\ fromJavaPackage[.class]\ toIDLFile +-Specifies IDLEntity file mapping. For example:\ \f2\-idlFile test.pkg.X TEST16.idl\fP.\ ++\-idlFile\ fromJavaPackage[.class]\ toIDLFile ++Specifies IDLEntity file mapping. For example:\ \f2\-idlFile test.pkg.X TEST16.idl\fP.\ + .RE + .TP 3 +-\-iiop ++\-iiop + Causes \f2rmic\fP to generate IIOP stub and tie classes, rather than JRMP stub and skeleton classes. A stub class is a local proxy for a remote object and is used by clients to send calls to a server. Each remote interface requires a stub class, which implements that remote interface. A client's reference to a remote object is actually a reference to a stub. Tie classes are used on the server side to process incoming calls, and dispatch the calls to the proper implementation class. Each implementation class requires a tie class. + .br + .br +-Invoking \f2rmic\fP with the \f2\-iiop\fP generates stubs and ties that conform to this naming convention: ++Invoking \f2rmic\fP with the \f2\-iiop\fP generates stubs and ties that conform to this naming convention: + .nf + \f3 + .fl +@@ -153,49 +153,49 @@ + .fl + \fP + .fi +-When the \f2\-iiop\fP option is used, other options also include: ++When the \f2\-iiop\fP option is used, other options also include: + .RS 3 + .TP 3 +-\-always or \-alwaysgenerate +-Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. ++\-always or \-alwaysgenerate ++Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. + .TP 3 +-\-nolocalstubs +-Do not create stubs optimized for same\-process clients and servers. ++\-nolocalstubs ++Do not create stubs optimized for same\-process clients and servers. + .TP 3 +-\-noValueMethods +-Must be used with the \f2\-idl\fP option. Prevents addition of \f2valuetype\fP methods and initializers to emitted IDL. These methods and initializers are optional for \f2valuetype\fPs, and are generated unless the \f2\-noValueMethods\fP option is specified when using the \f2\-idl\fP option. ++\-noValueMethods ++Must be used with the \f2\-idl\fP option. Prevents addition of \f2valuetype\fP methods and initializers to emitted IDL. These methods and initializers are optional for \f2valuetype\fPs, and are generated unless the \f2\-noValueMethods\fP option is specified when using the \f2\-idl\fP option. + .TP 3 +-\-poa +-Changes the inheritance from \f2org.omg.CORBA_2_3.portable.ObjectImpl\fP to \f2org.omg.PortableServer.Servant\fP. The \f2PortableServer\fP module for the ++\-poa ++Changes the inheritance from \f2org.omg.CORBA_2_3.portable.ObjectImpl\fP to \f2org.omg.PortableServer.Servant\fP. The \f2PortableServer\fP module for the + .na + \f2Portable Object Adapter\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/POA.html (POA) defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. Based on the OMG IDL to Java Language Mapping Specification, CORBA V 2.3.1 ptc/00\-01\-08.pdf. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.html (POA) defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. Based on the OMG IDL to Java Language Mapping Specification, CORBA V 2.3.1 ptc/00\-01\-08.pdf. + .RE + .TP 3 +-\-J +-Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. ++\-J ++Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. + .TP 3 +-\-keep or \-keepgenerated +-Retains the generated \f2.java\fP source files for the stub, skeleton, and/or tie classes and writes them to the same directory as the \f2.class\fP files. ++\-keep or \-keepgenerated ++Retains the generated \f2.java\fP source files for the stub, skeleton, and/or tie classes and writes them to the same directory as the \f2.class\fP files. + .TP 3 +-\-nowarn +-Turns off warnings. If used the compiler does not print out any warnings. ++\-nowarn ++Turns off warnings. If used the compiler does not print out any warnings. + .TP 3 +-\-nowrite +-Does not write compiled classes to the file system. ++\-nowrite ++Does not write compiled classes to the file system. + .TP 3 +-\-vcompat +-Generates stub and skeleton classes compatible with both the 1.1 and 1.2 JRMP stub protocol versions. (This option was the default in releases prior to 5.0.) The generated stub classes will use the 1.1 stub protocol version when loaded in a JDK 1.1 virtual machine and will use the 1.2 stub protocol version when loaded into a 1.2 (or later) virtual machine. The generated skeleton classes will support both 1.1 and 1.2 stub protocol versions. The generated classes are relatively large in order to support both modes of operation. ++\-vcompat ++Generates stub and skeleton classes compatible with both the 1.1 and 1.2 JRMP stub protocol versions. (This option was the default in releases prior to 5.0.) The generated stub classes will use the 1.1 stub protocol version when loaded in a JDK 1.1 virtual machine and will use the 1.2 stub protocol version when loaded into a 1.2 (or later) virtual machine. The generated skeleton classes will support both 1.1 and 1.2 stub protocol versions. The generated classes are relatively large in order to support both modes of operation. + .TP 3 +-\-verbose +-Causes the compiler and linker to print out messages about what classes are being compiled and what class files are being loaded. ++\-verbose ++Causes the compiler and linker to print out messages about what classes are being compiled and what class files are being loaded. + .TP 3 +-\-v1.1 +-Generates stub and skeleton classes for the 1.1 JRMP stub protocol version only. Note that this option is only useful for generating stub classes that are serialization\-compatible with pre\-existing, statically\-deployed stub classes that were generated by the \f3rmic\fP tool from JDK 1.1 and that cannot be upgraded (and dynamic class loading is not being used). ++\-v1.1 ++Generates stub and skeleton classes for the 1.1 JRMP stub protocol version only. Note that this option is only useful for generating stub classes that are serialization\-compatible with pre\-existing, statically\-deployed stub classes that were generated by the \f3rmic\fP tool from JDK 1.1 and that cannot be upgraded (and dynamic class loading is not being used). + .TP 3 +-\-v1.2 +-(default) Generates stub classes for the 1.2 JRMP stub protocol version only. No skeleton classes are generated with this option because skeleton classes are not used with the 1.2 stub protocol version. The generated stub classes will not work if they are loaded into a JDK 1.1 virtual machine. ++\-v1.2 ++(default) Generates stub classes for the 1.2 JRMP stub protocol version only. No skeleton classes are generated with this option because skeleton classes are not used with the 1.2 stub protocol version. The generated stub classes will not work if they are loaded into a JDK 1.1 virtual machine. + .RE + + .LP +@@ -203,8 +203,8 @@ + .LP + .RS 3 + .TP 3 +-CLASSPATH +-Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example, ++CLASSPATH ++Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example, + .nf + \f3 + .fl +@@ -218,10 +218,10 @@ + .SH "SEE ALSO" + .LP + .LP +-java(1), javac(1), ++java(1), javac(1), + .na + \f2CLASSPATH\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#classpath ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpath + .LP +- ++ +--- jdk/src/bsd/doc/man/rmid.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/rmid.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH rmid 1 "10 May 2011" ++.TH rmid 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -42,15 +42,15 @@ + .SH "DESCRIPTION" + .LP + .LP +-The \f3rmid\fP tool starts the activation system daemon. The activation system daemon must be started before activatable objects can be either registered with the activation system or activated in a VM. See the ++The \f3rmid\fP tool starts the activation system daemon. The activation system daemon must be started before activatable objects can be either registered with the activation system or activated in a VM. See the + .na + \f2Java RMI Specification\fP @ + .fi +-http://download.oracle.com/javase/7/docs/platform/rmi/spec/rmiTOC.html and ++http://docs.oracle.com/javase/7/docs/platform/rmi/spec/rmiTOC.html and + .na + \f2Activation tutorials\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/rmi/activation/overview.html for details on how to write programs that use activatable remote objects. ++http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/activation/overview.html for details on how to write programs that use activatable remote objects. + .LP + .LP + The daemon can be started by executing the \f2rmid\fP command, and specifying a security policy file, as follows: +@@ -73,10 +73,10 @@ + .RS 3 + .TP 2 + o +-starts the Activator and an internal registry on the default port, 1098, and ++starts the Activator and an internal registry on the default port, 1098, and + .TP 2 + o +-binds an \f2ActivationSystem\fP to the name \f2java.rmi.activation.ActivationSystem\fP in this internal registry. ++binds an \f2ActivationSystem\fP to the name \f2java.rmi.activation.ActivationSystem\fP in this internal registry. + .RE + + .LP +@@ -95,11 +95,11 @@ + .LP + starts the activation system daemon and a registry on the registry's default port, 1099. + .LP +-.SS ++.SS + Starting rmid from inetd/xinetd + .LP + .LP +-An alternative to starting \f2rmid\fP from the command line is to configure \f2inetd\fP (Solaris) or \f2xinetd\fP (Bsd) to start \f2rmid\fP on demand. ++An alternative to starting \f2rmid\fP from the command line is to configure \f2inetd\fP (Solaris) or \f2xinetd\fP (Linux or BSD) to start \f2rmid\fP on demand. + .LP + .LP + When \f2rmid\fP starts up, it attempts to obtain an inherited channel (inherited from \f2inetd\fP/\f2xinetd\fP) by invoking the \f2System.inheritedChannel\fP method. If the inherited channel is \f2null\fP or not an instance of \f2java.nio.channels.ServerSocketChannel\fP, then \f2rmid\fP assumes that it was not started by \f2inetd\fP/\f2xinetd\fP, and it starts up as described above. +@@ -110,25 +110,25 @@ + .RS 3 + .TP 2 + o +-Output printed to \f2System.err\fP is redirected to a file. This file is located in the directory specified by the \f2java.io.tmpdir\fP system property (typically \f2/var/tmp\fP or \f2/tmp\fP) with the prefix \f2"rmid\-err"\fP and the suffix \f2"tmp"\fP. ++Output printed to \f2System.err\fP is redirected to a file. This file is located in the directory specified by the \f2java.io.tmpdir\fP system property (typically \f2/var/tmp\fP or \f2/tmp\fP) with the prefix \f2"rmid\-err"\fP and the suffix \f2"tmp"\fP. + .TP 2 + o +-The \f2\-port\fP option is disallowed. If this option is specified, \f2rmid\fP will exit with an error message. ++The \f2\-port\fP option is disallowed. If this option is specified, \f2rmid\fP will exit with an error message. + .TP 2 + o +-The \f2\-log\fP option is required. If this option is not specified, \f2rmid\fP will exit with an error message. ++The \f2\-log\fP option is required. If this option is not specified, \f2rmid\fP will exit with an error message. + .RE + + .LP + .LP +-See the man pages for \f2inetd\fP (Solaris) or \f2xinetd\fP (Bsd) for details on how to configure services to be started on demand. ++See the man pages for \f2inetd\fP (Solaris) or \f2xinetd\fP (Linux or BSD) for details on how to configure services to be started on demand. + .LP + .SH "OPTIONS" + .LP + .RS 3 + .TP 3 +-\-C<someCommandLineOption> +-Specifies an option that is passed as a command\-line argument to each child process (activation group) of \f2rmid\fP when that process is created. For example, you could pass a property to each virtual machine spawned by the activation system daemon: ++\-C<someCommandLineOption> ++Specifies an option that is passed as a command\-line argument to each child process (activation group) of \f2rmid\fP when that process is created. For example, you could pass a property to each virtual machine spawned by the activation system daemon: + .nf + \f3 + .fl +@@ -136,7 +136,7 @@ + .fl + \fP + .fi +-This ability to pass command\-line arguments to child processes can be useful for debugging. For example, the following command: ++This ability to pass command\-line arguments to child processes can be useful for debugging. For example, the following command: + .nf + \f3 + .fl +@@ -144,11 +144,11 @@ + .fl + \fP + .fi +-will enable server\-call logging in all child VMs. ++will enable server\-call logging in all child VMs. + .LP + .TP 3 +-\-J<someCommandLineOption> +-Specifies an option that is passed to the \f2java\fP interpreter running \f2rmid\fP. For example, to specify that \f2rmid\fP use a policy file named \f2rmid.policy\fP, the \f2\-J\fP option can be used to define the \f2java.security.policy\fP property on \f2rmid\fP's command line, for example: ++\-J<someCommandLineOption> ++Specifies an option that is passed to the \f2java\fP interpreter running \f2rmid\fP. For example, to specify that \f2rmid\fP use a policy file named \f2rmid.policy\fP, the \f2\-J\fP option can be used to define the \f2java.security.policy\fP property on \f2rmid\fP's command line, for example: + .nf + \f3 + .fl +@@ -157,16 +157,16 @@ + \fP + .fi + .TP 3 +-\-J\-Dsun.rmi.activation.execPolicy=<policy> +-Specifies the policy that \f2rmid\fP employs to check commands and command\-line options used to launch the VM in which an activation group runs. Please note that this option exists only in Sun's implementation of the Java RMI activation daemon. If this property is not specified on the command line, the result is the same as if \f2\-J\-Dsun.rmi.activation.execPolicy=default\fP were specified. The possible values of \f2<policy>\fP can be \f2default\fP, \f2<policyClassName>\fP, or \f2none\fP: ++\-J\-Dsun.rmi.activation.execPolicy=<policy> ++Specifies the policy that \f2rmid\fP employs to check commands and command\-line options used to launch the VM in which an activation group runs. Please note that this option exists only in Sun's implementation of the Java RMI activation daemon. If this property is not specified on the command line, the result is the same as if \f2\-J\-Dsun.rmi.activation.execPolicy=default\fP were specified. The possible values of \f2<policy>\fP can be \f2default\fP, \f2<policyClassName>\fP, or \f2none\fP: + .RS 3 + .TP 2 + o +-\f3default (or if this property is \fP\f4unspecified\fP\f3)\fP ++\f3default (or if this property is \fP\f4unspecified\fP\f3)\fP + .LP +-The default \f2execPolicy\fP allows \f2rmid\fP to execute commands with specific command\-line options only if \f2rmid\fP has been granted permission to execute those commands and options in the security policy file that \f2rmid\fP uses. Only the default activation group implementation can be used with the \f2default\fP execution policy. ++The default \f2execPolicy\fP allows \f2rmid\fP to execute commands with specific command\-line options only if \f2rmid\fP has been granted permission to execute those commands and options in the security policy file that \f2rmid\fP uses. Only the default activation group implementation can be used with the \f2default\fP execution policy. + .LP +-\f2rmid\fP launches a VM for an activation group using the information in the group's registered activation group descriptor, an \f2ActivationGroupDesc\fP. The group descriptor specifies an optional \f2ActivationGroupDesc.CommandEnvironment\fP which includes the \f2command\fP to execute to start the activation group as well as any command line \f2options\fP to be added to the command line. By default, \f2rmid\fP uses the \f2java\fP command found in \f2java.home\fP. The group descriptor also contains \f2properties\fP overrides that are added to the command line as options defined as: ++\f2rmid\fP launches a VM for an activation group using the information in the group's registered activation group descriptor, an \f2ActivationGroupDesc\fP. The group descriptor specifies an optional \f2ActivationGroupDesc.CommandEnvironment\fP which includes the \f2command\fP to execute to start the activation group as well as any command line \f2options\fP to be added to the command line. By default, \f2rmid\fP uses the \f2java\fP command found in \f2java.home\fP. The group descriptor also contains \f2properties\fP overrides that are added to the command line as options defined as: + .nf + \f3 + .fl +@@ -175,33 +175,33 @@ + \fP + .fi + .LP +-The permission \f2com.sun.rmi.rmid.ExecPermission\fP is used to grant \f2rmid\fP permission to execute a command, specified in the group descriptor's \f2CommandEnvironment\fP to launch an activation group. The permission \f2com.sun.rmi.rmid.ExecOptionPermission\fP is used to allow \f2rmid\fP to use command\-line options, specified as properties overrides in the group descriptor or as options in the \f2CommandEnvironment\fP, when launching the activation group. ++The permission \f2com.sun.rmi.rmid.ExecPermission\fP is used to grant \f2rmid\fP permission to execute a command, specified in the group descriptor's \f2CommandEnvironment\fP to launch an activation group. The permission \f2com.sun.rmi.rmid.ExecOptionPermission\fP is used to allow \f2rmid\fP to use command\-line options, specified as properties overrides in the group descriptor or as options in the \f2CommandEnvironment\fP, when launching the activation group. + .LP +-When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). ++When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). + .RS 3 + .TP 3 +-ExecPermission +-The \f2ExecPermission\fP class represents permission for \f2rmid\fP to execute a specific \f2command\fP to launch an activation group. ++ExecPermission ++The \f2ExecPermission\fP class represents permission for \f2rmid\fP to execute a specific \f2command\fP to launch an activation group. + .LP + \f3Syntax\fP + .br +-The \f2name\fP of an \f2ExecPermission\fP is the path name of a command to grant \f2rmid\fP permission to execute. A path name that ends in "/*" indicates all the files contained in that directory (where "/" is the file\-separator character, \f2File.separatorChar\fP). A path name that ends with "/\-" indicates all files and subdirectories contained in that directory (recursively). A path name consisting of the special token "<<ALL FILES>>" matches \f3any\fP file. ++The \f2name\fP of an \f2ExecPermission\fP is the path name of a command to grant \f2rmid\fP permission to execute. A path name that ends in "/*" indicates all the files contained in that directory (where "/" is the file\-separator character, \f2File.separatorChar\fP). A path name that ends with "/\-" indicates all files and subdirectories contained in that directory (recursively). A path name consisting of the special token "<<ALL FILES>>" matches \f3any\fP file. + .LP +-\f3Note:\fP A path name consisting of a single "*" indicates all the files in the current directory, while a path name consisting of a single "\-" indicates all the files in the current directory and (recursively) all files and subdirectories contained in the current directory. ++\f3Note:\fP A path name consisting of a single "*" indicates all the files in the current directory, while a path name consisting of a single "\-" indicates all the files in the current directory and (recursively) all files and subdirectories contained in the current directory. + .TP 3 +-ExecOptionPermission +-The \f2ExecOptionPermission\fP class represents permission for \f2rmid\fP to use a specific command\-line \f2option\fP when launching an activation group. The \f2name\fP of an \f2ExecOptionPermission\fP is the value of a command line option. ++ExecOptionPermission ++The \f2ExecOptionPermission\fP class represents permission for \f2rmid\fP to use a specific command\-line \f2option\fP when launching an activation group. The \f2name\fP of an \f2ExecOptionPermission\fP is the value of a command line option. + .LP + \f3Syntax\fP + .br +-Options support a limited wildcard scheme. An asterisk signifies a wildcard match, and it may appear as the option name itself (i.e., it matches any option), or an asterisk may appear at the end of the option name only if the asterisk follows either a "." or "=". ++Options support a limited wildcard scheme. An asterisk signifies a wildcard match, and it may appear as the option name itself (i.e., it matches any option), or an asterisk may appear at the end of the option name only if the asterisk follows either a "." or "=". + .LP +-For example: "*" or "\-Dfoo.*" or "\-Da.b.c=*" is valid, "*foo" or "\-Da*b" or "ab*" is not. ++For example: "*" or "\-Dfoo.*" or "\-Da.b.c=*" is valid, "*foo" or "\-Da*b" or "ab*" is not. + .TP 3 +-Policy file for rmid +-When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). It is safe to grant these permissions universally because only \f2rmid\fP checks these permissions. ++Policy file for rmid ++When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). It is safe to grant these permissions universally because only \f2rmid\fP checks these permissions. + .LP +-An example policy file that grants various execute permissions to \f2rmid\fP is: ++An example policy file that grants various execute permissions to \f2rmid\fP is: + .nf + \f3 + .fl +@@ -239,21 +239,21 @@ + .fl + \fP + .fi +-The first permission granted allow \f2rmid\fP to execute the 1.7.0 version of the \f2java\fP command, specified by its explicit path name. Note that by default, the version of the \f2java\fP command found in \f2java.home\fP is used (the same one that \f2rmid\fP uses), and does not need to be specified in the policy file. The second permission allows \f2rmid\fP to execute any command in the directory \f2/files/apps/rmidcmds\fP. ++The first permission granted allow \f2rmid\fP to execute the 1.7.0 version of the \f2java\fP command, specified by its explicit path name. Note that by default, the version of the \f2java\fP command found in \f2java.home\fP is used (the same one that \f2rmid\fP uses), and does not need to be specified in the policy file. The second permission allows \f2rmid\fP to execute any command in the directory \f2/files/apps/rmidcmds\fP. + .LP +-The third permission granted, an \f2ExecOptionPermission\fP, allows \f2rmid\fP to launch an activation group that defines the security policy file to be \f2/files/policies/group.policy\fP. The next permission allows the \f2java.security.debug\fP property to be used by an activation group. The last permission allows any property in the \f2sun.rmi\fP property name hierarchy to be used by activation groups. ++The third permission granted, an \f2ExecOptionPermission\fP, allows \f2rmid\fP to launch an activation group that defines the security policy file to be \f2/files/policies/group.policy\fP. The next permission allows the \f2java.security.debug\fP property to be used by an activation group. The last permission allows any property in the \f2sun.rmi\fP property name hierarchy to be used by activation groups. + .LP +-To start \f2rmid\fP with a policy file, the \f2java.security.policy\fP property needs to be specified on \f2rmid\fP's command line, for example: ++To start \f2rmid\fP with a policy file, the \f2java.security.policy\fP property needs to be specified on \f2rmid\fP's command line, for example: + .LP +-\f2rmid \-J\-Djava.security.policy=rmid.policy\fP ++\f2rmid \-J\-Djava.security.policy=rmid.policy\fP + .RE + .TP 2 + o +-\f4<policyClassName>\fP ++\f4<policyClassName>\fP + .LP +-If the default behavior is not flexible enough, an administrator can provide, when starting \f2rmid\fP, the name of a class whose \f2checkExecCommand\fP method is executed in order to check commands to be executed by rmid. ++If the default behavior is not flexible enough, an administrator can provide, when starting \f2rmid\fP, the name of a class whose \f2checkExecCommand\fP method is executed in order to check commands to be executed by rmid. + .LP +-The \f2policyClassName\fP specifies a public class with a public, no\-argument constructor and an implementation of the following \f2checkExecCommand\fP method: ++The \f2policyClassName\fP specifies a public class with a public, no\-argument constructor and an implementation of the following \f2checkExecCommand\fP method: + .nf + \f3 + .fl +@@ -265,25 +265,25 @@ + .fl + \fP + .fi +-Before launching an activation group, \f2rmid\fP calls the policy's \f2checkExecCommand\fP method, passing it the activation group descriptor and an array containing the complete command to launch the activation group. If the \f2checkExecCommand\fP throws a \f2SecurityException\fP, \f2rmid\fP will not launch the activation group and an \f2ActivationException\fP will be thrown to the caller attempting to activate the object. ++Before launching an activation group, \f2rmid\fP calls the policy's \f2checkExecCommand\fP method, passing it the activation group descriptor and an array containing the complete command to launch the activation group. If the \f2checkExecCommand\fP throws a \f2SecurityException\fP, \f2rmid\fP will not launch the activation group and an \f2ActivationException\fP will be thrown to the caller attempting to activate the object. + .TP 2 + o +-\f3none\fP ++\f3none\fP + .LP +-If the \f2sun.rmi.activation.execPolicy\fP property value is "none", then \f2rmid\fP will not perform any validation of commands to launch activation groups. ++If the \f2sun.rmi.activation.execPolicy\fP property value is "none", then \f2rmid\fP will not perform any validation of commands to launch activation groups. + .RE + .LP + .TP 3 +-\-log dir +-Specifies the name of the directory the activation system daemon uses to write its database and associated information. The log directory defaults to creating a directory, \f2log\fP, in the directory in which the \f2rmid\fP command was executed. ++\-log dir ++Specifies the name of the directory the activation system daemon uses to write its database and associated information. The log directory defaults to creating a directory, \f2log\fP, in the directory in which the \f2rmid\fP command was executed. + .LP + .TP 3 +-\-port port +-Specifies the port \f2rmid\fP's registry uses. The activation system daemon binds the \f2ActivationSystem\fP, with the name \f2java.rmi.activation.ActivationSystem\fP, in this registry. Thus, the \f2ActivationSystem\fP on the local machine can be obtained using the following \f2Naming.lookup\fP method call: ++\-port port ++Specifies the port \f2rmid\fP's registry uses. The activation system daemon binds the \f2ActivationSystem\fP, with the name \f2java.rmi.activation.ActivationSystem\fP, in this registry. Thus, the \f2ActivationSystem\fP on the local machine can be obtained using the following \f2Naming.lookup\fP method call: + .nf + \f3 + .fl +- import java.rmi.*; ++ import java.rmi.*; + .fl + import java.rmi.activation.*; + .fl +@@ -295,8 +295,8 @@ + .fl + .fi + .TP 3 +-\-stop +-Stops the current invocation of \f2rmid\fP, for a port specified by the \f2\-port\fP option. If no port is specified, it will stop the \f2rmid\fP running on port 1098. ++\-stop ++Stops the current invocation of \f2rmid\fP, for a port specified by the \f2\-port\fP option. If no port is specified, it will stop the \f2rmid\fP running on port 1098. + .RE + + .LP +@@ -304,8 +304,8 @@ + .LP + .RS 3 + .TP 3 +-CLASSPATH +-Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example: ++CLASSPATH ++Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example: + .nf + \f3 + .fl +@@ -319,10 +319,10 @@ + .SH "SEE ALSO" + .LP + .LP +-rmic(1), ++rmic(1), + .na + \f2CLASSPATH\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/tools/index.html#classpath, java(1) ++http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpath, java(1) + .LP +- ++ +--- jdk/src/bsd/doc/man/rmiregistry.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/rmiregistry.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,14 +19,14 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH rmiregistry 1 "10 May 2011" ++.TH rmiregistry 1 "16 Mar 2012" + + .LP + .SH "Name" + rmiregistry \- The Java Remote Object Registry + .LP + .RS 3 +-The \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host. ++The \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host. + .RE + + .LP +@@ -65,19 +65,19 @@ + .LP + .RS 3 + .TP 3 +-\-J +-Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. ++\-J ++Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. + .RE + + .LP + .SH "SEE ALSO" + .LP +-java(1), ++java(1), + .na + \f2java.rmi.registry.LocateRegistry\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.html and ++http://docs.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.html and + .na + \f2java.rmi.Naming\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/rmi/Naming.html ++http://docs.oracle.com/javase/7/docs/api/java/rmi/Naming.html +--- jdk/src/bsd/doc/man/schemagen.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/schemagen.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH schemagen 1 "10 May 2011" ++.TH schemagen 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -39,7 +39,7 @@ + The current schema generator can process either Java source files or class files. + .LP + .LP +-We also provide an Ant task to run the schema generator \- see the instructions for ++We also provide an Ant task to run the schema generator \- see the instructions for + .na + \f2using schemagen with Ant\fP @ + .fi +@@ -59,13 +59,13 @@ + .LP + If your java sources/classes reference other classes, they must be accessable on your system CLASSPATH environment variable, or they need to be given to the tool by using the \f2\-classpath\fP/\f2\-cp\fP options. Otherwise you will see errors when generating your schema. + .LP +-.SS ++.SS + Command Line Options + .LP + .nf + \f3 + .fl +-Usage: schemagen [\-options ...] <java files> ++Usage: schemagen [\-options ...] <java files> + .fl + + .fl +@@ -94,7 +94,7 @@ + .SH "Generated Resource Files" + .LP + .LP +-The current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control the name of the generated schema files at this time. For that purpose, use ++The current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control the name of the generated schema files at this time. For that purpose, use + .na + \f2the schema generator ant task\fP @ + .fi +@@ -110,18 +110,18 @@ + .na + \f2command\-line instructions\fP @ + .fi +-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagen.html, ++https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagen.html, + .na + \f2using the SchemaGen Ant task\fP @ + .fi +-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html] ++https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html] + .TP 2 + o + .na + \f2Java Architecture for XML Binding (JAXB)\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html + .RE + + .LP +- ++ +--- jdk/src/bsd/doc/man/serialver.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/serialver.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH serialver 1 "10 May 2011" ++.TH serialver 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -40,11 +40,11 @@ + .LP + .RS 3 + .TP 3 +-options +-Command\-line options, as specified in this document. ++options ++Command\-line options, as specified in this document. + .TP 3 +-classnames +-One or more class names ++classnames ++One or more class names + .RE + + .LP +@@ -57,18 +57,18 @@ + .LP + .RS 3 + .TP 3 +-\-classpath <directories and zip/jar files separated by :> +-Set search path for application classes and resources. ++\-classpath <directories and zip/jar files separated by :> ++Set search path for application classes and resources. + .RE + + .LP + .RS 3 + .TP 3 +-\-show +-Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID. ++\-show ++Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID. + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. + .RE + + .LP +@@ -92,6 +92,6 @@ + .na + \f2java.io.ObjectStreamClass\fP @ + .fi +-http://download.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html ++http://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html + .LP +- ++ +--- jdk/src/bsd/doc/man/servertool.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/servertool.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,13 +19,13 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH servertool 1 "10 May 2011" ++.TH servertool 1 "16 Mar 2012" + + .LP + .SH "Name" + servertool \- The Java(TM) IDL Server Tool + .LP +-\f3servertool\fP provides a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. ++\f3servertool\fP provides a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. + .SH "SYNOPSIS" + .LP + .nf +@@ -55,11 +55,11 @@ + .LP + .RS 3 + .TP 3 +-\-ORBInitialHost nameserverhost +-Specifies the host machine on which the name server is running and listening for incoming requests. The \f2nameserverhost\fP defaults to \f2localhost\fP if this option is not specified. If \f2orbd\fP and \f2servertool\fP are running on different machines, you must specify the name or IP address of the host on which \f2orbd\fP is running. ++\-ORBInitialHost nameserverhost ++Specifies the host machine on which the name server is running and listening for incoming requests. The \f2nameserverhost\fP defaults to \f2localhost\fP if this option is not specified. If \f2orbd\fP and \f2servertool\fP are running on different machines, you must specify the name or IP address of the host on which \f2orbd\fP is running. + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. + .RE + + .LP +@@ -67,47 +67,47 @@ + .LP + .RS 3 + .TP 3 +-register \-server\ <server\ class\ name> \ \-classpath\ <classpath\ to\ server> [\ \-applicationName\ <application\ name> \-args\ <args\ to\ server> \-vmargs\ <flags\ to\ be\ passed\ to\ Java\ VM> \ ] +-Register a new persistent server with the Object Request Broker Daemon (ORBD). If the server is not already registered, it is registered and activated. This command causes an install method to be invoked in the main class of the server identified by the \f2\-server\fP option. The install method must be \f2public static void install(org.omg.CORBA.ORB)\fP. The install method is optional and enables the developer to provide their own server installation behavior (for example, creating database schema). ++register \-server\ <server\ class\ name> \ \-classpath\ <classpath\ to\ server> [\ \-applicationName\ <application\ name> \-args\ <args\ to\ server> \-vmargs\ <flags\ to\ be\ passed\ to\ Java\ VM> \ ] ++Register a new persistent server with the Object Request Broker Daemon (ORBD). If the server is not already registered, it is registered and activated. This command causes an install method to be invoked in the main class of the server identified by the \f2\-server\fP option. The install method must be \f2public static void install(org.omg.CORBA.ORB)\fP. The install method is optional and enables the developer to provide their own server installation behavior (for example, creating database schema). + .TP 3 +-unregister \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +-Unregister a server from the ORBD by using either its server id or its application name. This command causes an uninstall method to be invoked in the main class of the server identified by the \f2\-server\fP option. The uninstall method must be \f2public static void uninstall(org.omg.CORBA.ORB)\fP. The uninstall method is optional and enables the developer to provide their own server uninstall behavior (for example, undoing the behavior of the install method). ++unregister \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> ++Unregister a server from the ORBD by using either its server id or its application name. This command causes an uninstall method to be invoked in the main class of the server identified by the \f2\-server\fP option. The uninstall method must be \f2public static void uninstall(org.omg.CORBA.ORB)\fP. The uninstall method is optional and enables the developer to provide their own server uninstall behavior (for example, undoing the behavior of the install method). + .TP 3 +-getserverid \-applicationName\ <application\ name> +-Return the server id that corresponds with an application. ++getserverid \-applicationName\ <application\ name> ++Return the server id that corresponds with an application. + .TP 3 +-list +-List information about all persistent servers registered with the ORBD. ++list ++List information about all persistent servers registered with the ORBD. + .TP 3 +-listappnames +-List the application names for all servers currently registered with the ORBD. ++listappnames ++List the application names for all servers currently registered with the ORBD. + .TP 3 +-listactive +-List information about all persistent servers that have been launched by the ORBD and are currently running. ++listactive ++List information about all persistent servers that have been launched by the ORBD and are currently running. + .TP 3 +-locate \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-endpointType\ <endpointType>\ ] +-Locate the endpoints (ports) of a specific type for all ORBs created by a registered server. If a server is not already running, it is activated. If an endpoint type is not specified, then the plain/non\-protected endpoint associated with each ORB in a server is returned. ++locate \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-endpointType\ <endpointType>\ ] ++Locate the endpoints (ports) of a specific type for all ORBs created by a registered server. If a server is not already running, it is activated. If an endpoint type is not specified, then the plain/non\-protected endpoint associated with each ORB in a server is returned. + .TP 3 +-locateperorb \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-orbid\ <ORB\ name>\ ] +-Locate all the endpoints (ports) registered by a specific ORB of registered server. If a server is not already running, then it is activated. If an \f2orbid\fP is not specified, the default value of "" is assigned to the \f2orbid\fP. If any ORBs are created with an \f2orbid\fP of empty string, all ports registered by it are returned. ++locateperorb \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-orbid\ <ORB\ name>\ ] ++Locate all the endpoints (ports) registered by a specific ORB of registered server. If a server is not already running, then it is activated. If an \f2orbid\fP is not specified, the default value of "" is assigned to the \f2orbid\fP. If any ORBs are created with an \f2orbid\fP of empty string, all ports registered by it are returned. + .TP 3 +-orblist \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +-Lists the ORBId of the ORBs defined on a server. An ORBId is the string name for the ORB created by the server. If the server is not already running, it is activated. ++orblist \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> ++Lists the ORBId of the ORBs defined on a server. An ORBId is the string name for the ORB created by the server. If the server is not already running, it is activated. + .TP 3 +-shutdown \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +-Shutdown an active server that is registered with ORBD. During execution of this command, the \f2shutdown()\fP method defined in the class specified by either the \f2\-serverid\fP or \f2\-applicationName\fP parameter is also invoked to shutdown the server process appropriately. ++shutdown \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> ++Shutdown an active server that is registered with ORBD. During execution of this command, the \f2shutdown()\fP method defined in the class specified by either the \f2\-serverid\fP or \f2\-applicationName\fP parameter is also invoked to shutdown the server process appropriately. + .TP 3 +-startup \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +-Startup or activate a server that is registered with ORBD. If the server is not running, this command launches the server. If the server is already running, an error message is returned to the user. ++startup \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> ++Startup or activate a server that is registered with ORBD. If the server is not running, this command launches the server. If the server is already running, an error message is returned to the user. + .TP 3 +-help +-List all the commands available to the server through the server tool. ++help ++List all the commands available to the server through the server tool. + .TP 3 +-quit +-Exit the server tool. ++quit ++Exit the server tool. + .RE + + .LP + .SH "SEE ALSO" + .LP +-orbd(1) ++orbd(1) +--- jdk/src/bsd/doc/man/tnameserv.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/tnameserv.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,18 +19,18 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH tnameserv 1 "10 May 2011" ++.TH tnameserv 1 "16 Mar 2012" + + .LP + .SH "Name" + Java IDL: Transient Naming Service \- \f2tnameserv\fP + .LP + .LP +-This document discusses using the Java IDL Transient Naming Service, \f2tnameserv\fP. Java IDL also includes the Object Request Broker Daemon (ORBD). ORBD is a daemon process containing a Bootstrap Service, a Transient Naming Service, a \f3Persistent\fP Naming Service, and a Server Manager. The Java IDL tutorials all use ORBD, however, you can substitute \f2tnameserv\fP for \f2orbd\fP in any of the examples that use a Transient Naming Service. For documentation on the \f2orbd\fP tool, link to its orbd(1) or the ++This document discusses using the Java IDL Transient Naming Service, \f2tnameserv\fP. Java IDL also includes the Object Request Broker Daemon (ORBD). ORBD is a daemon process containing a Bootstrap Service, a Transient Naming Service, a \f3Persistent\fP Naming Service, and a Server Manager. The Java IDL tutorials all use ORBD, however, you can substitute \f2tnameserv\fP for \f2orbd\fP in any of the examples that use a Transient Naming Service. For documentation on the \f2orbd\fP tool, link to its orbd(1) or the + .na + \f2Java IDL Naming Service Included with ORBD\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html topic. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html topic. + .LP + .LP + Topics in this section include: +@@ -38,19 +38,19 @@ + .RS 3 + .TP 2 + o +-Java\ IDL Transient Naming Service ++Java\ IDL Transient Naming Service + .TP 2 + o +-Starting the Java\ IDL Transient Naming Service ++Starting the Java\ IDL Transient Naming Service + .TP 2 + o +-Stopping the Java\ IDL Transient Naming Service ++Stopping the Java\ IDL Transient Naming Service + .TP 2 + o +-Sample Client: Adding Objects to the Namespace ++Sample Client: Adding Objects to the Namespace + .TP 2 + o +-Sample Client: Browsing the Namespace ++Sample Client: Browsing the Namespace + .RE + + .LP +@@ -109,22 +109,22 @@ + .LP + Clients of the name server must be made aware of the new port number. Do this by setting the \f2org.omg.CORBA.ORBInitialPort\fP property to the new port number when creating the ORB object. + .LP +-.SS ++.SS + Running the server and client on different hosts + .LP + .LP + In most of the Java IDL and RMI\-IIOP tutorials, the Naming Service, Server, and Client are all running on the development machine. In real world deployment, it is likely that the client and server will run on different host machines than the Naming Service. + .LP + .LP +-For the client and server to find the Naming Service, they must be made aware of the port number and host on which the naming service is running. Do this by setting the \f2org.omg.CORBA.ORBInitialPort\fP and \f2org.omg.CORBA.ORBInitialHost\fP properties in the client and server files to the machine name and port number on which the Naming Service is running. An example of this is shown in ++For the client and server to find the Naming Service, they must be made aware of the port number and host on which the naming service is running. Do this by setting the \f2org.omg.CORBA.ORBInitialPort\fP and \f2org.omg.CORBA.ORBInitialHost\fP properties in the client and server files to the machine name and port number on which the Naming Service is running. An example of this is shown in + .na + \f2The Hello World Example Using RMI\-IIOP\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/rmi\-iiop/rmiiiopexample.html. You could also use the command line options \f2\-ORBInitialPort\fP \f2nameserverport#\fP and \f2\-ORBInitialHost\fP \f2nameserverhostname\fP to tell the client and server where to find the Naming Service. ++http://docs.oracle.com/javase/7/docs/technotes/guides/rmi\-iiop/rmiiiopexample.html. You could also use the command line options \f2\-ORBInitialPort\fP \f2nameserverport#\fP and \f2\-ORBInitialHost\fP \f2nameserverhostname\fP to tell the client and server where to find the Naming Service. + .na + \f2Java IDL: Running the Hello World Example on TWO Machines\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/idl/tutorial/jidl2machines.html shows one way of doing this using the command line option. ++http://docs.oracle.com/javase/7/docs/technotes/guides/idl/tutorial/jidl2machines.html shows one way of doing this using the command line option. + .LP + .LP + For example, suppose the Transient Naming Service, \f2tnameserv\fP is running on port 1050 on host \f2nameserverhost\fP. The client is running on host \f2clienthost\fP and the server is running on host \f2serverhost\fP. +@@ -132,7 +132,7 @@ + .RS 3 + .TP 2 + o +-Start \f2tnameserv\fP on the host \f2nameserverhost\fP, as follows: ++Start \f2tnameserv\fP on the host \f2nameserverhost\fP, as follows: + .nf + \f3 + .fl +@@ -144,7 +144,7 @@ + .fi + .TP 2 + o +-Start the server on the \f2serverhost\fP, as follows: ++Start the server on the \f2serverhost\fP, as follows: + .nf + \f3 + .fl +@@ -154,7 +154,7 @@ + .fi + .TP 2 + o +-Start the client on the \f2clienthost\fP, as follows: ++Start the client on the \f2clienthost\fP, as follows: + .nf + \f3 + .fl +@@ -165,14 +165,14 @@ + .RE + + .LP +-.SS ++.SS + The \-J option + .LP +-This command\-line option is available for use with \f2tnameserve\fP: ++This command\-line option is available for use with \f2tnameserve\fP: + .RS 3 + .TP 3 +-\-Joption +-Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. ++\-Joption ++Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. + .RE + + .LP +@@ -189,21 +189,21 @@ + .RS 3 + .TP 2 + o +-\f4Initial Naming Context\fP ++\f4Initial Naming Context\fP + .RS 3 + .TP 2 + * +-\f3plans\fP ++\f3plans\fP + .TP 2 + * +-\f4Personal\fP ++\f4Personal\fP + .RS 3 + .TP 2 + - +-\f3calendar\fP ++\f3calendar\fP + .TP 2 + - +-\f3schedule\fP ++\f3schedule\fP + .RE + .RE + .RE +@@ -237,7 +237,7 @@ + .fi + + .LP +-In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. ++In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. + .nf + \f3 + .fl +@@ -253,7 +253,7 @@ + .fi + + .LP +-This code obtains the initial naming context and assigns it to \f3ctx\fP. The second line copies \f3ctx\fP into a dummy object reference \f3objref\fP that we'll attach to various names and add into the namespace. ++This code obtains the initial naming context and assigns it to \f3ctx\fP. The second line copies \f3ctx\fP into a dummy object reference \f3objref\fP that we'll attach to various names and add into the namespace. + .nf + \f3 + .fl +@@ -269,7 +269,7 @@ + .fi + + .LP +-This code creates a name "plans" of type "text" and binds it to our dummy object reference. "plans" is then added under the initial naming context using \f2rebind\fP. The \f2rebind\fP method allows us to run this program over and over again without getting the exceptions we'd get from using \f2bind\fP. ++This code creates a name "plans" of type "text" and binds it to our dummy object reference. "plans" is then added under the initial naming context using \f2rebind\fP. The \f2rebind\fP method allows us to run this program over and over again without getting the exceptions we'd get from using \f2bind\fP. + .nf + \f3 + .fl +@@ -279,7 +279,7 @@ + .fl + ctx.rebind(name1, objref); + .fl +- System.out.println("plans rebind sucessful!"); ++ System.out.println("plans rebind successful!"); + .fl + + .fl +@@ -287,7 +287,7 @@ + .fi + + .LP +-This code creates a naming context called "Personal" of type "directory". The resulting object reference, \f3ctx2\fP, is bound to the name and added under the initial naming context. ++This code creates a naming context called "Personal" of type "directory". The resulting object reference, \f3ctx2\fP, is bound to the name and added under the initial naming context. + .nf + \f3 + .fl +@@ -305,7 +305,7 @@ + .fi + + .LP +-The remainder of the code binds the dummy object reference using the names "schedule" and "calendar" under the "Personal" naming context (\f3ctx2\fP). ++The remainder of the code binds the dummy object reference using the names "schedule" and "calendar" under the "Personal" naming context (\f3ctx2\fP). + .nf + \f3 + .fl +@@ -315,7 +315,7 @@ + .fl + ctx2.rebind(name3, objref); + .fl +- System.out.println("schedule rebind sucessful!"); ++ System.out.println("schedule rebind successful!"); + .fl + + .fl +@@ -325,7 +325,7 @@ + .fl + ctx2.rebind(name4, objref); + .fl +- System.out.println("calender rebind sucessful!"); ++ System.out.println("calender rebind successful!"); + .fl + + .fl +@@ -375,7 +375,7 @@ + .fi + + .LP +-In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. ++In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. + .nf + \f3 + .fl +@@ -395,7 +395,7 @@ + .fi + + .LP +-The following code obtains the intial naming context. ++The following code obtains the initial naming context. + .nf + \f3 + .fl +@@ -409,7 +409,7 @@ + .fi + + .LP +-The \f2list\fP method lists the bindings in the naming context. In this case, up to 1000 bindings from the initial naming context will be returned in the BindingListHolder; any remaining bindings are returned in the BindingIteratorHolder. ++The \f2list\fP method lists the bindings in the naming context. In this case, up to 1000 bindings from the initial naming context will be returned in the BindingListHolder; any remaining bindings are returned in the BindingIteratorHolder. + .nf + \f3 + .fl +@@ -425,7 +425,7 @@ + .fi + + .LP +-This code gets the array of bindings out of the returned BindingListHolder. If there are no bindings, the program ends. ++This code gets the array of bindings out of the returned BindingListHolder. If there are no bindings, the program ends. + .nf + \f3 + .fl +@@ -439,7 +439,7 @@ + .fi + + .LP +-The remainder of the code loops through the bindings and prints the names out. ++The remainder of the code loops through the bindings and prints the names out. + .nf + \f3 + .fl +@@ -491,4 +491,4 @@ + .fi + + .LP +- ++ +--- jdk/src/bsd/doc/man/unpack200.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/unpack200.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH unpack200 1 "10 May 2011" ++.TH unpack200 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -35,11 +35,11 @@ + .LP + .RS 3 + .TP 3 +-input\-file +-Name of the input file, which can be a pack200 gzip file or a pack200 file. The input could also be JAR file produced by pack200(1) with an effort of 0. In this case the contents of the input file will be copied to the output JAR file with the Pack200 marker. ++input\-file ++Name of the input file, which can be a pack200 gzip file or a pack200 file. The input could also be JAR file produced by pack200(1) with an effort of 0. In this case the contents of the input file will be copied to the output JAR file with the Pack200 marker. + .TP 3 +-JAR\-file +-Name of the output JAR file. ++JAR\-file ++Name of the output JAR file. + .RE + + .LP +@@ -120,28 +120,28 @@ + .RS 3 + .TP 2 + o +-pack200(1) ++pack200(1) + .TP 2 + o + .na + \f2Java SE Documentation\fP @ + .fi +-http://download.oracle.com/javase/7/docs/index.html ++http://docs.oracle.com/javase/7/docs/index.html + .TP 2 + o + .na + \f2Java Deployment Guide \- Pack200\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html + .TP 2 + o +-jar(1) \- Java Archive Tool ++jar(1) \- Java Archive Tool + .TP 2 + o +-jarsigner(1) \- JAR Signer tool ++jarsigner(1) \- JAR Signer tool + .TP 2 + o +-\f2attributes(5)\fP man page ++\f2attributes(5)\fP man page + .RE + + .LP +@@ -153,4 +153,4 @@ + .LP + The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies. + .LP +- ++ +--- jdk/src/bsd/doc/man/wsgen.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/wsgen.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH wsgen 1 "10 May 2011" ++.TH wsgen 1 "16 Mar 2012" + .SH "Name" + wsgen \- Java(TM) API for XML Web Services (JAX\-WS) 2.0 + .LP +@@ -30,7 +30,7 @@ + The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint implementation class (SEI) and generates all the required artifacts for web service deployment, and invocation + .SH "Overview" + .LP +-The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint class and generates all the required artifacts for web service deployment, and invocation. JAXWS 2.1.1 RI also provides a wsgen ant task, see ++The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint class and generates all the required artifacts for web service deployment, and invocation. JAXWS 2.1.1 RI also provides a wsgen ant task, see + .na + \f2Wsgen ant task\fP @ + .fi +@@ -40,25 +40,25 @@ + .RS 3 + .TP 2 + o +-\f3Solaris/Bsd\fP ++\f3Solaris/Linux/BSD\fP + .RS 3 + .TP 2 + * +-\f2export JAXWS_HOME=/pathto/jaxws\-ri\fP ++\f2export JAXWS_HOME=/pathto/jaxws\-ri\fP + .TP 2 + * +-\f2$JAXWS_HOME/bin/wsgen.sh \-help\fP ++\f2$JAXWS_HOME/bin/wsgen.sh \-help\fP + .RE + .TP 2 + o +-\f3Windows\fP ++\f3Windows\fP + .RS 3 + .TP 2 + * +-\f2set JAXWS_HOME=c:\\pathto\\jaxws\-ri\fP ++\f2set JAXWS_HOME=c:\\pathto\\jaxws\-ri\fP + .TP 2 + * +-\f2%JAXWS_HOME%\\bin\\wsgen.bat \-help\fP ++\f2%JAXWS_HOME%\\bin\\wsgen.bat \-help\fP + .RE + .RE + +@@ -77,6 +77,7 @@ + The following table lists the \f2wsgen\fP options. + .br + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -361,13 +362,13 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-classpath <path>\fP\h'|\n(41u' +@@ -383,7 +384,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-cp <path>\fP\h'|\n(41u' +@@ -399,7 +400,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-d <directory>\fP\h'|\n(41u' +@@ -415,7 +416,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-extension\fP\h'|\n(41u' +@@ -429,17 +430,17 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-help\fP\h'|\n(41u'Display help +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-keep\fP\h'|\n(41u'Keep generated files + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-r <directory>\fP\h'|\n(41u' +@@ -455,7 +456,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-s <directory>\fP\h'|\n(41u' +@@ -471,7 +472,7 @@ + .sp |\n(31u + .ne \n(g|u+\n(.Vu + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-verbose\fP\h'|\n(41u' +@@ -487,7 +488,7 @@ + .sp |\n(31u + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-version\fP\h'|\n(41u' +@@ -503,7 +504,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-wsdl[:protocol]\fP\h'|\n(41u' +@@ -519,7 +520,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-servicename <name>\fP\h'|\n(41u' +@@ -535,7 +536,7 @@ + .sp |\n(31u + .ne \n(k|u+\n(.Vu + .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f4\-portname <name>\fP\h'|\n(41u' +@@ -564,6 +565,7 @@ + .rm i+ + .rm j+ + .rm k+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-53 + + .LP +@@ -571,7 +573,7 @@ + .nf + \f3 + .fl +-\fP\f3wsgen \-d stock \-cp myclasspath stock.StockService\fP ++\fP\f3wsgen \-d stock \-cp myclasspath stock.StockService\fP + .fl + .fi + .LP +@@ -579,7 +581,7 @@ + .nf + \f3 + .fl +-\fP\f3wsgen \-wsdl \-d stock \-cp myclasspath stock.StockService\fP ++\fP\f3wsgen \-wsdl \-d stock \-cp myclasspath stock.StockService\fP + .fl + .fi + .LP +@@ -587,10 +589,10 @@ + .nf + \f3 + .fl +-\fP\f3wsgen \-wsdl:Xsoap1.2 \-d stock \-cp myclasspath stock.StockService\fP ++\fP\f3wsgen \-wsdl:Xsoap1.2 \-d stock \-cp myclasspath stock.StockService\fP + .fl + .fi + .LP + Will generate a SOAP 1.2 WSDL. + .LP +-Note that you do not have to generate WSDL at the development time as JAXWS runtime will automatically generate a WSDL for you when you deploy your service. ++Note that you do not have to generate WSDL at the development time as JAXWS runtime will automatically generate a WSDL for you when you deploy your service. +--- jdk/src/bsd/doc/man/wsimport.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/wsimport.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH wsimport 1 "10 May 2011" ++.TH wsimport 1 "16 Mar 2012" + .SH "Name" + wsimport \- Java(TM) API for XML Web Services (JAX\-WS) 2.0 + .LP +@@ -33,22 +33,22 @@ + .RS 3 + .TP 2 + o +-Service Endpoint Interface (SEI) ++Service Endpoint Interface (SEI) + .TP 2 + o +-Service ++Service + .TP 2 + o +-Exception class mapped from wsdl:fault (if any) ++Exception class mapped from wsdl:fault (if any) + .TP 2 + o +-Async Reponse Bean derived from response wsdl:message (if any) ++Async Reponse Bean derived from response wsdl:message (if any) + .TP 2 + o +-JAXB generated value types (mapped java classes from schema types) ++JAXB generated value types (mapped java classes from schema types) + .RE + .LP +-These artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation to be deployed. also provides wsimport ant task, see ++These artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation to be deployed. also provides wsimport ant task, see + .na + \f2Wsimport ant task\fP @ + .fi +@@ -60,19 +60,19 @@ + .RS 3 + .TP 2 + o +-\f3Solaris/Bsd\fP ++\f3Solaris/Linux/BSD\fP + .RS 3 + .TP 2 + * +-\f2/bin/wsimport.sh \-help\fP ++\f2/bin/wsimport.sh \-help\fP + .RE + .TP 2 + o +-\f3Windows\fP ++\f3Windows\fP + .RS 3 + .TP 2 + * +-\f2\\bin\\wsimport.bat \-help\fP ++\f2\\bin\\wsimport.bat \-help\fP + .RE + .RE + +@@ -88,6 +88,7 @@ + .LP + The following table lists the \f2wsimport\fP options. + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -431,13 +432,13 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-d <directory> \fP\h'|\n(41u' +@@ -453,7 +454,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-b <path> \fP\h'|\n(41u' +@@ -469,7 +470,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-B <jaxbOption>\fP\h'|\n(41u' +@@ -485,7 +486,7 @@ + .sp |\n(31u + .ne \n(d|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-catalog\fP\h'|\n(41u' +@@ -501,7 +502,7 @@ + .sp |\n(31u + .ne \n(e|u+\n(.Vu + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-extension \fP\h'|\n(41u' +@@ -515,7 +516,7 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-help \fP\h'|\n(41u'Display help +@@ -523,7 +524,7 @@ + .ne \n(g|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) + .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -544,13 +545,13 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-keep \fP\h'|\n(41u'Keep generated files + .ne \n(h|u+\n(.Vu + .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-p \fP\h'|\n(41u' +@@ -566,7 +567,7 @@ + .sp |\n(31u + .ne \n(i|u+\n(.Vu + .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-s <directory> \fP\h'|\n(41u' +@@ -582,7 +583,7 @@ + .sp |\n(31u + .ne \n(j|u+\n(.Vu + .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-verbose \fP\h'|\n(41u' +@@ -598,7 +599,7 @@ + .sp |\n(31u + .ne \n(k|u+\n(.Vu + .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-version \fP\h'|\n(41u' +@@ -616,7 +617,7 @@ + .ne \n(m|u+\n(.Vu + .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) + .if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -639,7 +640,7 @@ + .sp |\n(31u + .ne \n(n|u+\n(.Vu + .if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-target \fP\h'|\n(41u' +@@ -653,7 +654,7 @@ + .mk 32 + .if \n(32>\n(31 .nr 31 \n(32 + .sp |\n(31u +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-quiet \fP\h'|\n(41u'Suppress wsimport output +@@ -675,9 +676,10 @@ + .rm l+ + .rm m+ + .rm n+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-66 + .LP +-Multiple JAX\-WS and JAXB binding files can be specified using \f2\-b\fP option and they can be used to customize various things like package names, bean names, etc. More information on JAX\-WS and JAXB binding files can be found in the ++Multiple JAX\-WS and JAXB binding files can be specified using \f2\-b\fP option and they can be used to customize various things like package names, bean names, etc. More information on JAX\-WS and JAXB binding files can be found in the + .na + \f2customization documentation\fP @ + .fi +@@ -685,6 +687,7 @@ + .LP + The following table lists \f2wsimport\fP non\-standard options: + .LP ++.TS + .if \n+(b.=1 .nr d. \n(.c-\n(c.-1 + .de 35 + .ps \n(.s +@@ -856,13 +859,13 @@ + .ls + .. + .ec +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP + .ne \n(a|u+\n(.Vu + .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-XadditionalHeaders\fP\h'|\n(41u' +@@ -878,7 +881,7 @@ + .sp |\n(31u + .ne \n(b|u+\n(.Vu + .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-Xauthfile <file>\fP\h'|\n(41u' +@@ -894,7 +897,7 @@ + .sp |\n(31u + .ne \n(c|u+\n(.Vu + .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-Xdebug\fP\h'|\n(41u' +@@ -912,7 +915,7 @@ + .ne \n(e|u+\n(.Vu + .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) + .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\h'|\n(41u' +@@ -935,7 +938,7 @@ + .sp |\n(31u + .ne \n(f|u+\n(.Vu + .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u ++.ta \n(80u \n(81u + .nr 31 \n(.f + .nr 35 1m + \&\h'|\n(40u'\f3\-Xnocompile\fP\h'|\n(41u' +@@ -959,6 +962,7 @@ + .rm d+ + .rm e+ + .rm f+ ++.TE + .if \n-(b.=0 .nr c. \n(.c-\n(d.-26 + + .LP +@@ -972,4 +976,4 @@ + .LP + This will generate the Java artifacts and compile them by importing the \f2http://stockquote.example.com/quote?wsdl\fP. + .br +- ++ +--- jdk/src/bsd/doc/man/xjc.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/bsd/doc/man/xjc.1 2014-01-18 12:16:33.000000000 -0800 +@@ -19,7 +19,7 @@ + ." or visit www.oracle.com if you need additional information or have any + ." questions. + ." +-.TH xjc 1 "10 May 2011" ++.TH xjc 1 "16 Mar 2012" + + .LP + .SH "Name" +@@ -35,7 +35,7 @@ + .SH "Launching xjc" + .LP + .LP +-The binding compiler can be launched using the appropriate \f2xjc\fP shell script in the \f2bin\fP directory for your platform. We also provide an Ant task to run the binding complier \- see the instructions for ++The binding compiler can be launched using the appropriate \f2xjc\fP shell script in the \f2bin\fP directory for your platform. We also provide an Ant task to run the binding complier \- see the instructions for + .na + \f2using the XJC Ant task\fP @ + .fi +@@ -44,7 +44,7 @@ + .LP + \f2% xjc \-help\fP + .LP +-.SS ++.SS + Output + .LP + .nf +@@ -124,115 +124,115 @@ + .LP + .RS 3 + .TP 3 +-\-nv +-By default, the XJC binding compiler performs strict validation of the source schema before processing it. Use this option to disable strict schema validation. This does not mean that the binding compiler will not perform any validation, it simply means that it will perform less\-strict validation. ++\-nv ++By default, the XJC binding compiler performs strict validation of the source schema before processing it. Use this option to disable strict schema validation. This does not mean that the binding compiler will not perform any validation, it simply means that it will perform less\-strict validation. + .TP 3 +-\-extension +-By default, the XJC binding compiler strictly enforces the rules outlined in the Compatibility chapter of the JAXB Specification. Appendix E.2 defines a set of W3C XML Schema features that are not completely supported by JAXB v1.0. In some cases, you may be allowed to use them in the "\-extension" mode enabled by this switch. In the default (strict) mode, you are also limited to using only the binding customizations defined in the specification. By using the "\-extension" switch, you will be allowed to use the JAXB Vendor Extensions ++\-extension ++By default, the XJC binding compiler strictly enforces the rules outlined in the Compatibility chapter of the JAXB Specification. Appendix E.2 defines a set of W3C XML Schema features that are not completely supported by JAXB v1.0. In some cases, you may be allowed to use them in the "\-extension" mode enabled by this switch. In the default (strict) mode, you are also limited to using only the binding customizations defined in the specification. By using the "\-extension" switch, you will be allowed to use the JAXB Vendor Extensions + .TP 3 +-\-b <file> ++\-b <file> + Specify one or more external binding files to process. (Each binding file must have its own \f2"\-b"\fP switch.) The syntax of the external binding files is extremely flexible. You may have a single binding file that contains customizations for multiple schemas or you can break the customizations into multiple bindings files: \f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings123.xjb\fP + .br +-\f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings1.xjb \-b bindings2.xjb \-b bindings3.xjb\fP In addition, the ordering of the schema files and binding files on the command line does not matter. ++\f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings1.xjb \-b bindings2.xjb \-b bindings3.xjb\fP In addition, the ordering of the schema files and binding files on the command line does not matter. + .TP 3 +-\-d <dir> +-By default, the XJC binding compiler will generate the Java content classes in the current directory. Use this option to specify an alternate output directory. The output directory must already exist, the XJC binding compiler will not create it for you. ++\-d <dir> ++By default, the XJC binding compiler will generate the Java content classes in the current directory. Use this option to specify an alternate output directory. The output directory must already exist, the XJC binding compiler will not create it for you. + .TP 3 +-\-p <pkg> +-Specifying a target package via this command\-line option overrides any binding customization for package name and the default package name algorithm defined in the specification. ++\-p <pkg> ++Specifying a target package via this command\-line option overrides any binding customization for package name and the default package name algorithm defined in the specification. + .TP 3 +-\-httpproxy <proxy> +-Specify the HTTP/HTTPS proxy. The format is [user[:password]@]proxyHost[:proxyPort]. The old \f2\-host\fP and \f2\-port\fP are still supported by the RI for backwards compatibility, but they have been deprecated. Note that the password specified with this option is an argument that is visible to other users who use the \f2top\fP command, for example. For greater security, use \f2\-httpproxyfile\fP, below. ++\-httpproxy <proxy> ++Specify the HTTP/HTTPS proxy. The format is [user[:password]@]proxyHost[:proxyPort]. The old \f2\-host\fP and \f2\-port\fP are still supported by the RI for backwards compatibility, but they have been deprecated. Note that the password specified with this option is an argument that is visible to other users who use the \f2top\fP command, for example. For greater security, use \f2\-httpproxyfile\fP, below. + .TP 3 +-\-httpproxyfile <file> +-Specify the HTTP/HTTPS proxy using a file. Same format as above, but the password specified in the file is not visible to other users. ++\-httpproxyfile <file> ++Specify the HTTP/HTTPS proxy using a file. Same format as above, but the password specified in the file is not visible to other users. + .TP 3 +-\-classpath <arg> +-Specify where to find client application class files used by the \f2<jxb:javaType>\fP and \f2<xjc:superClass>\fP customizations. ++\-classpath <arg> ++Specify where to find client application class files used by the \f2<jxb:javaType>\fP and \f2<xjc:superClass>\fP customizations. + .TP 3 +-\-catalog <file> +-Specify catalog files to resolve external entity references. Supports TR9401, XCatalog, and OASIS XML Catalog format. Please read the XML Entity and URI Resolvers document or the \f2catalog\-resolver\fP sample application. ++\-catalog <file> ++Specify catalog files to resolve external entity references. Supports TR9401, XCatalog, and OASIS XML Catalog format. Please read the XML Entity and URI Resolvers document or the \f2catalog\-resolver\fP sample application. + .TP 3 +-\-readOnly +-By default, the XJC binding compiler does not write\-protect the Java source files it generates. Use this option to force the XJC binding compiler to mark the generated Java sources read\-only. ++\-readOnly ++By default, the XJC binding compiler does not write\-protect the Java source files it generates. Use this option to force the XJC binding compiler to mark the generated Java sources read\-only. + .TP 3 +-\-npa +-Supress the generation of package level annotations into **/package\-info.java. Using this switch causes the generated code to internalize those annotations into the other generated classes. ++\-npa ++Supress the generation of package level annotations into **/package\-info.java. Using this switch causes the generated code to internalize those annotations into the other generated classes. + .TP 3 +-\-no\-header +-Supress the generation of a file header comment that includes some note and timestamp. Using this makes the generated code more diff\-friendly. ++\-no\-header ++Supress the generation of a file header comment that includes some note and timestamp. Using this makes the generated code more diff\-friendly. + .TP 3 +-\-target 2.0 +-Avoid generating code that relies on any JAXB 2.1 features. This will allow the generated code to run with JAXB 2.0 runtime (such as JavaSE 6.) ++\-target 2.0 ++Avoid generating code that relies on any JAXB 2.1 features. This will allow the generated code to run with JAXB 2.0 runtime (such as JavaSE 6.) + .TP 3 +-\-xmlschema +-Treat input schemas as W3C XML Schema (default). If you do not specify this switch, your input schemas will be treated as W3C XML Schema. ++\-xmlschema ++Treat input schemas as W3C XML Schema (default). If you do not specify this switch, your input schemas will be treated as W3C XML Schema. + .TP 3 +-\-relaxng +-Treat input schemas as RELAX NG (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. ++\-relaxng ++Treat input schemas as RELAX NG (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. + .TP 3 +-\-relaxng\-compact +-Treat input schemas as RELAX NG compact syntax(experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. ++\-relaxng\-compact ++Treat input schemas as RELAX NG compact syntax(experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. + .TP 3 +-\-dtd +-Treat input schemas as XML DTD (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. ++\-dtd ++Treat input schemas as XML DTD (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. + .TP 3 +-\-wsdl +-Treat input as WSDL and compile schemas inside it (experimental,unsupported). ++\-wsdl ++Treat input as WSDL and compile schemas inside it (experimental,unsupported). + .TP 3 +-\-quiet +-Suppress compiler output, such as progress information and warnings. ++\-quiet ++Suppress compiler output, such as progress information and warnings. + .TP 3 +-\-verbose +-Be extra verbose, such as printing informational messages or displaying stack traces upon some errors. ++\-verbose ++Be extra verbose, such as printing informational messages or displaying stack traces upon some errors. + .TP 3 +-\-help +-Display a brief summary of the compiler switches. ++\-help ++Display a brief summary of the compiler switches. + .TP 3 +-\-version +-Display the compiler version information. ++\-version ++Display the compiler version information. + .TP 3 +-<schema file/URL/dir> +-Specify one or more schema files to compile. If you specify a directory, then xjc will scan it for all schema files and compile them. ++<schema file/URL/dir> ++Specify one or more schema files to compile. If you specify a directory, then xjc will scan it for all schema files and compile them. + .RE + + .LP +-.SS ++.SS + Non\-Standard Command Line Options + .LP + .RS 3 + .TP 3 +-\-Xlocator +-Causes the generated code to expose SAX Locator information about the source XML in the Java bean instances after unmarshalling. ++\-Xlocator ++Causes the generated code to expose SAX Locator information about the source XML in the Java bean instances after unmarshalling. + .TP 3 +-\-Xsync\-methods +-Causes all of the generated method signatures to include the \f2synchronized\fP keyword. ++\-Xsync\-methods ++Causes all of the generated method signatures to include the \f2synchronized\fP keyword. + .TP 3 +-\-mark\-generated +-Mark the generated code with the annotation \f2@javax.annotation.Generated\fP. ++\-mark\-generated ++Mark the generated code with the annotation \f2@javax.annotation.Generated\fP. + .TP 3 +-\-episode <file> +-Generate the specified episode file for separate compilation. ++\-episode <file> ++Generate the specified episode file for separate compilation. + .RE + + .LP +-.SS ++.SS + Deprecated and Removed Command Line Options + .LP + .RS 3 + .TP 3 +-\-host & \-port +-These options have been deprecated and replaced with the \f3\-httpproxy\fP option. For backwards compatibility, we will continue to support these options, but they will no longer be documented and may be removed from future releases. ++\-host & \-port ++These options have been deprecated and replaced with the \f3\-httpproxy\fP option. For backwards compatibility, we will continue to support these options, but they will no longer be documented and may be removed from future releases. + .TP 3 +-\-use\-runtime +-Since the JAXB 2.0 specification has defined a portable runtime, it is no longer necessary for the JAXB RI to generate **/impl/runtime packages. Therefore, this switch is obsolete and has been removed. ++\-use\-runtime ++Since the JAXB 2.0 specification has defined a portable runtime, it is no longer necessary for the JAXB RI to generate **/impl/runtime packages. Therefore, this switch is obsolete and has been removed. + .TP 3 +-\-source +-The \-source compatibility switch was introduced in the first JAXB 2.0 Early Access release. We have decided to remove this switch from future releases of JAXB 2.0. If you need to generate 1.0.x code, please use an installation of the 1.0.x codebase. ++\-source ++The \-source compatibility switch was introduced in the first JAXB 2.0 Early Access release. We have decided to remove this switch from future releases of JAXB 2.0. If you need to generate 1.0.x code, please use an installation of the 1.0.x codebase. + .RE + + .LP +-.SS ++.SS + Compiler Restrictions + .LP + .LP +@@ -244,30 +244,30 @@ + .RS 3 + .TP 2 + o +-To compile multiple schemas at the same time, keep the following precedence rules for the target Java package name in mind: ++To compile multiple schemas at the same time, keep the following precedence rules for the target Java package name in mind: + .RS 3 + .TP 3 + 1. +-The "\f2\-p\fP" command line option takes the highest precedence. ++The "\f2\-p\fP" command line option takes the highest precedence. + .TP 3 + 2. +-<\f2jaxb:package\fP> customization ++<\f2jaxb:package\fP> customization + .TP 3 + 3. +-If \f2targetNamespace\fP is declared, apply \f2targetNamespace\fP \-> Java package name algorithm defined in the specification. ++If \f2targetNamespace\fP is declared, apply \f2targetNamespace\fP \-> Java package name algorithm defined in the specification. + .TP 3 + 4. +-If no \f2targetNamespace\fP is declared, use a hardcoded package named "generated". ++If no \f2targetNamespace\fP is declared, use a hardcoded package named "generated". + .RE + .TP 2 + o +-It is not legal to have more than one <\f2jaxb:schemaBindings\fP> per namespace, so it is impossible to have two schemas in the same target namespace compiled into different Java packages. ++It is not legal to have more than one <\f2jaxb:schemaBindings\fP> per namespace, so it is impossible to have two schemas in the same target namespace compiled into different Java packages. + .TP 2 + o +-All schemas being compiled into the same Java package must be submitted to the XJC binding compiler at the same time \- they cannot be compiled independently and work as expected. ++All schemas being compiled into the same Java package must be submitted to the XJC binding compiler at the same time \- they cannot be compiled independently and work as expected. + .TP 2 + o +-Element substitution groups spread across multiple schema files must be compiled at the same time. ++Element substitution groups spread across multiple schema files must be compiled at the same time. + .RE + + .LP +@@ -280,18 +280,18 @@ + .na + \f2command\-line instructions\fP @ + .fi +-https://jaxb.dev.java.net/nonav/2.1.3/docs/xjc.html, ++https://jaxb.dev.java.net/nonav/2.1.3/docs/xjc.html, + .na + \f2using the XJC Ant task\fP @ + .fi +-https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.html] ++https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.html] + .TP 2 + o + .na + \f2Java Architecture for XML Binding (JAXB)\fP @ + .fi +-http://download.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html ++http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html + .RE + + .LP +- ++ +--- jdk/src/linux/doc/man/ja/jarsigner.1 2013-09-06 11:27:46.000000000 -0700 ++++ jdk/src/linux/doc/man/ja/jarsigner.1 2014-01-18 12:16:22.000000000 -0800 +@@ -1,1673 +1,1403 @@ +-." Copyright (c) 1998, 2011, 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. +-." +-.TH jarsigner 1 "05 Jul 2012" +- +-.LP +-.SH "̾Á°" +-jarsigner \- JAR½ð̾¤ª¤è¤Ó¸¡¾Ú¥Ä¡¼¥ë +-.LP +-.LP +-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Î½ð̾¤òÀ¸À®¤·¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ +-.LP ++'\" t ++.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. ++.\" Title: jarsigner ++.\" Language: English ++.\" Date: 2013ǯ8·î6Æü ++.\" SectDesc: ¥»¥¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë ++.\" Software: JDK 7 ++.\" Arch: ÈÆÍÑ ++.\" ++.\" 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. ++.\" ++.pl 99999 ++.TH "jarsigner" "1" "2013ǯ8·î6Æü" "JDK 7" "¥»¥¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë" ++.\" ----------------------------------------------------------------- ++.\" * Define some portability stuff ++.\" ----------------------------------------------------------------- ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.\" http://bugs.debian.org/507673 ++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ----------------------------------------------------------------- ++.\" * set default formatting ++.\" ----------------------------------------------------------------- ++.\" disable hyphenation ++.nh ++.\" disable justification (adjust text to left margin only) ++.ad l ++.\" ----------------------------------------------------------------- ++.\" * MAIN CONTENT STARTS HERE * ++.\" ----------------------------------------------------------------- ++.SH "NAME" ++jarsigner \- Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ½ð̾¤ª¤è¤Ó¸¡¾Ú¤ò¹Ô¤¤¤Þ¤¹¡£ + .SH "·Á¼°" +-.LP ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +-\fP\f3jarsigner\fP [ options ] jar\-file alias +-.fl +-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...] +-.fl +-.fi +- +-.LP +-.LP +-jarsigner¤Î\-verify¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢ÊÌ̾¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢jarsigner¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\-keystore¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ +-.LP ++\fIjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\fIjarsigner\fR \fI\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fIoptions\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥ª¥×¥·¥ç¥ó¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verify ++.RS 4 ++\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¸¡½Ð¤µ¤ì¤ë¤È¡¢¥á¥Ã¥»¡¼¥¸¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£½ð̾¼Ô¥¨¥é¡¼¡×¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\fIjar\-file\fR ++.RS 4 ++½ð̾¤µ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¡£ ++.RE ++.PP ++\fIalias\fR ++.RS 4 ++ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ++.RE + .SH "ÀâÌÀ" +-.LP +-.LP +-\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤Ç»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 3 +-1. +-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ +-.TP 3 +-2. +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ¤ò¸¡¾Ú¤¹¤ëÌÜŪ +-.RE +- +-.LP +-.LP +-JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ¤Þ¤¹¡£³«È¯¼Ô¤Ï¡¢jar(1)¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f3jar\fP¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\f3jarsigner\fP¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢META\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£) +-.LP +-.LP +-\f2¥Ç¥¸¥¿¥ë½ð̾\fP¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(¡Ö½ð̾¡×¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¤È¡¢¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤È¤Ë´ð¤Å¤¤¤Æ·×»»¤µ¤ì¤ë¥Ó¥Ã¥ÈÎó¤Ç¤¹¡£¼ê½ñ¤¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ÈÂÐ¤Ë¤Ê¤ë¸ø³«¸°¤ò»ÈÍѤ·¤Æ·×»»¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥Ç¥¸¥¿¥ë½ð̾¤¬ËÜʪ¤«¤É¤¦¤«¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£ +-.TP 2 +-o +-¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤½¤Î½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Î¤ß¤òÂоݤȤ¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤·¤Æµ¡Ç½¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ +-.TP 2 +-o +-½ð̾ÉÕ¤¤Î¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤Î½ð̾¤Ë¤è¤Ã¤Æ¥Ç¡¼¥¿¤¬ËÜʪ¤Ç¤Ï¤Ê¤¤¤³¤È¤¬¸¡¾Ú¤µ¤ì¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°¤ÈÈëÌ©¸°¤Î¥Ú¥¢¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¾ÚÌÀ½ñ¤âɬÍפǤ¹¡£\f2¾ÚÌÀ½ñ\fP¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤¬È¯¹Ô¤·¤¿¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤¤Îʸ½ñ¤Ç¡¢Ê̤ʥ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤǤ¢¤ë¤³¤È¤ò¾ÚÌÀ¤·¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¡¢\f2¥¡¼¥¹¥È¥¢\fP¤Ë´Þ¤Þ¤ì¤ë¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¤¿¤á¤ÎX.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬¼ý¤á¤é¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£¥¡¼¥¹¥È¥¢¤ÎºîÀ®¤È´ÉÍý¤Ë¤Ï¡¢keytool(1)¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ËÂФ¹¤ë¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤Ê¤É¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£\f3jarsigner\fP¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ëÆâ(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Ë¤¢¤ë¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¤½¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤¹¤ë¤Î¤Ç¡¢¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤ÏJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¾ÚÌÀ½ñ¤Î͸ú´ü´ÖÃæ¤Ë½ð̾¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¸½»þÅÀ¤Ç¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤Ç¤¤ë¤Î¤Ï¡¢SDK¤Îjar(1)¥Ä¡¼¥ë¤ÇºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Î¤ß¤Ç¤¹¡£(JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤ÏMETA\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤¬ZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ë¼«Æ°Åª¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£) +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\f3jarsigner\fP¤ÏJAR(¤Þ¤¿¤ÏZIP)¥Õ¥¡¥¤¥ë¤Ë\f2½ð̾¤·¤Þ¤¹\fP¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò\f2¸¡¾Ú\fP¤¹¤ë¾ì¹ç¤Ï¡¢\f2\-verify\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤ÎÊÌ̾ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ï¡¢°ì°Õ¤Î\f2ÊÌ̾\fP¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤ÎÎã¤Ï¡¢working¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾duke¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢MyJARFile.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢MyJARFile.jar¤Ï½ð̾ÉÕ¤¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤È°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤Î¾ì½ê +-.LP +-.LP +-\f3jarsigner\fP¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\f2user.home\fP¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\f2.keystore\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\f2user.home\fP¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¥æ¡¼¥¶¡¼¤Îhome¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\f2NONE\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\f2NONE\fP¤Ï¡¢\f2KeyStore\fP¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¾å¤Ë¸ºß¤·¤Æ¤¤¤ë¾ì¹ç¤Ê¤É¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ +-.LP +-.LP +-\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\f2KeyStore\fP¥¯¥é¥¹¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¸ÇÄê¼ÂÁõ¤È¤·¤Æ¤Ï¡¢¤½¤ì¤¾¤ì¤¬ÆÃÄê¤Î\f2¥¿¥¤¥×\fP¤Î¥¡¼¥¹¥È¥¢¤òÂоݤȤ¹¤ëÊ£¿ô¤Î°Û¤Ê¤ë¼ÂÁõ¤¬Â¸ºß²Äǽ¤Ç¤¹¡£ +-.LP +-.LP +-¸½ºß¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤â¤Î¤È¤·¤Æ¡¢\f3keytool\fP¤È\f3jarsigner\fP¤Î2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë¤È¡¢\f3Policy Tool\fP¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\f2KeyStore\fP¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢Java 2 SDK¥æ¡¼¥¶¡¼¤ÏKeyStore¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤âºîÀ®¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Ë¤Ï¡¢Sun Microsystems¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢JKS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤òÍøÍѤ¹¤ë¤â¤Î¤Ç¡¢¥¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢¸Ä¡¹¤ÎÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ¤â(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¡¢¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢\f2KeyStore\fP¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¡Ö¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡×(SPI)¤Ë´ð¤Å¤¤¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Âбþ¤¹¤ë\f2KeystoreSpi\fPÃê¾Ý¥¯¥é¥¹(¤³¤ì¤â\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹)¤¬¤¢¤ê¡¢¤³¤Î¥¯¥é¥¹¤¬¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ëService Provider Interface¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£(¤³¤³¤Ç¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£)¤·¤¿¤¬¤Ã¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢ +-.na +-\f2Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ãÍÑ¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¡Ö¥×¥í¥Ð¥¤¥À¡×¤ò¼ÂÁõ¤·¡¢KeystoreSpi¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\f2KeyStore\fP¥¯¥é¥¹¤¬Ä󶡤¹¤ëgetInstance¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë\f2¥¿¥¤¥×\fP¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£ +-.LP +-.LP +-\f3keytool\fP¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£(¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅϤµ¤ì¤¿¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤òFileInputStream¤ËÊÑ´¹¤·¤Æ¡¢FileInputStream¤«¤é¥¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£)°ìÊý¡¢\f3jarsigner\fP¥Ä¡¼¥ë¤È\f3policytool\fP¥Ä¡¼¥ë¤Ï¡¢URL¤Ç»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥¡¼¥¹¥È¥¢¤òÆÉ¤ß¹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤È\f3keytool\fP¤Î¾ì¹ç¡¢\f2\-storetype\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\f3Policy Tool\fP¤Î¾ì¹ç¤Ï¡¢¡ÖEdit¡×¥á¥Ë¥å¡¼¤Î¡ÖChange Keystore¡×¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¥æ¡¼¥¶¡¼¤¬¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢Ã±½ã¤Ë¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\f2java.security\fP¤È¸Æ¤Ð¤ì¡¢SDK¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\f2java.home\fP/lib/securityÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢\f2java.home\fP¤Ï¼Â¹Ô»þ´Ä¶¤Î¥Ç¥£¥ì¥¯¥È¥ê(SDK¤Î\f2jre\fP¥Ç¥£¥ì¥¯¥È¥ê¤Þ¤¿¤ÏJava 2 Runtime Environment¤Î¥È¥Ã¥×¥ì¥Ù¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê)¤Ç¤¹¡£ +-.LP +-.LP +-³Æ¥Ä¡¼¥ë¤Ï¡¢\f2keystore.type\fP¤ÎÃͤò¼èÆÀ¤·¡¢¤³¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.LP +-\f2KeyStore\fP¥¯¥é¥¹¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ëstatic¥á¥½¥Ã¥É\f2getDefaultType\fP¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥¢¥×¥ì¥Ã¥È¤«¤é\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤò¼èÆÀ¤Ç¤¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤Ç»ØÄꤵ¤ì¤¿¥¿¥¤¥×)¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ïjks(Sun¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- keystore.type=jks +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Ãí°Õ: ¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢JKS¤Èjks¤ÏƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.LP +-.LP +-³Æ¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢pkcs12¤È¸Æ¤Ð¤ì¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- keystore.type=pkcs12 +-.fl +-\fP +-.fi +- +-.LP +-.LP +-PKCS#11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Î¾ÜºÙ¤Ï¡¢Java PKCS#11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Ë¤¢¤ë +-.na +-\f2KeyTool¤ÈJarSigner\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à +-.LP +-.LP +-\f3jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¼¡¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿DSA(¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à) +-.TP 2 +-o +-SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à +-.TP 2 +-o +-SHA256¤ÈECDSA(Âʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)¤ò»ÈÍѤ·¤¿EC(Âʱ߶ÊÀþ)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à +-.RE +- +-.LP +-.LP +-¶ñÂÎŪ¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA1withDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£ +-.LP +-.LP +-¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\f2\-sigalg\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤¤Þ¤¹¡£ +-.LP +-.SS +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë +-.LP +-.LP +-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤¿¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-.SF³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë +-.TP 2 +-o +-.DSA¡¢.RSA¤Þ¤¿¤Ï.EC¤ò³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë +-.RE +- +-.LP +-.LP +-¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\f2\-sigFile\fP¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +-\-sigFile MKSIGN +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Ï¤½¤ì¤¾¤ìMKSIGN.SF¤ÈMKSIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£»ÈÍѤǤ¤ëʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ(_)¡¢¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£ +-.LP +-\f3½ð̾(.SF)¥Õ¥¡¥¤¥ë\fP +-.LP +-.LP +-½ð̾¥Õ¥¡¥¤¥ë(.SF¥Õ¥¡¥¤¥ë)¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤òÉÕ¤±¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëƱÍÍ¡¢.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢¼¡¤Î3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-¥Õ¥¡¥¤¥ë̾ +-.TP 2 +-o +-»ÈÍѤµ¤ì¤Æ¤¤¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á° +-.TP 2 +-o +-SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ +-.RE +- +-.LP +-.LP +-¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÊý¡¢.SF¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤³¤ì¤é3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ÇÀâÌÀ¤¹¤ë¤è¤¦¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤Î¸ºß¤Ë¤è¤Ã¤Æ¸¡¾Ú¤ÎºÇŬ²½¤¬²Äǽ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ +-.LP +-\f3½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fP +-.LP +-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤âÉ乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ.DSA¡¢.RSA¡¢.EC¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.SS +-½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥× +-.LP +-.LP +-\f2jarsigner\fP¥Ä¡¼¥ë¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤·¤ÆÊݸ¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢\f2jarsigner\fP¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-\f2\-tsa url\fP +-.TP 2 +-o +-\f2\-tsacert alias\fP +-.TP 2 +-o +-\f2\-altsigner class\fP +-.TP 2 +-o +-\f2\-altsignerpath classpathlist\fP +-.RE +- +-.LP +-.LP +-¤³¤ì¤é¤Î³Æ¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¸å¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 3 +-1. +-.SF¥Õ¥¡¥¤¥ë¼«ÂΤνð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ +-.br +-.br +-¤³¤Î¼ê½ç¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(.DSA)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë½ð̾¤¬¡¢¼ÂºÝ¤Ë¡¢¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤â¤Î¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£.DSA¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¸ø³«¸°¤Î¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢¤³¤Î¼ê½ç¤Ç¤Ï¡¢ÌÜŪ¤Î½ð̾¤¬¡¢Âбþ¤¹¤ë½ð̾(.SF)¥Õ¥¡¥¤¥ëÆâ¤Î͸ú¤Ê½ð̾¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¡¢.SF¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-2. +-.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£ +-.br +-.br +-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¼ÂºÝ¤Ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò¸¡¾Ú¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¼ê½ç¤Ë¸¡¾Ú¤¬¿Ê¤ß¤Þ¤¹¡£ +-.br +-.br +-¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤¿¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹(½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È)¡£ +-.br ++.PP ++\fIjarsigner\fR¥Ä¡¼¥ë¤Ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ¤ò¸¡¾Ú¤¹¤ëÌÜŪ¡£ ++.RE ++.PP ++JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ¤Þ¤¹¡£\fIjar\fR¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¡¢³«È¯¼Ô¤ÏJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤À¤·¡¢jar¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\fIjarsigner\fR¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£) ++.PP ++¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(½ð̾¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¡¢¤ª¤è¤Ó¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤«¤é·×»»¤µ¤ì¤ë¥Ó¥Ã¥È¤Îʸ»úÎó¤Ç¤¹¡£¼ê½ñ¤¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ò»ÈÍѤ¹¤ë·×»»¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¬ËÜʪ¤Ç¤¢¤ë¤³¤È¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¤³¤ì¤Ï¡¢½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Îµ¡Ç½¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤Ê¤ë¤è¤¦¤ËÍ×µá¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾ÉÕ¤¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¡¢½ð̾¤Ë¤è¤Ã¤ÆËÜʪ¤Ç¤¢¤ë¤È¸¡¾Ú¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.PP ++¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°/ÈëÌ©¸°¤Î¥Ú¥¢¤È¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä°Ê¾å¤Î¾ÚÌÀ½ñ¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¾ÚÌÀ½ñ¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤«¤é¤Î¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤¤Îʸ½ñ¤Ç¡¢Ê̤Υ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤò»ý¤Ä¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¡¼¥¹¥È¥¢¤«¤é¤Î¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¡¢ÈëÌ©¸°¤Ë´ØÏ¢¤·¤¿X\&.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£\fIkeytool\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢¤òºîÀ®¤ª¤è¤Ó´ÉÍý¤·¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ÆÃ¤Ë¡¢¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤Î¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢ÆâÉô(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Î¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢½ð̾¾ÚÌÀ½ñ¤Î͸ú´ü´ÖÃæ¤ËJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¤µ¤ì¤¿¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤¬¥Á¥§¥Ã¥¯¤Ç¤¤ë¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£ ++.PP ++¸½»þÅÀ¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjar\fR¥³¥Þ¥ó¥É¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î¤ß¤Ë½ð̾¤Ç¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£ ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Î\fIjarsigner\fR¥³¥Þ¥ó¥É¤Îưºî¤Ç¤Ï¡¢JAR¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¸å¤Ë½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤Î¸¡¾Ú¤â»î¹Ô¤·¤Þ¤¹¡£¸¡¾Ú¥¨¥é¡¼¤Þ¤¿¤Ï¤½¤Î¾¤ÎÌäÂ꤬ȯÀ¸¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¥¨¥é¡¼¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.SS "¥¡¼¥¹¥È¥¢¤ÎÊÌ̾" ++.PP ++¥¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢°ì°Õ¤ÎÊÌ̾¤ò»ÈÍѤ·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾\fIduke\fR¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢\fIMyJARFile\&.jar\fR¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢\fIMyJARFile\&.jar\fR¤Ï½ð̾ÉÕ¤¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-storepass <keystore password> ++ \-keypass <private key password> MyJARFile\&.jar duke ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢ÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤ÈƱ¤¸¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.SS "¥¡¼¥¹¥È¥¢¤Î¾ì½ê" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\fI\&.keystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Oracle Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\fIuser\&.home\fR¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£ ++.PP ++\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\fINONE\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\fINONE\fR¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¤ËÃÖ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë»ØÄꤷ¤Þ¤¹¡£ ++.SS "¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ" ++.PP ++\fIjava\&.security package\fR¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\fIKeyStore\fR¥¯¥é¥¹¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿Â¿¤¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£Ê£¿ô¤Î°Û¤Ê¤ë¸ÇÄê¼ÂÁõ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¡¢³Æ¼ÂÁõ¤ÏÆÃÄê¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤òÂоݤȤ·¤Þ¤¹¡£ ++.PP ++¸½ºß¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë(\fIkeytool\fR¤È\fIjarsigner\fR)¡¢¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\fIKeyStore\fR¥¯¥é¥¹¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¿¤á¡¢JDK¥æ¡¼¥¶¡¼¤Ï¡¢¤½¤ì¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.PP ++Oracle¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢KS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤ò»ÈÍѤ¹¤ë¤â¤Î¤Ç¡¢¥¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£Áȹþ¤ß¤Î¼ÂÁõ¤Ç¤Ï¡¢³ÆÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ¤Ï(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£ ++.PP ++¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¡¢¤Ä¤Þ¤ê¡¢\fIKeyStore\fR¥¯¥é¥¹¤Ë¤è¤êÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¡¢¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹(SPI)¤Ë´Ø¤·¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£Âбþ¤¹¤ë\fIKeystoreSpi\fRÃê¾Ý¥¯¥é¥¹¤¬¤¢¤ê¡¢¤³¤ì¤â\fIjava\&.security package\fR¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤¬¡¢¥×¥í¥Ð¥¤¥À¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ë¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢¥×¥í¥Ð¥¤¥À¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html¤Ë¤¢¤ë ++Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥×¥í¥Ð¥¤¥À¤ò¼ÂÁõ¤·¡¢\fIKeystoreSpi\fR¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.PP ++¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤Î\fIgetInstance\fR¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ·¤Æ¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ++.PP ++\fIkeytool\fR¥³¥Þ¥ó¥É¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÅϤµ¤ì¤¿¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤ò\fIFileInputStream\fR¤ËÊÑ´¹¤·¤Æ¡¢¤½¤³¤«¤é¥¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£\fIjarsigner\fR¥Ä¡¼¥ë¤ª¤è¤Ó\fIpolicytool\fR¥Ä¡¼¥ë¤Ï¡¢URL¤ò»ÈÍѤ·¤Æ»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥¡¼¥¹¥È¥¢¤òÆÉ¤ß¼è¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ª¤è¤Ó\fIkeytool\fR¥³¥Þ¥ó¥É¤Î¾ì¹ç¡¢\fI\-storetype\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤Î¾ì¹ç¡¢¡ÖÊÔ½¸¡×¥á¥Ë¥å¡¼¤ÎChange Keystore¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£ ++.PP ++¥æ¡¼¥¶¡¼¤¬¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\fIjava\&.security\fR¤È¸Æ¤Ð¤ì¡¢JDK¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\fIjava\&.home/lib/security\fRÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢java\&.home¤Ï¼Â¹Ô»þ´Ä¶¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£\fIjre\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢JDK¤Þ¤¿¤ÏJava Runtime Environment (JRE)¤ÎºÇ¾å°Ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£ ++.PP ++³Æ¥Ä¡¼¥ë¤Ï¡¢\fIkeystore\&.type\fR¤ÎÃͤò¼èÆÀ¤·¡¢¤½¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.PP ++\fIKeyStore\fR¥¯¥é¥¹¤Ç¤Ï¡¢\fIgetDefaultType\fR¤È¤¤¤¦Ì¾Á°¤Îstatic¥á¥½¥Ã¥É¤òÄêµÁ¤·¡¢¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ª¤è¤Ó¥¢¥×¥ì¥Ã¥È¤«¤é\fIkeystore\&.type property\fR¤ÎÃͤò¼èÆÀ¤Ç¤¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Î¹Ô¤Ç¤Ï¡¢\fIkeystore\&.type property\fR¤Ç»ØÄꤵ¤ì¤¿¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òºîÀ®¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType()); ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢\fIjks\fR ++(Oracle¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++keystore\&.type=jks ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢\fIJKS\fR¤Ï\fIjks\fR¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¤½¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\fIpkcs12\fR¤È¸Æ¤Ð¤ì¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ë¾ì¹ç¡¢¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++keystore\&.type=pkcs12 ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fBÃí°Õ: \fRPKCS 11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html¤Ë¤¢¤ë ++Java PKCS #11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖKeyTool¡×¤ª¤è¤Ó¡ÖJarSigner¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.SS "¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à" ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¼¡¤Î¤¤¤º¤ì¤«¤Î¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(DSA) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA256¤ÈÂʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(ECDSA)¤ò»ÈÍѤ·¤¿Âʱ߶ÊÀþ(EC)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à ++.RE ++.PP ++½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA¤ÈDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤è¤¦¤È¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ ++.PP ++¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\fI\-sigalg\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤¤Þ¤¹¡£ ++.SS "½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\&.SF\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë ++.RE ++.PP ++¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\fI\-sigFile\fR¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥ª¥×¥·¥ç¥ó¤¬\fI\-sigFile MKSIGN\fR¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë¤Ï\fIMKSIGN\&.SF\fR¤ª¤è¤Ó\fIMKSIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤ÎºîÀ®»þ¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£Í¸ú¤Êʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£ ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB½ð̾¥Õ¥¡¥¤¥ë\fR ++.RS 4 ++.PP ++½ð̾¥Õ¥¡¥¤¥ë(\fI\&.SF\fR¥Õ¥¡¥¤¥ë)¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËJAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë¤è¤¦¤Ê¡¢¼¡¤Ë¼¨¤¹3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥Õ¥¡¥¤¥ë̾ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á° ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ ++.RE ++.PP ++¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤½¤Î3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¤È¡¢¸¡¾Ú¤ÎºÇŬ²½¤¬Í¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fR ++.RS 4 ++.PP ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤â¡¢ÆâÉô¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ¡¢\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.RE ++.SS "½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤ª¤è¤ÓÊݸ¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢\fIjarsigner\fR¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-tsa \fIurl\fR ++\-tsacert \fIalias\fR ++\-altsigner \fIclass\fR ++\-altsignerpath \fIclasspathlist\fR ++\-tsapolicyid \fIpolicyid\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú" ++.PP ++JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 1.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 1." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(\fI\&.DSA\fR)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿½ð̾¤¬¡¢¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¼¨¤µ¤ì¤ë¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£¤Þ¤¿¡¢½ð̾¤¬Âбþ¤¹¤ë½ð̾(\fI\&.SF\fR)¥Õ¥¡¥¤¥ë¤Î͸ú¤Ê½ð̾¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¡¢¤½¤ì¤Ë¤è¤ê¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 2.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 2." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Ë¼¨¤µ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¤ò¡¢¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£ ++.sp ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£ ++.sp ++°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤¬¡¢¸½ºß¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤Ë°ìÃפ·¤Ê¤¤Íýͳ¤Î1¤Ä¤Ï¡¢½ð̾¤ª¤è¤Ó\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¸å¤Ë¡¢(\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ë¤ËÄɲ䵤줿¤³¤È¤Ç¤¹¡£\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤ë¤³¤È¤Ë¤è¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹¤¬¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¸¡¾Ú¤¬¤Þ¤ÀÀ®¸ù¤·¤Æ¤¤¤ë¤È¤ß¤Ê¤µ¤ì¤ë¤Î¤Ï¡¢½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£¤³¤ì¤¬È¯À¸¤¹¤ë¤Î¤Ï¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¾ì¹ç¤Ç¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 3.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 3." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤ÄJAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¼è¤ê¤Þ¤¹¡£ÆÉ¼è¤êÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¤½¤Î¥×¥í¥»¥¹¤ÏÄä»ß¤µ¤ì¡¢¥»¥¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢Îã³°¤òÊ᪤ª¤è¤Óɽ¼¨¤·¤Þ¤¹¡£ ++.RE ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 + .br +-.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¡¢¼ÂºÝ¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢½ð̾(¤Ä¤Þ¤ê.SF¥Õ¥¡¥¤¥ë)¤ÎÀ¸À®¸å¤Ë¡¢JAR¥Õ¥¡¥¤¥ë¤Ë1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬(\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)Äɲ䵤줿²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹(¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤Þ¤¹)¤¬¡¢.SF¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Ë³ÊǼ¤µ¤ì¤¿¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®»þ¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Ë¸ºß¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¡¢¸¡¾Ú¤ÏÀ®¸ù¤·¤¿¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.TP 3 +-3. +-JAR¥Õ¥¡¥¤¥ëÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤Ä³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£ÆÉ¹þ¤ßÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î³ºÅö¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£2¤Ä¤Î¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¸¡¾Ú¥×¥í¥»¥¹¤ÎÅÓÃæ¤Ç¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¸¡¾Ú¥×¥í¥»¥¹¤ÏÃæ»ß¤µ¤ì¡¢¥»¥¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£Îã³°¤Ï¡¢\f3jarsigner\fP¤¬¥¥ã¥Ã¥Á¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡£ +-.LP +-.SS +-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾ +-.LP +-.LP +-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ\f3jarsigner\fP¥Ä¡¼¥ë¤òÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë¡¢°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ì¤Ð¡¢JAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner myBundle.jar susan +-.fl +- jarsigner myBundle.jar kevin +-.fl +-\fP +-.fi +- +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤¬Ê£¿ô´Þ¤Þ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤Ï¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤ÄºîÀ®¤µ¤ì¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢¾å¤ÎÎã¤Ç½ÐÎϤµ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- SUSAN.SF +-.fl +- SUSAN.DSA +-.fl +- KEVIN.SF +-.fl +- KEVIN.DSA +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Ãí°Õ: JAR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤È\f3jarsigner\fP¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤¬º®ºß¤Ç¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤¹¤Ç¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¡¢\f3jarsigner\fP¤ò»ÈÍѤ·¤Æ½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++Äɲäηٹð(¤Þ¤¿¤Ï¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¥¨¥é¡¼)¤Ï¤¹¤Ù¤ÆÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£Æ±Íͤˡ¢¾ÚÌÀ¤¬¿®Íê¤Ç¤¤ë¤«¤ò·èÄꤹ¤ë¤¿¤á¤Ë¡¢(\fI\-verbose\fR¤ª¤è¤Ó\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ)¾ÚÌÀ½ñ¤ÎÆâÍÆ¤âÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.SS "1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾" ++.PP ++¼¡¤Î¤è¤¦¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò¥Õ¥¡¥¤¥ë¤ÇÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner myBundle\&.jar susan ++jarsigner myBundle\&.jar kevin ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Ê£¿ô¤Î\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤ª¤ê¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤Ä¤Î¥Ú¥¢¤È¤Ê¤ê¤Þ¤¹¡£Á°½Ò¤ÎÎã¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++SUSAN\&.SF ++SUSAN\&.DSA ++KEVIN\&.SF ++KEVIN\&.DSA ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fBÃí°Õ: \fRJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JDK 1\&.1¤Î\fIjavakey\fR¥³¥Þ¥ó¥É¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤È¡¢\fIjarsigner\fR¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤òº®ºß¤µ¤»¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç¤¹¤Ç¤Ë½ð̾¤µ¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤¤Þ¤¹¡£ + .SH "¥ª¥×¥·¥ç¥ó" +-.LP +-.LP +-¼¡¤Ë¡¢\f3jarsigner\fP¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£Ãí°Õ: +-.LP +-.RS 3 +-.TP 2 +-o +-¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ¹æ(\-)¤¬ÉÕ¤¤Þ¤¹¡£ +-.TP 2 +-o +-¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 2 +-o +-\f2\-keystore\fP¡¢\f2\-storepass\fP¡¢\f2\-keypass\fP¡¢\f2\-sigfile\fP¡¢\f2\-sigalg\fP¡¢\f2\-digestalg\fP¤ª¤è¤Ó\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ¤ë¤Î¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¾ì¹ç¤Ç¤Ï¤Ê¤¯¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£ +-.RE +- +-.LP +-.RS 3 +-.TP 3 +-\-keystore url +-¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\f2.keystore\fP¤Ç¤¹¡£¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢user.home¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£ +-.br +-.br +-½ð̾¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤¬É¬ÍפǤ¹¡£¤³¤Î¤¿¤á¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç(¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç)¤Ï¡¢¥¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.br +-.br +-¸¡¾Ú¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤Ï\f2ɬÍפ¢¤ê¤Þ¤»¤ó\fP¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£ +-.br +-.br +-Ãí°Õ: \f2\-keystore\fP¤Î°ú¿ô¤Ë¤Ï¡¢URL¤Î¤«¤ï¤ê¤Ë¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¡Öfile:¡×URL¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.PP ++¼¡¤Î³Æ¹à¤Ç¤Ï¡¢ÍÍ¡¹¤Ê\fIjarsigner\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¼¡¤Îɸ½à¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ¹æ(\-)¤¬ÉÕ¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\-keystore\fR¡¢\fI\-storepass\fR¡¢\fI\-keypass\fR¡¢\fI\-sigfile\fR¡¢\fI\-sigalg\fR¡¢\fI\-digestalg\fR¤ª¤è¤Ó\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Ï´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾»þ¤Î¤ß¤Ç¤¹¡£ ++.RE ++.PP ++\-keystore \fIurl\fR ++.RS 4 ++¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·èÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\fI\&.keystore\fR¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£ ++.sp ++¥¡¼¥¹¥È¥¢¤Ï½ð̾»þ¤Ë¤ÏɬÍפǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¥¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-keystore\fR°ú¿ô¤Ë¤Ï¡¢URL¤Ç¤Ï¤Ê¤¯¥Õ¥¡¥¤¥ë̾¤È¥Ñ¥¹¤ò»ØÄê¤Ç¤¡¢¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë: URL¤ÈƱ¤¸¤è¤¦¤Ë½èÍý¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Ë¤è¤¦¤Ë»ØÄꤹ¤ë¤ÈƱÅù¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +- \-keystore \fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-¤³¤ì¤Ï¡¢¼¡¤Î»ØÄê¤ÈƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- \-keystore file:\fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-JRE¤Î\f2$JAVA_HOME/lib/security\fP¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤¿\f2java.security\fP¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢keytool¤Èjarsigner¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2\-keystore NONE\fP +-.TP 2 +-o +-\f2\-storetype PKCS11\fP +-.RE +-¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- jarsigner \-keystore NONE \-storetype PKCS11 \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-storetype storetype +-¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Îkeystore.type¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¤¹¡£¤³¤ÎÃͤϡ¢\f2java.security.KeyStore\fP¤Îstatic \f2getDefaultType\fP¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆPCKS#11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢keytool¤Èjarsigner¤Ï¥æ¡¼¥¶¡¼¤Ë¥È¡¼¥¯¥óPIN¤ÎÆþÎϤòµá¤á¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\f2\-protected\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤¤Þ¤»¤ó¡£ +-.TP 3 +-\-storepass[:env | :file] argument +-¥¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.br +-.br +-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.TP 2 +-o +-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.RE +-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-keypass[:env | :file] argument +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.br +-.br +-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.TP 2 +-o +-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.RE +-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-sigfile file +-.SF¥Õ¥¡¥¤¥ë¤È .DSA¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\f2file\fP¤ËDUKESIGN¤ò»ØÄꤹ¤ë¤È¡¢À¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¤½¤ì¤¾¤ìDUKESIGN.SF¤ÈDUKESIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÎMETA\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2file\fP¤Ë»ÈÍѤǤ¤ëʸ»ú¤Ï¡Öa\-zA\-Z0\-9_\-¡×¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢Ê¸»ú¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Î¤ß¤ò»ÈÍѤǤ¤Þ¤¹¡£Ãí°Õ: .SF¤ª¤è¤Ó.DSA¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-sigalg algorithm ++\-keystore \fIfilePathAndName\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-keystore file:\fIfilePathAndName\fR ++.fi ++.if n \{\ ++.RE ++.\} ++(JRE¤Î\fI$JAVA_HOME/lib/security directory\fR¤Ë¤¢¤ë) ++\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS #11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-keystore NONE ++\-storetype PKCS11 ++.fi ++.if n \{\ ++.RE ++.\} ++¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \-list ++.fi ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-storetype \fIstoretype\fR ++.RS 4 ++¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¡¢¤³¤ÎÃͤϡ¢\fIjava\&.security\&.KeyStore\fR¤Îstatic ++\fIgetDefaultType\fR¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢PCKS #11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢¥È¡¼¥¯¥óPIN¤Î»ØÄê¤òµá¤á¤é¤ì¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\fI\-protected\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.PP ++\-storepass[:env | :file} \fIargument\fR ++.RS 4 ++¥¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.sp ++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIenv\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIfile\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++\fBÃí°Õ:\fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-keypass [:env | :file] \fIargument\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\fIjarsigner\fR¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.sp ++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIenv\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIfile\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++\fBÃí°Õ: \fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-sigfile \fIfile\fR ++.RS 4 ++À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥Õ¥¡¥¤¥ë¤¬\fIDUKESIGN\fR¤Î¾ì¹ç¡¢À¸À®¤µ¤ì¤ë\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIDUKESIGN\&.SF\fR¤ª¤è¤Ó\fIDUKESIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ç¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î\fIMETA\-INF\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£ ++.sp ++¥Õ¥¡¥¤¥ëÆâ¤Îʸ»ú¤Ï¡¢¥»¥Ã¥È\fIa\-zA\-Z0\-9_\-\fR¤«¤é»ØÄꤵ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥óʸ»ú¤Î¤ß¤ò»ÈÍѤǤ¤Þ¤¹¡£\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ ++.sp ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç̵¸ú¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤¹¤ë¤¿¤á¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-sigalg \fIalgorithm\fR ++.RS 4 + JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-ɸ½à½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î +-.na +-\f2ÉÕÏ¿A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤ÆSHA1withDSA¡¢SHA256withRSA¡¢SHA256withECDSA¤Î¤¤¤º¤ì¤«¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.TP 3 +-\-digestalg algorithm ++.sp ++ɸ½àŪ¤Ê½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë ++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤Æ¡¢\fISHA1withDSA\fR¡¢\fISHA256withRSA\fR¤Þ¤¿¤Ï\fISHA256withECDSA\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.PP ++\-digestalg \fIalgorithm\fR ++.RS 4 + JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î +-.na +-\f2ÉÕÏ¿A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢SHA256¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.TP 3 +-\-signedjar file +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç̾Á°¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(½ð̾¤ÎÂоݤȤʤëJAR¥Õ¥¡¥¤¥ë)¤Î̾Á°¤ÈƱ¤¸Ì¾Á°¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-verify +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢»ØÄꤵ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ç¤Ï¤Ê¤¯¸¡¾Ú¤¬¹Ô¤ï¤ì¤Þ¤¹¡£¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥¢¥ë¥´¥ê¥º¥à(RSA¥×¥í¥Ð¥¤¥À¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò½ªÎ»¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÎRSA¤Ê¤É)¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤è¤¦¤È¤¹¤ë¤È¡¢¡Öjar¤Ï½ð̾¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£(½ð̾¤¬¸«¤Ä¤«¤é¤Ê¤¤¤«¡¢¹½Ê¸²òÀϤǤ¤Þ¤»¤ó)¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤Þ¤¿¤ÏJDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤Î¤É¤Á¤é¤«¤Þ¤¿¤ÏξÊý¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.br +-.br +-¸¡¾Ú¤Î¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-certs +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\f2\-verify\fP¤ª¤è¤Ó\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¼¡¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë(.DSA¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿)¾ÚÌÀ½ñ¥¿¥¤¥×¤Î̾Á° +-.TP 2 +-o +-¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ(¤Ä¤Þ¤ê¡¢\f2java.security.cert.X509Certificate\fP¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢½ð̾¼Ô¤Î¼±ÊÌ̾ +-.RE +-¥¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¢¸¡ºº¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ·¤¿¾ì¹ç¤Ï¡¢¼¡¤Î¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-½ð̾¼Ô¤Ë³ºÅö¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¡£¤³¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¤Ï¡¢³ç¸Ì¤Ç¤Ï¤Ê¤¯Âç³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£ +-.RE +-.TP 3 +-\-certchain file +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ç·è¤Þ¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾õÂ֤ˤʤë²ÄǽÀ¤¬¤¢¤ë¤Î¤Ï¡¢¥¡¼¥¹¥È¥¢¤¬¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤³¤Ë¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ÎÁ´ÂΤòÊÝ»ý¤Ç¤¤ëÎΰ褬¸ºß¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎX.509¾ÚÌÀ½ñ¤¬½ç¤ËÏ¢·ë¤µ¤ì¤¿¤â¤Î¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(BASE64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.TP 3 +-\-verbose +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f3jarsigner\fP¤Ï¡Ö¾éĹ¡×¥â¡¼¥É¤Çưºî¤·¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£ +-.TP 3 +-\-internalsf +-°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿.DSA(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢À¸À®¤µ¤ì¤¿.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î´°Á´¤Ê¥³¥Ô¡¼¤¬É乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£¸½ºß¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï.SF¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬.DSA¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f2\-internalsf\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP +-.TP 3 +-\-sectionsonly +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï\f2´Þ¤Þ¤ì¤Þ¤»¤ó\fP¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£¾ÜºÙ¤Ï¡¢½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È¼ÂºÝ¤Ë°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP +-.TP 3 +-\-protected +-\f2true\fP¤Þ¤¿¤Ï\f2false\fP¤Î¤¤¤º¤ì¤«¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤ò²ð¤·¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÃͤË\f2true\fP¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-providerClass provider\-class\-name +-¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë(\f2java.security\fP)¤Î¥ê¥¹¥È¤ËÆþ¤Ã¤Æ¤¤¤Ê¤¤¤È¤¤Ë¡¢°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£ +-.br +-.br +-\f2\-providerArg\fP \f2ConfigFilePath\fP¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹礻¤Æ»ÈÍѤ·¤Þ¤¹¡£keytool¤Èjarsigner¤Ï¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹(¤³¤³¤Ç¡¢\f2ConfigFilePath\fP¤Ï¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ç¤¹)¡£¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ËPKCS#11¥¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã¤ò¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerClass sun.security.pkcs11.SunPKCS11 \\ +-.fl +- \-providerArg /foo/bar/token.config \\ +-.fl ++.sp ++ɸ½àŪ¤Ê¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë ++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fISHA256\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.PP ++\-certs ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë¾ÚÌÀ½ñ(\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ)¤Î¥¿¥¤¥×¤Î̾Á°¤¬´Þ¤Þ¤ì¡¢¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ(\fIjava\&.security\&.cert\&.X509Certificate\fR¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Î¾ì¹ç¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ++.sp ++¥¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë(¤¢¤ë¾ì¹ç)¤¬¥Á¥§¥Ã¥¯¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ¹¤ë¾ì¹ç¡¢¤½¤Î½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢¤Î¥¨¥ó¥È¥ê¤ÎÊÌ̾¤¬´Ý¥«¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¡¢ÊÌ̾¤Ï´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯Â祫¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-certchain \fIfile\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ë¤è¤Ã¤ÆÉ½¤µ¤ì¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥óÁ´ÂΤòÊÝ»ý¤¹¤ë¤Î¤Ë½½Ê¬¤ÊÎΰ褬¤Ê¤¤¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë¥¡¼¥¹¥È¥¢¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ËȯÀ¸¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎÏ¢·ë¤µ¤ì¤¿X\&.509¾ÚÌÀ½ñ¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(Base64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈRFC 1421¾ÚÌÀ½ñÉ乿²½µ¬³Ê¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verbose ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¾éĹ¥â¡¼¥É¤Çưºî¤·¡¢¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢\fIjarsigner\fR¤Ï¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£ ++.RE ++.PP ++\-internalsf ++.RS 4 ++°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿\fI\&.DSA\fR ++(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤Ë¡¢À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿´°Á´¤Ê¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-internalsf\fR¤ò»ØÄꤷ¤¿¾ì¹ç¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£¼ÂºÝ¤Ë¤Ï¡¢\fI\-internalsf\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礤¯¤Ê¤ë¤¿¤á¡¢»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-sectionsonly ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¤¿¤Ó¤Ë¡¢¸¡¾Ú¤Ç¤Ï¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤¤¦¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¼ç¤Ë¥Æ¥¹¥ÈÍѤ˻ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礤¯¤Ê¤ë¤¿¤á¡¢¥Æ¥¹¥ÈÍѰʳ°¤Ç¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-protected ++.RS 4 ++\fItrue\fR¤Þ¤¿¤Ï\fIfalse\fR¤Î¤¤¤º¤ì¤«¤ÎÃͤò»ØÄê¤Ç¤¤Þ¤¹¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤Ë¤è¤Ã¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¡¢\fItrue\fR¤ò»ØÄꤷ¤Þ¤¹¡£ ++.RE ++.PP ++\-providerClass \fIprovider\-class\-name\fR ++.RS 4 ++°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ï¡¢¤½¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤È¤¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-providerArg \fR\fIConfigFilePath\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ·¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ë\fIConfigFilePath\fR¤ò»ÈÍѤ·¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤¬¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë¹½À®¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë\fIPKCS #11\fR¥¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \e ++ \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e ++ \-providerArg /mydir1/mydir2/token\&.config \e + \-list +-.fl +-\fP + .fi +-.TP 3 +-\-providerName providerName +-\f2java.security\fP¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f2\-providerName\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÁªÂò¤Ç¤¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£ +-.br +-.br +-Sun PKCS#11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\f2providerName\fP¤Ï\f2SunPKCS11\-\fP\f2TokenName\fP¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç\f2TokenName\fP¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼¤Ç¤¹¡£¾ÜºÙ¤Ï +-.na +-\f2¹½À®Â°À¤Îɽ\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼\f2SmartCard\fP¤ÎPKCS#11¥¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerName SunPKCS11\-SmartCard \\ +-.fl ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-providerName \fIproviderName\fR ++.RS 4 ++\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fI\-providerName\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢ÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÂоݤˤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£ ++.sp ++Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\fIproviderName\fR¤Ï\fISunPKCS11\-\fR\fITokenName\fR¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç¡¢¹½À®Â°À¤Îɽ¤Ç¾ÜºÙ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢\fITokenName\fR¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼¤Ç¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼\fISmartCard\fR¤Î\fIPKCS #11\fR¥¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \e ++ \-providerName SunPKCS11\-SmartCard \e + \-list +-.fl +-\fP + .fi +-.TP 3 +-\-Jjavaoption +-»ØÄꤵ¤ì¤¿\f2javaoption\fPʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£(\f3jarsigner\fP¤Ï¡¢¼ÂºÝ¤Ë¤ÏJava¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¡Ö¥é¥Ã¥Ñ¡¼¡×¤Ç¤¹¡£)¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2java \-h\fP¤Þ¤¿¤Ï\f2java \-X\fP¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-tsa url +-\f2¡Ö\-tsa http://example.tsa.url¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL\f2http://example.tsa.url\fP¤Ï¡¢TSA(Time Stamping Authority)¤Î¾ì½ê¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢\f2\-tsacert\fP¥ª¥×¥·¥ç¥ó¤Ç¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\f2\-tsa\fP¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ +-.br +-.br +-¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\f2jarsigner\fP¤Ï¡¢ +-.na +-\f2RFC 3161\fP @ +-.fi +-http://www.ietf.org/rfc/rfc3161.txt¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤«¤éÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-tsacert alias +-\f2¡Ö\-tsacert alias¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\f2alias\fP¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¸½ºß͸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2\-tsacert\fP¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 3 +-\-altsigner class +-ÂåÂØ½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ç¡¢\f2com.sun.jarsigner.ContentSigner\fPÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\f2\-altsignerpath\fP¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤµ¤ì¤ë¤È¡¢\f2jarsigner\fP¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\f2jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.br +-.br +-¤¿¤È¤¨¤Ð¡¢\f2com.sun.sun.jarsigner.AuthSigner\fP¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢\f2jarsigner\fP¤Ç\f2¡Ö\-altsigner com.sun.jarsigner.AuthSigner¡×\fP¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.TP 3 +-\-altsignerpath classpathlist +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë(¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ÏÁ°½Ò¤Î\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤Þ¤¹)¤ª¤è¤Ó¤½¤Î¥¯¥é¥¹¤¬°Í¸¤¹¤ë¤¹¤Ù¤Æ¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤ËJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤¬»ØÄꤵ¤ì¤Þ¤¹¡£ +-.br +-.br +-ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\f2classpathlist\fP¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤ì¤é¤òSolaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(\f2:\fP)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(\f2;\fP)¤Ç¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£ +-.br +-.br +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-J\fIjavaoption\fR ++.RS 4 ++»ØÄꤵ¤ì¤¿\fIjavaoption\fRʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¥é¥Ã¥Ñ¡¼¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fIjava \-h\fR¤Þ¤¿¤Ï\fIjava \-X\fR¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-tsa \fIurl\fR ++.RS 4 ++\fI\-tsa http://example\&.tsa\&.url\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL ++\fIhttp://example\&.tsa\&.url\fR¤Ï¡¢Time Stamping Authority (TSA)¤Î¾ì½ê¤òÆÃÄꤷ¡¢\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\fI\-tsa\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ++.sp ++¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\fIjarsigner\fR¤Ï¡¢RFC 3161¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï¡¢½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-tsacert \fIalias\fR ++.RS 4 ++\fI\-tsacert\fR ++\fIalias\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£ÊÌ̾¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î͸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤òÆÃÄꤷ¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.PP ++\-tsapolicyid \fIpolicyid\fR ++.RS 4 ++TSA¥µ¡¼¥Ð¡¼¤ËÁ÷¿®¤¹¤ë¥Ý¥ê¥·¡¼ID¤ò¼±Ê̤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¼±ÊÌ»Ò(OID)¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢¥Ý¥ê¥·¡¼ID¤ÏÁ÷¿®¤µ¤ì¤º¡¢TSA¥µ¡¼¥Ð¡¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¥ê¥·¡¼ID¤òÁªÂò¤·¤Þ¤¹¡£ ++.sp ++¥ª¥Ö¥¸¥§¥¯¥È¼±Ê̻Ҥϡ¢ITU Telecommunication Standardization Sector (ITU\-T)ɸ½à¤Ç¤¢¤ëX\&.696¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¼±Ê̻Ҥϡ¢Ä̾\fI1\&.2\&.3\&.4\fR¤Ê¤É¤Î¡¢Éé¤Ç¤Ï¤Ê¤¤¿ô»ú¤Î¥Ô¥ê¥ª¥É¶èÀÚ¤ê¤Î¥»¥Ã¥È¤Ç¤¹¡£ ++.RE ++.PP ++\-altsigner \fIclass\fR ++.RS 4 ++¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÂåÂØ½ð̾¥á¥«¥Ë¥º¥à¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ï¡¢\fIcom\&.sun\&.jarsigner\&.ContentSigner\fRÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò¼±Ê̤·¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\fI\-altsignerpath\fR¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.sp ++¤¿¤È¤¨¤Ð¡¢\fIcom\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢jarsigner¤Î¥ª¥×¥·¥ç¥ó\fI\-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.RE ++.PP ++\-altsignerpath \fIclasspathlist\fR ++.RS 4 ++¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¤½¤ì¤¬°Í¸¤¹¤ëJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£ ++.sp ++ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\fIclasspathlist\fR¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¡¢¤½¤ì¤é¤ò¡¢Oracle Solaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(:)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(;)¤Ç¡¢¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£ ++.sp ++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò´Þ¤á¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +-\-altsignerpath /home/user/lib/authsigner.jar +-.fl +-\fP ++\-altsignerpath /home/user/lib/authsigner\&.jar + .fi +-JAR¥Õ¥¡¥¤¥ë̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.if n \{\ ++.RE ++.\} ++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò¾Êά¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl + \-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +-.fl +-\fP + .fi +-JAR¥Õ¥¡¥¤¥ë̾¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ëα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-strict +-½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¤Ê¤ó¤é¤«¤Î·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¸«¤Ä¤«¤Ã¤¿·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢·Ù¹ð¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-verbose:sub\-options +-¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë»ØÄê¤Ç¤¤Þ¤¹¡£\f2\-certs\fP¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥óall)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë¤½¤ì¤é¤Î³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:grouped\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:summary\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¤¬¡¢³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤¬¡Ö1¤Ä¤Î¥¨¥ó¥È¥ê(¤ª¤è¤Ó¤½¤ì°Ê¾å)¡×¤È¤·¤ÆÍ×Ìó¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢Îã¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-strict ++.RS 4 ++½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬È¯¹Ô¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê¸¡½Ð¤µ¤ì¤¿½ÅÂç¤Ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verbose \fIsuboptions\fR ++.RS 4 ++¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥ó\fIall\fR)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:grouped\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:summary\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤Ï¡¢\fI1¤Ä¤Î¥¨¥ó¥È¥ê(°Ê¾å)\fR¤Ë¤Þ¤È¤á¤é¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£Îã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.SH "¥¨¥é¡¼¤È·Ù¹ð" ++.PP ++½ð̾¤Þ¤¿¤Ï¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¡¢ÍÍ¡¹¤Ê¥¨¥é¡¼¤Þ¤¿¤Ï·Ù¹ð¤¬È¯¹Ô¤µ¤ì¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£ ++.PP ++¾ã³²¤¬¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É1¤Ç½ªÎ»¤·¤Þ¤¹¡£¾ã³²¤Ï¤Ê¤¤¤¬¡¢1¤Ä°Ê¾å¤Î½ÅÂç¤Ê·Ù¹ð¤¬¤¢¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ\fB¤¤¤Ê¤¤\fR¾ì¹ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É0¤Ç½ªÎ»¤·¡¢\fI\-strict\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï·Ù¹ð¥³¡¼¥É¤ÎORÃͤǽªÎ»¤·¤Þ¤¹¡£¾ðÊó·Ù¹ð¤Î¤ß¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï·Ù¹ð¤¬¤Þ¤Ã¤¿¤¯¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¾ï¤Ë¥³¡¼¥É0¤Ç½ªÎ»¤·¤Þ¤¹¡£ ++.PP ++¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ç¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤òµö²Ä¤·¤Ê¤¤KeyUsage³ÈÄ¥µ¡Ç½¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É12 (=4+8)¤Ç½ªÎ»¤·¤Þ¤¹¡£ ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 ++.br ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++Unix¥Ù¡¼¥¹¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à¤Ç¤Ï0¤«¤é255¤Þ¤Ç¤ÎÃͤΤߤ¬Í¸ú¤Î¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.PP ++¼¡¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤êȯ¹Ô¤Ç¤¤ë¥¨¥é¡¼¤ª¤è¤Ó·Ù¹ð¤Î̾Á°¡¢¥³¡¼¥É¡¢ÀâÌÀ¤òµ½Ò¤·¤Þ¤¹¡£ ++.SS "¾ã³²" ++.PP ++¥³¥Þ¥ó¥É¥é¥¤¥ó²òÀÏ¥¨¥é¡¼¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¸°¥Ú¥¢¤ò¸¡º÷¤Ç¤¤Ê¤¤¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¼ºÇԤʤÉ(¸ÂÄꤵ¤ì¤Þ¤»¤ó)¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Î¼ºÇÔÍýͳ¡£ ++.PP ++failure ++.RS 4 ++¥³¡¼¥É1¡£½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.SS "½ÅÂç¤Ê·Ù¹ð" ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 ++.br ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢½ÅÂç¤Ê·Ù¹ð¤Ï¥¨¥é¡¼¤È¤·¤ÆÊó¹ð¤µ¤ì¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.PP ++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¤Ë¥¨¥é¡¼¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¾¤ÎÌäÂ꤬¤¢¤ë¤Ê¤É¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤¬½ÅÂç¤Ê·Ù¹ð¤òȯ¹Ô¤¹¤ëÍýͳ¡£ ++.PP ++hasExpiredCert ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++notYetValidCert ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬¤Þ¤À͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++chainNotValidated ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬Àµ¤·¤¯¸¡¾Ú¤Ç¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badKeyUsage ++.RS 4 ++¥³¡¼¥É8¡£¤³¤ÎJAR¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badExtendedKeyUsage ++.RS 4 ++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎExtendedKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badNetscapeCertType ++.RS 4 ++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎNetscapeCertType³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++hasUnsignedEntry ++.RS 4 ++¥³¡¼¥É16¡£¤³¤Îjar¤Ë¤Ï¡¢À°¹çÀ¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Ê¤¤Ì¤½ð̾¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++notSignedByAlias ++.RS 4 ++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢»ØÄꤵ¤ì¤¿ÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++aliasNotInStore ++.RS 4 ++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢¤³¤Î¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ++.RE ++.SS "¾ðÊó·Ù¹ð" ++.PP ++¾ðÊó·Ù¹ð¤Ë¤Ï¡¢¥¨¥é¡¼¤Ç¤Ï¤Ê¤¤¤¬ÉÔŬÀڤȤߤʤµ¤ì¤ë¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¥³¡¼¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ++.PP ++hasExpiringCert ++.RS 4 ++¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬6¤«·î°ÊÆâ¤Ë´ü¸ÂÀÚ¤ì¤È¤Ê¤ë¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++noTimestamp ++.RS 4 ++¤³¤Îjar¤Ë¤Ï¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤Þ¤Ê¤¤½ð̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥¿¥¤¥à¥¹¥¿¥ó¥×¤Ê¤·¤Ç¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤Î͸ú´ü¸Â(·Á¼°¤Ï\fIYYYY\-MM\-DD\fR)¸å¤Þ¤¿¤Ï¾Íè¤Î¼è¾ÃÆü¸å¡¢¥æ¡¼¥¶¡¼¤Ï¤³¤ÎJAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£ + .RE +- +-.LP + .SH "Îã" +-.LP +-.SS +-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾ +-.LP +-.LP +-bundle.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤È¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¡¢working¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦¥¡¼¥¹¥È¥¢¤Ë¤¢¤ë¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤¬jane¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢½ð̾¤òÉÕ¤±¤ë¤È¤·¤Þ¤¹¡£¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Æsbundle.jar¤È¤¤¤¦½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¾å¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\f2\-sigfile\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤«¤é¥Ç¥Õ¥©¥ë¥È̾¤¬ÉÕ¤±¤é¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤½¤ì¤é¤Î̾Á°¤Ï\f2JANE.SF\fP¤ª¤è¤Ó\f2JANE.DSA\fP¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ÈÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤ë¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¾ì¹ç¤Ï¡¢¾å¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¼¡¤Î¤è¤¦¤ËÆþÎϤǤ¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore +-.fl +- \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î.keystore¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢)¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥¡¼¥¹¥È¥¢¤Î»ØÄê¤ò¾Êά¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-ºÇ¸å¤Ë¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(\f2bundle.jar\fP)¤ò½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Çñ½ã¤Ë¾å½ñ¤¤¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.SS +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¡¢¤Ä¤Þ¤ê½ð̾¤¬Í¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify sbundle.jar +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢ +-.LP +-.nf +-\f3 +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¤è¤ê¿¤¯¤Î¾ðÊó¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-verbose\fP¥ª¥×¥·¥ç¥óÉÕ¤¤Ç\f3jarsigner\fP¤ò»ÈÍѤ¹¤ëÎã¤È¤½¤Î½ÐÎÏÎã¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify \-verbose sbundle.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class +-.fl +- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class +-.fl +- +-.fl ++.SS "JAR¥Õ¥¡¥¤¥ë¤Î½ð̾" ++.PP ++¼¡¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢ÊÌ̾¤¬\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë¤¢¤ë\fIjane\fR¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤Çbundle\&.jar¤Ë½ð̾¤·¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ësbundle\&.jar¤È¤¤¤¦Ì¾Á°¤òÉÕ¤±¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-storepass <keystore password> ++ \-keypass <private key password> \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++Á°½Ò¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\fI\-sigfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ëÀ¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤Ë´ð¤Å¤¤¤¿¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢Ì¾Á°ÉÕ¤¤Î\fIJANE\&.SF\fR¤ª¤è¤Ó\fIJANE\&.DSA\fR¤Ç¤¹¡£ ++.PP ++¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ª¤è¤ÓÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤òµá¤á¤é¤ì¤ë¾ì¹ç¡¢Á°½Ò¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¡¢¼¡¤Î¤³¤È¤ò¼Â¹Ô¤Ç¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore ++ \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î\&.keystore)¤Ç¤¢¤ë¾ì¹ç¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥¡¼¥¹¥È¥¢¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤»¤ó¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++ÆþÎÏJAR¥Õ¥¡¥¤¥ë(bundle\&.jar)¤ò½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ç¾å½ñ¤¤¹¤ë¾ì¹ç¡¢¼¡¤Î¤è¤¦¤Ë\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú" ++.PP ++½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Æ¡¢½ð̾¤¬Í¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Ê¤«¤Ã¤¿¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-verify sbundle\&.jar ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢\fIjar verified\fR¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£Í¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¾ÜºÙ¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¤ò\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¥µ¥ó¥×¥ë¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-verify \-verbose sbundle\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class ++ smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.SS +-¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú +-.LP +-.LP +-¸¡¾Ú»þ¤Ë\f2\-verify\fP¤È\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¤Æ\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤â½ÐÎϤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¼±ÊÌ̾¾ðÊó(X.509¾ÚÌÀ½ñ¤Î¾ì¹ç¤Î¤ß)¡¢¤ª¤è¤ÓJAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ë°ìÃפ·¤¿¾ì¹ç¤Ë¤Ï¡¢³ç¸Ì¤Ç°Ï¤Þ¤ì¤¿½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF +-.fl +- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class +-.fl +- +-.fl +- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest) +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- +-.fl ++ ++ jar verified\&. ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú" ++.PP ++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¾ðÊó(X\&.509¾ÚÌÀ½ñ¤Î¾ì¹ç)¤¬´Þ¤Þ¤ì¡¢´Ý¥«¥Ã¥³Æâ¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¸ø³«¸°¾ÚÌÀ½ñ¤Ë°ìÃפ¹¤ë¾ì¹ç¤Î½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF ++ 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA ++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class ++ ++ X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest) ++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬bob¤Î¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- PGP, (bob) +-.fl +-\fP +-.fi +- +-.LP +-.SS +-¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤¬¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢½ð̾¼Ô¤Ï¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¹¡£¤³¤Î¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤϡÖi¡×¤È¤¤¤¦µ¹æ¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¡Ök¡×¤È¡Öi¡×¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤ë¤Î¤ËÂФ·¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF +-.fl +- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA +-.fl +- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html +-.fl +- +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke] +-.fl +- +-.fl ++ ++ jar verified\&. ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬\fIbob\fR¤Ç¤¢¤ë¾ì¹ç¡¢\fIPGP, (bob)\fR¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.SS "¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤à¸¡¾Ú" ++.PP ++JAR¥Õ¥¡¥¤¥ë¤¬JDK 1\&.1¤Î\fIjavakey\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¡¢½ð̾¼Ô¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¢¤ë¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤÏ\fIi\fR¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤¿¾ì¹ç¡¢\fIk\fR¤È\fIi\fR¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ++.PP ++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ë»ÈÍѤµ¤ì¤ë´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯¡¢Â祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++ jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF ++ 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA ++ smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html ++ ++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) ++ X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke] ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl + i = at least one certificate was found in identity scope +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-ÊÌ̾duke¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤ÎÊÌ̾¤Ï¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¹¡£ +-.LP +-.SH "·Ù¹ð" +-.LP +-½ð̾/¸¡¾Ú½èÍýÃæ¤Ë¤Ï¡¢jarsigner¤«¤éÍÍ¡¹¤Ê·Ù¹ð¤¬É½¼¨¤µ¤ì¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î·Ù¹ð¥³¡¼¥É¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- hasExpiringCert 2 +-.fl +- This jar contains entries whose signer certificate will expire within six months +-.fl +- +-.fl +- hasExpiredCert 4 +-.fl +- This jar contains entries whose signer certificate has expired. +-.fl +- +-.fl +- notYetValidCert 4 +-.fl +- This jar contains entries whose signer certificate is not yet valid. +-.fl +- +-.fl +- chainNotValidated 4 +-.fl +- This jar contains entries whose certificate chain cannot be correctly validated. +-.fl +- +-.fl +- badKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing. +-.fl +- +-.fl +- badExtendedKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's ExtendedKeyUsage extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- badNetscapeCertType 8 +-.fl +- This jar contains entries whose signer certificate's NetscapeCertType extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- hasUnsignedEntry 16 +-.fl +- This jar contains unsigned entries which have not been integrity\-checked. +-.fl +- +-.fl +- notSignedByAlias 32 +-.fl +- This jar contains signed entries which are not signed by the specified alias(es) +-.fl +- +-.fl +- aliasNotInStore 32 +-.fl +- This jar contains signed entries that are not signed by alias in this keystore +-.fl +- +-.fl +-\fP +-.fi +- +-.LP +-.LP +-\f2\-strict\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¸¡½Ð¤µ¤ì¤¿·Ù¹ð¤ÎOR¤ò¼è¤Ã¤¿Ãͤ¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤È¤·¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤«¤Ä¤½¤Î¾ÚÌÀ½ñ¤ÎkeyUsage³ÈÄ¥¤Ç¥Õ¥¡¥¤¥ë¤Î½ð̾¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢½ªÎ»¥³¡¼¥É12(=4+8)¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f3Ãí°Õ\fP: UNIX¤Ç»ÈÍѲÄǽ¤ÊÃͤÏ0¤«¤é255¤Î¤ß¤Ç¤¢¤ë¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢½ð̾/¸¡¾Ú½èÍý¤¬¼ºÇÔ¤¹¤ë¤È¡¢¼¡¤Î½ªÎ»¥³¡¼¥É¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +-failure 1 +-.fl +-\fP +-.fi +- +-.LP +-.SS +-JDK 1.1¤È¤Î¸ß´¹À +-.LP +-.LP +-\f3keytool\fP¥Ä¡¼¥ë¤È\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢JDK 1.1¤ÇÄ󶡤µ¤ì¤Æ¤¤¤¿\f3javakey\fP¥Ä¡¼¥ë¤ò´°Á´¤ËÃÖ¤´¹¤¨¤ë¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\f3javakey\fP¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-¿·¤·¤¤¥¡¼¥¹¥È¥¢¡¦¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ï¡¢\f3javakey\fP¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥¡¼¥¹¥È¥¢·Á¼°¤È¡¢1.1¤Î\f3javakey\fP¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï²¼°Ì¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤Î¤³¤È¤Ï²Äǽ¤Ç¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-\f3keytool\fP¤Î\f2\-identitydb\fP¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ðÊó¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-\f3jarsigner\fP¤Ï¡¢°ÊÁ°¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-\f3jarsigner\fP¤Ï¡¢\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢Java 2 SDK¤Î¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤³¤ì¤é¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¼¡¤Îɽ¤Ï¡¢JDK 1.1.x¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤¬¡¢Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤É¤Î¤è¤¦¤Ë°·¤ï¤ì¤ë¤«¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-.TS +-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +-.de 35 +-.ps \n(.s +-.vs \n(.vu +-.in \n(.iu +-.if \n(.u .fi +-.if \n(.j .ad +-.if \n(.j=0 .na +-.. +-.nf +-.nr #~ 0 +-.if n .nr #~ 0.6n +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.fc +-.nr 33 \n(.s +-.rm 80 81 82 83 84 +-.nr 34 \n(.lu +-.eo +-.am 80 +-.br +-.di a+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(80 .ll \n(80u +-.in 0 +-\f3JAR¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×\fP +-.br +-.di +-.nr a| \n(dn +-.nr a- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di b+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£\fP +-.br +-.di +-.nr b| \n(dn +-.nr b- \n(dl +-.. +-.ec \ +-.eo +-.am 82 +-.br +-.di c+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(82 .ll \n(82u +-.in 0 +-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava 2 Platform¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£(4)\fP +-.br +-.di +-.nr c| \n(dn +-.nr c- \n(dl +-.. +-.ec \ +-.eo +-.am 83 +-.br +-.di d+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(83 .ll \n(83u +-.in 0 +-\f3¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤ËÆÃ¸¢¤òÉÕÍ¿\fP +-.br +-.di +-.nr d| \n(dn +-.nr d- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di e+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr e| \n(dn +-.nr e- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di f+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr f| \n(dn +-.nr f- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di g+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr g| \n(dn +-.nr g- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di h+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-¤Ï¤¤/¿®Íê¤Ç¤¤Ê¤¤ +-.br +-.di +-.nr h| \n(dn +-.nr h- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di i+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(3) +-.br +-.di +-.nr i| \n(dn +-.nr i- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di j+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-¤Ï¤¤/¿®Íê¤Ç¤¤Ê¤¤ +-.br +-.di +-.nr j| \n(dn +-.nr j- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di k+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(1¡¢3) +-.br +-.di +-.nr k| \n(dn +-.nr k- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di l+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢ +-.br +-.di +-.nr l| \n(dn +-.nr l- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di m+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢(2) +-.br +-.di +-.nr m| \n(dn +-.nr m- \n(dl +-.. +-.ec \ +-.35 +-.nf +-.ll \n(34u +-.nr 80 0 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾¤Î¤Ê¤¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.80 +-.rm 80 +-.nr 38 \n(a- +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 81 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.81 +-.rm 81 +-.nr 38 \n(b- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \n(h- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \n(j- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 82 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.82 +-.rm 82 +-.nr 38 \n(c- +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 83 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.83 +-.rm 83 +-.nr 38 \n(d- +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 84 0 +-.nr 38 \w\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢ +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.84 +-.rm 84 +-.nr 38 \n(e- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(f- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(g- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(i- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(k- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(l- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(m- +-.if \n(84<\n(38 .nr 84 \n(38 +-.35 +-.nf +-.ll \n(34u +-.nr 38 1n +-.nr 79 0 +-.nr 40 \n(79+(0*\n(38) +-.nr 80 +\n(40 +-.nr 41 \n(80+(3*\n(38) +-.nr 81 +\n(41 +-.nr 42 \n(81+(3*\n(38) +-.nr 82 +\n(42 +-.nr 43 \n(82+(3*\n(38) +-.nr 83 +\n(43 +-.nr 44 \n(83+(3*\n(38) +-.nr 84 +\n(44 +-.nr TW \n(84 +-.if t .if \n(TW>\n(.li .tm Table at line 1090 file Input is too wide - \n(TW units +-.fc +-.nr #T 0-1 +-.nr #a 0-1 +-.eo +-.de T# +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.mk ## +-.nr ## -1v +-.ls 1 +-.ls +-.. +-.ec +-.ne \n(a|u+\n(.Vu +-.ne \n(b|u+\n(.Vu +-.ne \n(c|u+\n(.Vu +-.ne \n(d|u+\n(.Vu +-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(40u +-.in +\n(37u +-.a+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.b+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(42u +-.in +\n(37u +-.c+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(43u +-.in +\n(37u +-.d+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(e|u+\n(.Vu +-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.e+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(f|u+\n(.Vu +-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾¤Î¤Ê¤¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.f+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(g|u+\n(.Vu +-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.g+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(h|u+\n(.Vu +-.ne \n(i|u+\n(.Vu +-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.h+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.i+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(j|u+\n(.Vu +-.ne \n(k|u+\n(.Vu +-.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.j+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.k+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(l|u+\n(.Vu +-.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.l+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(m|u+\n(.Vu +-.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.m+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢ +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.fc +-.nr T. 1 +-.T# 1 +-.35 +-.rm a+ +-.rm b+ +-.rm c+ +-.rm d+ +-.rm e+ +-.rm f+ +-.rm g+ +-.rm h+ +-.rm i+ +-.rm j+ +-.rm k+ +-.rm l+ +-.rm m+ +-.TE +-.if \n-(b.=0 .nr c. \n(.c-\n(d.-50 +- +-.LP +-.LP +-Ãí°Õ: +-.LP +-.RS 3 +-.TP 3 +-1. +-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿ÆÃ¸¢¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 3 +-2. +-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ +-.TP 3 +-3. +-Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-4. +-Java 2 SDK¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£ +-.RE +- +-.LP +-.SH "´ØÏ¢¹àÌÜ" +-.LP +-.RS 3 +-.TP 2 +-o +-jar(1)¥Ä¡¼¥ë¤Î¥É¥¥å¥á¥ó¥È +-.TP 2 +-o +-keytool(1)¥Ä¡¼¥ë¤Î¥É¥¥å¥á¥ó¥È +-.TP 2 +-o +-\f3jarsigner\fP¥Ä¡¼¥ë¤Î»ÈÍÑÎã¤Ï¡¢ +-.na +-\f4Java¥Á¥å¡¼¥È¥ê¥¢¥ë\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/index.html¤Î +-.na +-\f4¥»¥¥å¥ê¥Æ¥£\fP @ ++ ++ jar verified\&. + .fi +-http://docs.oracle.com/javase/tutorial/security/index.html¤ò»²¾È ++.if n \{\ + .RE +- +-.LP +- ++.\} ++.PP ++\fBÃí°Õ: \fRÊÌ̾¤¬¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤Ë¤Ï¡¢ÊÌ̾\fIduke\fR¤òÂ祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£ ++.SH "JDK 1.1¤Î¸ß´¹À" ++.PP ++\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢JDK 1\&.1¤Ë¤ª¤±¤ë\fIjavakey\fR¥Ä¡¼¥ë¤òÃÖ¤´¹¤¨¤¿¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\fIjavakey\fR¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£ ++.PP ++¿·¤·¤¤¥¡¼¥¹¥È¥¢¡¦¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ï¡¢\fIjavakey\fR¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥¡¼¥¹¥È¥¢·Á¼°¤È¡¢JDK 1\&.1¤Î\fIjavakey\fR¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï¡¢²¼°Ì¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤ÎÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIkeytool \-identitydb\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¥¡¼¥¹¥È¥¢¤Ë¾ðÊó¤ò¥¤¥ó¥Ý¡¼¥È¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JDK¤Î¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤½¤ì¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.RE ++.SS "½ð̾¤Î¤Ê¤¤JAR" ++.PP ++½ð̾¤Î¤Ê¤¤JAR¤Ë¤Ï¡¢¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤¬¤¢¤ê¤Þ¤¹¡£ ++.SS "½ð̾ÉÕ¤JAR" ++.PP ++½ð̾ÉÕ¤JAR¤Ë¤Ï¡¢µ½Ò¤É¤ª¤ê¤ÎJDK 1\&.1\&.\fIn\fR¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Î¥¹¥Æ¡¼¥¿¥¹¤Ë´ð¤Å¤¤¤¿¸¢¸Â¹½À®¤¬¤¢¤ê¤Þ¤¹¡£JDK¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£ ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤ ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤ ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ª¤è¤Ó3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î2¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÉÕÍ¿¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÃí°Õ\fR ++.RS 4 ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 1.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 1." 4.2 ++.\} ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Þ¤¿¤ÏÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿¸¢¸Â¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 2.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 2." 4.2 ++.\} ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 3.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 3." 4.2 ++.\} ++Java¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ ++.RE ++.RE ++.SH "»²¾È" ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++jar(1) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++keytool(1) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html¤Ë¤¢¤ë ++¡Ö¥³¡¼¥¹: Java SE¤Î¥»¥¥å¥ê¥Æ¥£µ¡Ç½¡× ++.RE ++.br ++'pl 8.5i ++'bp +--- jdk/src/linux/doc/man/jarsigner.1 2013-09-06 11:27:47.000000000 -0700 ++++ jdk/src/linux/doc/man/jarsigner.1 2014-01-18 12:16:22.000000000 -0800 +@@ -1,1569 +1,985 @@ +-." Copyright (c) 1998, 2011, 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. +-." +-.TH jarsigner 1 "16 Mar 2012" +- +-.LP +-.SH "Name" +-jarsigner \- JAR Signing and Verification Tool +-.LP +-.LP +-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files. +-.LP +-.SH "SYNOPSIS" +-.LP +-.nf +-\f3 +-.fl +-\fP\f3jarsigner\fP [ options ] jar\-file alias +-.fl +-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...] +-.fl +-.fi +- +-.LP +-.LP +-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore. +-.LP +-.SH "DESCRIPTION" +-.LP +-.LP +-The \f3jarsigner\fP tool is used for two purposes: +-.LP +-.RS 3 +-.TP 3 +-1. +-to sign Java ARchive (JAR) files, and +-.TP 3 +-2. +-to verify the signatures and integrity of signed JAR files. +-.RE +- +-.LP +-.LP +-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.) +-.LP +-.LP +-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics: +-.LP +-.RS 3 +-.TP 2 +-o +-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature. +-.TP 2 +-o +-It cannot be forged, assuming the private key is kept secret. +-.TP 2 +-o +-It is a function of the data signed and thus can't be claimed to be the signature for other data as well. +-.TP 2 +-o +-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic. +-.RE +- +-.LP +-.LP +-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value. +-.LP +-.LP +-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores. +-.LP +-.LP +-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file). +-.LP +-.LP +-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information. +-.LP +-.LP +-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.) +-.LP +-.LP +-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file. +-.LP +-.SS +-Keystore Aliases +-.LP +-.LP +-All keystore entities are accessed via unique \f2aliases\fP. +-.LP +-.LP +-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file. +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password. +-.LP +-.SS +-Keystore Location +-.LP +-.LP +-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory. +-.LP +-.LP +-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device. +-.LP +-.SS +-Keystore Implementation +-.LP +-.LP +-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. +-.LP +-.LP +-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it. +-.LP +-.LP +-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. +-.LP +-.LP +-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in +-.na +-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. +-.LP +-.LP +-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. +-.LP +-.LP +-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. +-.LP +-.LP +-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu. +-.LP +-.LP +-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). +-.LP +-.LP +-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. +-.LP +-.LP +-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): +-.LP +-.nf +-\f3 +-.fl +- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file: +-.LP +-.nf +-\f3 +-.fl +- keystore.type=jks +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". +-.LP +-.LP +-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to +-.LP +-.nf +-\f3 +-.fl +- keystore.type=pkcs12 +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that if you us the PKCS#11 provider package, you should refer to the +-.na +-\f2KeyTool and JarSigner\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details. +-.LP +-.SS +-Supported Algorithms +-.LP +-.LP +-By default, \f3jarsigner\fP signs a JAR file using one of the following: +-.LP +-.RS 3 +-.TP 2 +-o +-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm +-.TP 2 +-o +-RSA algorithm with the SHA256 digest algorithm. +-.TP 2 +-o +-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm). +-.RE +- +-.LP +-.LP +-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm. +-.LP +-.LP +-These default signature algorithms can be overridden using the \f2\-sigalg\fP option. +-.LP +-.SS +-The Signed JAR File +-.LP +-.LP +-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory: +-.LP +-.RS 3 +-.TP 2 +-o +-a signature file, with a .SF extension, and +-.TP 2 +-o +-a signature block file, with a .DSA, .RSA, or .EC extension. +-.RE +- +-.LP +-.LP +-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as +-.LP +-.nf +-\f3 +-.fl +-\-sigFile MKSIGN +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The files are named "MKSIGN.SF" and "MKSIGN.DSA". +-.LP +-.LP +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens. +-.LP +-\f3The Signature (.SF) File\fP +-.LP +-.LP +-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following: +-.LP +-.RS 3 +-.TP 2 +-o +-the file name, +-.TP 2 +-o +-the name of the digest algorithm used (SHA), and +-.TP 2 +-o +-a SHA digest value. +-.RE +- +-.LP +-.LP +-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file. +-.LP +-.LP +-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification. +-.LP +-\f3The Signature Block File\fP +-.LP +-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used. +-.SS +-Signature Timestamp +-.LP +-.LP +-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options: +-.LP +-.RS 3 +-.TP 2 +-o +-\f2\-tsa url\fP +-.TP 2 +-o +-\f2\-tsacert alias\fP +-.TP 2 +-o +-\f2\-altsigner class\fP +-.TP 2 +-o +-\f2\-altsignerpath classpathlist\fP +-.RE +- +-.LP +-.LP +-Each of these options is detailed in the Options section below. +-.LP +-.SS +-JAR File Verification +-.LP +-.LP +-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps: +-.LP +-.RS 3 +-.TP 3 +-1. +-Verify the signature of the .SF file itself. +-.br +-.br +-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with. +-.TP 3 +-2. +-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest. +-.br +-.br +-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step. +-.br +-.br +-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File). +-.br +-.br +-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file. +-.TP 3 +-3. +-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails. +-.RE +- +-.LP +-.LP +-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP. +-.LP +-.SS +-Multiple Signatures for a JAR File +-.LP +-.LP +-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner myBundle.jar susan +-.fl +- jarsigner myBundle.jar kevin +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names: +-.LP +-.nf +-\f3 +-.fl +- SUSAN.SF +-.fl +- SUSAN.DSA +-.fl +- KEVIN.SF +-.fl +- KEVIN.DSA +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP. +-.LP +-.SH "OPTIONS" +-.LP +-.LP +-The various \f3jarsigner\fP options are listed and described below. Note: +-.LP +-.RS 3 +-.TP 2 +-o +-All option names are preceded by a minus sign (\-). +-.TP 2 +-o +-The options may be provided in any order. +-.TP 2 +-o +-Items in italics (option values) represent the actual values that must be supplied. +-.TP 2 +-o +-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file. +-.RE +- +-.LP +-.RS 3 +-.TP 3 +-\-keystore url +-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property. +-.br +-.br +-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default). +-.br +-.br +-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore. +-.br +-.br +-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is, +-.nf +-\f3 +-.fl +- \-keystore \fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-is treated as equivalent to +-.nf +-\f3 +-.fl +- \-keystore file:\fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options: +-.RS 3 +-.TP 2 +-o +-\f2\-keystore NONE\fP +-.TP 2 +-o +-\f2\-storetype PKCS11\fP +-.RE +-For example, this command lists the contents of the configured PKCS#11 token: +-.nf +-\f3 +-.fl +- jarsigner \-keystore NONE \-storetype PKCS11 \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-storetype storetype +-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP. +-.br +-.br +-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified. +-.TP 3 +-\-storepass[:env | :file] argument +-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-keypass[:env | :file] argument +-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-sigfile file +-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file. +-.br +-.br +-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names. +-.br +-.br +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. +-.TP 3 +-\-sigalg algorithm +-Specifies the name of the signature algorithm to use to sign the JAR file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-digestalg algorithm +-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-signedjar file +-Specifies the name to be used for the signed JAR file. +-.br +-.br +-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file. +-.TP 3 +-\-verify +-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)" +-.br +-.br +-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both. +-.br +-.br +-For further information on verification, see JAR File Verification. +-.TP 3 +-\-certs +-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes +-.RS 3 +-.TP 2 +-o +-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key +-.TP 2 +-o +-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer +-.RE +-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed: +-.RS 3 +-.TP 2 +-o +-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses. +-.RE +-.TP 3 +-\-certchain file +-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard. +-.TP 3 +-\-verbose +-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification. +-.TP 3 +-\-internalsf +-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-sectionsonly +-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File . +-.br +-.br +-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file. +-.br +-.br +-For further information, see JAR File Verification. +-.br +-.br +-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-protected +-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. +-.TP 3 +-\-providerClass provider\-class\-name +-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP. +-.br +-.br +-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file. +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerClass sun.security.pkcs11.SunPKCS11 \\ +-.fl +- \-providerArg /foo/bar/token.config \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-providerName providerName +-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider. +-.br +-.br +-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the +-.na +-\f2configuration attributes table\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP: +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerName SunPKCS11\-SmartCard \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-Jjavaoption +-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line. +-.TP 3 +-\-tsa url +-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore. +-.br +-.br +-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in +-.na +-\f2RFC 3161\fP @ +-.fi +-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file. +-.TP 3 +-\-tsacert alias +-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA. +-.br +-.br +-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP. +-.TP 3 +-\-altsigner class +-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism. +-.br +-.br +-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP +-.TP 3 +-\-altsignerpath classpathlist +-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below. +-.br +-.br +-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path. +-.br +-.br +-Example of specifying the path to a jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/lib/authsigner.jar +-.fl +-\fP +-.fi +-Note that the JAR file name is included. +-.br +-.br +-Example of specifying the path to the jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +-.fl +-\fP +-.fi +-Note that the JAR file name is omitted. +-.TP 3 +-\-strict +-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details. +-.TP 3 +-\-verbose:sub\-options +-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information. +-.RE +- +-.LP +-.SH "EXAMPLES" +-.LP +-.SS +-Signing a JAR File +-.LP +-.LP +-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar": +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP. +-.LP +-.LP +-If you want to be prompted for the store password and the private key password, you could shorten the above command to +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore +-.fl +- \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option: +-.LP +-.nf +-\f3 +-.fl +- jarsigner bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verifying a Signed JAR File +-.LP +-.LP +-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify sbundle.jar +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the verification is successful, +-.LP +-.nf +-\f3 +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-is displayed. Otherwise, an error message appears. +-.LP +-.LP +-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify \-verbose sbundle.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class +-.fl +- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification with Certificate Information +-.LP +-.LP +-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example, +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF +-.fl +- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class +-.fl +- +-.fl +- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest) +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get +-.LP +-.nf +-\f3 +-.fl +- PGP, (bob) +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification of a JAR File that Includes Identity Database Signers +-.LP +-.LP +-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear. +-.LP +-.LP +-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF +-.fl +- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA +-.fl +- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html +-.fl +- +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke] +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- i = at least one certificate was found in identity scope +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias. +-.LP +-.SH "WARNINGS" +-.LP +-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows: +-.nf +-\f3 +-.fl +- hasExpiringCert 2 +-.fl +- This jar contains entries whose signer certificate will expire within six months +-.fl +- +-.fl +- hasExpiredCert 4 +-.fl +- This jar contains entries whose signer certificate has expired. +-.fl +- +-.fl +- notYetValidCert 4 +-.fl +- This jar contains entries whose signer certificate is not yet valid. +-.fl +- +-.fl +- chainNotValidated 4 +-.fl +- This jar contains entries whose certificate chain cannot be correctly validated. +-.fl +- +-.fl +- badKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing. +-.fl +- +-.fl +- badExtendedKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's ExtendedKeyUsage extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- badNetscapeCertType 8 +-.fl +- This jar contains entries whose signer certificate's NetscapeCertType extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- hasUnsignedEntry 16 +-.fl +- This jar contains unsigned entries which have not been integrity\-checked. +-.fl +- +-.fl +- notSignedByAlias 32 +-.fl +- This jar contains signed entries which are not signed by the specified alias(es) +-.fl +- +-.fl +- aliasNotInStore 32 +-.fl +- This jar contains signed entries that are not signed by alias in this keystore +-.fl +- +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned. +-.LP +-.LP +-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned: +-.LP +-.nf +-\f3 +-.fl +-failure 1 +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Compatibility with JDK 1.1 +-.LP +-.LP +-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them. +-.LP +-.LP +-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However, +-.LP +-.RS 3 +-.TP 2 +-o +-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command. +-.TP 2 +-o +-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP. +-.TP 2 +-o +-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore. +-.RE +- +-.LP +-.LP +-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform. +-.LP +-.LP +-.TS +-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +-.de 35 +-.ps \n(.s +-.vs \n(.vu +-.in \n(.iu +-.if \n(.u .fi +-.if \n(.j .ad +-.if \n(.j=0 .na +-.. +-.nf +-.nr #~ 0 +-.if n .nr #~ 0.6n +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.fc +-.nr 33 \n(.s +-.rm 80 81 82 83 84 +-.nr 34 \n(.lu +-.eo +-.am 82 +-.br +-.di a+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(82 .ll \n(82u +-.in 0 +-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP +-.br +-.di +-.nr a| \n(dn +-.nr a- \n(dl +-.. +-.ec \ +-.eo +-.am 83 +-.br +-.di b+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(83 .ll \n(83u +-.in 0 +-\f3Policy File grants privileges to Identity/Alias\fP +-.br +-.di +-.nr b| \n(dn +-.nr b- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di c+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr c| \n(dn +-.nr c- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di d+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr d| \n(dn +-.nr d- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di e+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr e| \n(dn +-.nr e- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di f+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (3) +-.br +-.di +-.nr f| \n(dn +-.nr f- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di g+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (1,3) +-.br +-.di +-.nr g| \n(dn +-.nr g- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di h+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. +-.br +-.di +-.nr h| \n(dn +-.nr h- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di i+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. (2) +-.br +-.di +-.nr i| \n(dn +-.nr i- \n(dl +-.. +-.ec \ +-.35 +-.nf +-.ll \n(34u +-.nr 80 0 +-.nr 38 \w\f3JAR File Type\fP +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wUnsigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.80 +-.rm 80 +-.nr 81 0 +-.nr 38 \w\f3Identity in 1.1 database\fP +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.81 +-.rm 81 +-.nr 82 0 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.82 +-.rm 82 +-.nr 38 \n(a- +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 83 0 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.83 +-.rm 83 +-.nr 38 \n(b- +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 84 0 +-.nr 38 \w\f3Privileges Granted\fP +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.84 +-.rm 84 +-.nr 38 \n(c- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(d- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(e- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(f- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(g- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(h- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(i- +-.if \n(84<\n(38 .nr 84 \n(38 +-.35 +-.nf +-.ll \n(34u +-.nr 38 1n +-.nr 79 0 +-.nr 40 \n(79+(0*\n(38) +-.nr 80 +\n(40 +-.nr 41 \n(80+(3*\n(38) +-.nr 81 +\n(41 +-.nr 42 \n(81+(3*\n(38) +-.nr 82 +\n(42 +-.nr 43 \n(82+(3*\n(38) +-.nr 83 +\n(43 +-.nr 44 \n(83+(3*\n(38) +-.nr 84 +\n(44 +-.nr TW \n(84 +-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units +-.fc +-.nr #T 0-1 +-.nr #a 0-1 +-.eo +-.de T# +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.mk ## +-.nr ## -1v +-.ls 1 +-.ls +-.. +-.ec +-.ne \n(a|u+\n(.Vu +-.ne \n(b|u+\n(.Vu +-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(42u +-.in +\n(37u +-.a+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(43u +-.in +\n(37u +-.b+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(c|u+\n(.Vu +-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.c+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(d|u+\n(.Vu +-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.d+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(e|u+\n(.Vu +-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.e+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(f|u+\n(.Vu +-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.f+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(g|u+\n(.Vu +-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.g+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(h|u+\n(.Vu +-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.h+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(i|u+\n(.Vu +-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.i+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1) +-.fc +-.nr T. 1 +-.T# 1 +-.35 +-.rm a+ +-.rm b+ +-.rm c+ +-.rm d+ +-.rm e+ +-.rm f+ +-.rm g+ +-.rm h+ +-.rm i+ +-.TE +-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42 +- +-.LP +-.LP +-Notes: +-.LP +-.RS 3 +-.TP 3 +-1. +-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted. +-.TP 3 +-2. +-The policy file/keystore combination has precedence over a trusted identity in the identity database. +-.TP 3 +-3. +-Untrusted identities are ignored in the Java 2 platform. +-.TP 3 +-4. +-Only trusted identities can be imported into Java 2 SDK keystores. +-.RE +- +-.LP +-.SH "SEE ALSO" +-.LP +-.RS 3 +-.TP 2 +-o +-jar(1) tool documentation +-.TP 2 +-o +-keytool(1) tool documentation +-.TP 2 +-o +-the +-.na +-\f4Security\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/security/index.html trail of the +-.na +-\f4Java Tutorial\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool +-.RE +- +-.LP +- ++'\" t ++.\" Copyright (c) 1998, 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. ++.\" ++.\" Arch: generic ++.\" Software: JDK 7 ++.\" Date: 6 August 2013 ++.\" SectDesc: Security Tools ++.\" Title: jarsigner.1 ++.\" ++.if n .pl 99999 ++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools" ++.\" ----------------------------------------------------------------- ++.\" * Define some portability stuff ++.\" ----------------------------------------------------------------- ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.\" http://bugs.debian.org/507673 ++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ----------------------------------------------------------------- ++.\" * set default formatting ++.\" ----------------------------------------------------------------- ++.\" disable hyphenation ++.nh ++.\" disable justification (adjust text to left margin only) ++.ad l ++.\" ----------------------------------------------------------------- ++.\" * MAIN CONTENT STARTS HERE * ++.\" ----------------------------------------------------------------- ++ ++.SH NAME ++jarsigner \- Signs and verifies Java Archive (JAR) files\&. ++.SH SYNOPSIS ++.sp ++.nf ++ ++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR ++.fi ++.nf ++ ++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] ++.fi ++.sp ++.TP ++\fIoptions\fR ++The command-line options\&. See Options\&. ++.TP ++-verify ++.br ++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&. ++.TP ++\fIjar-file\fR ++The JAR file to be signed\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&. ++.TP ++\fIalias\fR ++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++.SH DESCRIPTION ++The \f3jarsigner\fR tool has two purposes: ++.TP 0.2i ++\(bu ++To sign Java Archive (JAR) files\&. ++.TP 0.2i ++\(bu ++To verify the signatures and integrity of signed JAR files\&. ++.PP ++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.) ++.PP ++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics: ++.TP 0.2i ++\(bu ++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&. ++.TP 0.2i ++\(bu ++It cannot be forged, assuming the private key is kept secret\&. ++.TP 0.2i ++\(bu ++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&. ++.TP 0.2i ++\(bu ++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&. ++.PP ++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&. ++.PP ++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&. ++.PP ++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&. ++.PP ++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&. ++.PP ++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&. ++.PP ++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&. ++.PP ++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&. ++.SS KEYSTORE\ ALIASES ++All keystore entities are accessed with unique aliases\&. ++.PP ++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&. ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&. ++.SS KEYSTORE\ LOCATION ++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++.PP ++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&. ++.PP ++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&. ++.SS KEYSTORE\ IMPLEMENTATION ++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&. ++.PP ++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&. ++.PP ++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&. ++.PP ++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html ++.PP ++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&. ++.PP ++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&. ++.PP ++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&. ++.PP ++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&. ++.PP ++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&. ++.PP ++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR: ++.sp ++.nf ++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file: ++.sp ++.nf ++\f3keystore\&.type=jks\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&. ++.PP ++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following: ++.sp ++.nf ++\f3keystore\&.type=pkcs12\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html ++.SS SUPPORTED\ ALGORITHMS ++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms: ++.TP 0.2i ++\(bu ++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm ++.TP 0.2i ++\(bu ++RSA algorithm with the SHA256 digest algorithm ++.TP 0.2i ++\(bu ++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&. ++.PP ++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&. ++.PP ++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&. ++.SS THE\ SIGNED\ JAR\ FILE ++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory: ++.TP 0.2i ++\(bu ++A signature file with an \f3\&.SF\fR extension ++.TP 0.2i ++\(bu ++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension ++.PP ++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR ++.PP ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&. ++.PP ++Signature File ++ ++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following: ++.TP 0.2i ++\(bu ++File name ++.TP 0.2i ++\(bu ++Name of the digest algorithm (SHA) ++.TP 0.2i ++\(bu ++SHA digest value ++.PP ++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&. ++.PP ++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&. ++.PP ++Signature Block File ++ ++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&. ++.SS SIGNATURE\ TIME\ STAMP ++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&. ++.sp ++.nf ++\f3\-tsa \fIurl\fR\fP ++.fi ++.nf ++\f3\-tsacert \fIalias\fR\fP ++.fi ++.nf ++\f3\-altsigner \fIclass\fR\fP ++.fi ++.nf ++\f3\-altsignerpath \fIclasspathlist\fR\fP ++.fi ++.nf ++\f3\-tsapolicyid \fIpolicyid\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS JAR\ FILE\ VERIFICATION ++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps: ++.TP 0.4i ++1\&. ++Verify the signature of the \f3\&.SF\fR file\&. ++ ++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&. ++.TP 0.4i ++2\&. ++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&. ++ ++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&. ++ ++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&. ++ ++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&. ++.TP 0.4i ++3\&. ++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&. ++ ++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&. ++.PP ++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&. ++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE ++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows: ++.sp ++.nf ++\f3jarsigner myBundle\&.jar susan\fP ++.fi ++.nf ++\f3jarsigner myBundle\&.jar kevin\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names: ++.sp ++.nf ++\f3SUSAN\&.SF\fP ++.fi ++.nf ++\f3SUSAN\&.DSA\fP ++.fi ++.nf ++\f3KEVIN\&.SF\fP ++.fi ++.nf ++\f3KEVIN\&.DSA\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&. ++.SH OPTIONS ++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards: ++.TP 0.2i ++\(bu ++All option names are preceded by a minus sign (-)\&. ++.TP 0.2i ++\(bu ++The options can be provided in any order\&. ++.TP 0.2i ++\(bu ++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&. ++.TP 0.2i ++\(bu ++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&. ++.TP ++-keystore \fIurl\fR ++.br ++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++ ++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&. ++ ++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&. ++ ++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent: ++.sp ++.nf ++\f3\-keystore \fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\-keystore file:\fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options: ++.sp ++.nf ++\f3\-keystore NONE\fP ++.fi ++.nf ++\f3\-storetype PKCS11\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++For example, the following command lists the contents of the configured PKCS#11 token: ++.sp ++.nf ++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-storetype \fIstoretype\fR ++.br ++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&. ++ ++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&. ++.TP ++-storepass[:env | :file] \fIargument\fR ++.br ++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-keypass [:env | :file] \fIargument\fR ++.br ++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-sigfile \fIfile\fR ++.br ++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&. ++ ++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&. ++ ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&. ++.TP ++-sigalg \fIalgorithm\fR ++.br ++Specifies the name of the signature algorithm to use to sign the JAR file\&. ++ ++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-digestalg \fIalgorithm\fR ++.br ++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&. ++ ++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-certs ++.br ++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&. ++ ++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&. ++.TP ++-certchain \fIfile\fR ++.br ++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&. ++.TP ++-verbose ++.br ++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&. ++.TP ++-internalsf ++.br ++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&. ++.TP ++-sectionsonly ++.br ++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&. ++ ++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&. ++ ++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&. ++.TP ++-protected ++.br ++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&. ++.TP ++-providerClass \fIprovider-class-name\fR ++.br ++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&. ++ ++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&. ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-providerName \fIproviderName\fR ++.br ++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&. ++ ++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR: ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerName SunPKCS11\-SmartCard \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-J\fIjavaoption\fR ++.br ++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&. ++.TP ++-tsa \fIurl\fR ++.br ++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&. ++ ++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&. ++.TP ++-tsacert \fIalias\fR ++.br ++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&. ++ ++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&. ++.TP ++-tsapolicyid \fIpolicyid\fR ++.br ++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&. ++ ++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&. ++.TP ++-altsigner \fIclass\fR ++.br ++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&. ++ ++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&. ++.TP ++-altsignerpath \fIclasspathlist\fR ++.br ++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&. ++ ++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&. ++ ++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-strict ++.br ++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&. ++.TP ++-verbose \fIsuboptions\fR ++.br ++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&. ++.SH ERRORS\ AND\ WARNINGS ++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&. ++.PP ++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&. ++.PP ++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&. ++.PP ++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&. ++.PP ++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&. ++.SS FAILURE ++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&. ++.TP ++failure ++Code 1\&. The signing or verifying fails\&. ++.SS SEVERE\ WARNINGS ++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&. ++.PP ++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&. ++.TP ++hasExpiredCert ++Code 4\&. This jar contains entries whose signer certificate has expired\&. ++.TP ++notYetValidCert ++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&. ++.TP ++chainNotValidated ++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&. ++.TP ++badKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badExtendedKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badNetscapeCertType ++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&. ++.TP ++hasUnsignedEntry ++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&. ++.TP ++notSignedByAlias ++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&. ++.TP ++aliasNotInStore ++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&. ++.SS INFORMATIONAL\ WARNINGS ++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&. ++.TP ++hasExpiringCert ++This jar contains entries whose signer certificate will expire within six months\&. ++.TP ++noTimestamp ++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&. ++.SH EXAMPLES ++.SS SIGN\ A\ JAR\ FILE ++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password>\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&. ++.PP ++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows: ++.sp ++.nf ++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows: ++.sp ++.nf ++\f3jarsigner bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFY\ A\ SIGNED\ JAR\ FILE ++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following: ++.sp ++.nf ++\f3jarsigner \-verify sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows: ++.sp ++.nf ++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP ++.fi ++.nf ++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION ++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP ++.fi ++.nf ++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&. ++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS ++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&. ++.PP ++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example: ++.sp ++.nf ++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP ++.fi ++.nf ++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3 i = at least one certificate was found in identity scope\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&. ++.SH JDK\ 1\&.1\ COMPATIBILITY ++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&. ++.PP ++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following: ++.TP 0.2i ++\(bu ++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&. ++.SS UNSIGNED\ JARS ++Unsigned JARs have the default privileges that are granted to all code\&. ++.SS SIGNED\ JARS ++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&. ++.PP ++Default Privileges Granted to All Code ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Default Privileges and Policy File Privileges Granted ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 2 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++All Privileges Granted ++ ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Notes Regarding Privileges of Signed JARs ++.TP 0.4i ++1\&. ++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&. ++.TP 0.4i ++2\&. ++The policy file/keystore combination has precedence over a trusted identity in the identity database\&. ++.TP 0.4i ++3\&. ++Untrusted identities are ignored in the Java platform\&. ++.SH SEE\ ALSO ++.TP 0.2i ++\(bu ++\f3jar\fR ++.TP 0.2i ++\(bu ++\f3keytool\fR ++.TP 0.2i ++\(bu ++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html ++.RE ++.br ++'pl 8.5i ++'bp +--- jdk/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java 2013-09-06 11:27:48.000000000 -0700 ++++ jdk/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java 2013-12-01 11:14:34.000000000 -0800 +@@ -37,8 +37,6 @@ + import sun.swing.*; + import apple.laf.*; + +-import com.apple.resources.MacOSXResourceBundle; +- + public class AquaLookAndFeel extends BasicLookAndFeel { + static final String sOldPropertyPrefix = "com.apple.macos."; // old prefix for things like 'useScreenMenuBar' + static final String sPropertyPrefix = "apple.laf."; // new prefix for things like 'useScreenMenuBar' +@@ -246,7 +244,7 @@ + table.setDefaultLocale(Locale.getDefault()); + table.addResourceBundle(PKG_PREFIX + "resources.aqua"); + try { +- final ResourceBundle aquaProperties = MacOSXResourceBundle.getMacResourceBundle(PKG_PREFIX + "resources.aqua"); ++ final ResourceBundle aquaProperties = ResourceBundle.getBundle(PKG_PREFIX + "resources.aqua"); + final Enumeration<String> propertyKeys = aquaProperties.getKeys(); + + while (propertyKeys.hasMoreElements()) { +--- jdk/src/macosx/classes/com/apple/laf/AquaUtils.java 2013-09-06 11:27:48.000000000 -0700 ++++ jdk/src/macosx/classes/com/apple/laf/AquaUtils.java 2013-12-01 11:14:34.000000000 -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 +@@ -29,6 +29,7 @@ + import java.awt.image.*; + import java.lang.ref.SoftReference; + import java.lang.reflect.Method; ++import java.security.AccessController; + import java.security.PrivilegedAction; + import java.util.*; + +@@ -41,56 +42,68 @@ + import sun.lwawt.macosx.CImage; + import sun.lwawt.macosx.CImage.Creator; + import sun.lwawt.macosx.CPlatformWindow; ++import sun.misc.Launcher; ++import sun.reflect.misc.ReflectUtil; ++import sun.security.action.GetPropertyAction; + import sun.swing.SwingUtilities2; + + import com.apple.laf.AquaImageFactory.SlicedImageControl; + +-public class AquaUtils { +- final static String ANIMATIONS_SYSTEM_PROPERTY = "swing.enableAnimations"; ++final class AquaUtils { + +- /* ++ private static final String ANIMATIONS_PROPERTY = "swing.enableAnimations"; ++ ++ /** ++ * Suppresses default constructor, ensuring non-instantiability. ++ */ ++ private AquaUtils() { ++ } ++ ++ /** + * Convenience function for determining ComponentOrientation. Helps us + * avoid having Munge directives throughout the code. + */ +- public static boolean isLeftToRight(final Component c) { ++ static boolean isLeftToRight(final Component c) { + return c.getComponentOrientation().isLeftToRight(); + } + +- public static void enforceComponentOrientation(Component c, ComponentOrientation orientation) { ++ static void enforceComponentOrientation(final Component c, final ComponentOrientation orientation) { + c.setComponentOrientation(orientation); + if (c instanceof Container) { +- for (Component child : ((Container)c).getComponents()) { ++ for (final Component child : ((Container)c).getComponents()) { + enforceComponentOrientation(child, orientation); + } + } + } + +- private static CImage.Creator getCImageCreatorInternal() { +- return java.security.AccessController.doPrivileged(new PrivilegedAction<CImage.Creator>() { ++ private static Creator getCImageCreatorInternal() { ++ return AccessController.doPrivileged(new PrivilegedAction<Creator>() { ++ @Override + public Creator run() { + try { + final Method getCreatorMethod = CImage.class.getDeclaredMethod("getCreator", new Class[] {}); + getCreatorMethod.setAccessible(true); +- return (CImage.Creator)getCreatorMethod.invoke(null, new Object[] {}); +- } catch (final Exception e) { ++ return (Creator)getCreatorMethod.invoke(null, new Object[] {}); ++ } catch (final Exception ignored) { + return null; + } + } + }); + } + +- private static final RecyclableSingleton<CImage.Creator> cImageCreator = new RecyclableSingleton<CImage.Creator>() { ++ private static final RecyclableSingleton<Creator> cImageCreator = new RecyclableSingleton<Creator>() { + @Override + protected Creator getInstance() { + return getCImageCreatorInternal(); + } + }; +- static CImage.Creator getCImageCreator() { ++ static Creator getCImageCreator() { + return cImageCreator.get(); + } + +- protected static Image generateSelectedDarkImage(final Image image) { ++ static Image generateSelectedDarkImage(final Image image) { + final ImageProducer prod = new FilteredImageSource(image.getSource(), new IconImageFilter() { ++ @Override + int getGreyFor(final int gray) { + return gray * 75 / 100; + } +@@ -98,8 +111,9 @@ + return Toolkit.getDefaultToolkit().createImage(prod); + } + +- protected static Image generateDisabledImage(final Image image) { ++ static Image generateDisabledImage(final Image image) { + final ImageProducer prod = new FilteredImageSource(image.getSource(), new IconImageFilter() { ++ @Override + int getGreyFor(final int gray) { + return 255 - ((255 - gray) * 65 / 100); + } +@@ -107,19 +121,20 @@ + return Toolkit.getDefaultToolkit().createImage(prod); + } + +- protected static Image generateLightenedImage(final Image image, final int percent) { ++ static Image generateLightenedImage(final Image image, final int percent) { + final GrayFilter filter = new GrayFilter(true, percent); + final ImageProducer prod = new FilteredImageSource(image.getSource(), filter); + return Toolkit.getDefaultToolkit().createImage(prod); + } + +- static abstract class IconImageFilter extends RGBImageFilter { +- public IconImageFilter() { ++ private abstract static class IconImageFilter extends RGBImageFilter { ++ IconImageFilter() { + super(); + canFilterIndexColorModel = true; + } + +- public int filterRGB(final int x, final int y, final int rgb) { ++ @Override ++ public final int filterRGB(final int x, final int y, final int rgb) { + final int red = (rgb >> 16) & 0xff; + final int green = (rgb >> 8) & 0xff; + final int blue = rgb & 0xff; +@@ -135,14 +150,14 @@ + return result; + } + +- abstract int getGreyFor(final int gray); ++ abstract int getGreyFor(int gray); + } + +- public abstract static class RecyclableObject<T> { +- protected SoftReference<T> objectRef = null; ++ abstract static class RecyclableObject<T> { ++ private SoftReference<T> objectRef; + +- public T get() { +- T referent = null; ++ T get() { ++ T referent; + if (objectRef != null && (referent = objectRef.get()) != null) return referent; + referent = create(); + objectRef = new SoftReference<T>(referent); +@@ -152,8 +167,8 @@ + protected abstract T create(); + } + +- public abstract static class RecyclableSingleton<T> { +- public T get() { ++ abstract static class RecyclableSingleton<T> { ++ final T get() { + final AppContext appContext = AppContext.getAppContext(); + SoftReference<T> ref = (SoftReference<T>) appContext.get(this); + if (ref != null) { +@@ -166,38 +181,36 @@ + return object; + } + +- public void reset() { +- AppContext appContext = AppContext.getAppContext(); +- appContext.remove(this); ++ void reset() { ++ AppContext.getAppContext().remove(this); + } + +- protected abstract T getInstance(); ++ abstract T getInstance(); + } + +- public static class RecyclableSingletonFromDefaultConstructor<T> extends RecyclableSingleton<T> { +- protected final Class<T> clazz; ++ static class RecyclableSingletonFromDefaultConstructor<T> extends RecyclableSingleton<T> { ++ private final Class<T> clazz; + +- public RecyclableSingletonFromDefaultConstructor(final Class<T> clazz) { ++ RecyclableSingletonFromDefaultConstructor(final Class<T> clazz) { + this.clazz = clazz; + } + +- protected T getInstance() { ++ @Override ++ T getInstance() { + try { ++ ReflectUtil.checkPackageAccess(clazz); + return clazz.newInstance(); +- } catch (final InstantiationException e) { +- e.printStackTrace(); +- } catch (final IllegalAccessException e) { +- e.printStackTrace(); ++ } catch (InstantiationException | IllegalAccessException ignored) { + } + return null; + } + } + +- public abstract static class LazyKeyedSingleton<K, V> { +- protected Map<K, V> refs; ++ abstract static class LazyKeyedSingleton<K, V> { ++ private Map<K, V> refs; + +- public V get(final K key) { +- if (refs == null) refs = new HashMap<K, V>(); ++ V get(final K key) { ++ if (refs == null) refs = new HashMap<>(); + + final V cachedValue = refs.get(key); + if (cachedValue != null) return cachedValue; +@@ -207,44 +220,45 @@ + return value; + } + +- protected abstract V getInstance(final K key); ++ protected abstract V getInstance(K key); + } + +- static final RecyclableSingleton<Boolean> enableAnimations = new RecyclableSingleton<Boolean>() { ++ private static final RecyclableSingleton<Boolean> enableAnimations = new RecyclableSingleton<Boolean>() { + @Override + protected Boolean getInstance() { +- final String sizeProperty = (String)java.security.AccessController.doPrivileged((PrivilegedAction<?>)new sun.security.action.GetPropertyAction(ANIMATIONS_SYSTEM_PROPERTY)); +- return new Boolean(!"false".equals(sizeProperty)); // should be true by default ++ final String sizeProperty = (String) AccessController.doPrivileged((PrivilegedAction<?>)new GetPropertyAction( ++ ANIMATIONS_PROPERTY)); ++ return !"false".equals(sizeProperty); // should be true by default + } + }; +- static boolean animationsEnabled() { ++ private static boolean animationsEnabled() { + return enableAnimations.get(); + } + +- static final int MENU_BLINK_DELAY = 50; // 50ms == 3/60 sec, according to the spec +- protected static void blinkMenu(final Selectable selectable) { ++ private static final int MENU_BLINK_DELAY = 50; // 50ms == 3/60 sec, according to the spec ++ static void blinkMenu(final Selectable selectable) { + if (!animationsEnabled()) return; + try { + selectable.paintSelected(false); + Thread.sleep(MENU_BLINK_DELAY); + selectable.paintSelected(true); + Thread.sleep(MENU_BLINK_DELAY); +- } catch (final InterruptedException e) { } ++ } catch (final InterruptedException ignored) { } + } + + interface Selectable { +- void paintSelected(final boolean selected); ++ void paintSelected(boolean selected); + } + + interface JComponentPainter { +- public void paint(JComponent c, Graphics g, int x, int y, int w, int h); ++ void paint(JComponent c, Graphics g, int x, int y, int w, int h); + } + + interface Painter { +- public void paint(final Graphics g, int x, int y, int w, int h); ++ void paint(Graphics g, int x, int y, int w, int h); + } + +- public static void paintDropShadowText(final Graphics g, final JComponent c, final Font font, final FontMetrics metrics, final int x, final int y, final int offsetX, final int offsetY, final Color textColor, final Color shadowColor, final String text) { ++ static void paintDropShadowText(final Graphics g, final JComponent c, final Font font, final FontMetrics metrics, final int x, final int y, final int offsetX, final int offsetY, final Color textColor, final Color shadowColor, final String text) { + g.setFont(font); + g.setColor(shadowColor); + SwingUtilities2.drawString(c, g, text, x + offsetX, y + offsetY + metrics.getAscent()); +@@ -252,22 +266,22 @@ + SwingUtilities2.drawString(c, g, text, x, y + metrics.getAscent()); + } + +- public static class ShadowBorder implements Border { +- final Painter prePainter; +- final Painter postPainter; +- +- final int offsetX; +- final int offsetY; +- final float distance; +- final int blur; +- final Insets insets; +- final ConvolveOp blurOp; ++ static class ShadowBorder implements Border { ++ private final Painter prePainter; ++ private final Painter postPainter; ++ ++ private final int offsetX; ++ private final int offsetY; ++ private final float distance; ++ private final int blur; ++ private final Insets insets; ++ private final ConvolveOp blurOp; + +- public ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) { ++ ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) { + this.prePainter = prePainter; this.postPainter = postPainter; + this.offsetX = offsetX; this.offsetY = offsetY; this.distance = distance; this.blur = blur; + final int halfBlur = blur / 2; +- this.insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX); ++ insets = new Insets(halfBlur - offsetY, halfBlur - offsetX, halfBlur + offsetY, halfBlur + offsetX); + + final float blurry = intensity / (blur * blur); + final float[] blurKernel = new float[blur * blur]; +@@ -275,14 +289,17 @@ + blurOp = new ConvolveOp(new Kernel(blur, blur, blurKernel)); + } + +- public boolean isBorderOpaque() { ++ @Override ++ public final boolean isBorderOpaque() { + return false; + } + +- public Insets getBorderInsets(final Component c) { ++ @Override ++ public final Insets getBorderInsets(final Component c) { + return insets; + } + ++ @Override + public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { + final BufferedImage img = new BufferedImage(width + blur * 2, height + blur * 2, BufferedImage.TYPE_INT_ARGB_PRE); + paintToImage(img, x, y, width, height); +@@ -290,7 +307,7 @@ + g.drawImage(img, -blur, -blur, null); + } + +- protected void paintToImage(final BufferedImage img, final int x, final int y, final int width, final int height) { ++ private void paintToImage(final BufferedImage img, final int x, final int y, final int width, final int height) { + // clear the prior image + Graphics2D imgG = (Graphics2D)img.getGraphics(); + imgG.setComposite(AlphaComposite.Clear); +@@ -319,10 +336,10 @@ + } + } + +- public static class SlicedShadowBorder extends ShadowBorder { +- final SlicedImageControl slices; ++ static class SlicedShadowBorder extends ShadowBorder { ++ private final SlicedImageControl slices; + +- public SlicedShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur, final int templateWidth, final int templateHeight, final int leftCut, final int topCut, final int rightCut, final int bottomCut) { ++ SlicedShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur, final int templateWidth, final int templateHeight, final int leftCut, final int topCut, final int rightCut, final int bottomCut) { + super(prePainter, postPainter, offsetX, offsetY, distance, intensity, blur); + + final BufferedImage i = new BufferedImage(templateWidth, templateHeight, BufferedImage.TYPE_INT_ARGB_PRE); +@@ -331,15 +348,12 @@ + slices = new SlicedImageControl(i, leftCut, topCut, rightCut, bottomCut, false); + } + ++ @Override + public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { + slices.paint(g, x, y, width, height); + } + } + +- public interface NineSliceMetricsProvider { - -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + // static void debugFrame(String name, Image image) { + // JFrame f = new JFrame(name); + // f.setContentPane(new JLabel(new ImageIcon(image))); +@@ -350,28 +364,30 @@ + // special casing naughty applications, like InstallAnywhere + // <rdar://problem/4851533> REGR: JButton: Myst IV: the buttons of 1.0.3 updater have redraw issue + static boolean shouldUseOpaqueButtons() { +- final ClassLoader launcherClassLoader = sun.misc.Launcher.getLauncher().getClassLoader(); ++ final ClassLoader launcherClassLoader = Launcher.getLauncher().getClassLoader(); + if (classExists(launcherClassLoader, "com.installshield.wizard.platform.macosx.MacOSXUtils")) return true; + return false; } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); + +- static boolean classExists(final ClassLoader classLoader, final String clazzName) { ++ private static boolean classExists(final ClassLoader classLoader, final String clazzName) { + try { + return Class.forName(clazzName, false, classLoader) != null; +- } catch (final Throwable e) { } ++ } catch (final Throwable ignored) { } + return false; + } + +- private static RecyclableSingleton<Method> getJComponentGetFlagMethod = new RecyclableSingleton<Method>() { ++ private static final RecyclableSingleton<Method> getJComponentGetFlagMethod = new RecyclableSingleton<Method>() { ++ @Override + protected Method getInstance() { +- return java.security.AccessController.doPrivileged( ++ return AccessController.doPrivileged( + new PrivilegedAction<Method>() { ++ @Override + public Method run() { + try { + final Method method = JComponent.class.getDeclaredMethod("getFlag", new Class[] { int.class }); + method.setAccessible(true); + return method; +- } catch (final Throwable e) { ++ } catch (final Throwable ignored) { + return null; + } + } +@@ -380,18 +396,18 @@ + } + }; + +- private static final Integer OPAQUE_SET_FLAG = new Integer(24); // private int JComponent.OPAQUE_SET +- protected static boolean hasOpaqueBeenExplicitlySet(final JComponent c) { ++ private static final Integer OPAQUE_SET_FLAG = 24; // private int JComponent.OPAQUE_SET ++ static boolean hasOpaqueBeenExplicitlySet(final JComponent c) { + final Method method = getJComponentGetFlagMethod.get(); + if (method == null) return false; + try { + return Boolean.TRUE.equals(method.invoke(c, OPAQUE_SET_FLAG)); +- } catch (final Throwable e) { ++ } catch (final Throwable ignored) { + return false; + } + } + +- protected static boolean isWindowTextured(final Component c) { ++ private static boolean isWindowTextured(final Component c) { + if (!(c instanceof JComponent)) { + return false; + } +@@ -412,13 +428,12 @@ + return new Color(color.getRed(), color.getGreen(), color.getBlue(), 0); + } + +- protected static void fillRect(final Graphics g, final Component c) { ++ static void fillRect(final Graphics g, final Component c) { + fillRect(g, c, c.getBackground(), 0, 0, c.getWidth(), c.getHeight()); + } + +- protected static void fillRect(final Graphics g, final Component c, +- final Color color, final int x, final int y, +- final int w, final int h) { ++ static void fillRect(final Graphics g, final Component c, final Color color, ++ final int x, final int y, final int w, final int h) { + if (!(g instanceof Graphics2D)) { + return; + } +--- jdk/src/macosx/classes/com/apple/laf/ScreenMenu.java 2013-09-06 11:27:48.000000000 -0700 ++++ jdk/src/macosx/classes/com/apple/laf/ScreenMenu.java 2013-12-01 11:14:34.000000000 -0800 +@@ -37,26 +37,31 @@ + import sun.lwawt.LWToolkit; + import sun.lwawt.macosx.*; + +-class ScreenMenu extends Menu implements ContainerListener, ComponentListener, ScreenMenuPropertyHandler { ++final class ScreenMenu extends Menu ++ implements ContainerListener, ComponentListener, ++ ScreenMenuPropertyHandler { ++ + static { + java.security.AccessController.doPrivileged((PrivilegedAction<?>)new sun.security.action.LoadLibraryAction("awt")); + } + + // screen menu stuff +- public static native long addMenuListeners(ScreenMenu listener, long nativeMenu); +- public static native void removeMenuListeners(long modelPtr); ++ private static native long addMenuListeners(ScreenMenu listener, long nativeMenu); ++ private static native void removeMenuListeners(long modelPtr); + +- long fModelPtr = 0; ++ private transient long fModelPtr; + +- Hashtable<Component, MenuItem> fItems; +- JMenu fInvoker; ++ private final Hashtable<Component, MenuItem> fItems; ++ private final JMenu fInvoker; + +- Component fLastMouseEventTarget; +- Rectangle fLastTargetRect; ++ private Component fLastMouseEventTarget; ++ private Rectangle fLastTargetRect; + private volatile Rectangle[] fItemBounds; + ++ private ScreenMenuPropertyListener fPropertyListener; ++ + // Array of child hashes used to see if we need to recreate the Menu. +- int childHashArray[]; ++ private int childHashArray[]; + + ScreenMenu(final JMenu invoker) { + super(invoker.getText()); +@@ -69,25 +74,12 @@ + updateItems(); + } + +- // I'm always 'visible', but never on screen +- static class ScreenMenuComponent extends Container { +- public boolean isVisible() { return true; } +- public boolean isShowing() { return true; } +- public void setVisible(final boolean b) {} +- public void show() {} +- } - -- if (country.equals("TW")) -- suffix += "_" + country; +- ScreenMenuComponent makeScreenMenuComponent() { +- return new ScreenMenuComponent(); +- } - -- return suffix; -- } - + /** + * Determine if we need to tear down the Menu and re-create it, since the contents may have changed in the Menu opened listener and + * we do not get notified of it, because EDT is busy in our code. We only need to update if the menu contents have changed in some + * way, such as the number of menu items, the text of the menuitems, icon, shortcut etc. + */ +- static boolean needsUpdate(final Component items[], final int childHashArray[]) { ++ private static boolean needsUpdate(final Component items[], final int childHashArray[]) { + if (items == null || childHashArray == null) { + return true; + } +@@ -107,7 +99,7 @@ + * Used to recreate the AWT based Menu structure that implements the Screen Menu. + * Also computes hashcode and stores them so that we can compare them later in needsUpdate. + */ +- void updateItems() { ++ private void updateItems() { + final int count = fInvoker.getMenuComponentCount(); + final Component[] items = fInvoker.getMenuComponents(); + if (needsUpdate(items, childHashArray)) { +@@ -158,16 +150,14 @@ + LWCToolkit.invokeAndWait(new Runnable() { + public void run() { + invoker.setSelected(false); +- +- // Null out the tracking rectangles and the array. ++ // Null out the tracking rectangles and the array. + if (fItemBounds != null) { +- for (int i = 0; i < fItemBounds.length; i++) { +- fItemBounds[i] = null; +- } ++ for (int i = 0; i < fItemBounds.length; i++) { ++ fItemBounds[i] = null; ++ } + } - --} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ko.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ko.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; +- fItemBounds = null; +- } ++ fItemBounds = null; ++ } + }, invoker); + } catch (final Exception e) { + e.printStackTrace(); +@@ -232,49 +222,56 @@ + }); + } +- ScreenMenuPropertyListener fPropertyListener; ++ @Override + public void addNotify() { +- super.addNotify(); +- if (fModelPtr == 0) { +- fInvoker.addContainerListener(this); +- fInvoker.addComponentListener(this); +- fPropertyListener = new ScreenMenuPropertyListener(this); +- fInvoker.addPropertyChangeListener(fPropertyListener); +- +- final Icon icon = fInvoker.getIcon(); +- if (icon != null) { +- this.setIcon(icon); +- } ++ synchronized (getTreeLock()) { ++ super.addNotify(); ++ if (fModelPtr == 0) { ++ fInvoker.addContainerListener(this); ++ fInvoker.addComponentListener(this); ++ fPropertyListener = new ScreenMenuPropertyListener(this); ++ fInvoker.addPropertyChangeListener(fPropertyListener); ++ ++ final Icon icon = fInvoker.getIcon(); ++ if (icon != null) { ++ setIcon(icon); ++ } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +- final String tooltipText = fInvoker.getToolTipText(); +- if (tooltipText != null) { +- this.setToolTipText(tooltipText); +- } +- final MenuComponentPeer peer = getPeer(); +- if (peer instanceof CMenu) { +- final CMenu menu = (CMenu)peer; +- final long nativeMenu = menu.getNativeMenu(); +- fModelPtr = addMenuListeners(this, nativeMenu); ++ final String tooltipText = fInvoker.getToolTipText(); ++ if (tooltipText != null) { ++ setToolTipText(tooltipText); ++ } ++ final MenuComponentPeer peer = getPeer(); ++ if (peer instanceof CMenu) { ++ final CMenu menu = (CMenu) peer; ++ final long nativeMenu = menu.getNativeMenu(); ++ fModelPtr = addMenuListeners(this, nativeMenu); ++ } + } + } + } + ++ @Override + public void removeNotify() { +- // Call super so that the NSMenu has been removed, before we release the delegate in removeMenuListeners +- super.removeNotify(); +- fItems.clear(); +- if (fModelPtr != 0) { +- removeMenuListeners(fModelPtr); +- fModelPtr = 0; +- fInvoker.removeContainerListener(this); +- fInvoker.removeComponentListener(this); +- fInvoker.removePropertyChangeListener(fPropertyListener); ++ synchronized (getTreeLock()) { ++ // Call super so that the NSMenu has been removed, before we release ++ // the delegate in removeMenuListeners ++ super.removeNotify(); ++ fItems.clear(); ++ if (fModelPtr != 0) { ++ removeMenuListeners(fModelPtr); ++ fModelPtr = 0; ++ fInvoker.removeContainerListener(this); ++ fInvoker.removeComponentListener(this); ++ fInvoker.removePropertyChangeListener(fPropertyListener); ++ } + } + } + + /** + * Invoked when a component has been added to the container. + */ ++ @Override + public void componentAdded(final ContainerEvent e) { + addItem(e.getChild()); + } +@@ -282,23 +279,26 @@ + /** + * Invoked when a component has been removed from the container. + */ ++ @Override + public void componentRemoved(final ContainerEvent e) { + final Component child = e.getChild(); + final MenuItem sm = fItems.get(child); + if (sm == null) return; + +- remove(sm); +- fItems.remove(sm); +- } ++ remove(sm); ++ fItems.remove(sm); ++ } + + /** + * Invoked when the component's size changes. + */ ++ @Override + public void componentResized(final ComponentEvent e) {} + + /** + * Invoked when the component's position changes. + */ ++ @Override + public void componentMoved(final ComponentEvent e) {} + + /** +@@ -306,6 +306,7 @@ + * See componentHidden - we should still have a MenuItem + * it just isn't inserted + */ ++ @Override + public void componentShown(final ComponentEvent e) { + setVisible(true); + } +@@ -316,11 +317,12 @@ + * so we remove the ScreenMenuItem from the ScreenMenu + * but leave it in fItems + */ ++ @Override + public void componentHidden(final ComponentEvent e) { + setVisible(false); + } + +- public void setVisible(final boolean b) { ++ private void setVisible(final boolean b) { + // Tell our parent to add/remove us + final MenuContainer parent = getParent(); + +@@ -328,20 +330,24 @@ + if (parent instanceof ScreenMenu) { + final ScreenMenu sm = (ScreenMenu)parent; + sm.setChildVisible(fInvoker, b); - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } ++ } + } } -- } + ++ @Override + public void setChildVisible(final JMenuItem child, final boolean b) { + fItems.remove(child); + updateItems(); + } + ++ @Override + public void setAccelerator(final KeyStroke ks) {} + + // only check and radio items can be indeterminate ++ @Override + public void setIndeterminate(boolean indeterminate) { } + ++ @Override + public void setToolTipText(final String text) { + final MenuComponentPeer peer = getPeer(); + if (!(peer instanceof CMenuItem)) return; +@@ -350,6 +356,7 @@ + cmi.setToolTipText(text); + } + ++ @Override + public void setIcon(final Icon i) { + final MenuComponentPeer peer = getPeer(); + if (!(peer instanceof CMenuItem)) return; +@@ -369,9 +376,8 @@ + /** + * Gets a hashCode for a JMenu or JMenuItem or subclass so that we can compare for + * changes in the Menu. +- * + */ +- static int getHashCode(final Component m) { ++ private static int getHashCode(final Component m) { + int hashCode = m.hashCode(); + + if (m instanceof JMenuItem) { +@@ -403,7 +409,7 @@ + return hashCode; + } + +- void addItem(final Component m) { ++ private void addItem(final Component m) { + if (!m.isVisible()) return; + MenuItem sm = fItems.get(m); + +--- jdk/src/macosx/classes/com/apple/laf/resources/aqua_ko.properties 2013-09-06 11:27:48.000000000 -0700 ++++ jdk/src/macosx/classes/com/apple/laf/resources/aqua_ko.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -46,7 +46,7 @@ + FileChooser.openButton.textAndMnemonic=\uC5F4\uAE30 + FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5 + FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30 +-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0 ++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8 + FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0 + FileChooser.directoryOpenButton.textAndMnemonic=\uC5F4\uAE30 + +--- jdk/src/macosx/classes/com/apple/resources/MacOSXResourceBundle.java 2013-09-06 11:27:48.000000000 -0700 ++++ jdk/src/macosx/classes/com/apple/resources/MacOSXResourceBundle.java 1969-12-31 16:00:00.000000000 -0800 +@@ -1,110 +0,0 @@ +-/* +- * Copyright (c) 2011, 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { +-package com.apple.resources; - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +-import java.security.*; +-import java.util.PropertyResourceBundle; +-import java.util.ResourceBundle; +-import java.io.*; - -- if (country.equals("TW")) -- suffix += "_" + country; +-public class MacOSXResourceBundle extends PropertyResourceBundle { +- MacOSXResourceBundle(InputStream stream) throws IOException { +- super(stream); +- } - -- return suffix; -- } +- void setItsParent(ResourceBundle rb) { +- setParent(rb); +- } - +- public static ResourceBundle getMacResourceBundle(String baseJavaBundle) throws Exception { +- return getMacResourceBundle(baseJavaBundle, null); +- } - +- public static ResourceBundle getMacResourceBundle(String baseJavaBundle, String filename) throws Exception { +- LoadNativeBundleAction lnba = new LoadNativeBundleAction(baseJavaBundle, filename); +- return (ResourceBundle)java.security.AccessController.doPrivileged(lnba); +- } -} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_pt_BR.java 2012-08-10 09:36:07.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_pt_BR.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1449,68 +1449,5 @@ - public static final String QUERY_HEADER = "PATTERN "; - - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { +-class LoadNativeBundleAction implements PrivilegedExceptionAction { +- String mBaseJavaBundle; +- String mFilenameOverride; - -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +- LoadNativeBundleAction(String baseJavaBundle, String filenameOverride) { +- mBaseJavaBundle = baseJavaBundle; +- mFilenameOverride = filenameOverride; - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { +- public Object run() { +- java.util.ResourceBundle returnValue = null; +- MacOSXResourceBundle macOSrb = null; - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } +- // Load the Mac OS X resources. +- // Use a base filename if we were given one. Otherwise, we will look for the last piece of the bundle path +- // with '.properties' appended. Either way, the native method will take care of the extension. +- String filename = mFilenameOverride; - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { +- if (filename == null) { +- filename = mBaseJavaBundle.substring(mBaseJavaBundle.lastIndexOf('.') + 1); +- } - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- File propsFile = null; +- String propertyFileName = getPathToBundleFile(filename); +- InputStream stream = null; - -- if (country.equals("TW")) -- suffix += "_" + country; +- try { +- propsFile = new File(propertyFileName); +- stream = new FileInputStream(propsFile); +- stream = new java.io.BufferedInputStream(stream); +- macOSrb = new MacOSXResourceBundle(stream); +- } catch (Exception e) { +- //e.printStackTrace(); +- //System.out.println("Failed to create resources from application bundle. Using Java-based resources."); +- } finally { +- try { +- if (stream != null) stream.close(); +- stream = null; +- } catch (Exception e) { +- e.printStackTrace(); +- } +- } - -- return suffix; -- } +- returnValue = ResourceBundle.getBundle(mBaseJavaBundle); - - - } ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_sv.java 2012-08-10 09:36:08.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_sv.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; - - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { +- // If we have a platform-specific bundle, make it the parent of the generic bundle, so failures propagate up to the parent. +- if (returnValue != null) { +- if (macOSrb != null) { +- macOSrb.setItsParent(returnValue); +- returnValue = macOSrb; +- } +- } - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); +- return returnValue; +- } - -- try -- { +- private static native String getPathToBundleFile(String filename); +-} - -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { +--- jdk/src/macosx/native/com/apple/resources/MacOSXResourceBundle.m 2013-09-06 11:27:49.000000000 -0700 ++++ jdk/src/macosx/native/com/apple/resources/MacOSXResourceBundle.m 1969-12-31 16:00:00.000000000 -0800 +@@ -1,110 +0,0 @@ +-/* +- * Copyright (c) 2011, 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. Oracle designates this +- * particular file as subject to the "Classpath" exception as provided +- * by Oracle in the LICENSE file that accompanied this code. +- * +- * 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. +- */ - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { +-#import <dlfcn.h> +-#import <Cocoa/Cocoa.h> +-#import <JavaNativeFoundation/JavaNativeFoundation.h> - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } - } -- } +-#ifndef MAXPATHLEN +-#define MAXPATHLEN PATH_MAX +-#endif - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { +-static jboolean +-GetPathFromCurrentBinary(char *buf, jint bufsize) +-{ +- Dl_info dlinfo; +- dladdr((void *)GetPathFromCurrentBinary, &dlinfo); +- if (realpath(dlinfo.dli_fname, buf) == NULL) { +-// fprintf(stderr, "Error: realpath(`%s') failed.\n", dlinfo.dli_fname); +- return JNI_FALSE; +- } - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- const char *libawt = "lib/libawt.dylib"; +- int strLen, libawtLen; - -- if (country.equals("TW")) -- suffix += "_" + country; +- strLen = strlen(buf); +- libawtLen = strlen(libawt); - -- return suffix; -- } +- if (strLen < libawtLen || +- strcmp(buf + strLen - libawtLen, libawt) != 0) { +- return JNI_FALSE; +- } - +- buf[strLen - libawtLen] = '\0'; - +- return JNI_TRUE; -} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_CN.java 2012-08-10 09:36:08.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_CN.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; - - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); +-#define JAVA_DLL "libjava.dylib" - -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +-static jboolean +-GetJREPath(char *buf, jint bufsize) +-{ +- /* try to get the path from the current binary, if not, bail to the framework */ +- if (GetPathFromCurrentBinary(buf, bufsize) == JNI_TRUE) { +- /* does the rest of the JRE exist? */ +- char libjava[MAXPATHLEN]; +- snprintf(libjava, MAXPATHLEN, "%s/lib/" JAVA_DLL, buf); +- if (access(libjava, F_OK) == 0) { +- return JNI_TRUE; +- } - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } - } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { +- return JNI_FALSE; +-} - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +-static NSString *getRunningJavaBundle() +-{ +- char path[MAXPATHLEN]; +- GetJREPath(path, MAXPATHLEN); +- return [[NSString alloc] initWithFormat:@"%@/bundle", [NSString stringWithUTF8String:path]]; +-} - -- if (country.equals("TW")) -- suffix += "_" + country; +-/* +- * Class: com_apple_resources_LoadNativeBundleAction +- * Method: getPathToBundleFile +- * Signature: (Ljava/lang/String)Ljava/lang/String; +- */ +-JNIEXPORT jstring JNICALL +-Java_com_apple_resources_LoadNativeBundleAction_getPathToBundleFile +- (JNIEnv *env, jclass klass, jstring filename) +-{ +- jstring returnVal = NULL; +- if (filename == NULL) { +- return NULL; +- } - -- return suffix; -- } +-JNF_COCOA_ENTER(env); +- NSBundle *javaBundle = [NSBundle bundleWithPath:getRunningJavaBundle()]; +- NSString *baseFilename = JNFJavaToNSString(env, filename); +- NSString *propertyFilePath = [javaBundle pathForResource:baseFilename ofType:@"properties"]; - +- if (propertyFilePath != nil) { +- returnVal = JNFNSToJavaString(env, propertyFilePath); +- } +-JNF_COCOA_EXIT(env); - +- return returnVal; -} ---- jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_TW.java 2012-08-10 09:36:08.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_TW.java 2013-04-28 16:29:20.000000000 -0700 -@@ -1448,68 +1448,4 @@ - public static final String QUERY_HEADER = "PATTERN "; +--- jdk/src/macosx/native/sun/awt/splashscreen/splashscreen_sys.m 2013-09-06 11:27:51.000000000 -0700 ++++ jdk/src/macosx/native/sun/awt/splashscreen/splashscreen_sys.m 2014-01-18 12:16:22.000000000 -0800 +@@ -290,8 +290,8 @@ + SplashUnlock(splash); + rc = poll(pfd, 1, timeout); + SplashLock(splash); +- if (splash->isVisible>0 && SplashTime() >= splash->time + +- splash->frames[splash->currentFrame].delay) { ++ if (splash->isVisible > 0 && splash->currentFrame >= 0 && ++ SplashTime() >= splash->time + splash->frames[splash->currentFrame].delay) { + SplashNextFrame(splash); + SplashRedrawWindow(splash); + } +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_de.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_de.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=ein-/ausblenden ++toggleexpand=einblenden umschalten + # new relations, roles and states for J2SE 1.5.0 -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XSLTErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XSLTErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_es.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_es.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=activar/desactivar ampliaci\u00F3n ++toggleexpand=conmutar ampliaci\u00F3n + + # new relations, roles and states for J2SE 1.5.0 + +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_fr.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_fr.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=basculer le d\u00E9veloppement ++toggleexpand=activer/d\u00E9sactiver d\u00E9veloppement + + # new relations, roles and states for J2SE 1.5.0 + +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_it.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_it.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=abilita/disabilita espansione ++toggleexpand=attiva/disattiva espansione + + # new relations, roles and states for J2SE 1.5.0 + +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_pt_BR.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_pt_BR.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=alternar expans\u00E3o ++toggleexpand=alternar expandir + + # new relations, roles and states for J2SE 1.5.0 + +--- jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_sv.properties 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/accessibility/internal/resources/accessibility_sv.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -102,7 +102,7 @@ + # + # accessible actions + # +-toggleexpand=v\u00E4xla ut\u00F6ka ++toggleexpand=v\u00E4xla expandering + + # new relations, roles and states for J2SE 1.5.0 + +--- jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2013-09-06 11:27:52.000000000 -0700 ++++ jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2014-01-18 12:16:22.000000000 -0800 +@@ -29,6 +29,7 @@ + import java.beans.ExceptionListener; + + import java.io.IOException; ++import java.io.StringReader; + + import java.lang.ref.Reference; + import java.lang.ref.WeakReference; +@@ -246,6 +247,14 @@ + } + + /** ++ * Disables any external entities. ++ */ ++ @Override ++ public InputSource resolveEntity(String publicId, String systemId) { ++ return new InputSource(new StringReader("")); ++ } ++ ++ /** + * Prepares this handler to read objects from XML document. + */ + @Override +--- jdk/src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java 2014-01-18 12:16:22.000000000 -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 +@@ -404,8 +404,9 @@ + } + return skey; + } else if (algorithm.equals("TlsPremasterSecret")) { +- // return entire secret +- return new SecretKeySpec(secret, "TlsPremasterSecret"); ++ // remove leading zero bytes per RFC 5246 Section 8.1.2 ++ return new SecretKeySpec( ++ KeyUtil.trimZeroes(secret), "TlsPremasterSecret"); + } else { + throw new NoSuchAlgorithmException("Unsupported secret key " + + "algorithm: "+ algorithm); +--- jdk/src/share/classes/com/sun/crypto/provider/DHPrivateKey.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/crypto/provider/DHPrivateKey.java 2013-12-01 11:14:37.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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 +@@ -280,22 +280,6 @@ + return new DHParameterSpec(this.p, this.g); + } + +- public String toString() { +- String LINE_SEP = System.getProperty("line.separator"); +- +- StringBuffer strbuf +- = new StringBuffer("SunJCE Diffie-Hellman Private Key:" +- + LINE_SEP + "x:" + LINE_SEP +- + Debug.toHexString(this.x) +- + LINE_SEP + "p:" + LINE_SEP +- + Debug.toHexString(this.p) +- + LINE_SEP + "g:" + LINE_SEP +- + Debug.toHexString(this.g)); +- if (this.l != 0) +- strbuf.append(LINE_SEP + "l:" + LINE_SEP + " " + this.l); +- return strbuf.toString(); - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XSLTErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + private void parseKeyBits() throws InvalidKeyException { + try { + DerInputStream in = new DerInputStream(this.key); +--- jdk/src/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java 2014-01-18 12:16:22.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2005, 2010, 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 +@@ -72,13 +72,17 @@ + throw new IllegalStateException( + "TlsRsaPremasterSecretGenerator must be initialized"); + } +- if (random == null) { +- random = new SecureRandom(); ++ byte[] b = spec.getEncodedSecret(); ++ if (b == null) { ++ if (random == null) { ++ random = new SecureRandom(); ++ } ++ b = new byte[48]; ++ random.nextBytes(b); ++ b[0] = (byte)spec.getMajorVersion(); ++ b[1] = (byte)spec.getMinorVersion(); + } +- byte[] b = new byte[48]; +- random.nextBytes(b); +- b[0] = (byte)spec.getMajorVersion(); +- b[1] = (byte)spec.getMinorVersion(); ++ + return new SecretKeySpec(b, "TlsRsaPremasterSecret"); } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- -- --} ---- jaxp/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java 2012-08-10 09:36:09.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java 2013-04-28 16:29:20.000000000 -0700 -@@ -54,6 +54,8 @@ - // - // Constants - // -+ private static final String XALAN_INTERNAL = "com.sun.org.apache.xalan.internal"; -+ private static final String XERCES_INTERNAL = "com.sun.org.apache.xerces.internal"; - - // name of default properties file to look for in JDK's jre/lib directory - private static final String DEFAULT_PROPERTIES_FILENAME = -@@ -514,12 +516,17 @@ - //class. Restrict the access to the package classes as specified in java.security policy. - SecurityManager security = System.getSecurityManager(); - try{ -- if (security != null){ -+ if (security != null){ -+ if (className.startsWith(XALAN_INTERNAL) || -+ className.startsWith(XERCES_INTERNAL)) { -+ cl = null; -+ } else { - final int lastDot = className.lastIndexOf("."); - String packageName = className; - if (lastDot != -1) packageName = className.substring(0, lastDot); - security.checkPackageAccess(packageName); -- } -+ } -+ } - }catch(SecurityException e){ - throw e; + +--- jdk/src/share/classes/com/sun/demo/jvmti/hprof/Tracker.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/demo/jvmti/hprof/Tracker.java 2013-12-01 11:14:37.000000000 -0800 +@@ -53,7 +53,10 @@ + + public static void ObjectInit(Object obj) + { +- if ( engaged != 0 ) { ++ if ( engaged != 0) { ++ if (obj == null) { ++ throw new IllegalArgumentException("Null object."); ++ } + nativeObjectInit(Thread.currentThread(), obj); } ---- jaxp/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java 2012-08-10 09:36:09.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java 2013-04-28 16:29:20.000000000 -0700 -@@ -32,10 +32,14 @@ - import java.security.PrivilegedAction; - import java.security.PrivilegedActionException; - import java.security.PrivilegedExceptionAction; -+import java.util.ListResourceBundle; -+import java.util.Locale; -+import java.util.MissingResourceException; -+import java.util.ResourceBundle; + } +@@ -66,7 +69,10 @@ - /** -- * This class is duplicated for each subpackage so keep it in sync. -- * It is package private and therefore is not exposed as part of any API. -+ * This class is duplicated for each subpackage so keep it in sync. It is -+ * package private and therefore is not exposed as part of any API. + public static void NewArray(Object obj) + { +- if ( engaged != 0 ) { ++ if ( engaged != 0) { ++ if (obj == null) { ++ throw new IllegalArgumentException("Null object."); ++ } + nativeNewArray(Thread.currentThread(), obj); + } + } +@@ -82,6 +88,14 @@ + public static void CallSite(int cnum, int mnum) + { + if ( engaged != 0 ) { ++ if (cnum < 0) { ++ throw new IllegalArgumentException("Negative class index"); ++ } ++ ++ if (mnum < 0) { ++ throw new IllegalArgumentException("Negative method index"); ++ } ++ + nativeCallSite(Thread.currentThread(), cnum, mnum); + } + } +@@ -95,6 +109,14 @@ + public static void ReturnSite(int cnum, int mnum) + { + if ( engaged != 0 ) { ++ if (cnum < 0) { ++ throw new IllegalArgumentException("Negative class index"); ++ } ++ ++ if (mnum < 0) { ++ throw new IllegalArgumentException("Negative method index"); ++ } ++ + nativeReturnSite(Thread.currentThread(), cnum, mnum); + } + } +--- jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java 2013-12-01 11:14:37.000000000 -0800 +@@ -1160,6 +1160,11 @@ + target = imRas; + } + int [] bandSizes = target.getSampleModel().getSampleSize(); ++ for (int i = 0; i < bandSizes.length; i++) { ++ if (bandSizes[i] <= 0 || bandSizes[i] > 8) { ++ throw new IIOException("Illegal band size: should be 0 < size <= 8"); ++ } ++ } + + /* + * If the process is sequential, and we have restart markers, +--- jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java 2013-09-06 11:27:53.000000000 -0700 ++++ jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java 2013-12-01 11:14:37.000000000 -0800 +@@ -490,8 +490,8 @@ + // handle <= 8-bit samples. We now check the band sizes and throw + // an exception for images, such as USHORT_GRAY, with > 8 bits + // per sample. +- if (bandSizes[i] > 8) { +- throw new IIOException("Sample size must be <= 8"); ++ if (bandSizes[i] <= 0 || bandSizes[i] > 8) { ++ throw new IIOException("Illegal band size: should be 0 < size <= 8"); + } + // 4450894 part 2: We expand IndexColorModel images to full 24- + // or 32-bit in grabPixels() for each scanline. For indexed +--- jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties 2013-09-06 11:27:54.000000000 -0700 ++++ jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -41,7 +41,7 @@ + FileChooser.openDialogTitle.textAndMnemonic=\u00D6ffnen + FileChooser.pathLabel.textAndMnemonic=Aus&wahl: + FileChooser.filterLabel.textAndMnemonic=Filter: +-FileChooser.foldersLabel.textAndMnemonic=Or&dner ++FileChooser.foldersLabel.textAndMnemonic=O&rdner + FileChooser.filesLabel.textAndMnemonic=&Dateien + + FileChooser.cancelButtonToolTip.textAndMnemonic=Dialogfeld f\u00FCr Dateiauswahl schlie\u00DFen. +--- jdk/src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties 2013-09-06 11:27:54.000000000 -0700 ++++ jdk/src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties 2014-01-18 12:16:22.000000000 -0800 +@@ -24,7 +24,7 @@ + FileChooser.openButton.textAndMnemonic=\uD655\uC778 + FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5 + FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30 +-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0 ++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8 + FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0 + FileChooser.pathLabel.textAndMnemonic=\uACBD\uB85C \uB610\uB294 \uD3F4\uB354 \uC774\uB984 \uC785\uB825(&P): + FileChooser.filterLabel.textAndMnemonic=\uD544\uD130(&R) +@@ -36,5 +36,5 @@ + FileChooser.cancelButtonToolTip.textAndMnemonic=\uD30C\uC77C \uC120\uD0DD\uAE30 \uB300\uD654\uC0C1\uC790\uB97C \uC911\uB2E8\uD569\uB2C8\uB2E4. + FileChooser.saveButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C\uC744 \uC800\uC7A5\uD569\uB2C8\uB2E4. + FileChooser.openButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C\uC744 \uC5FD\uB2C8\uB2E4. +-FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D\uC744 \uAC31\uC2E0\uD569\uB2C8\uB2E4. ++FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D\uC744 \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4. + FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser \uB3C4\uC6C0\uB9D0\uC785\uB2C8\uB2E4. +--- jdk/src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java 2013-09-06 11:27:56.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/remote/protocol/iiop/IIOPProxyImpl.java 2013-12-01 11:14:38.000000000 -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. * - * @xerces.internal + * This code is free software; you can redistribute it and/or modify it +@@ -36,13 +36,34 @@ + import java.rmi.NoSuchObjectException; + + import com.sun.jmx.remote.internal.IIOPProxy; ++import java.io.SerializablePermission; ++import java.security.AccessControlContext; ++import java.security.AccessController; ++import java.security.Permissions; ++import java.security.PrivilegedActionException; ++import java.security.PrivilegedExceptionAction; ++import java.security.ProtectionDomain; + + /** +- * An implementatin of IIOPProxy that simply delegates to the appropriate ++ * An implementation of IIOPProxy that simply delegates to the appropriate + * RMI-IIOP and CORBA APIs. */ -@@ -51,39 +55,39 @@ + + public class IIOPProxyImpl implements IIOPProxy { ++ // special ACC used to initialize the IIOP stub ++ // the only allowed privilege is SerializablePermission("enableSubclassImplementation") ++ private static final AccessControlContext STUB_ACC; ++ ++ static { ++ Permissions p = new Permissions(); ++ p.add(new SerializablePermission("enableSubclassImplementation")); ++ STUB_ACC = new AccessControlContext( ++ new ProtectionDomain[]{ ++ new ProtectionDomain(null, p) ++ } ++ ); ++ } ++ + public IIOPProxyImpl() { } + + @Override +@@ -113,7 +134,24 @@ } - static ClassLoader getContextClassLoader() { -- return (ClassLoader) -- AccessController.doPrivileged(new PrivilegedAction() { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - ClassLoader cl = null; - try { - cl = Thread.currentThread().getContextClassLoader(); -- } catch (SecurityException ex) { } -+ } catch (SecurityException ex) { + @Override +- public Remote toStub(Remote obj) throws NoSuchObjectException { +- return PortableRemoteObject.toStub(obj); ++ public Remote toStub(final Remote obj) throws NoSuchObjectException { ++ if (System.getSecurityManager() == null) { ++ return PortableRemoteObject.toStub(obj); ++ } else { ++ try { ++ return AccessController.doPrivileged(new PrivilegedExceptionAction<Remote>() { ++ ++ @Override ++ public Remote run() throws Exception { ++ return PortableRemoteObject.toStub(obj); ++ } ++ }, STUB_ACC); ++ } catch (PrivilegedActionException e) { ++ if (e.getException() instanceof NoSuchObjectException) { ++ throw (NoSuchObjectException)e.getException(); + } - return cl; - } - }); ++ throw new RuntimeException("Unexpected exception type", e.getException()); ++ } ++ } } + } +--- jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java 2013-09-06 11:27:57.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java 2014-01-18 12:16:22.000000000 -0800 +@@ -27,17 +27,9 @@ - static ClassLoader getSystemClassLoader() { -- return (ClassLoader) -- AccessController.doPrivileged(new PrivilegedAction() { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - ClassLoader cl = null; - try { - cl = ClassLoader.getSystemClassLoader(); -- } catch (SecurityException ex) {} -+ } catch (SecurityException ex) { -+ } - return cl; - } - }); + // java imports + // ++import com.sun.jmx.snmp.SnmpDefinitions; + import java.io.Serializable; +-import java.util.Hashtable; +-import java.util.Enumeration; +- +-// jmx imports +-// +-import com.sun.jmx.snmp.SnmpValue; +-import com.sun.jmx.snmp.SnmpVarBind; + import com.sun.jmx.snmp.SnmpStatusException; +-import com.sun.jmx.snmp.agent.SnmpMibOid; +-import com.sun.jmx.snmp.agent.SnmpMibNode; + + /** + * Represents a node in an SNMP MIB which corresponds to a table entry +@@ -99,7 +91,7 @@ + */ + public void validateVarId(long arc, Object userData) + throws SnmpStatusException { +- if (isVariable(arc) == false) throw noSuchNameException; ++ if (isVariable(arc) == false) throw new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName); } - static ClassLoader getParentClassLoader(final ClassLoader cl) { -- return (ClassLoader) -- AccessController.doPrivileged(new PrivilegedAction() { -+ return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - ClassLoader parent = null; - try { - parent = cl.getParent(); -- } catch (SecurityException ex) {} -+ } catch (SecurityException ex) { -+ } + /** +--- jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java 2013-09-06 11:27:57.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java 2014-01-18 12:16:22.000000000 -0800 +@@ -116,7 +116,7 @@ + public void validateVarId(long arc, Object userData) + throws SnmpStatusException { + if (isVariable(arc) == false) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } - // eliminate loops in case of the boot - // ClassLoader returning itself as a parent -@@ -93,20 +97,25 @@ + +@@ -365,16 +365,16 @@ + + // The trailing .0 is missing in the OID + if (depth+2 > length) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + // There are too many arcs left in the OID (there should remain + // a single trailing .0) + if (depth+2 < length) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + // The last trailing arc is not .0 + if (oid[depth+1] != 0L) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + // It's one of our variable, register this node. + handlers.add(this,depth,varbind); +@@ -397,7 +397,7 @@ + // abort the whole request, so we're going to throw + // a noSuchObject... + // +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + final Object data = handlers.getUserData(); + final int pduVersion = handlers.getRequestPduVersion(); +@@ -433,7 +433,7 @@ + depth+1,handlers, + checker); + }catch(SnmpStatusException ex) { +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } finally { + checker.remove(depth); + } +@@ -458,7 +458,7 @@ + try { + checker.checkCurrentOid(); + } catch(SnmpStatusException e) { +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } finally { + checker.remove(depth,2); + } +@@ -503,7 +503,7 @@ + // The oid is not valid, we will throw an exception in order + // to try with the next valid identifier... + // +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + } catch (SnmpStatusException e) { + // We didn't find anything at the given arc, so we're going +--- jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java 2013-09-06 11:27:57.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java 2014-01-18 12:16:22.000000000 -0800 +@@ -155,7 +155,7 @@ + long[] oid, int depth, + SnmpRequestTree handlers) + throws SnmpStatusException { +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); } - public static String getSystemProperty(final String propName) { -- return (String) -- AccessController.doPrivileged(new PrivilegedAction() { -+ return (String) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - return System.getProperty(propName); - } - }); + /** +@@ -183,7 +183,7 @@ + long[] oid, int pos, int depth, + SnmpRequestTree handlers, AcmChecker checker) + throws SnmpStatusException { +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); } -+ public static String getSystemProperty(final String propName, final String def) { -+ return (String) AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return System.getProperty(propName, def); -+ } -+ }); -+ } -+ - static FileInputStream getFileInputStream(final File file) -- throws FileNotFoundException -- { -+ throws FileNotFoundException { + /** +@@ -347,7 +347,7 @@ + final int val= (int) value; + + if (a == null) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + int low= 0; + int max= a.length; +@@ -357,10 +357,10 @@ + // Basic check + // + if (max < 1) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + if (a[max-1] <= val) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + while (low <= max) { + elmt= a[curr]; +@@ -400,15 +400,4 @@ + * Contains the list of variable identifiers. + */ + protected int[] varList; +- +- /** +- * Contains a predefined exception that is often fired when an +- * object is not found in the MIB. +- */ +- static final protected SnmpStatusException noSuchInstanceException = +- new SnmpStatusException(SnmpStatusException.noSuchInstance); +- static final protected SnmpStatusException noSuchObjectException = +- new SnmpStatusException(SnmpStatusException.noSuchObject); +- static final protected SnmpStatusException noSuchNameException = +- new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName); + } +--- jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibOid.java 2013-09-06 11:27:57.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibOid.java 2014-01-18 12:16:22.000000000 -0800 +@@ -157,11 +157,11 @@ + + if (depth > length) { + // Nothing is left... the oid is not valid +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + } else if (depth == length) { + // The oid is not complete... +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + } else { + // Some children variable or subobject is being querried +@@ -206,7 +206,7 @@ + // abort the whole request, so we're going to throw + // a noSuchObject... + // +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + final Object data = handlers.getUserData(); + final int pduVersion = handlers.getRequestPduVersion(); +@@ -231,7 +231,7 @@ + // SnmpOid result = null; + if (child == null) { + // shouldn't happen +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + // validateVarId(index); + // handlers.add(this,varbind,depth); + // result = new SnmpOid(0); +@@ -442,10 +442,10 @@ + // + final int pos= getInsertAt(id); + if (pos >= nbChildren) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + if (varList[pos] != (int) id) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + // Access the node + // +@@ -453,10 +453,10 @@ try { -- return (FileInputStream) -- AccessController.doPrivileged(new PrivilegedExceptionAction() { -+ return (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction() { - public Object run() throws FileNotFoundException { - return new FileInputStream(file); - } -@@ -115,9 +124,10 @@ - throw (FileNotFoundException)e.getException(); + child = children.elementAtNonSync(pos); + } catch(ArrayIndexOutOfBoundsException e) { +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); } + if (child == null) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + return child; } -+ + +--- jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java 2013-09-06 11:27:57.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java 2014-01-18 12:16:22.000000000 -0800 +@@ -279,7 +279,7 @@ + SnmpVarBind var = null; + for (Enumeration e= r.getElements(); e.hasMoreElements();) { + var = (SnmpVarBind) e.nextElement(); +- r.registerGetException(var,noSuchInstanceException); ++ r.registerGetException(var,new SnmpStatusException(SnmpStatusException.noSuchInstance)); + } + } + +@@ -1607,7 +1607,7 @@ + throws SnmpStatusException { + + if (size == 0) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + final SnmpOid resOid = oid; + +@@ -1618,7 +1618,7 @@ + if (last.equals(resOid)) { + // Last element of the table ... + // +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + } + + // First find the oid. This will allow to speed up retrieval process +@@ -1640,12 +1640,12 @@ + // XX last = (SnmpOid) oids.elementAt(newPos); + last = tableoids[newPos]; + } catch(ArrayIndexOutOfBoundsException e) { +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + } + } else { + // We are dealing with the last element of the table .. + // +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + } + + +@@ -1668,7 +1668,7 @@ + protected SnmpOid getNextOid(Object userData) + throws SnmpStatusException { + if (size == 0) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + // XX return (SnmpOid) oids.firstElement(); + return tableoids[0]; + } +@@ -1875,7 +1875,7 @@ + if (!hasEntry) { + if (!handlers.isCreationAllowed()) + // we're not doing a set +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + else if (!isCreationEnabled()) + // we're doing a set but creation is disabled. + throw new +@@ -1921,7 +1921,7 @@ + // abort the whole request, so we're going to throw + // a noSuchObject... + // +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + final Object data = handlers.getUserData(); + final int pduVersion = handlers.getRequestPduVersion(); +@@ -1955,7 +1955,7 @@ + // so we won't find the next element in this table... (any + // element in this table will have a smaller OID) + // +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } else if (oid[pos] < nodeId) { + // we must return the first leaf under the first columnar + // object, so we are back to our first case where pos was +@@ -2046,7 +2046,7 @@ + // must have the same holes) + // + if (skipEntryVariable(entryoid,var,data,pduVersion)) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } catch(SnmpStatusException se) { + entryoid = getNextOid(data); + var = getNextVarEntryId(entryoid,var,data,pduVersion); +@@ -2079,7 +2079,7 @@ + // So we throw the exception. + // => will skip to next node in the MIB tree. + // +- if (entryoid == null || var == -1 ) throw noSuchObjectException; ++ if (entryoid == null || var == -1 ) throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + + // So here we know both the row (entryoid) and the column (var) +@@ -2092,7 +2092,7 @@ + // other entry => skip to next column. + // + if (!isReadableEntryId(entryoid,var,data)) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + // Prepare the result and the ACM checker. + // +@@ -2156,7 +2156,7 @@ + // => will skip to next node in the MIB tree. + // + if (entryoid == null || var == -1 ) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + } + } + +@@ -2177,12 +2177,12 @@ + // Control the length of the oid + // + if (pos +2 >= length) +- throw noSuchInstanceException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchInstance); + + // Check that the entry identifier is specified + // + if (oid[pos] != nodeId) +- throw noSuchObjectException; ++ throw new SnmpStatusException(SnmpStatusException.noSuchObject); + + } + +--- jdk/src/share/classes/com/sun/jmx/snmp/daemon/SnmpRequestHandler.java 2013-09-06 11:27:58.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jmx/snmp/daemon/SnmpRequestHandler.java 2014-01-18 12:16:22.000000000 -0800 +@@ -1146,7 +1146,4 @@ + + static final private String InterruptSysCallMsg = + "Interrupted system call"; +- +- static final private SnmpStatusException noSuchNameException = +- new SnmpStatusException(SnmpDefinitions.snmpRspNoSuchName) ; + } +--- jdk/src/share/classes/com/sun/jndi/ldap/VersionHelper12.java 2013-09-06 11:27:58.000000000 -0700 ++++ jdk/src/share/classes/com/sun/jndi/ldap/VersionHelper12.java 2013-12-01 11:14:38.000000000 -0800 +@@ -25,11 +25,12 @@ + + package com.sun.jndi.ldap; + +-import java.net.URL; + import java.net.URLClassLoader; + import java.net.MalformedURLException; ++import java.security.AccessControlContext; + import java.security.AccessController; + import java.security.PrivilegedAction; ++import sun.misc.SharedSecrets; + + final class VersionHelper12 extends VersionHelper { + +@@ -82,12 +83,16 @@ + } + + Thread createThread(final Runnable r) { +- return (Thread) AccessController.doPrivileged( +- new PrivilegedAction() { +- public Object run() { +- return new Thread(r); ++ final AccessControlContext acc = AccessController.getContext(); ++ // 4290486: doPrivileged is needed to create a thread in ++ // an environment that restricts "modifyThreadGroup". ++ return AccessController.doPrivileged( ++ new PrivilegedAction<Thread>() { ++ public Thread run() { ++ return SharedSecrets.getJavaLangAccess() ++ .newThreadWithAcc(r, acc); ++ } + } +- } + ); + } + } +--- jdk/src/share/classes/com/sun/management/HotSpotDiagnosticMXBean.java 2013-09-06 11:27:59.000000000 -0700 ++++ jdk/src/share/classes/com/sun/management/HotSpotDiagnosticMXBean.java 2013-12-01 11:14:38.000000000 -0800 +@@ -66,6 +66,11 @@ + * cannot be created, opened, or written to. + * @throws UnsupportedOperationException if this operation is not supported. + * @throws NullPointerException if <tt>outputFile</tt> is <tt>null</tt>. ++ * @throws SecurityException ++ * If a security manager exists and its {@link ++ * java.lang.SecurityManager#checkWrite(java.lang.String)} ++ * method denies write access to the named file ++ * or the caller does not have ManagmentPermission("control"). + */ + public void dumpHeap(String outputFile, boolean live) throws java.io.IOException; + +--- jdk/src/share/classes/com/sun/naming/internal/FactoryEnumeration.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/naming/internal/FactoryEnumeration.java 2014-01-18 12:16:22.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1999, 2001, 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 +@@ -29,10 +29,10 @@ + import javax.naming.NamingException; + + /** +- * The FactoryEnumeration is used for returning factory instances. +- * +- * @author Rosanna Lee +- * @author Scott Seligman ++ * The FactoryEnumeration is used for returning factory instances. ++ * ++ * @author Rosanna Lee ++ * @author Scott Seligman + */ + + // no need to implement Enumeration since this is only for internal use +@@ -55,9 +55,12 @@ + * references so as not to prevent GC of the class loader. Each + * weak reference is tagged with the factory's class name so the + * class can be reloaded if the reference is cleared. +- ++ * + * @param factories A non-null list + * @param loader The class loader of the list's contents ++ * ++ * This internal method is used with Thread Context Class Loader (TCCL), ++ * please don't expose this method as public. + */ + FactoryEnumeration(List factories, ClassLoader loader) { + this.factories = factories; +@@ -77,7 +80,8 @@ + + try { + if (answer == null) { // reload class if weak ref cleared +- answer = Class.forName(className, true, loader); ++ Class<?> cls = Class.forName(className, true, loader); ++ answer = cls; + } + // Instantiate Class to get factory + answer = ((Class) answer).newInstance(); +--- jdk/src/share/classes/com/sun/naming/internal/VersionHelper12.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/naming/internal/VersionHelper12.java 2014-01-18 12:16:23.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1999, 2006, 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 +@@ -35,7 +35,6 @@ + import java.security.PrivilegedActionException; + import java.security.PrivilegedExceptionAction; + import java.util.Enumeration; +-import java.util.Hashtable; + import java.util.NoSuchElementException; + import java.util.Properties; + +@@ -54,21 +53,24 @@ + + final class VersionHelper12 extends VersionHelper { + +- private boolean getSystemPropsFailed = false; +- +- VersionHelper12() {} // Disallow external from creating one of these. ++ // Disallow external from creating one of these. ++ VersionHelper12() { ++ } + + public Class loadClass(String className) throws ClassNotFoundException { +- ClassLoader cl = getContextClassLoader(); +- return Class.forName(className, true, cl); ++ return loadClass(className, getContextClassLoader()); + } + + /** +- * Package private. +- */ ++ * Package private. ++ * ++ * This internal method is used with Thread Context Class Loader (TCCL), ++ * please don't expose this method as public. ++ */ + Class loadClass(String className, ClassLoader cl) + throws ClassNotFoundException { +- return Class.forName(className, true, cl); ++ Class<?> cls = Class.forName(className, true, cl); ++ return cls; + } + /** -- * Return resource using the same classloader for the ObjectFactory by default -- * or bootclassloader when Security Manager is in place -+ * Return resource using the same classloader for the ObjectFactory by -+ * default or bootclassloader when Security Manager is in place +@@ -77,12 +79,12 @@ */ - public static InputStream getResourceAsStream(final String name) { - if (System.getSecurityManager()!=null) { -@@ -128,10 +138,8 @@ + public Class loadClass(String className, String codebase) + throws ClassNotFoundException, MalformedURLException { +- ClassLoader cl; + + ClassLoader parent = getContextClassLoader(); +- cl = URLClassLoader.newInstance(getUrlArray(codebase), parent); ++ ClassLoader cl = ++ URLClassLoader.newInstance(getUrlArray(codebase), parent); + +- return Class.forName(className, true, cl); ++ return loadClass(className, cl); } - public static InputStream getResourceAsStream(final ClassLoader cl, -- final String name) -- { -- return (InputStream) -- AccessController.doPrivileged(new PrivilegedAction() { -+ final String name) { -+ return (InputStream) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - InputStream ris; - if (cl == null) { -@@ -144,9 +152,40 @@ - }); + String getJndiProperty(final int i) { +@@ -100,16 +102,12 @@ + } + + String[] getJndiProperties() { +- if (getSystemPropsFailed) { +- return null; // after one failure, don't bother trying again +- } + Properties sysProps = (Properties) AccessController.doPrivileged( + new PrivilegedAction() { + public Object run() { + try { + return System.getProperties(); + } catch (SecurityException e) { +- getSystemPropsFailed = true; + return null; + } + } +@@ -175,17 +173,31 @@ + return new InputStreamEnumeration(urls); } -- static boolean getFileExists(final File f) { -- return ((Boolean) -- AccessController.doPrivileged(new PrivilegedAction() { -+ /** -+ * Gets a resource bundle using the specified base name, the default locale, and the caller's class loader. -+ * @param bundle the base name of the resource bundle, a fully qualified class name -+ * @return a resource bundle for the given base name and the default locale -+ */ -+ public static ListResourceBundle getResourceBundle(String bundle) { -+ return getResourceBundle(bundle, Locale.getDefault()); -+ } -+ + /** -+ * Gets a resource bundle using the specified base name and locale, and the caller's class loader. -+ * @param bundle the base name of the resource bundle, a fully qualified class name -+ * @param locale the locale for which a resource bundle is desired -+ * @return a resource bundle for the given base name and locale ++ * Package private. ++ * ++ * This internal method returns Thread Context Class Loader (TCCL), ++ * if null, returns the system Class Loader. ++ * ++ * Please don't expose this method as public. + */ -+ public static ListResourceBundle getResourceBundle(final String bundle, final Locale locale) { -+ return AccessController.doPrivileged(new PrivilegedAction<ListResourceBundle>() { -+ public ListResourceBundle run() { -+ try { -+ return (ListResourceBundle)ResourceBundle.getBundle(bundle, locale); -+ } catch (MissingResourceException e) { -+ try { -+ return (ListResourceBundle)ResourceBundle.getBundle(bundle, new Locale("en", "US")); -+ } catch (MissingResourceException e2) { -+ throw new MissingResourceException( -+ "Could not load any resource bundle by " + bundle, bundle, ""); + ClassLoader getContextClassLoader() { + return (ClassLoader) AccessController.doPrivileged( + new PrivilegedAction() { + public Object run() { +- return Thread.currentThread().getContextClassLoader(); ++ ClassLoader loader = ++ Thread.currentThread().getContextClassLoader(); ++ if (loader == null) { ++ // Don't use bootstrap class loader directly! ++ loader = ClassLoader.getSystemClassLoader(); + } -+ } ++ ++ return loader; + } + } + ); + } + +- + /** + * Given an enumeration of URLs, an instance of this class represents + * an enumeration of their InputStreams. Each operation on the URL +--- jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer11.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer11.java 2014-01-18 12:16:23.000000000 -0800 +@@ -358,7 +358,8 @@ + } else if (!isVisible(xmlns)) { + // There is a defn but the xmlns is not selected by the xpath. + // then xmlns="" +- n = ns.addMappingAndRender(XMLNS, "", nullNode); ++ n = ns.addMappingAndRender(XMLNS, "", ++ getNullNode(xmlns.getOwnerDocument())); + } + // output the xmlns def if needed. + if (n != null) { +--- jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315.java 2014-01-18 12:16:23.000000000 -0800 +@@ -302,7 +302,8 @@ + } else if ( !isVisible(xmlns)) { + //There is a definition but the xmlns is not selected by the xpath. + //then xmlns="" +- n=ns.addMappingAndRender(XMLNS,"",nullNode); ++ n=ns.addMappingAndRender(XMLNS, "", ++ getNullNode(xmlns.getOwnerDocument())); + } + //output the xmlns def if needed. + if (n!=null) { +--- jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315Excl.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315Excl.java 2014-01-18 12:16:23.000000000 -0800 +@@ -300,7 +300,7 @@ + if ((xmlns!=null) && (!isVisible(xmlns))) { + //There is a definition but the xmlns is not selected by the xpath. + //then xmlns="" +- ns.addMapping(XMLNS,"",nullNode); ++ ns.addMapping(XMLNS, "", getNullNode(xmlns.getOwnerDocument())); + } + + if (E.getNamespaceURI() != null) { +--- jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase.java 2013-09-06 11:28:00.000000000 -0700 ++++ jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase.java 2014-01-18 12:16:23.000000000 -0800 +@@ -34,7 +34,6 @@ + import java.util.Map; + import java.util.Set; + +-import javax.xml.parsers.DocumentBuilderFactory; + import javax.xml.parsers.ParserConfigurationException; + + import com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException; +@@ -48,6 +47,7 @@ + import org.w3c.dom.Attr; + import org.w3c.dom.Comment; + import org.w3c.dom.Element; ++import org.w3c.dom.Document; + import org.w3c.dom.NamedNodeMap; + import org.w3c.dom.Node; + import org.w3c.dom.ProcessingInstruction; +@@ -63,6 +63,9 @@ + public abstract class CanonicalizerBase extends CanonicalizerSpi { + //Constants to be outputed, In char array form, so + //less garbage is generate when outputed. ++ // ++ // Make sure you clone the following mutable arrays before passing to ++ // potentially untrusted objects such as OutputStreams. + private static final byte[] _END_PI = {'?','>'}; + private static final byte[] _BEGIN_PI = {'<','?'}; + private static final byte[] _END_COMM = {'-','-','>'}; +@@ -75,29 +78,18 @@ + private static final byte[] _LT_ = {'&','l','t',';'}; + private static final byte[] _END_TAG = {'<','/'}; + private static final byte[] _AMP_ = {'&','a','m','p',';'}; ++ private static final byte[] _EQUALS_STR = {'=','\"'}; ++ + final static AttrCompare COMPARE=new AttrCompare(); + final static String XML="xml"; + final static String XMLNS="xmlns"; +- final static byte[] equalsStr= {'=','\"'}; + static final int NODE_BEFORE_DOCUMENT_ELEMENT = -1; + static final int NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT = 0; + static final int NODE_AFTER_DOCUMENT_ELEMENT = 1; +- //The null xmlns definiton. +- protected static final Attr nullNode; +- static { +- try { +- nullNode=DocumentBuilderFactory.newInstance(). +- newDocumentBuilder().newDocument().createAttributeNS(Constants.NamespaceSpecNS,XMLNS); +- nullNode.setValue(""); +- } catch (Exception e) { +- throw new RuntimeException("Unable to create nullNode"/*,*/+e); +- } +- } +- + List nodeFilter; +- + boolean _includeComments; + Set _xpathNodeSet = null; ++ + /** + * The node to be skiped/excluded from the DOM tree + * in subtree canonicalizations. +@@ -106,6 +98,11 @@ + OutputStream _writer = new UnsyncByteArrayOutputStream();//null; + + /** ++ * The null xmlns definition. ++ */ ++ private Attr nullNode; ++ ++ /** + * Constructor CanonicalizerBase + * + * @param includeComments +@@ -309,7 +306,7 @@ + writer.write('>'); + sibling= currentNode.getFirstChild(); + if (sibling==null) { +- writer.write(_END_TAG); ++ writer.write(_END_TAG.clone()); + UtfHelpper.writeStringToUtf8(name,writer); + writer.write('>'); + //We fineshed with this level, pop to the previous definitions. +@@ -323,7 +320,7 @@ + break; + } + while (sibling==null && parentNode!=null) { +- writer.write(_END_TAG); ++ writer.write(_END_TAG.clone()); + UtfHelpper.writeByte(((Element)parentNode).getTagName(),writer,cache); + writer.write('>'); + //We fineshed with this level, pop to the previous definitions. +@@ -479,7 +476,7 @@ + + if (sibling==null) { + if (currentNodeIsVisible) { +- writer.write(_END_TAG); ++ writer.write(_END_TAG.clone()); + UtfHelpper.writeByte(name,writer,cache); + writer.write('>'); + //We fineshed with this level, pop to the previous definitions. +@@ -497,7 +494,7 @@ + } + while (sibling==null && parentNode!=null) { + if (isVisible(parentNode)) { +- writer.write(_END_TAG); ++ writer.write(_END_TAG.clone()); + UtfHelpper.writeByte(((Element)parentNode).getTagName(),writer,cache); + writer.write('>'); + //We fineshed with this level, pop to the previous definitions. +@@ -609,7 +606,8 @@ + Attr nsprefix; + if (((nsprefix=ns.getMappingWithoutRendered("xmlns"))!=null) + && "".equals(nsprefix.getValue())) { +- ns.addMappingAndRender("xmlns","",nullNode); ++ ns.addMappingAndRender("xmlns", "", ++ getNullNode(nsprefix.getOwnerDocument())); + } + } + /** +@@ -659,7 +657,7 @@ + final Map cache) throws IOException { + writer.write(' '); + UtfHelpper.writeByte(name,writer,cache); +- writer.write(equalsStr); ++ writer.write(_EQUALS_STR.clone()); + byte []toWrite; + final int length = value.length(); + int i=0; +@@ -669,27 +667,27 @@ + switch (c) { + + case '&' : +- toWrite=_AMP_; ++ toWrite=_AMP_.clone(); + break; + + case '<' : +- toWrite=_LT_; ++ toWrite=_LT_.clone(); + break; + + case '"' : +- toWrite=_QUOT_; ++ toWrite=_QUOT_.clone(); + break; + + case 0x09 : // '\t' +- toWrite=__X9_; ++ toWrite=__X9_.clone(); + break; + + case 0x0A : // '\n' +- toWrite=__XA_; ++ toWrite=__XA_.clone(); + break; + + case 0x0D : // '\r' +- toWrite=__XD_; ++ toWrite=__XD_.clone(); + break; + + default : +@@ -718,7 +716,7 @@ + if (position == NODE_AFTER_DOCUMENT_ELEMENT) { + writer.write('\n'); + } +- writer.write(_BEGIN_PI); ++ writer.write(_BEGIN_PI.clone()); + + final String target = currentPI.getTarget(); + int length = target.length(); +@@ -726,7 +724,7 @@ + for (int i = 0; i < length; i++) { + char c=target.charAt(i); + if (c==0x0D) { +- writer.write(__XD_); ++ writer.write(__XD_.clone()); + } else { + if (c < 0x80) { + writer.write(c); +@@ -746,14 +744,14 @@ + for (int i = 0; i < length; i++) { + char c=data.charAt(i); + if (c==0x0D) { +- writer.write(__XD_); ++ writer.write(__XD_.clone()); + } else { + UtfHelpper.writeCharToUtf8(c,writer); + } + } + } + +- writer.write(_END_PI); ++ writer.write(_END_PI.clone()); + if (position == NODE_BEFORE_DOCUMENT_ELEMENT) { + writer.write('\n'); + } +@@ -770,7 +768,7 @@ + if (position == NODE_AFTER_DOCUMENT_ELEMENT) { + writer.write('\n'); + } +- writer.write(_BEGIN_COMM); ++ writer.write(_BEGIN_COMM.clone()); + + final String data = currentComment.getData(); + final int length = data.length(); +@@ -778,7 +776,7 @@ + for (int i = 0; i < length; i++) { + char c=data.charAt(i); + if (c==0x0D) { +- writer.write(__XD_); ++ writer.write(__XD_.clone()); + } else { + if (c < 0x80) { + writer.write(c); +@@ -788,7 +786,7 @@ + } + } + +- writer.write(_END_COMM); ++ writer.write(_END_COMM.clone()); + if (position == NODE_BEFORE_DOCUMENT_ELEMENT) { + writer.write('\n'); + } +@@ -810,19 +808,19 @@ + switch (c) { + + case '&' : +- toWrite=_AMP_; ++ toWrite=_AMP_.clone(); + break; + + case '<' : +- toWrite=_LT_; ++ toWrite=_LT_.clone(); + break; + + case '>' : +- toWrite=_GT_; ++ toWrite=_GT_.clone(); + break; + + case 0xD : +- toWrite=__XD_; ++ toWrite=__XD_.clone(); + break; + + default : +@@ -837,4 +835,18 @@ + } + } + ++ // The null xmlns definition. ++ protected Attr getNullNode(Document ownerDocument) { ++ if (nullNode == null) { ++ try { ++ nullNode = ownerDocument.createAttributeNS( ++ Constants.NamespaceSpecNS, XMLNS); ++ nullNode.setValue(""); ++ } catch (Exception e) { ++ throw new RuntimeException("Unable to create nullNode: " + e); + } -+ }); ++ } ++ return nullNode; + } + -+ public static boolean getFileExists(final File f) { -+ return ((Boolean) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - return f.exists() ? Boolean.TRUE : Boolean.FALSE; - } -@@ -154,13 +193,14 @@ + } +--- jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream.java 2013-09-06 11:28:02.000000000 -0700 ++++ jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream.java 2013-12-01 11:14:38.000000000 -0800 +@@ -44,6 +44,9 @@ } - static long getLastModified(final File f) { -- return ((Long) -- AccessController.doPrivileged(new PrivilegedAction() { -+ return ((Long) AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - return new Long(f.lastModified()); - } - })).longValue(); + public void write(byte[] arg0) { ++ if ((Integer.MAX_VALUE - pos) < arg0.length) { ++ throw new OutOfMemoryError(); ++ } + int newPos = pos + arg0.length; + if (newPos > size) { + expandSize(newPos); +@@ -53,6 +56,9 @@ + } + + public void write(byte[] arg0, int arg1, int arg2) { ++ if ((Integer.MAX_VALUE - pos) < arg2) { ++ throw new OutOfMemoryError(); ++ } + int newPos = pos + arg2; + if (newPos > size) { + expandSize(newPos); +@@ -62,6 +68,9 @@ } -- private SecuritySupport () {} + public void write(int arg0) { ++ if ((Integer.MAX_VALUE - pos) == 0) { ++ throw new OutOfMemoryError(); ++ } + int newPos = pos + 1; + if (newPos > size) { + expandSize(newPos); +@@ -82,7 +91,11 @@ + private void expandSize(int newPos) { + int newSize = size; + while (newPos > newSize) { +- newSize = newSize<<2; ++ newSize = newSize << 1; ++ // Deal with overflow ++ if (newSize < 0) { ++ newSize = Integer.MAX_VALUE; ++ } + } + byte newBuf[] = new byte[newSize]; + System.arraycopy(buf, 0, newBuf, 0, pos); +--- jdk/src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties 2013-09-06 11:28:02.000000000 -0700 ++++ jdk/src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties 2014-01-18 12:16:23.000000000 -0800 +@@ -44,7 +44,7 @@ + cachedrowsetimpl.dtypemismt = \uB370\uC774\uD130 \uC720\uD615\uC774 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + cachedrowsetimpl.datefail = {1} \uC5F4\uC758 \uAC12({0})\uC5D0\uC11C getDate\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBCC0\uD658\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + cachedrowsetimpl.timefail = {1} \uC5F4\uC758 \uAC12({0})\uC5D0\uC11C getTime\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBCC0\uD658\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +-cachedrowsetimpl.posupdate = \uC704\uCE58\uAC00 \uC9C0\uC815\uB41C \uAC31\uC2E0\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. ++cachedrowsetimpl.posupdate = \uC704\uCE58\uAC00 \uC9C0\uC815\uB41C \uC5C5\uB370\uC774\uD2B8\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + cachedrowsetimpl.unableins = \uC778\uC2A4\uD134\uC2A4\uD654\uD560 \uC218 \uC5C6\uC74C: {0} + cachedrowsetimpl.beforefirst = beforeFirst: \uCEE4\uC11C \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. + cachedrowsetimpl.first = \uCC98\uC74C: \uCEE4\uC11C \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +@@ -110,7 +110,7 @@ + jdbcrowsetimpl.unsetmatch = \uC124\uC815\uC744 \uD574\uC81C\uD558\uB824\uB294 \uC5F4\uC774 \uC124\uC815\uB41C \uC5F4\uACFC \uB2E4\uB985\uB2C8\uB2E4. + jdbcrowsetimpl.usecolname = \uC5F4 \uC774\uB984\uC744 unsetMatchColumn\uC758 \uC778\uC218\uB85C \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624. + jdbcrowsetimpl.usecolid = \uC5F4 ID\uB97C unsetMatchColumn\uC758 \uC778\uC218\uB85C \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624. +-jdbcrowsetimpl.resnotupd = ResultSet\uB97C \uAC31\uC2E0\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ++jdbcrowsetimpl.resnotupd = ResultSet\uB97C \uC5C5\uB370\uC774\uD2B8\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + jdbcrowsetimpl.opnotysupp = \uC791\uC5C5\uC774 \uC544\uC9C1 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + jdbcrowsetimpl.featnotsupp = \uAE30\uB2A5\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +@@ -157,7 +157,7 @@ + xmlrch.errinsert = insert \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} + xmlrch.errinsdel = insdel \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} + xmlrch.errupdate = update \uD589\uC744 \uC0DD\uC131\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} +-xmlrch.errupdrow = \uD589\uC744 \uAC31\uC2E0\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} ++xmlrch.errupdrow = \uD589\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} + xmlrch.chars = \uBB38\uC790: + xmlrch.badvalue = \uC798\uBABB\uB41C \uAC12: \uB110\uC77C \uC218 \uC5C6\uB294 \uC18D\uC131\uC785\uB2C8\uB2E4. + xmlrch.badvalue1 = \uC798\uBABB\uB41C \uAC12: \uB110\uC77C \uC218 \uC5C6\uB294 \uBA54\uD0C0 \uB370\uC774\uD130\uC785\uB2C8\uB2E4. +--- jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java 2013-09-06 11:28:02.000000000 -0700 ++++ jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java 2014-01-18 12:16:23.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2003, 2010, 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 +@@ -659,7 +659,7 @@ + //Added the handling for Class tags to take care of maps + //Makes an entry into the map upon end of class tag + try{ +- typeMap.put(Key_map,Class.forName(Value_map)); ++ typeMap.put(Key_map,sun.reflect.misc.ReflectUtil.forName(Value_map)); + + }catch(ClassNotFoundException ex) { + throw new SAXException(MessageFormat.format(resBundle.handleGetObject("xmlrch.errmap").toString(), ex.getMessage())); +--- jdk/src/share/classes/com/sun/script/util/InterfaceImplementor.java 2013-09-06 11:28:02.000000000 -0700 ++++ jdk/src/share/classes/com/sun/script/util/InterfaceImplementor.java 2013-12-01 11:14:27.000000000 -0800 +@@ -28,6 +28,7 @@ + import javax.script.*; + import java.lang.reflect.*; + import java.security.*; ++import sun.reflect.misc.ReflectUtil; + + /* + * java.lang.reflect.Proxy based interface implementor. This is meant +@@ -85,8 +86,18 @@ + if (! isImplemented(thiz, iface)) { + return null; + } + -+ private SecuritySupport() { ++ if (System.getSecurityManager() != null && ++ !Modifier.isPublic(iface.getModifiers())) { ++ throw new SecurityException("attempt to implement non-public interface"); ++ } ++ ++ // make sure restricted package interfaces are not attempted. ++ ReflectUtil.checkPackageAccess(iface.getName()); ++ + AccessControlContext accCtxt = AccessController.getContext(); +- return iface.cast(Proxy.newProxyInstance(iface.getClassLoader(), ++ return iface.cast(Proxy.newProxyInstance( ++ getLoaderForProxy(iface), + new Class[]{iface}, + new InterfaceImplementorInvocationHandler(thiz, accCtxt))); + } +@@ -108,4 +119,20 @@ + // default is identity conversion + return args; + } ++ ++ // get appropriate ClassLoader for generated Proxy class ++ private static ClassLoader getLoaderForProxy(Class<?> iface) { ++ ClassLoader loader = iface.getClassLoader(); ++ ++ // if bootstrap class, try TCCL ++ if (loader == null) { ++ loader = Thread.currentThread().getContextClassLoader(); ++ } ++ ++ // if TCCL is also null, try System class loader ++ if (loader == null) { ++ loader = ClassLoader.getSystemClassLoader(); ++ } ++ return loader; + } } ---- jaxp/src/com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java 2012-08-10 09:36:09.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java 2013-04-28 16:29:20.000000000 -0700 -@@ -23,6 +23,7 @@ - package com.sun.org.apache.xalan.internal.xslt; +--- jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties 2013-09-06 11:28:03.000000000 -0700 ++++ jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties 2014-01-18 12:16:23.000000000 -0800 +@@ -46,7 +46,7 @@ + FileChooser.openButton.textAndMnemonic=\uC5F4\uAE30(&O) + FileChooser.saveDialogTitle.textAndMnemonic=\uC800\uC7A5 + FileChooser.openDialogTitle.textAndMnemonic=\uC5F4\uAE30 +-FileChooser.updateButton.textAndMnemonic=\uAC31\uC2E0(&U) ++FileChooser.updateButton.textAndMnemonic=\uC5C5\uB370\uC774\uD2B8(&U) + FileChooser.helpButton.textAndMnemonic=\uB3C4\uC6C0\uB9D0(&H) + FileChooser.directoryOpenButton.textAndMnemonic=\uC5F4\uAE30(&O) - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +@@ -66,7 +66,7 @@ + FileChooser.cancelButtonToolTip.textAndMnemonic=\uD30C\uC77C \uC120\uD0DD\uAE30 \uB300\uD654\uC0C1\uC790 \uC911\uB2E8 + FileChooser.saveButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C \uC800\uC7A5 + FileChooser.openButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uD30C\uC77C \uC5F4\uAE30 +-FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D \uAC31\uC2E0 ++FileChooser.updateButtonToolTip.textAndMnemonic=\uB514\uB809\uD1A0\uB9AC \uBAA9\uB85D \uC5C5\uB370\uC774\uD2B8 + FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser \uB3C4\uC6C0\uB9D0 + FileChooser.directoryOpenButtonToolTip.textAndMnemonic=\uC120\uD0DD\uB41C \uB514\uB809\uD1A0\uB9AC \uC5F4\uAE30 + +--- jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_sv.properties 2013-09-06 11:28:03.000000000 -0700 ++++ jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_sv.properties 2014-01-18 12:16:23.000000000 -0800 +@@ -20,8 +20,8 @@ + + FileChooser.lookInLabel.textAndMnemonic=Leta &i: + FileChooser.saveInLabel.textAndMnemonic=Spara i: +-FileChooser.fileNameLabel.textAndMnemonic=Fil&namn: +-FileChooser.folderNameLabel.textAndMnemonic=Mapp&namn: ++FileChooser.fileNameLabel.textAndMnemonic=&Fil: ++FileChooser.folderNameLabel.textAndMnemonic=&Mapp: + FileChooser.filesOfTypeLabel.textAndMnemonic=Mapp&namn: + FileChooser.upFolderToolTip.textAndMnemonic=Upp en niv\u00E5 + FileChooser.upFolderAccessibleName=Upp +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/AllClassesQuery.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/AllClassesQuery.java 2013-12-01 11:14:27.000000000 -0800 +@@ -84,7 +84,7 @@ + lastPackage = pkg; + printClass(clazz); + if (clazz.getId() != -1) { +- out.print(" [" + clazz.getIdString() + "]"); ++ print(" [" + clazz.getIdString() + "]"); + } + out.println("<br>"); + } +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/ClassQuery.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/ClassQuery.java 2013-12-01 11:14:27.000000000 -0800 +@@ -112,12 +112,12 @@ + out.println("<h2>Instances</h2>"); + + printAnchorStart(); +- out.print("instances/" + encodeForURL(clazz)); ++ print("instances/" + encodeForURL(clazz)); + out.print("\">"); + out.println("Exclude subclasses</a><br>"); + + printAnchorStart(); +- out.print("allInstances/" + encodeForURL(clazz)); ++ print("allInstances/" + encodeForURL(clazz)); + out.print("\">"); + out.println("Include subclasses</a><br>"); + +@@ -126,19 +126,19 @@ + out.println("<h2>New Instances</h2>"); + + printAnchorStart(); +- out.print("newInstances/" + encodeForURL(clazz)); ++ print("newInstances/" + encodeForURL(clazz)); + out.print("\">"); + out.println("Exclude subclasses</a><br>"); + + printAnchorStart(); +- out.print("allNewInstances/" + encodeForURL(clazz)); ++ print("allNewInstances/" + encodeForURL(clazz)); + out.print("\">"); + out.println("Include subclasses</a><br>"); + } - import java.io.File; - import java.io.FileWriter; -@@ -574,7 +575,7 @@ - // Grab java version for later use - try - { -- String javaVersion = System.getProperty("java.version"); -+ String javaVersion = SecuritySupport.getSystemProperty("java.version"); + out.println("<h2>References summary by Type</h2>"); + printAnchorStart(); +- out.print("refsByType/" + encodeForURL(clazz)); ++ print("refsByType/" + encodeForURL(clazz)); + out.print("\">"); + out.println("References summary by type</a>"); - h.put("java.version", javaVersion); - } -@@ -593,7 +594,7 @@ - { +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/HttpReader.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/HttpReader.java 2013-12-01 11:14:27.000000000 -0800 +@@ -41,21 +41,17 @@ - // This is present in all JVM's -- String cp = System.getProperty("java.class.path"); -+ String cp = SecuritySupport.getSystemProperty("java.class.path"); - h.put("java.class.path", cp); + import java.net.Socket; +-import java.net.ServerSocket; +-import java.net.InetAddress; -@@ -603,7 +604,7 @@ - h.put(FOUNDCLASSES + "java.class.path", classpathJars); + import java.io.InputStream; + import java.io.BufferedInputStream; + import java.io.IOException; +-import java.io.Writer; + import java.io.BufferedWriter; + import java.io.PrintWriter; +-import java.io.OutputStream; + import java.io.OutputStreamWriter; +-import java.io.BufferedOutputStream; - // Also check for JDK 1.2+ type classpaths -- String othercp = System.getProperty("sun.boot.class.path"); -+ String othercp = SecuritySupport.getSystemProperty("sun.boot.class.path"); + import com.sun.tools.hat.internal.model.Snapshot; + import com.sun.tools.hat.internal.oql.OQLEngine; ++import com.sun.tools.hat.internal.util.Misc; - if (null != othercp) - { -@@ -617,7 +618,7 @@ + public class HttpReader implements Runnable { - //@todo NOTE: We don't actually search java.ext.dirs for - // *.jar files therein! This should be updated -- othercp = System.getProperty("java.ext.dirs"); -+ othercp = SecuritySupport.getSystemProperty("java.ext.dirs"); +@@ -87,7 +83,7 @@ + outputError("Protocol error"); + } + int data; +- StringBuffer queryBuf = new StringBuffer(); ++ StringBuilder queryBuf = new StringBuilder(); + while ((data = in.read()) != -1 && data != ' ') { + char ch = (char) data; + queryBuf.append(ch); +@@ -217,7 +213,7 @@ + private void outputError(String msg) { + out.println(); + out.println("<html><body bgcolor=\"#ffffff\">"); +- out.println(msg); ++ out.println(Misc.encodeHtml(msg)); + out.println("</body></html>"); + } - if (null != othercp) - { -@@ -1005,7 +1006,7 @@ - { - Class clazz = ObjectFactory.findProviderClass(DOM_CLASS, true); +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/InstancesCountQuery.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/InstancesCountQuery.java 2013-12-01 11:14:27.000000000 -0800 +@@ -102,7 +102,7 @@ + int count = clazz.getInstancesCount(false); + print("" + count); + printAnchorStart(); +- out.print("instances/" + encodeForURL(classes[i])); ++ print("instances/" + encodeForURL(classes[i])); + out.print("\"> "); + if (count == 1) { + print("instance"); +@@ -121,7 +121,7 @@ + } + print("("); + printAnchorStart(); +- out.print("newInstances/" + encodeForURL(classes[i])); ++ print("newInstances/" + encodeForURL(classes[i])); + out.print("\">"); + print("" + newInst + " new"); + out.print("</a>) "); +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/OQLHelp.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/OQLHelp.java 2013-12-01 11:14:27.000000000 -0800 +@@ -54,10 +54,7 @@ + out.print((char)ch); + } + } catch (Exception exp) { +- out.println(exp.getMessage()); +- out.println("<pre>"); +- exp.printStackTrace(out); +- out.println("</pre>"); ++ printException(exp); + } + } + } +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/OQLQuery.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/OQLQuery.java 2013-12-01 11:14:27.000000000 -0800 +@@ -32,10 +32,7 @@ -- Method method = clazz.getMethod(DOM_LEVEL3_METHOD, null); -+ Method method = clazz.getMethod(DOM_LEVEL3_METHOD, (Class<?>[])null); + package com.sun.tools.hat.internal.server; - // If we succeeded, we have loaded interfaces from a - // level 3 DOM somewhere ---- jaxp/src/com/sun/org/apache/xalan/internal/xslt/Process.java 2012-08-10 09:36:09.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xslt/Process.java 2013-04-28 16:29:20.000000000 -0700 -@@ -57,6 +57,7 @@ - import com.sun.org.apache.xalan.internal.res.XSLTErrorResources; - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; - import com.sun.org.apache.xalan.internal.utils.ConfigurationError; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +-import com.sun.tools.hat.internal.model.*; + import com.sun.tools.hat.internal.oql.*; +-import com.sun.tools.hat.internal.util.ArraySorter; +-import com.sun.tools.hat.internal.util.Comparer; - //J2SE does not support Xalan interpretive - /* -@@ -180,7 +181,7 @@ - java.io.PrintWriter diagnosticsWriter = new PrintWriter(System.err, true); - java.io.PrintWriter dumpWriter = diagnosticsWriter; - ResourceBundle resbundle = -- (XSLMessages.loadResourceBundle( -+ (SecuritySupport.getResourceBundle( - com.sun.org.apache.xml.internal.utils.res.XResourceBundle.ERROR_RESOURCES)); - String flavor = "s2s"; - ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Parser.java 2012-08-10 09:36:18.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/Parser.java 2013-04-28 16:29:20.000000000 -0700 -@@ -410,7 +410,7 @@ - } + /** + * This handles Object Query Language (OQL) queries. +@@ -68,7 +65,7 @@ + out.println("<p align='center'>"); + out.println("<textarea name='query' cols=80 rows=10>"); + if (oql != null) { +- out.println(oql); ++ println(oql); } - catch (TypeCheckError e) { -- reportError(ERROR, new ErrorMsg(e)); -+ reportError(ERROR, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); + out.println("</textarea>"); + out.println("</p>"); +@@ -91,10 +88,7 @@ + try { + out.println(engine.toHtml(o)); + } catch (Exception e) { +- out.println(e.getMessage()); +- out.println("<pre>"); +- e.printStackTrace(out); +- out.println("</pre>"); ++ printException(e); + } + out.println("</td></tr>"); + return false; +@@ -102,10 +96,7 @@ + }); + out.println("</table>"); + } catch (OQLException exp) { +- out.println(exp.getMessage()); +- out.println("<pre>"); +- exp.printStackTrace(out); +- out.println("</pre>"); ++ printException(exp); } } -@@ -430,7 +430,7 @@ +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/QueryHandler.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/QueryHandler.java 2013-12-01 11:14:27.000000000 -0800 +@@ -36,6 +36,7 @@ + + import com.sun.tools.hat.internal.model.*; + import com.sun.tools.hat.internal.util.Misc; ++import java.io.StringWriter; + + import java.net.URLEncoder; + import java.io.UnsupportedEncodingException; +@@ -96,7 +97,7 @@ + } + + protected void error(String msg) { +- out.println(msg); ++ println(msg); + } + + protected void printAnchorStart() { +@@ -160,7 +161,6 @@ + out.println("null"); + return; } - catch (IOException e) { - if (_xsltc.debug()) e.printStackTrace(); -- reportError(ERROR,new ErrorMsg(e)); -+ reportError(ERROR,new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); +- String name = clazz.getName(); + printAnchorStart(); + out.print("class/"); + print(encodeForURL(clazz)); +@@ -208,6 +208,15 @@ } - catch (SAXException e) { - Throwable ex = e.getException(); -@@ -438,15 +438,15 @@ - e.printStackTrace(); - if (ex != null) ex.printStackTrace(); + } + ++ protected void printException(Throwable t) { ++ println(t.getMessage()); ++ out.println("<pre>"); ++ StringWriter sw = new StringWriter(); ++ t.printStackTrace(new PrintWriter(sw)); ++ print(sw.toString()); ++ out.println("</pre>"); ++ } ++ + protected void printHex(long addr) { + if (snapshot.getIdentifierSize() == 4) { + out.print(Misc.toHex((int)addr)); +@@ -223,4 +232,8 @@ + protected void print(String str) { + out.print(Misc.encodeHtml(str)); + } ++ ++ protected void println(String str) { ++ out.println(Misc.encodeHtml(str)); ++ } + } +--- jdk/src/share/classes/com/sun/tools/hat/internal/server/RefsByTypeQuery.java 2013-09-06 11:28:04.000000000 -0700 ++++ jdk/src/share/classes/com/sun/tools/hat/internal/server/RefsByTypeQuery.java 2013-12-01 11:14:27.000000000 -0800 +@@ -89,7 +89,7 @@ + out.println("<p align='center'>"); + printClass(clazz); + if (clazz.getId() != -1) { +- out.println("[" + clazz.getIdString() + "]"); ++ println("[" + clazz.getIdString() + "]"); } -- reportError(ERROR, new ErrorMsg(e)); -+ reportError(ERROR, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); - } - catch (CompilerException e) { - if (_xsltc.debug()) e.printStackTrace(); -- reportError(ERROR, new ErrorMsg(e)); -+ reportError(ERROR, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); + out.println("</p>"); + +@@ -125,9 +125,9 @@ + JavaClass clazz = classes[i]; + out.println("<tr><td>"); + out.print("<a href='/refsByType/"); +- out.print(clazz.getIdString()); ++ print(clazz.getIdString()); + out.print("'>"); +- out.print(clazz.getName()); ++ print(clazz.getName()); + out.println("</a>"); + out.println("</td><td>"); + out.println(map.get(clazz)); +--- jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java 2013-09-06 11:28:06.000000000 -0700 ++++ jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java 2013-12-01 11:14:27.000000000 -0800 +@@ -25,12 +25,14 @@ + + package java.awt.datatransfer; + +-import java.awt.Toolkit; + import java.io.*; + import java.nio.*; + import java.util.*; + + import sun.awt.datatransfer.DataTransferer; ++import sun.reflect.misc.ReflectUtil; ++ ++import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; + + /** + * A {@code DataFlavor} provides meta information about data. {@code DataFlavor} +@@ -117,27 +119,33 @@ + ClassLoader fallback) + throws ClassNotFoundException + { +- ClassLoader systemClassLoader = (ClassLoader) +- java.security.AccessController.doPrivileged( +- new java.security.PrivilegedAction() { +- public Object run() { +- ClassLoader cl = Thread.currentThread(). +- getContextClassLoader(); +- return (cl != null) +- ? cl +- : ClassLoader.getSystemClassLoader(); +- } +- }); +- ++ ReflectUtil.checkPackageAccess(className); + try { +- return Class.forName(className, true, systemClassLoader); +- } catch (ClassNotFoundException e2) { +- if (fallback != null) { +- return Class.forName(className, true, fallback); +- } else { +- throw new ClassNotFoundException(className); ++ SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkPermission(GET_CLASSLOADER_PERMISSION); ++ } ++ ClassLoader loader = ClassLoader.getSystemClassLoader(); ++ try { ++ // bootstrap class loader and system class loader if present ++ return Class.forName(className, true, loader); ++ } ++ catch (ClassNotFoundException exception) { ++ // thread context class loader if and only if present ++ loader = Thread.currentThread().getContextClassLoader(); ++ if (loader != null) { ++ try { ++ return Class.forName(className, true, loader); ++ } ++ catch (ClassNotFoundException e) { ++ // fallback to user's class loader ++ } ++ } + } ++ } catch (SecurityException exception) { ++ // ignore secured class loaders } - catch (Exception e) { - if (_xsltc.debug()) e.printStackTrace(); -- reportError(ERROR, new ErrorMsg(e)); -+ reportError(ERROR, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); ++ return Class.forName(className, true, fallback); + } + + /* +--- jdk/src/share/classes/java/beans/Beans.java 2013-09-06 11:28:08.000000000 -0700 ++++ jdk/src/share/classes/java/beans/Beans.java 2013-12-01 11:14:27.000000000 -0800 +@@ -42,6 +42,8 @@ + import java.io.ObjectStreamClass; + import java.io.StreamCorruptedException; + ++import java.lang.reflect.Modifier; ++ + import java.net.URL; + + import java.security.AccessController; +@@ -222,6 +224,10 @@ + throw ex; + } + ++ if (!Modifier.isPublic(cl.getModifiers())) { ++ throw new ClassNotFoundException("" + cl + " : no public access"); ++ } ++ + /* + * Try to instantiate the class. + */ +--- jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java 2013-09-06 11:28:08.000000000 -0700 ++++ jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java 2013-12-01 11:14:27.000000000 -0800 +@@ -220,6 +220,9 @@ + // Write out the properties of this instance. + private void initBean(Class type, Object oldInstance, Object newInstance, Encoder out) { + for (Field field : type.getFields()) { ++ if (!ReflectUtil.isPackageAccessible(field.getDeclaringClass())) { ++ continue; ++ } + int mod = field.getModifiers(); + if (Modifier.isFinal(mod) || Modifier.isStatic(mod) || Modifier.isTransient(mod)) { + continue; +--- jdk/src/share/classes/java/beans/MetaData.java 2013-09-06 11:28:08.000000000 -0700 ++++ jdk/src/share/classes/java/beans/MetaData.java 2013-12-01 11:14:27.000000000 -0800 +@@ -42,6 +42,7 @@ + import java.lang.reflect.Constructor; + import java.lang.reflect.Field; + import java.lang.reflect.Method; ++import java.lang.reflect.Modifier; + import java.lang.reflect.InvocationTargetException; + + import java.security.AccessController; +@@ -56,7 +57,7 @@ + + import sun.swing.PrintColorUIResource; + +-import java.util.Objects; ++import static sun.reflect.misc.ReflectUtil.isPackageAccessible; + + /* + * Like the <code>Intropector</code>, the <code>MetaData</code> class +@@ -850,13 +851,15 @@ + + static class StaticFieldsPersistenceDelegate extends PersistenceDelegate { + protected void installFields(Encoder out, Class<?> cls) { +- Field fields[] = cls.getFields(); +- for(int i = 0; i < fields.length; i++) { +- Field field = fields[i]; +- // Don't install primitives, their identity will not be preserved +- // by wrapping. +- if (Object.class.isAssignableFrom(field.getType())) { +- out.writeExpression(new Expression(field, "get", new Object[]{null})); ++ if (Modifier.isPublic(cls.getModifiers()) && isPackageAccessible(cls)) { ++ Field fields[] = cls.getFields(); ++ for(int i = 0; i < fields.length; i++) { ++ Field field = fields[i]; ++ // Don't install primitives, their identity will not be preserved ++ // by wrapping. ++ if (Object.class.isAssignableFrom(field.getType())) { ++ out.writeExpression(new Expression(field, "get", new Object[]{null})); ++ } + } } - return null; } ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java 2012-08-10 09:36:22.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java 2013-04-28 16:29:20.000000000 -0700 -@@ -41,10 +41,12 @@ - import java.util.jar.Manifest; +--- jdk/src/share/classes/java/beans/ThreadGroupContext.java 2013-09-06 11:28:08.000000000 -0700 ++++ jdk/src/share/classes/java/beans/ThreadGroupContext.java 2014-01-18 12:16:24.000000000 -0800 +@@ -41,24 +41,20 @@ + */ + final class ThreadGroupContext { - import com.sun.org.apache.bcel.internal.classfile.JavaClass; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; - import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util; - import com.sun.org.apache.xml.internal.dtm.DTM; +- private static final WeakIdentityMap<ThreadGroupContext> contexts = new WeakIdentityMap<>(); ++ private static final WeakIdentityMap<ThreadGroupContext> contexts = new WeakIdentityMap<ThreadGroupContext>() { ++ protected ThreadGroupContext create(Object key) { ++ return new ThreadGroupContext(); ++ } ++ }; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import org.xml.sax.InputSource; - import org.xml.sax.XMLReader; + /** +- * Returns the appropriate {@code AppContext} for the caller, ++ * Returns the appropriate {@code ThreadGroupContext} for the caller, + * as determined by its {@code ThreadGroup}. + * + * @return the application-dependent context + */ + static ThreadGroupContext getContext() { +- ThreadGroup group = Thread.currentThread().getThreadGroup(); +- synchronized (contexts) { +- ThreadGroupContext context = contexts.get(group); +- if (context == null) { +- context = new ThreadGroupContext(); +- contexts.put(group, context); +- } +- return context; +- } ++ return contexts.get(Thread.currentThread().getThreadGroup()); + } + + private volatile boolean isDesignTime; +--- jdk/src/share/classes/java/beans/WeakIdentityMap.java 2013-09-06 11:28:08.000000000 -0700 ++++ jdk/src/share/classes/java/beans/WeakIdentityMap.java 2014-01-18 12:16:24.000000000 -0800 +@@ -33,18 +33,22 @@ + * and reference-equality in place of object-equality to compare them. + * An entry will automatically be removed when its key is no longer + * in ordinary use. Both null values and the null key are supported. ++ * This class does not require additional synchronization. ++ * A thread-safety is provided by a fragile combination ++ * of synchronized blocks and volatile fields. ++ * Be very careful during editing! + * + * @see java.util.IdentityHashMap + * @see java.util.WeakHashMap + */ +-final class WeakIdentityMap<T> { ++abstract class WeakIdentityMap<T> { + + private static final int MAXIMUM_CAPACITY = 1 << 30; // it MUST be a power of two + private static final Object NULL = new Object(); // special object for null key + + private final ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); -@@ -278,7 +280,7 @@ - return compile(input, _className); +- private Entry<T>[] table = newTable(1<<3); // table's length MUST be a power of two ++ private volatile Entry<T>[] table = newTable(1<<3); // table's length MUST be a power of two + private int threshold = 6; // the next size value at which to resize + private int size = 0; // the number of key-value mappings + +@@ -54,78 +58,83 @@ + key = NULL; } - catch (IOException e) { -- _parser.reportError(Constants.FATAL, new ErrorMsg(e)); -+ _parser.reportError(Constants.FATAL, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); - return false; + int hash = key.hashCode(); +- int index = getIndex(this.table, hash); +- for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) { ++ Entry<T>[] table = this.table; ++ // unsynchronized search improves performance ++ // the null value does not mean that there are no needed entry ++ int index = getIndex(table, hash); ++ for (Entry<T> entry = table[index]; entry != null; entry = entry.next) { + if (entry.isMatched(key, hash)) { + return entry.value; + } } - } -@@ -297,7 +299,7 @@ - return compile(input, name); +- return null; +- } +- +- public T put(Object key, T value) { +- removeStaleEntries(); +- if (key == null) { +- key = NULL; +- } +- int hash = key.hashCode(); +- int index = getIndex(this.table, hash); +- for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) { +- if (entry.isMatched(key, hash)) { +- T oldValue = entry.value; +- entry.value = value; +- return oldValue; +- } +- } +- this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]); +- if (++this.size >= this.threshold) { +- if (this.table.length == MAXIMUM_CAPACITY) { +- this.threshold = Integer.MAX_VALUE; ++ synchronized (NULL) { ++ // synchronized search improves stability ++ // we must create and add new value if there are no needed entry ++ index = getIndex(this.table, hash); ++ for (Entry<T> entry = this.table[index]; entry != null; entry = entry.next) { ++ if (entry.isMatched(key, hash)) { ++ return entry.value; ++ } + } +- else { +- removeStaleEntries(); +- Entry<T>[] table = newTable(this.table.length * 2); +- transfer(this.table, table); +- +- // If ignoring null elements and processing ref queue caused massive +- // shrinkage, then restore old table. This should be rare, but avoids +- // unbounded expansion of garbage-filled tables. +- if (this.size >= this.threshold / 2) { +- this.table = table; +- this.threshold *= 2; ++ T value = create(key); ++ this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]); ++ if (++this.size >= this.threshold) { ++ if (this.table.length == MAXIMUM_CAPACITY) { ++ this.threshold = Integer.MAX_VALUE; + } + else { +- transfer(table, this.table); ++ removeStaleEntries(); ++ table = newTable(this.table.length * 2); ++ transfer(this.table, table); ++ // If ignoring null elements and processing ref queue caused massive ++ // shrinkage, then restore old table. This should be rare, but avoids ++ // unbounded expansion of garbage-filled tables. ++ if (this.size >= this.threshold / 2) { ++ this.table = table; ++ this.threshold *= 2; ++ } ++ else { ++ transfer(table, this.table); ++ } + } + } ++ return value; } - catch (IOException e) { -- _parser.reportError(Constants.FATAL, new ErrorMsg(e)); -+ _parser.reportError(Constants.FATAL, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); - return false; +- return null; + } + ++ protected abstract T create(Object key); ++ + private void removeStaleEntries() { +- for (Object ref = this.queue.poll(); ref != null; ref = this.queue.poll()) { +- @SuppressWarnings("unchecked") +- Entry<T> entry = (Entry<T>) ref; +- int index = getIndex(this.table, entry.hash); +- +- Entry<T> prev = this.table[index]; +- Entry<T> current = prev; +- while (current != null) { +- Entry<T> next = current.next; +- if (current == entry) { +- if (prev == entry) { +- this.table[index] = next; ++ Object ref = this.queue.poll(); ++ if (ref != null) { ++ synchronized (NULL) { ++ do { ++ @SuppressWarnings("unchecked") ++ Entry<T> entry = (Entry<T>) ref; ++ int index = getIndex(this.table, entry.hash); ++ ++ Entry<T> prev = this.table[index]; ++ Entry<T> current = prev; ++ while (current != null) { ++ Entry<T> next = current.next; ++ if (current == entry) { ++ if (prev == entry) { ++ this.table[index] = next; ++ } ++ else { ++ prev.next = next; ++ } ++ entry.value = null; // Help GC ++ entry.next = null; // Help GC ++ this.size--; ++ break; ++ } ++ prev = current; ++ current = next; + } +- else { +- prev.next = next; +- } +- entry.value = null; // Help GC +- entry.next = null; // Help GC +- this.size--; +- break; ++ ref = this.queue.poll(); + } +- prev = current; +- current = next; ++ while (ref != null); + } } } -@@ -382,11 +384,11 @@ +@@ -164,8 +173,8 @@ + + private static class Entry<T> extends WeakReference<Object> { + private final int hash; +- private T value; +- private Entry<T> next; ++ private volatile T value; ++ private volatile Entry<T> next; + + Entry(Object key, int hash, T value, ReferenceQueue<Object> queue, Entry<T> next) { + super(key, queue); +--- jdk/src/share/classes/java/io/File.java 2013-09-06 11:28:09.000000000 -0700 ++++ jdk/src/share/classes/java/io/File.java 2013-12-01 11:14:28.000000000 -0800 +@@ -1885,10 +1885,18 @@ + } else { + n = Math.abs(n); + } ++ ++ // Use only the file name from the supplied prefix ++ prefix = (new File(prefix)).getName(); ++ + String name = prefix + Long.toString(n) + suffix; + File f = new File(dir, name); +- if (!name.equals(f.getName())) +- throw new IOException("Unable to create temporary file"); ++ if (!name.equals(f.getName())) { ++ if (System.getSecurityManager() != null) ++ throw new IOException("Unable to create temporary file"); ++ else ++ throw new IOException("Unable to create temporary file, " + f); ++ } + return f; } - catch (Exception e) { - /*if (_debug)*/ e.printStackTrace(); -- _parser.reportError(Constants.FATAL, new ErrorMsg(e)); -+ _parser.reportError(Constants.FATAL, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); + } +--- jdk/src/share/classes/java/io/ObjectInputStream.java 2013-09-06 11:28:09.000000000 -0700 ++++ jdk/src/share/classes/java/io/ObjectInputStream.java 2013-12-01 11:14:28.000000000 -0800 +@@ -490,11 +490,12 @@ + public void defaultReadObject() + throws IOException, ClassNotFoundException + { +- if (curContext == null) { ++ SerialCallbackContext ctx = curContext; ++ if (ctx == null) { + throw new NotActiveException("not in call to readObject"); } - catch (Error e) { - if (_debug) e.printStackTrace(); -- _parser.reportError(Constants.FATAL, new ErrorMsg(e)); -+ _parser.reportError(Constants.FATAL, new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR, e)); +- Object curObj = curContext.getObj(); +- ObjectStreamClass curDesc = curContext.getDesc(); ++ Object curObj = ctx.getObj(); ++ ObjectStreamClass curDesc = ctx.getDesc(); + bin.setBlockDataMode(false); + defaultReadFields(curObj, curDesc); + bin.setBlockDataMode(true); +@@ -528,11 +529,12 @@ + public ObjectInputStream.GetField readFields() + throws IOException, ClassNotFoundException + { +- if (curContext == null) { ++ SerialCallbackContext ctx = curContext; ++ if (ctx == null) { + throw new NotActiveException("not in call to readObject"); } - finally { - _reader = null; // reset this here to be sure it is not re-used -@@ -594,7 +596,7 @@ +- Object curObj = curContext.getObj(); +- ObjectStreamClass curDesc = curContext.getDesc(); ++ Object curObj = ctx.getObj(); ++ ObjectStreamClass curDesc = ctx.getDesc(); + bin.setBlockDataMode(false); + GetFieldImpl getField = new GetFieldImpl(curDesc); + getField.readFields(); +@@ -1965,7 +1967,6 @@ + private void defaultReadFields(Object obj, ObjectStreamClass desc) + throws IOException + { +- // REMIND: is isInstance check necessary? + Class cl = desc.forClass(); + if (cl != null && obj != null && !cl.isInstance(obj)) { + throw new ClassCastException(); +--- jdk/src/share/classes/java/io/ObjectOutputStream.java 2013-09-06 11:28:09.000000000 -0700 ++++ jdk/src/share/classes/java/io/ObjectOutputStream.java 2013-12-01 11:14:28.000000000 -0800 +@@ -430,11 +430,12 @@ + * <code>OutputStream</code> */ - public boolean setDestDirectory(String dstDirName) { - final File dir = new File(dstDirName); -- if (dir.exists() || dir.mkdirs()) { -+ if (SecuritySupport.getFileExists(dir) || dir.mkdirs()) { - _destDir = dir; - return true; + public void defaultWriteObject() throws IOException { +- if ( curContext == null ) { ++ SerialCallbackContext ctx = curContext; ++ if (ctx == null) { + throw new NotActiveException("not in call to writeObject"); } -@@ -767,7 +769,7 @@ - String parentDir = outFile.getParent(); - if (parentDir != null) { - File parentFile = new File(parentDir); -- if (!parentFile.exists()) -+ if (!SecuritySupport.getFileExists(parentFile)) - parentFile.mkdirs(); +- Object curObj = curContext.getObj(); +- ObjectStreamClass curDesc = curContext.getDesc(); ++ Object curObj = ctx.getObj(); ++ ObjectStreamClass curDesc = ctx.getDesc(); + bout.setBlockDataMode(false); + defaultWriteFields(curObj, curDesc); + bout.setBlockDataMode(true); +@@ -452,11 +453,12 @@ + */ + public ObjectOutputStream.PutField putFields() throws IOException { + if (curPut == null) { +- if (curContext == null) { ++ SerialCallbackContext ctx = curContext; ++ if (ctx == null) { + throw new NotActiveException("not in call to writeObject"); } +- Object curObj = curContext.getObj(); +- ObjectStreamClass curDesc = curContext.getDesc(); ++ Object curObj = ctx.getObj(); ++ ObjectStreamClass curDesc = ctx.getDesc(); + curPut = new PutFieldImpl(curDesc); } ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages.java 2012-08-10 09:36:23.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages.java 2013-04-28 16:29:20.000000000 -0700 -@@ -997,7 +997,12 @@ - "kilobytes. This is usually caused by templates in a stylesheet " + - "that are very large. Try restructuring your stylesheet to use " + - "smaller templates." -- } -+ }, + return curPut; +@@ -1516,7 +1518,11 @@ + private void defaultWriteFields(Object obj, ObjectStreamClass desc) + throws IOException + { +- // REMIND: perform conservative isInstance check here? ++ Class<?> cl = desc.forClass(); ++ if (cl != null && obj != null && !cl.isInstance(obj)) { ++ throw new ClassCastException(); ++ } ++ + desc.checkDefaultSerialize(); + + int primDataSize = desc.getPrimDataSize(); +--- jdk/src/share/classes/java/lang/Class.java 2013-09-06 11:28:09.000000000 -0700 ++++ jdk/src/share/classes/java/lang/Class.java 2013-12-01 11:14:28.000000000 -0800 +@@ -1096,7 +1096,17 @@ + * @return the declaring class for this class + * @since JDK1.1 + */ +- public native Class<?> getDeclaringClass(); ++ @CallerSensitive ++ public Class<?> getDeclaringClass() { ++ final Class<?> candidate = getDeclaringClass0(); ++ ++ if (candidate != null) ++ candidate.checkPackageAccess( ++ ClassLoader.getClassLoader(Reflection.getCallerClass()), true); ++ return candidate; ++ } + -+ {ErrorMsg.DESERIALIZE_TRANSLET_ERR, "When Java security is enabled, " + -+ "support for deserializing TemplatesImpl is disabled." + -+ "This can be overridden by setting the jdk.xml.enableTemplatesImplDeserialization" + -+ " system property to true."} ++ private native Class<?> getDeclaringClass0(); - }; ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg.java 2012-08-10 09:36:25.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg.java 2013-04-28 16:29:20.000000000 -0700 -@@ -23,6 +23,7 @@ + /** +--- jdk/src/share/classes/java/lang/ClassLoader.java 2013-09-06 11:28:09.000000000 -0700 ++++ jdk/src/share/classes/java/lang/ClassLoader.java 2013-12-01 11:14:28.000000000 -0800 +@@ -58,6 +58,7 @@ + import sun.misc.VM; + import sun.reflect.CallerSensitive; + import sun.reflect.Reflection; ++import sun.reflect.misc.ReflectUtil; + import sun.security.util.SecurityConstants; + + /** +@@ -487,6 +488,13 @@ + private void checkPackageAccess(Class cls, ProtectionDomain pd) { + final SecurityManager sm = System.getSecurityManager(); + if (sm != null) { ++ if (ReflectUtil.isNonPublicProxyClass(cls)) { ++ for (Class intf: cls.getInterfaces()) { ++ checkPackageAccess(intf, pd); ++ } ++ return; ++ } ++ + final String name = cls.getName(); + final int i = name.lastIndexOf('.'); + if (i != -1) { +--- jdk/src/share/classes/java/lang/SecurityManager.java 2013-09-06 11:28:10.000000000 -0700 ++++ jdk/src/share/classes/java/lang/SecurityManager.java 2014-01-18 12:16:24.000000000 -0800 +@@ -1131,12 +1131,8 @@ + * @see #checkPermission(java.security.Permission) checkPermission + */ + public void checkListen(int port) { +- if (port == 0) { +- checkPermission(SecurityConstants.LOCAL_LISTEN_PERMISSION); +- } else { +- checkPermission(new SocketPermission("localhost:"+port, +- SecurityConstants.SOCKET_LISTEN_ACTION)); +- } ++ checkPermission(new SocketPermission("localhost:"+port, ++ SecurityConstants.SOCKET_LISTEN_ACTION)); + } - package com.sun.org.apache.xalan.internal.xsltc.compiler.util; + /** +--- jdk/src/share/classes/java/lang/System.java 2013-09-06 11:28:10.000000000 -0700 ++++ jdk/src/share/classes/java/lang/System.java 2013-12-01 11:14:28.000000000 -0800 +@@ -25,6 +25,7 @@ + package java.lang; + + import java.io.*; ++import java.security.AccessControlContext; + import java.util.Properties; + import java.util.PropertyPermission; + import java.util.StringTokenizer; +@@ -1202,6 +1203,9 @@ + public int getStringHash32(String string) { + return string.hash32(); + } ++ public Thread newThreadWithAcc(Runnable target, AccessControlContext acc) { ++ return new Thread(target, acc); ++ } + }); + } + } +--- jdk/src/share/classes/java/lang/Thread.java 2013-09-06 11:28:10.000000000 -0700 ++++ jdk/src/share/classes/java/lang/Thread.java 2013-12-01 11:14:28.000000000 -0800 +@@ -341,6 +341,15 @@ + } -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.text.MessageFormat; - import java.util.Locale; - import java.util.ResourceBundle; -@@ -46,6 +47,8 @@ - Object[] _params = null; - private boolean _isWarningError; + /** ++ * Initializes a Thread with the current AccessControlContext. ++ * @see #init(ThreadGroup,Runnable,String,long,AccessControlContext) ++ */ ++ private void init(ThreadGroup g, Runnable target, String name, ++ long stackSize) { ++ init(g, target, name, stackSize, null); ++ } ++ ++ /** + * Initializes a Thread. + * + * @param g the Thread group +@@ -348,9 +357,11 @@ + * @param name the name of the new Thread + * @param stackSize the desired stack size for the new thread, or + * zero to indicate that this parameter is to be ignored. ++ * @param acc the AccessControlContext to inherit, or ++ * AccessController.getContext() if null + */ + private void init(ThreadGroup g, Runnable target, String name, +- long stackSize) { ++ long stackSize, AccessControlContext acc) { + if (name == null) { + throw new NullPointerException("name cannot be null"); + } +@@ -396,7 +407,8 @@ + this.contextClassLoader = parent.getContextClassLoader(); + else + this.contextClassLoader = parent.contextClassLoader; +- this.inheritedAccessControlContext = AccessController.getContext(); ++ this.inheritedAccessControlContext = ++ acc != null ? acc : AccessController.getContext(); + this.target = target; + setPriority(priority); + if (parent.inheritableThreadLocals != null) +@@ -449,6 +461,14 @@ + } -+ Throwable _cause; + /** ++ * Creates a new Thread that inherits the given AccessControlContext. ++ * This is not a public constructor. ++ */ ++ Thread(Runnable target, AccessControlContext acc) { ++ init(null, target, "Thread-" + nextThreadNum(), 0, acc); ++ } + - // Compiler error messages - public static final String MULTIPLE_STYLESHEET_ERR = "MULTIPLE_STYLESHEET_ERR"; - public static final String TEMPLATE_REDEF_ERR = "TEMPLATE_REDEF_ERR"; -@@ -165,6 +168,8 @@ - public static final String OUTLINE_ERR_METHOD_TOO_BIG = - "OUTLINE_ERR_METHOD_TOO_BIG"; ++ /** + * Allocates a new {@code Thread} object. This constructor has the same + * effect as {@linkplain #Thread(ThreadGroup,Runnable,String) Thread} + * {@code (group, target, gname)} ,where {@code gname} is a newly generated +--- jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-09-06 11:28:10.000000000 -0700 ++++ jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-12-01 11:14:28.000000000 -0800 +@@ -456,6 +456,7 @@ + case "getDeclaredField": + case "getDeclaredMethod": + case "getDeclaredConstructor": ++ case "getDeclaringClass": + case "getEnclosingClass": + case "getEnclosingMethod": + case "getEnclosingConstructor": +@@ -491,6 +492,7 @@ + return defc == java.lang.ClassLoader.class; + case "registerAsParallelCapable": + return defc == java.lang.ClassLoader.class; ++ case "getInvocationHandler": + case "getProxyClass": + case "newProxyInstance": + return defc == java.lang.reflect.Proxy.class; +--- jdk/src/share/classes/java/lang/invoke/MethodHandles.java 2013-09-06 11:28:10.000000000 -0700 ++++ jdk/src/share/classes/java/lang/invoke/MethodHandles.java 2013-12-01 11:14:28.000000000 -0800 +@@ -426,7 +426,7 @@ + + Lookup(Class<?> lookupClass) { + this(lookupClass, ALL_MODES); +- checkUnprivilegedlookupClass(lookupClass); ++ checkUnprivilegedlookupClass(lookupClass, ALL_MODES); + } -+ public static final String DESERIALIZE_TRANSLET_ERR = "DESERIALIZE_TEMPLATES_ERR"; + private Lookup(Class<?> lookupClass, int allowedModes) { +@@ -480,7 +480,7 @@ + // No permissions. + newModes = 0; + } +- checkUnprivilegedlookupClass(requestedLookupClass); ++ checkUnprivilegedlookupClass(requestedLookupClass, newModes); + return new Lookup(requestedLookupClass, newModes); + } + +@@ -496,10 +496,19 @@ + /** Package-private version of lookup which is trusted. */ + static final Lookup IMPL_LOOKUP = new Lookup(Object.class, TRUSTED); + +- private static void checkUnprivilegedlookupClass(Class<?> lookupClass) { ++ private static void checkUnprivilegedlookupClass(Class<?> lookupClass, int allowedModes) { + String name = lookupClass.getName(); + if (name.startsWith("java.lang.invoke.")) + throw newIllegalArgumentException("illegal lookupClass: "+lookupClass); + - // All error messages are localized and are stored in resource bundles. - // This array and the following 4 strings are read from that bundle. - private static ResourceBundle _bundle; -@@ -175,7 +180,7 @@ - public final static String RUNTIME_ERROR_KEY = "RUNTIME_ERROR_KEY"; ++ // For caller-sensitive MethodHandles.lookup() ++ // disallow lookup more restricted packages ++ if (allowedModes == ALL_MODES && lookupClass.getClassLoader() == null) { ++ if (name.startsWith("java.") || ++ (name.startsWith("sun.") && !name.startsWith("sun.invoke."))) { ++ throw newIllegalArgumentException("illegal lookupClass: " + lookupClass); ++ } ++ } + } - static { -- _bundle = ResourceBundle.getBundle( -+ _bundle = SecuritySupport.getResourceBundle( - "com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMessages", - Locale.getDefault()); - } -@@ -185,10 +190,11 @@ - _line = 0; - } + /** +@@ -1316,6 +1325,10 @@ + : resolveOrFail(refKind, defc, name, (Class<?>) type); + return getDirectField(refKind, defc, field); + } else if (MethodHandleNatives.refKindIsMethod(refKind)) { ++ if (defc == MethodHandle.class && refKind == REF_invokeVirtual) { ++ MethodHandle mh = findVirtualForMH(name, (MethodType) type); ++ if (mh != null) return mh; ++ } + MemberName method = (resolved != null) ? resolved + : resolveOrFail(refKind, defc, name, (MethodType) type); + return getDirectMethod(refKind, defc, method, lookupClass); +--- jdk/src/share/classes/java/lang/reflect/Proxy.java 2013-09-06 11:28:11.000000000 -0700 ++++ jdk/src/share/classes/java/lang/reflect/Proxy.java 2013-12-01 11:14:28.000000000 -0800 +@@ -788,6 +788,7 @@ + * @throws IllegalArgumentException if the argument is not a + * proxy instance + */ ++ @CallerSensitive + public static InvocationHandler getInvocationHandler(Object proxy) + throws IllegalArgumentException + { +@@ -798,8 +799,19 @@ + throw new IllegalArgumentException("not a proxy instance"); + } -- public ErrorMsg(Throwable e) { -- _code = null; -+ public ErrorMsg(String code, Throwable e) { -+ _code = code; - _message = e.getMessage(); - _line = 0; -+ _cause = e; +- Proxy p = (Proxy) proxy; +- return p.h; ++ final Proxy p = (Proxy) proxy; ++ final InvocationHandler ih = p.h; ++ if (System.getSecurityManager() != null) { ++ Class<?> ihClass = ih.getClass(); ++ Class<?> caller = Reflection.getCallerClass(); ++ if (ReflectUtil.needsPackageAccessCheck(caller.getClassLoader(), ++ ihClass.getClassLoader())) ++ { ++ ReflectUtil.checkPackageAccess(ihClass); ++ } ++ } ++ ++ return ih; } - public ErrorMsg(String message, int line) { -@@ -240,6 +246,10 @@ - _params[1] = param2; - } + private static native Class defineClass0(ClassLoader loader, String name, +--- jdk/src/share/classes/java/net/Inet6Address.java 2013-09-06 11:28:11.000000000 -0700 ++++ jdk/src/share/classes/java/net/Inet6Address.java 2013-12-01 11:14:29.000000000 -0800 +@@ -26,6 +26,8 @@ + package java.net; + + import java.io.ObjectInputStream; ++import java.io.ObjectOutputStream; ++import java.io.ObjectStreamField; + import java.io.IOException; + import java.io.InvalidObjectException; + import java.util.Enumeration; +@@ -171,36 +173,196 @@ + */ + private transient int cached_scope_id = 0; + +- /** +- * Holds a 128-bit (16 bytes) IPv6 address. +- * +- * @serial +- */ +- byte[] ipaddress; ++ private class Inet6AddressHolder { + +- /** +- * scope_id. The scope specified when the object is created. If the object is created +- * with an interface name, then the scope_id is not determined until the time it is needed. +- */ +- private int scope_id = 0; ++ private Inet6AddressHolder() { ++ ipaddress = new byte[INADDRSZ]; ++ } -+ public Throwable getCause() { -+ return _cause; +- /** +- * This will be set to true when the scope_id field contains a valid +- * integer scope_id. +- */ +- private boolean scope_id_set = false; ++ private Inet6AddressHolder( ++ byte[] ipaddress, int scope_id, boolean scope_id_set, ++ NetworkInterface ifname, boolean scope_ifname_set) ++ { ++ this.ipaddress = ipaddress; ++ this.scope_id = scope_id; ++ this.scope_id_set = scope_id_set; ++ this.scope_ifname_set = scope_ifname_set; ++ this.scope_ifname = ifname; ++ } ++ ++ /** ++ * Holds a 128-bit (16 bytes) IPv6 address. ++ */ ++ byte[] ipaddress; ++ ++ /** ++ * scope_id. The scope specified when the object is created. If the object is created ++ * with an interface name, then the scope_id is not determined until the time it is needed. ++ */ ++ int scope_id = 0; ++ ++ /** ++ * This will be set to true when the scope_id field contains a valid ++ * integer scope_id. ++ */ ++ boolean scope_id_set = false; ++ ++ /** ++ * scoped interface. scope_id is derived from this as the scope_id of the first ++ * address whose scope is the same as this address for the named interface. ++ */ ++ NetworkInterface scope_ifname = null; ++ ++ /** ++ * set if the object is constructed with a scoped interface instead of a ++ * numeric scope id. ++ */ ++ boolean scope_ifname_set = false; ++ ++ void setAddr(byte addr[]) { ++ if (addr.length == INADDRSZ) { // normal IPv6 address ++ System.arraycopy(addr, 0, ipaddress, 0, INADDRSZ); ++ } ++ } + +- /** +- * scoped interface. scope_id is derived from this as the scope_id of the first +- * address whose scope is the same as this address for the named interface. +- */ +- private transient NetworkInterface scope_ifname = null; ++ void init(byte addr[], int scope_id) { ++ setAddr(addr); + +- /** +- * set if the object is constructed with a scoped interface instead of a +- * numeric scope id. +- */ +- private boolean scope_ifname_set = false; ++ if (scope_id >= 0) { ++ this.scope_id = scope_id; ++ this.scope_id_set = true; ++ } ++ } ++ ++ void init(byte addr[], NetworkInterface nif) ++ throws UnknownHostException ++ { ++ setAddr(addr); ++ ++ if (nif != null) { ++ this.scope_id = deriveNumericScope(ipaddress, nif); ++ this.scope_id_set = true; ++ this.scope_ifname = nif; ++ this.scope_ifname_set = true; ++ } ++ } ++ ++ String getHostAddress() { ++ String s = numericToTextFormat(ipaddress); ++ if (scope_ifname_set) { /* must check this first */ ++ s = s + "%" + scope_ifname.getName(); ++ } else if (scope_id_set) { ++ s = s + "%" + scope_id; ++ } ++ return s; ++ } ++ ++ public boolean equals(Object o) { ++ if (! (o instanceof Inet6AddressHolder)) { ++ return false; ++ } ++ Inet6AddressHolder that = (Inet6AddressHolder)o; ++ ++ for (int i = 0; i < INADDRSZ; i++) { ++ if (this.ipaddress[i] != that.ipaddress[i]) ++ return false; ++ } ++ ++ return true; ++ } ++ ++ public int hashCode() { ++ if (ipaddress != null) { ++ ++ int hash = 0; ++ int i=0; ++ while (i<INADDRSZ) { ++ int j=0; ++ int component=0; ++ while (j<4 && i<INADDRSZ) { ++ component = (component << 8) + ipaddress[i]; ++ j++; ++ i++; ++ } ++ hash += component; ++ } ++ return hash; ++ ++ } else { ++ return 0; ++ } ++ } ++ ++ boolean isIPv4CompatibleAddress() { ++ if ((ipaddress[0] == 0x00) && (ipaddress[1] == 0x00) && ++ (ipaddress[2] == 0x00) && (ipaddress[3] == 0x00) && ++ (ipaddress[4] == 0x00) && (ipaddress[5] == 0x00) && ++ (ipaddress[6] == 0x00) && (ipaddress[7] == 0x00) && ++ (ipaddress[8] == 0x00) && (ipaddress[9] == 0x00) && ++ (ipaddress[10] == 0x00) && (ipaddress[11] == 0x00)) { ++ return true; ++ } ++ return false; ++ } ++ ++ boolean isMulticastAddress() { ++ return ((ipaddress[0] & 0xff) == 0xff); ++ } ++ ++ boolean isAnyLocalAddress() { ++ byte test = 0x00; ++ for (int i = 0; i < INADDRSZ; i++) { ++ test |= ipaddress[i]; ++ } ++ return (test == 0x00); ++ } ++ ++ boolean isLoopbackAddress() { ++ byte test = 0x00; ++ for (int i = 0; i < 15; i++) { ++ test |= ipaddress[i]; ++ } ++ return (test == 0x00) && (ipaddress[15] == 0x01); ++ } ++ ++ boolean isLinkLocalAddress() { ++ return ((ipaddress[0] & 0xff) == 0xfe ++ && (ipaddress[1] & 0xc0) == 0x80); ++ } ++ ++ ++ boolean isSiteLocalAddress() { ++ return ((ipaddress[0] & 0xff) == 0xfe ++ && (ipaddress[1] & 0xc0) == 0xc0); ++ } ++ ++ boolean isMCGlobal() { ++ return ((ipaddress[0] & 0xff) == 0xff ++ && (ipaddress[1] & 0x0f) == 0x0e); ++ } ++ ++ boolean isMCNodeLocal() { ++ return ((ipaddress[0] & 0xff) == 0xff ++ && (ipaddress[1] & 0x0f) == 0x01); ++ } ++ ++ boolean isMCLinkLocal() { ++ return ((ipaddress[0] & 0xff) == 0xff ++ && (ipaddress[1] & 0x0f) == 0x02); ++ } ++ ++ boolean isMCSiteLocal() { ++ return ((ipaddress[0] & 0xff) == 0xff ++ && (ipaddress[1] & 0x0f) == 0x05); ++ } ++ ++ boolean isMCOrgLocal() { ++ return ((ipaddress[0] & 0xff) == 0xff ++ && (ipaddress[1] & 0x0f) == 0x08); ++ } + } + - private String getFileName(SyntaxTreeNode node) { - Stylesheet stylesheet = node.getStylesheet(); - if (stylesheet != null) ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/Util.java 2012-08-10 09:36:26.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/Util.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.StringTokenizer; ++ private final transient Inet6AddressHolder holder6; - import com.sun.org.apache.bcel.internal.generic.Type; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import com.sun.org.apache.xalan.internal.xsltc.compiler.Constants; - import com.sun.org.apache.xml.internal.utils.XML11Char; + private static final long serialVersionUID = 6880410070516793377L; -@@ -37,7 +38,7 @@ - private static char filesep; +@@ -213,37 +375,33 @@ - static { -- String temp = System.getProperty("file.separator", "/"); -+ String temp = SecuritySupport.getSystemProperty("file.separator", "/"); - filesep = temp.charAt(0); + Inet6Address() { + super(); +- holder().hostName = null; +- ipaddress = new byte[INADDRSZ]; +- holder().family = IPv6; ++ holder.init(null, IPv6); ++ holder6 = new Inet6AddressHolder(); } ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecord.java 2012-08-10 09:36:28.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecord.java 2013-04-28 16:29:20.000000000 -0700 -@@ -33,6 +33,7 @@ - import com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet; - import com.sun.org.apache.xml.internal.utils.StringComparable; - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; + /* checking of value for scope_id should be done by caller + * scope_id must be >= 0, or -1 to indicate not being set + */ + Inet6Address(String hostName, byte addr[], int scope_id) { +- holder().hostName = hostName; +- if (addr.length == INADDRSZ) { // normal IPv6 address +- holder().family = IPv6; +- ipaddress = addr.clone(); +- } +- if (scope_id >= 0) { +- this.scope_id = scope_id; +- scope_id_set = true; +- } ++ holder.init(hostName, IPv6); ++ holder6 = new Inet6AddressHolder(); ++ holder6.init(addr, scope_id); + } - /** - * Base class for sort records containing application specific sort keys -@@ -112,7 +113,7 @@ + Inet6Address(String hostName, byte addr[]) { ++ holder6 = new Inet6AddressHolder(); try { - // -- W. Eliot Kimber (eliot@isogen.com) - colFactClassname = -- System.getProperty("com.sun.org.apache.xalan.internal.xsltc.COLLATOR_FACTORY"); -+ SecuritySupport.getSystemProperty("com.sun.org.apache.xalan.internal.xsltc.COLLATOR_FACTORY"); - } - catch (SecurityException e) { - // If we can't read the propery, just use default collator ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java 2012-08-10 09:36:29.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java 2013-04-28 16:29:20.000000000 -0700 -@@ -23,6 +23,7 @@ + initif (hostName, addr, null); + } catch (UnknownHostException e) {} /* cant happen if ifname is null */ + } - package com.sun.org.apache.xalan.internal.xsltc.runtime; + Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { ++ holder6 = new Inet6AddressHolder(); + initif (hostName, addr, nif); + } -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.text.DecimalFormat; - import java.text.DecimalFormatSymbols; - import java.text.FieldPosition; -@@ -1583,7 +1584,7 @@ + Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException { ++ holder6 = new Inet6AddressHolder(); + initstr (hostName, addr, ifname); + } - static { - String resource = "com.sun.org.apache.xalan.internal.xsltc.runtime.ErrorMessages"; -- m_bundle = ResourceBundle.getBundle(resource); -+ m_bundle = SecuritySupport.getResourceBundle(resource); +@@ -325,17 +483,13 @@ } - /** ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/output/WriterOutputBuffer.java 2012-08-10 09:36:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/output/WriterOutputBuffer.java 2013-04-28 16:29:20.000000000 -0700 -@@ -23,6 +23,7 @@ + private void initif(String hostName, byte addr[],NetworkInterface nif) throws UnknownHostException { +- holder().hostName = hostName; ++ int family = -1; ++ holder6.init(addr, nif); ++ + if (addr.length == INADDRSZ) { // normal IPv6 address +- holder().family = IPv6; +- ipaddress = addr.clone(); +- } +- if (nif != null) { +- this.scope_ifname = nif; +- scope_ifname_set = true; +- scope_id = deriveNumericScope (nif); +- scope_id_set = true; ++ family = IPv6; + } ++ holder.init(hostName, family); + } - package com.sun.org.apache.xalan.internal.xsltc.runtime.output; + /* check the two Ipv6 addresses and return false if they are both +@@ -343,18 +497,21 @@ + * (ie. one is sitelocal and the other linklocal) + * return true otherwise. + */ +- private boolean differentLocalAddressTypes(Inet6Address other) { ++ private static boolean differentLocalAddressTypes( ++ byte[] thisAddr, byte[] otherAddr) { -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.io.BufferedWriter; - import java.io.IOException; - import java.io.Writer; -@@ -36,7 +37,7 @@ +- if (isLinkLocalAddress() && !other.isLinkLocalAddress()) { ++ if (Inet6Address.isLinkLocalAddress(thisAddr) && ++ !Inet6Address.isLinkLocalAddress(otherAddr)) { + return false; + } +- if (isSiteLocalAddress() && !other.isSiteLocalAddress()) { ++ if (Inet6Address.isSiteLocalAddress(thisAddr) && ++ !Inet6Address.isSiteLocalAddress(otherAddr)) { + return false; + } + return true; + } - static { - // Set a larger buffer size for Solaris -- final String osName = System.getProperty("os.name"); -+ final String osName = SecuritySupport.getSystemProperty("os.name"); - if (osName.equalsIgnoreCase("solaris")) { - BUFFER_SIZE = 32 * KB; - } ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesImpl.java 2012-08-10 09:36:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesImpl.java 2013-04-28 16:29:20.000000000 -0700 -@@ -43,6 +43,7 @@ - import com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet; - import com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable; - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +- private int deriveNumericScope (NetworkInterface ifc) throws UnknownHostException { ++ private static int deriveNumericScope (byte[] thisAddr, NetworkInterface ifc) throws UnknownHostException { + Enumeration<InetAddress> addresses = ifc.getInetAddresses(); + while (addresses.hasMoreElements()) { + InetAddress addr = addresses.nextElement(); +@@ -363,12 +520,12 @@ + } + Inet6Address ia6_addr = (Inet6Address)addr; + /* check if site or link local prefixes match */ +- if (!differentLocalAddressTypes(ia6_addr)){ ++ if (!differentLocalAddressTypes(thisAddr, ia6_addr.getAddress())){ + /* type not the same, so carry on searching */ + continue; + } + /* found a matching address - return its scope_id */ +- return ia6_addr.scope_id; ++ return ia6_addr.getScopeId(); + } + throw new UnknownHostException ("no scope_id found"); + } +@@ -383,41 +540,61 @@ + while (en.hasMoreElements()) { + NetworkInterface ifc = en.nextElement(); + if (ifc.getName().equals (ifname)) { +- Enumeration addresses = ifc.getInetAddresses(); +- while (addresses.hasMoreElements()) { +- InetAddress addr = (InetAddress)addresses.nextElement(); +- if (!(addr instanceof Inet6Address)) { +- continue; +- } +- Inet6Address ia6_addr = (Inet6Address)addr; +- /* check if site or link local prefixes match */ +- if (!differentLocalAddressTypes(ia6_addr)){ +- /* type not the same, so carry on searching */ +- continue; +- } +- /* found a matching address - return its scope_id */ +- return ia6_addr.scope_id; +- } ++ return deriveNumericScope(holder6.ipaddress, ifc); + } + } + throw new UnknownHostException ("No matching address found for interface : " +ifname); + } - /** - * @author Morten Jorgensen -@@ -52,6 +53,8 @@ - */ - public final class TemplatesImpl implements Templates, Serializable { - static final long serialVersionUID = 673094361519270707L; -+ public final static String DESERIALIZE_TRANSLET = "jdk.xml.enableTemplatesImplDeserialization"; -+ /** - * Name of the superclass of all translets. This is needed to - * determine which, among all classes comprising a translet, -@@ -186,6 +189,15 @@ - private void readObject(ObjectInputStream is) - throws IOException, ClassNotFoundException - { -+ SecurityManager security = System.getSecurityManager(); -+ if (security != null){ -+ String temp = SecuritySupport.getSystemProperty(DESERIALIZE_TRANSLET); -+ if (temp == null || !(temp.length()==0 || temp.equalsIgnoreCase("true"))) { -+ ErrorMsg err = new ErrorMsg(ErrorMsg.DESERIALIZE_TRANSLET_ERR); -+ throw new UnsupportedOperationException(err.toString()); -+ } ++ * @serialField ipaddress byte[] ++ * @serialField scope_id int ++ * @serialField scope_id_set boolean ++ * @serialField scope_ifname_set boolean ++ * @serialField ifname String ++ */ ++ ++ private static final ObjectStreamField[] serialPersistentFields = { ++ new ObjectStreamField("ipaddress", byte[].class), ++ new ObjectStreamField("scope_id", int.class), ++ new ObjectStreamField("scope_id_set", boolean.class), ++ new ObjectStreamField("scope_ifname_set", boolean.class), ++ new ObjectStreamField("ifname", String.class) ++ }; ++ ++ private static final long FIELDS_OFFSET; ++ private static final sun.misc.Unsafe UNSAFE; ++ ++ static { ++ try { ++ sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe(); ++ FIELDS_OFFSET = unsafe.objectFieldOffset( ++ Inet6Address.class.getDeclaredField("holder6")); ++ UNSAFE = unsafe; ++ } catch (ReflectiveOperationException e) { ++ throw new Error(e); + } ++ } + - is.defaultReadObject(); - if (is.readBoolean()) { - _uriResolver = (URIResolver) is.readObject(); ---- jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java 2012-08-10 09:36:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java 2013-04-28 16:29:20.000000000 -0700 -@@ -73,7 +73,7 @@ - import com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager; - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; - import com.sun.org.apache.xalan.internal.utils.FactoryImpl; ++ /** + * restore the state of this object from stream + * including the scope information, only if the + * scoped interface name is valid on this system + */ + private void readObject(ObjectInputStream s) + throws IOException, ClassNotFoundException { +- scope_ifname = null; +- scope_ifname_set = false; ++ NetworkInterface scope_ifname = null; + + if (getClass().getClassLoader() != null) { + throw new SecurityException ("invalid address type"); + } + +- s.defaultReadObject(); ++ ObjectInputStream.GetField gf = s.readFields(); ++ byte[] ipaddress = (byte[])gf.get("ipaddress", null); ++ int scope_id = (int)gf.get("scope_id", -1); ++ boolean scope_id_set = (boolean)gf.get("scope_id_set", false); ++ boolean scope_ifname_set = (boolean)gf.get("scope_ifname_set", false); ++ String ifname = (String)gf.get("ifname", null); + + if (ifname != null && !"".equals (ifname)) { + try { +@@ -430,7 +607,7 @@ + scope_id = 0; + } else { + try { +- scope_id = deriveNumericScope (scope_ifname); ++ scope_id = deriveNumericScope (ipaddress, scope_ifname); + } catch (UnknownHostException e) { + // typically should not happen, but it may be that + // the machine being used for deserialization has +@@ -438,8 +615,8 @@ + } + } + } catch (SocketException e) {} - -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; + } ++ + /* if ifname was not supplied, then the numeric info is used */ - import org.xml.sax.InputSource; - import org.xml.sax.XMLFilter; -@@ -881,8 +881,14 @@ - // Check that the transformation went well before returning - if (bytecodes == null) { - -- ErrorMsg err = new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR); -- TransformerConfigurationException exc = new TransformerConfigurationException(err.toString()); -+ Vector errs = xsltc.getErrors(); -+ ErrorMsg err = null; -+ if (errs != null) { -+ err = (ErrorMsg)errs.get(errs.size()-1); -+ } else { -+ err = new ErrorMsg(ErrorMsg.JAXP_COMPILE_ERR); + ipaddress = ipaddress.clone(); +@@ -450,9 +627,37 @@ + ipaddress.length); + } + +- if (holder().getFamily() != IPv6) { ++ if (holder.getFamily() != IPv6) { + throw new InvalidObjectException("invalid address family type"); + } ++ ++ Inet6AddressHolder h = new Inet6AddressHolder( ++ ipaddress, scope_id, scope_id_set, scope_ifname, scope_ifname_set ++ ); ++ ++ UNSAFE.putObject(this, FIELDS_OFFSET, h); ++ } ++ ++ /** ++ * default behavior is overridden in order to write the ++ * scope_ifname field as a String, rather than a NetworkInterface ++ * which is not serializable ++ */ ++ private synchronized void writeObject(ObjectOutputStream s) ++ throws IOException ++ { ++ String ifname = null; ++ ++ if (holder6.scope_ifname_set) { ++ ifname = holder6.scope_ifname.getName(); + } -+ TransformerConfigurationException exc = new TransformerConfigurationException(err.toString(), err.getCause()); ++ ObjectOutputStream.PutField pfields = s.putFields(); ++ pfields.put("ipaddress", holder6.ipaddress); ++ pfields.put("scope_id", holder6.scope_id); ++ pfields.put("scope_id_set", holder6.scope_id_set); ++ pfields.put("scope_ifname_set", holder6.scope_ifname_set); ++ pfields.put("ifname", ifname); ++ s.writeFields(); + } + + /** +@@ -466,7 +671,7 @@ + */ + @Override + public boolean isMulticastAddress() { +- return ((ipaddress[0] & 0xff) == 0xff); ++ return holder6.isMulticastAddress(); + } - // Pass compiler errors to the error listener - if (_errorListener != null) { -@@ -1229,7 +1235,7 @@ - // Find the parent directory of the translet. - String transletParentDir = transletFile.getParent(); - if (transletParentDir == null) -- transletParentDir = System.getProperty("user.dir"); -+ transletParentDir = SecuritySupport.getSystemProperty("user.dir"); + /** +@@ -477,11 +682,7 @@ + */ + @Override + public boolean isAnyLocalAddress() { +- byte test = 0x00; +- for (int i = 0; i < INADDRSZ; i++) { +- test |= ipaddress[i]; +- } +- return (test == 0x00); ++ return holder6.isAnyLocalAddress(); + } - File transletParentFile = new File(transletParentDir); + /** +@@ -493,11 +694,7 @@ + */ + @Override + public boolean isLoopbackAddress() { +- byte test = 0x00; +- for (int i = 0; i < 15; i++) { +- test |= ipaddress[i]; +- } +- return (test == 0x00) && (ipaddress[15] == 0x01); ++ return holder6.isLoopbackAddress(); + } ---- jaxp/src/com/sun/org/apache/xerces/internal/dom/DOMMessageFormatter.java 2012-08-10 09:36:33.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/dom/DOMMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,10 +20,10 @@ + /** +@@ -509,6 +706,11 @@ + */ + @Override + public boolean isLinkLocalAddress() { ++ return holder6.isLinkLocalAddress(); ++ } ++ ++ /* static version of above */ ++ static boolean isLinkLocalAddress(byte[] ipaddress) { + return ((ipaddress[0] & 0xff) == 0xfe + && (ipaddress[1] & 0xc0) == 0x80); + } +@@ -522,6 +724,11 @@ + */ + @Override + public boolean isSiteLocalAddress() { ++ return holder6.isSiteLocalAddress(); ++ } ++ ++ /* static version of above */ ++ static boolean isSiteLocalAddress(byte[] ipaddress) { + return ((ipaddress[0] & 0xff) == 0xfe + && (ipaddress[1] & 0xc0) == 0xc0); + } +@@ -536,8 +743,7 @@ + */ + @Override + public boolean isMCGlobal() { +- return ((ipaddress[0] & 0xff) == 0xff +- && (ipaddress[1] & 0x0f) == 0x0e); ++ return holder6.isMCGlobal(); + } + /** +@@ -550,8 +756,7 @@ + */ + @Override + public boolean isMCNodeLocal() { +- return ((ipaddress[0] & 0xff) == 0xff +- && (ipaddress[1] & 0x0f) == 0x01); ++ return holder6.isMCNodeLocal(); + } - package com.sun.org.apache.xerces.internal.dom; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; + /** +@@ -564,8 +769,7 @@ + */ + @Override + public boolean isMCLinkLocal() { +- return ((ipaddress[0] & 0xff) == 0xff +- && (ipaddress[1] & 0x0f) == 0x02); ++ return holder6.isMCLinkLocal(); + } - /** - * Used to format DOM error messages, using the system locale. -@@ -31,6 +31,7 @@ - * @xerces.internal - * - * @author Sandy Gao, IBM -+ * @version $Id: DOMMessageFormatter.java,v 1.6 2010-11-01 04:39:38 joehw Exp $ - */ - public class DOMMessageFormatter { - public static final String DOM_DOMAIN = "http://www.w3.org/dom/DOMTR"; -@@ -122,13 +123,13 @@ + /** +@@ -578,8 +782,7 @@ */ - public static void init(){ - if (locale != null) { -- domResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.DOMMessages", locale); -- serResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages", locale); -- xmlResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ domResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.DOMMessages", locale); -+ serResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages", locale); -+ xmlResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - }else{ -- domResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.DOMMessages"); -- serResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages"); -- xmlResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ domResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.DOMMessages"); -+ serResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages"); -+ xmlResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); - } + @Override + public boolean isMCSiteLocal() { +- return ((ipaddress[0] & 0xff) == 0xff +- && (ipaddress[1] & 0x0f) == 0x05); ++ return holder6.isMCSiteLocal(); } ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java 2012-08-10 09:36:39.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java 2013-04-28 16:29:20.000000000 -0700 -@@ -51,6 +51,7 @@ - import com.sun.org.apache.xerces.internal.xni.XNIException; - import com.sun.org.apache.xerces.internal.xni.parser.*; - import com.sun.org.apache.xerces.internal.impl.Constants; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import com.sun.xml.internal.stream.Entity; - import com.sun.org.apache.xerces.internal.xni.Augmentations; + /** +@@ -593,10 +796,8 @@ + */ + @Override + public boolean isMCOrgLocal() { +- return ((ipaddress[0] & 0xff) == 0xff +- && (ipaddress[1] & 0x0f) == 0x08); ++ return holder6.isMCOrgLocal(); + } +- + /** + * Returns the raw IP address of this <code>InetAddress</code> + * object. The result is in network byte order: the highest order +@@ -606,7 +807,7 @@ + */ + @Override + public byte[] getAddress() { +- return ipaddress.clone(); ++ return holder6.ipaddress.clone(); + } -@@ -1727,7 +1728,7 @@ - // get the user.dir property - String userDir = ""; - try { -- userDir = System.getProperty("user.dir"); -+ userDir = SecuritySupport.getSystemProperty("user.dir"); - } - catch (SecurityException se) { - } ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/DatatypeException.java 2012-08-10 09:36:42.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/DatatypeException.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,6 +20,7 @@ + /** +@@ -617,7 +818,7 @@ + * @since 1.5 + */ + public int getScopeId () { +- return scope_id; ++ return holder6.scope_id; + } - package com.sun.org.apache.xerces.internal.impl.dv; + /** +@@ -628,7 +829,7 @@ + * @since 1.5 + */ + public NetworkInterface getScopedInterface () { +- return scope_ifname; ++ return holder6.scope_ifname; + } -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.ResourceBundle; - import java.util.PropertyResourceBundle; - import java.util.MissingResourceException; -@@ -34,6 +35,7 @@ - * - * @author Sandy Gao, IBM - * -+ * @version $Id: DatatypeException.java,v 1.6 2010-11-01 04:39:43 joehw Exp $ - */ - public class DatatypeException extends Exception { + /** +@@ -641,13 +842,7 @@ + */ + @Override + public String getHostAddress() { +- String s = numericToTextFormat(ipaddress); +- if (scope_ifname_set) { /* must check this first */ +- s = s + "%" + scope_ifname.getName(); +- } else if (scope_id_set) { +- s = s + "%" + scope_id; +- } +- return s; ++ return holder6.getHostAddress(); + } -@@ -84,7 +86,7 @@ + /** +@@ -657,25 +852,7 @@ */ - public String getMessage() { - ResourceBundle resourceBundle = null; -- resourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"); -+ resourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"); - if (resourceBundle == null) - throw new MissingResourceException("Property file not found!", "com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", key); - ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,12 +20,11 @@ - - package com.sun.org.apache.xerces.internal.impl.msg; - -+import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; + @Override + public int hashCode() { +- if (ipaddress != null) { +- +- int hash = 0; +- int i=0; +- while (i<INADDRSZ) { +- int j=0; +- int component=0; +- while (j<4 && i<INADDRSZ) { +- component = (component << 8) + ipaddress[i]; +- j++; +- i++; +- } +- hash += component; +- } +- return hash; - --import com.sun.org.apache.xerces.internal.util.MessageFormatter; +- } else { +- return 0; +- } ++ return holder6.hashCode(); + } - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +33,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter.java 3020 2011-02-28 23:51:33Z joehw $ -+ * @version $Id: XMLMessageFormatter.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter implements MessageFormatter { -@@ -72,12 +71,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); - } + /** +@@ -702,12 +879,7 @@ - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_de.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_de.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; + Inet6Address inetAddr = (Inet6Address)obj; - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; +- for (int i = 0; i < INADDRSZ; i++) { +- if (ipaddress[i] != inetAddr.ipaddress[i]) +- return false; +- } +- +- return true; ++ return holder6.equals(inetAddr.holder6); + } - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_de.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_de.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_de implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); + /** +@@ -719,15 +891,7 @@ + * @since 1.4 + */ + public boolean isIPv4CompatibleAddress() { +- if ((ipaddress[0] == 0x00) && (ipaddress[1] == 0x00) && +- (ipaddress[2] == 0x00) && (ipaddress[3] == 0x00) && +- (ipaddress[4] == 0x00) && (ipaddress[5] == 0x00) && +- (ipaddress[6] == 0x00) && (ipaddress[7] == 0x00) && +- (ipaddress[8] == 0x00) && (ipaddress[9] == 0x00) && +- (ipaddress[10] == 0x00) && (ipaddress[11] == 0x00)) { +- return true; +- } +- return false; ++ return holder6.isIPv4CompatibleAddress(); + } + + // Utilities +@@ -757,23 +921,4 @@ + * Perform class load-time initializations. + */ + private static native void init(); +- +- /** +- * Following field is only used during (de)/serialization +- */ +- private String ifname; +- +- /** +- * default behavior is overridden in order to write the +- * scope_ifname field as a String, rather than a NetworkInterface +- * which is not serializable +- */ +- private synchronized void writeObject(java.io.ObjectOutputStream s) +- throws IOException +- { +- if (scope_ifname_set) { +- ifname = scope_ifname.getName(); +- } +- s.defaultWriteObject(); +- } + } +--- jdk/src/share/classes/java/net/InetAddress.java 2013-09-06 11:28:11.000000000 -0700 ++++ jdk/src/share/classes/java/net/InetAddress.java 2013-12-01 11:14:29.000000000 -0800 +@@ -213,6 +213,13 @@ + this.family = family; } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_es.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_es.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; ++ void init(String hostName, int family) { ++ this.hostName = hostName; ++ if (family != -1) { ++ this.family = family; ++ } ++ } ++ + String hostName; + + String getHostName() { +@@ -1594,7 +1601,6 @@ + pf.put("address", holder().address); + pf.put("family", holder().family); + s.writeFields(); +- s.flush(); + } + } - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; +--- jdk/src/share/classes/java/net/Socket.java 2013-09-06 11:28:11.000000000 -0700 ++++ jdk/src/share/classes/java/net/Socket.java 2014-01-18 12:16:24.000000000 -0800 +@@ -624,6 +624,10 @@ + InetAddress addr = epoint.getAddress(); + int port = epoint.getPort(); + checkAddress (addr, "bind"); ++ SecurityManager security = System.getSecurityManager(); ++ if (security != null) { ++ security.checkListen(port); ++ } + getImpl().bind (addr, port); + bound = true; + } +--- jdk/src/share/classes/java/net/SocketPermission.java 2013-09-06 11:28:11.000000000 -0700 ++++ jdk/src/share/classes/java/net/SocketPermission.java 2014-01-18 12:16:24.000000000 -0800 +@@ -34,6 +34,9 @@ + import java.net.InetAddress; + import java.security.Permission; + import java.security.PermissionCollection; ++import java.security.PrivilegedAction; ++import java.security.AccessController; ++import java.security.Security; + import java.io.Serializable; + import java.io.ObjectStreamField; + import java.io.ObjectOutputStream; +@@ -41,6 +44,7 @@ + import java.io.IOException; + import sun.net.util.IPAddressUtil; + import sun.net.RegisteredDomain; ++import sun.net.PortConfig; + import sun.security.util.SecurityConstants; + import sun.security.util.Debug; + +@@ -176,6 +180,7 @@ + private static final int PORT_MIN = 0; + private static final int PORT_MAX = 65535; + private static final int PRIV_PORT_MAX = 1023; ++ private static final int DEF_EPH_LOW = 49152; + + // the actions mask + private transient int mask; +@@ -226,6 +231,14 @@ + private static Debug debug = null; + private static boolean debugInit = false; + ++ // ephemeral port range for this system ++ private static final int ephemeralLow = initEphemeralPorts( ++ "low", DEF_EPH_LOW ++ ); ++ private static final int ephemeralHigh = initEphemeralPorts( ++ "high", PORT_MAX ++ ); ++ + static { + Boolean tmp = java.security.AccessController.doPrivileged( + new sun.security.action.GetBooleanAction("sun.net.trustNameService")); +@@ -362,6 +375,14 @@ + } - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_es.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_es.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_es implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; + /** ++ * Returns true if the permission has specified zero ++ * as its value (or lower bound) signifying the ephemeral range ++ */ ++ private boolean includesEphemerals() { ++ return portrange[0] == 0; ++ } ++ ++ /** + * Initialize the SocketPermission object. We don't do any DNS lookups + * as this point, instead we hold off until the implies method is + * called. +@@ -853,10 +874,21 @@ + int i,j; + + if ((that.mask & RESOLVE) != that.mask) { +- // check port range ++ ++ // check simple port range + if ((that.portrange[0] < this.portrange[0]) || + (that.portrange[1] > this.portrange[1])) { ++ ++ // if either includes the ephemeral range, do full check ++ if (this.includesEphemerals() || that.includesEphemerals()) { ++ if (!inRange(this.portrange[0], this.portrange[1], ++ that.portrange[0], that.portrange[1])) ++ { ++ return false; ++ } ++ } else { + return false; ++ } } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_fr.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_fr.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; +@@ -1165,6 +1197,78 @@ + init(getName(),getMask(actions)); + } - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; ++ /** ++ * Check the system/security property for the ephemeral port range ++ * for this system. The suffix is either "high" or "low" ++ */ ++ private static int initEphemeralPorts( ++ final String suffix, final int defval ++ ) ++ { ++ return AccessController.doPrivileged( ++ new PrivilegedAction<Integer>(){ ++ public Integer run() { ++ int val = Integer.getInteger( ++ "jdk.net.ephemeralPortRange."+suffix, -1 ++ ); ++ if (val != -1) { ++ return val; ++ } else { ++ return suffix.equals("low") ? ++ PortConfig.getLower() : PortConfig.getUpper(); ++ } ++ } ++ } ++ ); ++ } ++ ++ /** ++ * Check if the target range is within the policy range ++ * together with the ephemeral range for this platform ++ * (if policy includes ephemeral range) ++ */ ++ private static boolean inRange( ++ int policyLow, int policyHigh, int targetLow, int targetHigh ++ ) ++ { ++ if (targetLow == 0) { ++ // check policy includes ephemeral range ++ if (!inRange(policyLow, policyHigh, ephemeralLow, ephemeralHigh)) { ++ return false; ++ } ++ if (targetHigh == 0) { ++ // nothing left to do ++ return true; ++ } ++ // continue check with first real port number ++ targetLow = 1; ++ } ++ ++ if (policyLow == 0 && policyHigh == 0) { ++ // ephemeral range only ++ return targetLow >= ephemeralLow && targetHigh <= ephemeralHigh; ++ } ++ ++ if (policyLow != 0) { ++ // simple check of policy only ++ return targetLow >= policyLow && targetHigh <= policyHigh; ++ } ++ ++ // policyLow == 0 which means possibly two ranges to check ++ ++ // first check if policy and ephem range overlap/contiguous ++ ++ if (policyHigh >= ephemeralLow - 1) { ++ return targetHigh <= ephemeralHigh; ++ } ++ ++ // policy and ephem range do not overlap ++ ++ // target range must lie entirely inside policy range or eph range ++ ++ return (targetLow <= policyHigh && targetHigh <= policyHigh) || ++ (targetLow >= ephemeralLow && targetHigh <= ephemeralHigh); ++ } + /* + public String toString() + { +--- jdk/src/share/classes/java/util/TimeZone.java 2013-09-06 11:28:15.000000000 -0700 ++++ jdk/src/share/classes/java/util/TimeZone.java 2014-01-18 12:16:33.000000000 -0800 +@@ -165,6 +165,11 @@ + // Proclaim serialization compatibility with JDK 1.1 + static final long serialVersionUID = 3581463369166924961L; + ++ // TimeZone.setDefault maintains the compatible behavior of the AppContext-based ++ // default setting for untrusted code if allowSetDefault is true. ++ private static final boolean allowSetDefault = AccessController.doPrivileged( ++ new sun.security.action.GetPropertyAction("jdk.util.TimeZone.allowSetDefault")) != null; ++ + /** + * Gets the time zone offset, for current date, modified in case of + * daylight savings. This is the offset to add to UTC to get local time. +@@ -689,6 +694,9 @@ + sm.checkPermission(new PropertyPermission + ("user.timezone", "write")); + } catch (SecurityException e) { ++ if (!allowSetDefault) { ++ throw e; ++ } + hasPermission = false; + } + } +@@ -719,6 +727,7 @@ + * Returns the default TimeZone in an AppContext if any AppContext + * has ever used. null is returned if any AppContext hasn't been + * used or if the AppContext doesn't have the default TimeZone. ++ * null is also returned if allowSetDefault is false. + * + * Note that javaAWTAccess may be null if sun.awt.AppContext class hasn't + * been loaded. If so, it implies that AWTSecurityManager is not our +@@ -726,18 +735,20 @@ + * This works around a build time issue. + */ + private static TimeZone getDefaultInAppContext() { +- // JavaAWTAccess provides access implementation-private methods without using reflection. +- JavaAWTAccess javaAWTAccess = SharedSecrets.getJavaAWTAccess(); +- if (javaAWTAccess == null) { +- return mainAppContextDefault; +- } else { +- if (!javaAWTAccess.isDisposed()) { +- TimeZone tz = (TimeZone) +- javaAWTAccess.get(TimeZone.class); +- if (tz == null && javaAWTAccess.isMainAppContext()) { +- return mainAppContextDefault; +- } else { +- return tz; ++ if (allowSetDefault) { ++ // JavaAWTAccess provides access implementation-private methods without using reflection. ++ JavaAWTAccess javaAWTAccess = SharedSecrets.getJavaAWTAccess(); ++ if (javaAWTAccess == null) { ++ return mainAppContextDefault; ++ } else { ++ if (!javaAWTAccess.isDisposed()) { ++ TimeZone tz = (TimeZone) ++ javaAWTAccess.get(TimeZone.class); ++ if (tz == null && javaAWTAccess.isMainAppContext()) { ++ return mainAppContextDefault; ++ } else { ++ return tz; ++ } + } + } + } +@@ -745,9 +756,9 @@ + } - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_fr.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_fr.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_fr implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; + /** +- * Sets the default TimeZone in the AppContext to the given +- * tz. null is handled special: do nothing if any AppContext +- * hasn't been used, remove the default TimeZone in the ++ * Sets the default TimeZone in the AppContext to the given tz if ++ * allowSetDefault is true. null is handled special: do nothing if any ++ * AppContext hasn't been used, remove the default TimeZone in the + * AppContext otherwise. + * + * Note that javaAWTAccess may be null if sun.awt.AppContext class hasn't +@@ -756,15 +767,17 @@ + * This works around a build time issue. + */ + private static void setDefaultInAppContext(TimeZone tz) { +- // JavaAWTAccess provides access implementation-private methods without using reflection. +- JavaAWTAccess javaAWTAccess = SharedSecrets.getJavaAWTAccess(); +- if (javaAWTAccess == null) { +- mainAppContextDefault = tz; +- } else { +- if (!javaAWTAccess.isDisposed()) { +- javaAWTAccess.put(TimeZone.class, tz); +- if (javaAWTAccess.isMainAppContext()) { +- mainAppContextDefault = null; ++ if (allowSetDefault) { ++ // JavaAWTAccess provides access implementation-private methods without using reflection. ++ JavaAWTAccess javaAWTAccess = SharedSecrets.getJavaAWTAccess(); ++ if (javaAWTAccess == null) { ++ mainAppContextDefault = tz; ++ } else { ++ if (!javaAWTAccess.isDisposed()) { ++ javaAWTAccess.put(TimeZone.class, tz); ++ if (javaAWTAccess.isMainAppContext()) { ++ mainAppContextDefault = null; ++ } + } } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); } +@@ -907,15 +920,13 @@ + } + int gmtOffset = (hours * 60 + num) * 60 * 1000; - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_it.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_it.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; ++ zi = ZoneInfoFile.getCustomTimeZone(id, negative ? -gmtOffset : gmtOffset); + if (gmtOffset == 0) { +- zi = ZoneInfoFile.getZoneInfo(GMT_ID); + if (negative) { + zi.setID("GMT-00:00"); + } else { + zi.setID("GMT+00:00"); + } +- } else { +- zi = ZoneInfoFile.getCustomTimeZone(id, negative ? -gmtOffset : gmtOffset); + } + return zi; + } +--- jdk/src/share/classes/java/util/jar/JarVerifier.java 2013-09-06 11:28:16.000000000 -0700 ++++ jdk/src/share/classes/java/util/jar/JarVerifier.java 2014-01-18 12:16:24.000000000 -0800 +@@ -169,7 +169,9 @@ + name = name.substring(1); + + // only set the jev object for entries that have a signature +- if (sigFileSigners.get(name) != null) { ++ // (either verified or not) ++ if (sigFileSigners.get(name) != null || ++ verifiedSigners.get(name) != null) { + mev.setEntry(name, je); + return; + } +--- jdk/src/share/classes/java/util/logging/LogManager.java 2013-09-06 11:28:16.000000000 -0700 ++++ jdk/src/share/classes/java/util/logging/LogManager.java 2014-01-18 12:16:24.000000000 -0800 +@@ -257,6 +257,11 @@ + * retrieved by calling Logmanager.getLogManager. + */ + protected LogManager() { ++ this(checkSubclassPermissions()); ++ } ++ ++ private LogManager(Void checked) { ++ + // Add a shutdown hook to close the global handlers. + try { + Runtime.getRuntime().addShutdownHook(new Cleaner()); +@@ -266,6 +271,19 @@ + } + } + ++ private static Void checkSubclassPermissions() { ++ final SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ // These permission will be checked in the LogManager constructor, ++ // in order to register the Cleaner() thread as a shutdown hook. ++ // Check them here to avoid the penalty of constructing the object ++ // etc... ++ sm.checkPermission(new RuntimePermission("shutdownHooks")); ++ sm.checkPermission(new RuntimePermission("setContextClassLoader")); ++ } ++ return null; ++ } ++ + /** + * Return the global LogManager object. + */ +--- jdk/src/share/classes/javax/management/BadAttributeValueExpException.java 2013-09-06 11:28:18.000000000 -0700 ++++ jdk/src/share/classes/javax/management/BadAttributeValueExpException.java 2013-12-01 11:14:30.000000000 -0800 +@@ -25,6 +25,9 @@ - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; + package javax.management; + ++import java.io.IOException; ++import java.io.ObjectInputStream; ++ /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_it.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_it.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_it implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); - } + * Thrown when an invalid MBean attribute is passed to a query +@@ -51,7 +54,7 @@ + * @param val the inappropriate value. + */ + public BadAttributeValueExpException (Object val) { +- this.val = val; ++ this.val = val == null ? null : val.toString(); + } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_ja.java 2012-08-10 09:36:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_ja.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; +@@ -62,4 +65,25 @@ + return "BadAttributeValueException: " + val; + } + ++ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ++ ObjectInputStream.GetField gf = ois.readFields(); ++ Object valObj = gf.get("val", null); ++ ++ if (valObj == null) { ++ val = null; ++ } else if (valObj instanceof String) { ++ val= valObj; ++ } else if (System.getSecurityManager() == null ++ || valObj instanceof Long ++ || valObj instanceof Integer ++ || valObj instanceof Float ++ || valObj instanceof Double ++ || valObj instanceof Byte ++ || valObj instanceof Short ++ || valObj instanceof Boolean) { ++ val = valObj.toString(); ++ } else { // the serialized object is from a version without JDK-8019292 fix ++ val = System.identityHashCode(valObj) + "@" + valObj.getClass().getName(); ++ } ++ } + } +--- jdk/src/share/classes/javax/management/MBeanNotificationInfo.java 2013-09-06 11:28:18.000000000 -0700 ++++ jdk/src/share/classes/javax/management/MBeanNotificationInfo.java 2013-12-01 11:14:30.000000000 -0800 +@@ -25,6 +25,9 @@ + + package javax.management; + ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + import java.util.Arrays; /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_ja.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_ja.java 3094 2012-03-21 05:50:01Z joehw $ +@@ -67,7 +70,7 @@ + /** + * @serial The different types of the notification. + */ +- private final String[] types; ++ private String[] types; + + /** @see MBeanInfo#arrayGettersSafe */ + private final transient boolean arrayGettersSafe; +@@ -114,9 +117,8 @@ + notifType, though it doesn't explicitly allow it + either. */ + +- if (notifTypes == null) +- notifTypes = NO_TYPES; +- this.types = notifTypes; ++ this.types = (notifTypes != null && notifTypes.length > 0) ? ++ notifTypes.clone() : NO_TYPES; + this.arrayGettersSafe = + MBeanInfo.arrayGettersSafe(this.getClass(), + MBeanNotificationInfo.class); +@@ -203,4 +205,11 @@ + hash ^= types[i].hashCode(); + return hash; + } ++ ++ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ++ ObjectInputStream.GetField gf = ois.readFields(); ++ String[] t = (String[])gf.get("types", null); ++ ++ types = (t != null && t.length != 0) ? t.clone() : NO_TYPES; ++ } + } +--- jdk/src/share/classes/javax/management/MBeanTrustPermission.java 2013-09-06 11:28:18.000000000 -0700 ++++ jdk/src/share/classes/javax/management/MBeanTrustPermission.java 2013-12-01 11:14:30.000000000 -0800 +@@ -26,6 +26,9 @@ + package javax.management; + + import java.security.BasicPermission; ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + + /** + * This permission represents "trust" in a signer or codebase. +@@ -75,15 +78,31 @@ + */ + public MBeanTrustPermission(String name, String actions) { + super(name, actions); ++ validate(name,actions); ++ } ++ ++ private static void validate(String name, String actions) { + /* Check that actions is a null empty string */ +- if (actions != null && actions.length() > 0) +- throw new IllegalArgumentException("MBeanTrustPermission " + +- "actions must be null: " + ++ if (actions != null && actions.length() > 0) { ++ throw new IllegalArgumentException("MBeanTrustPermission actions must be null: " + + actions); ++ } + +- if (!name.equals("register") && !name.equals("*")) +- throw new IllegalArgumentException("MBeanTrustPermission: " + +- "Unknown target name " + ++ if (!name.equals("register") && !name.equals("*")) { ++ throw new IllegalArgumentException("MBeanTrustPermission: Unknown target name " + + "[" + name + "]"); ++ } ++ } ++ ++ private void readObject(ObjectInputStream in) ++ throws IOException, ClassNotFoundException { ++ ++ // Reading private fields of base class ++ in.defaultReadObject(); ++ try { ++ validate(super.getName(),super.getActions()); ++ } catch (IllegalArgumentException e) { ++ throw new InvalidObjectException(e.getMessage()); ++ } + } + } +--- jdk/src/share/classes/javax/management/modelmbean/RequiredModelMBean.java 2013-09-06 11:28:18.000000000 -0700 ++++ jdk/src/share/classes/javax/management/modelmbean/RequiredModelMBean.java 2013-12-01 11:14:30.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - */ - public class XMLMessageFormatter_ja implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); + * This code is free software; you can redistribute it and/or modify it +@@ -298,11 +298,15 @@ + RequiredModelMBean.class.getName(), + "setModelMBeanInfo(ModelMBeanInfo)", + "Setting ModelMBeanInfo to " + printModelMBeanInfo(mbi)); ++ int noOfNotifications = 0; ++ if (mbi.getNotifications() != null) { ++ noOfNotifications = mbi.getNotifications().length; ++ } + MODELMBEAN_LOGGER.logp(Level.FINER, + RequiredModelMBean.class.getName(), + "setModelMBeanInfo(ModelMBeanInfo)", + "ModelMBeanInfo notifications has " + +- (mbi.getNotifications()).length + " elements"); ++ noOfNotifications + " elements"); } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_ko.java 2012-08-10 09:36:53.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_ko.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; + modelMBeanInfo = (ModelMBeanInfo)mbi.clone(); +@@ -2997,4 +3001,4 @@ + Void.class.getName() + }; + } +-} +\ No newline at end of file ++} +--- jdk/src/share/classes/javax/management/remote/JMXPrincipal.java 2013-09-06 11:28:19.000000000 -0700 ++++ jdk/src/share/classes/javax/management/remote/JMXPrincipal.java 2013-12-01 11:14:30.000000000 -0800 +@@ -26,6 +26,9 @@ - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; + package javax.management.remote; - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_ko.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_ko.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_ko implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + import java.io.Serializable; + import java.security.Principal; + +@@ -64,9 +67,7 @@ + * <code>null</code>. + */ + public JMXPrincipal(String name) { +- if (name == null) +- throw new NullPointerException("illegal null input"); +- ++ validate(name); + this.name = name; + } + +@@ -130,4 +131,20 @@ + public int hashCode() { + return name.hashCode(); + } ++ ++ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ++ ObjectInputStream.GetField gf = ois.readFields(); ++ String principalName = (String)gf.get("name", null); ++ try { ++ validate(principalName); ++ this.name = principalName; ++ } catch (NullPointerException e) { ++ throw new InvalidObjectException(e.getMessage()); ++ } ++ } ++ ++ private static void validate(String name) throws NullPointerException { ++ if (name == null) ++ throw new NullPointerException("illegal null input"); ++ } + } +--- jdk/src/share/classes/javax/management/remote/JMXServiceURL.java 2013-09-06 11:28:19.000000000 -0700 ++++ jdk/src/share/classes/javax/management/remote/JMXServiceURL.java 2013-12-01 11:14:30.000000000 -0800 +@@ -29,6 +29,9 @@ + + import com.sun.jmx.remote.util.ClassLogger; + import com.sun.jmx.remote.util.EnvHelp; ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + + import java.io.Serializable; + import java.net.InetAddress; +@@ -297,7 +300,7 @@ + If we're given an explicit host name that is illegal we + have to reject it. (Bug 5057532.) */ + try { +- validateHost(host); ++ validateHost(host, port); + } catch (MalformedURLException e) { + if (logger.fineOn()) { + logger.fine("JMXServiceURL", +@@ -336,36 +339,82 @@ + validate(); + } + +- private void validate() throws MalformedURLException { ++ private static final String INVALID_INSTANCE_MSG = ++ "Trying to deserialize an invalid instance of JMXServiceURL"; ++ private void readObject(ObjectInputStream inputStream) throws IOException, ClassNotFoundException { ++ ObjectInputStream.GetField gf = inputStream.readFields(); ++ String h = (String)gf.get("host", null); ++ int p = (int)gf.get("port", -1); ++ String proto = (String)gf.get("protocol", null); ++ String url = (String)gf.get("urlPath", null); + +- // Check protocol ++ if (proto == null || url == null || h == null) { ++ StringBuilder sb = new StringBuilder(INVALID_INSTANCE_MSG).append('['); ++ boolean empty = true; ++ if (proto == null) { ++ sb.append("protocol=null"); ++ empty = false; ++ } ++ if (h == null) { ++ sb.append(empty ? "" : ",").append("host=null"); ++ empty = false; ++ } ++ if (url == null) { ++ sb.append(empty ? "" : ",").append("urlPath=null"); ++ } ++ sb.append(']'); ++ throw new InvalidObjectException(sb.toString()); ++ } + +- final int protoEnd = indexOfFirstNotInSet(protocol, protocolBitSet, 0); +- if (protoEnd == 0 || protoEnd < protocol.length() +- || !alphaBitSet.get(protocol.charAt(0))) { ++ if (h.contains("[") || h.contains("]")) { ++ throw new InvalidObjectException("Invalid host name: " + h); ++ } ++ ++ try { ++ validate(proto, h, p, url); ++ this.protocol = proto; ++ this.host = h; ++ this.port = p; ++ this.urlPath = url; ++ } catch (MalformedURLException e) { ++ throw new InvalidObjectException(INVALID_INSTANCE_MSG + ": " + ++ e.getMessage()); ++ } ++ ++ } ++ ++ private void validate(String proto, String h, int p, String url) ++ throws MalformedURLException { ++ // Check protocol ++ final int protoEnd = indexOfFirstNotInSet(proto, protocolBitSet, 0); ++ if (protoEnd == 0 || protoEnd < proto.length() ++ || !alphaBitSet.get(proto.charAt(0))) { + throw new MalformedURLException("Missing or invalid protocol " + +- "name: \"" + protocol + "\""); ++ "name: \"" + proto + "\""); } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_pt_BR.java 2012-08-10 09:36:53.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_pt_BR.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; + // Check host +- +- validateHost(); ++ validateHost(h, p); - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; + // Check port +- +- if (port < 0) +- throw new MalformedURLException("Bad port: " + port); ++ if (p < 0) ++ throw new MalformedURLException("Bad port: " + p); - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_pt_BR.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_pt_BR.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_pt_BR implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); + // Check URL path +- +- if (urlPath.length() > 0) { +- if (!urlPath.startsWith("/") && !urlPath.startsWith(";")) +- throw new MalformedURLException("Bad URL path: " + urlPath); ++ if (url.length() > 0) { ++ if (!url.startsWith("/") && !url.startsWith(";")) ++ throw new MalformedURLException("Bad URL path: " + url); } + } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_sv.java 2012-08-10 09:36:53.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_sv.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; +- private void validateHost() throws MalformedURLException { +- if (host.length() == 0) { ++ private void validate() throws MalformedURLException { ++ validate(this.protocol, this.host, this.port, this.urlPath); ++ } ++ ++ private static void validateHost(String h, int port) ++ throws MalformedURLException { ++ ++ if (h.length() == 0) { + if (port != 0) { + throw new MalformedURLException("Cannot give port number " + + "without host name"); +@@ -373,12 +422,6 @@ + return; + } + +- validateHost(host); +- } +- +- private static void validateHost(String h) +- throws MalformedURLException { +- + if (isNumericIPv6Address(h)) { + /* We assume J2SE >= 1.4 here. Otherwise you can't + use the address anyway. We can't call +@@ -663,22 +706,22 @@ + /** + * The value returned by {@link #getProtocol()}. + */ +- private final String protocol; ++ private String protocol; + + /** + * The value returned by {@link #getHost()}. + */ +- private final String host; ++ private String host; + + /** + * The value returned by {@link #getPort()}. + */ +- private final int port; ++ private int port; - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; + /** + * The value returned by {@link #getURLPath()}. + */ +- private final String urlPath; ++ private String urlPath; + + /** + * Cached result of {@link #toString()}. +--- jdk/src/share/classes/javax/management/remote/NotificationResult.java 2013-09-06 11:28:19.000000000 -0700 ++++ jdk/src/share/classes/javax/management/remote/NotificationResult.java 2013-12-01 11:14:30.000000000 -0800 +@@ -25,6 +25,9 @@ + + package javax.management.remote; + ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + import java.io.Serializable; /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_sv.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_sv.java 3094 2012-03-21 05:50:01Z joehw $ +@@ -76,17 +79,7 @@ + public NotificationResult(long earliestSequenceNumber, + long nextSequenceNumber, + TargetedNotification[] targetedNotifications) { +- if (targetedNotifications == null) { +- final String msg = "Notifications null"; +- throw new IllegalArgumentException(msg); +- } +- +- if (earliestSequenceNumber < 0 || nextSequenceNumber < 0) +- throw new IllegalArgumentException("Bad sequence numbers"); +- /* We used to check nextSequenceNumber >= earliestSequenceNumber +- here. But in fact the opposite can legitimately be true if +- notifications have been lost. */ +- ++ validate(targetedNotifications, earliestSequenceNumber, nextSequenceNumber); + this.earliestSequenceNumber = earliestSequenceNumber; + this.nextSequenceNumber = nextSequenceNumber; + this.targetedNotifications = (targetedNotifications.length == 0 ? targetedNotifications : targetedNotifications.clone()); +@@ -138,7 +131,40 @@ + getTargetedNotifications().length; + } + +- private final long earliestSequenceNumber; +- private final long nextSequenceNumber; +- private final TargetedNotification[] targetedNotifications; ++ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ++ ois.defaultReadObject(); ++ try { ++ validate( ++ this.targetedNotifications, ++ this.earliestSequenceNumber, ++ this.nextSequenceNumber ++ ); ++ ++ this.targetedNotifications = this.targetedNotifications.length == 0 ? ++ this.targetedNotifications : ++ this.targetedNotifications.clone(); ++ } catch (IllegalArgumentException e) { ++ throw new InvalidObjectException(e.getMessage()); ++ } ++ } ++ ++ private long earliestSequenceNumber; ++ private long nextSequenceNumber; ++ private TargetedNotification[] targetedNotifications; ++ ++ private static void validate(TargetedNotification[] targetedNotifications, ++ long earliestSequenceNumber, ++ long nextSequenceNumber) ++ throws IllegalArgumentException { ++ if (targetedNotifications == null) { ++ final String msg = "Notifications null"; ++ throw new IllegalArgumentException(msg); ++ } ++ ++ if (earliestSequenceNumber < 0 || nextSequenceNumber < 0) ++ throw new IllegalArgumentException("Bad sequence numbers"); ++ /* We used to check nextSequenceNumber >= earliestSequenceNumber ++ here. But in fact the opposite can legitimately be true if ++ notifications have been lost. */ ++ } + } +--- jdk/src/share/classes/javax/management/remote/TargetedNotification.java 2013-09-06 11:28:19.000000000 -0700 ++++ jdk/src/share/classes/javax/management/remote/TargetedNotification.java 2013-12-01 11:14:30.000000000 -0800 +@@ -26,6 +26,9 @@ + + package javax.management.remote; + ++import java.io.IOException; ++import java.io.InvalidObjectException; ++import java.io.ObjectInputStream; + import java.io.Serializable; + import javax.management.Notification; + +@@ -73,12 +76,9 @@ + */ + public TargetedNotification(Notification notification, + Integer listenerID) { ++ validate(notification, listenerID); + // If we replace integer with int... + // this(notification,intValue(listenerID)); +- if (notification == null) throw new +- IllegalArgumentException("Invalid notification: null"); +- if (listenerID == null) throw new +- IllegalArgumentException("Invalid listener ID: null"); + this.notif = notification; + this.id = listenerID; + } +@@ -115,13 +115,13 @@ + * @serial A notification to transmit to the other side. + * @see #getNotification() + **/ +- private final Notification notif; ++ private Notification notif; + /** + * @serial The ID of the listener to which the notification is + * targeted. + * @see #getListenerID() + **/ +- private final Integer id; ++ private Integer id; + //private final int id; + + // Needed if we use int instead of Integer... +@@ -130,4 +130,22 @@ + // IllegalArgumentException("Invalid listener ID: null"); + // return id.intValue(); + // } ++ ++ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ++ ois.defaultReadObject(); ++ try { ++ validate(this.notif, this.id); ++ } catch (IllegalArgumentException e) { ++ throw new InvalidObjectException(e.getMessage()); ++ } ++ } ++ ++ private static void validate(Notification notif, Integer id) throws IllegalArgumentException { ++ if (notif == null) { ++ throw new IllegalArgumentException("Invalid notification: null"); ++ } ++ if (id == null) { ++ throw new IllegalArgumentException("Invalid listener ID: null"); ++ } ++ } + } +--- jdk/src/share/classes/javax/management/remote/rmi/RMIConnector.java 2013-09-06 11:28:19.000000000 -0700 ++++ jdk/src/share/classes/javax/management/remote/rmi/RMIConnector.java 2013-12-01 11:14:30.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2002, 2010, 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. * - */ - public class XMLMessageFormatter_sv implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); - } + * This code is free software; you can redistribute it and/or modify it +@@ -61,6 +61,7 @@ + import java.security.AccessController; + import java.security.PrivilegedAction; + import java.security.PrivilegedExceptionAction; ++import java.security.PrivilegedActionException; + import java.security.ProtectionDomain; + import java.util.Arrays; + import java.util.Collections; +@@ -128,7 +129,6 @@ + Map<String, ?> environment) { + if (rmiServer == null && address == null) throw new + IllegalArgumentException("rmiServer and jmxServiceURL both null"); +- + initTransients(); + + this.rmiServer = rmiServer; +@@ -239,10 +239,21 @@ + //-------------------------------------------------------------------- + // implements JMXConnector interface + //-------------------------------------------------------------------- ++ ++ /** ++ * @throws IOException if the connection could not be made because of a ++ * communication problem, or in the case of the {@code iiop} protocol, ++ * that RMI/IIOP is not supported ++ */ + public void connect() throws IOException { + connect(null); + } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_zh_CN.java 2012-08-10 09:36:53.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_zh_CN.java 2013-04-28 16:29:20.000000000 -0700 -@@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; ++ /** ++ * @throws IOException if the connection could not be made because of a ++ * communication problem, or in the case of the {@code iiop} protocol, ++ * that RMI/IIOP is not supported ++ */ + public synchronized void connect(Map<String,?> environment) + throws IOException { + final boolean tracing = logger.traceOn(); +@@ -2359,13 +2370,21 @@ + } + } - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; +- private static RMIConnection shadowIiopStub(Object stub) ++ private static RMIConnection shadowIiopStub(Object stub) + throws InstantiationException, IllegalAccessException { +- Object proxyStub = proxyStubClass.newInstance(); ++ Object proxyStub = null; ++ try { ++ proxyStub = AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() { ++ public Object run() throws Exception { ++ return proxyStubClass.newInstance(); ++ } ++ }); ++ } catch (PrivilegedActionException e) { ++ throw new InternalError(); ++ } + IIOPHelper.setDelegate(proxyStub, IIOPHelper.getDelegate(stub)); + return (RMIConnection) proxyStub; + } +- + private static RMIConnection getConnection(RMIServer server, + Object credentials, + boolean checkStub) +--- jdk/src/share/classes/javax/print/SimpleDoc.java 2013-09-06 11:28:20.000000000 -0700 ++++ jdk/src/share/classes/javax/print/SimpleDoc.java 2014-01-18 12:16:24.000000000 -0800 +@@ -91,7 +91,10 @@ + + Class repClass = null; + try { +- repClass = Class.forName(flavor.getRepresentationClassName()); ++ String className = flavor.getRepresentationClassName(); ++ sun.reflect.misc.ReflectUtil.checkPackageAccess(className); ++ repClass = Class.forName(className, false, ++ Thread.currentThread().getContextClassLoader()); + } catch (Throwable e) { + throw new IllegalArgumentException("unknown representation class"); + } +--- jdk/src/share/classes/javax/security/auth/Policy.java 2013-09-06 11:28:21.000000000 -0700 ++++ jdk/src/share/classes/javax/security/auth/Policy.java 2014-01-18 12:16:24.000000000 -0800 +@@ -26,6 +26,10 @@ + package javax.security.auth; + + import java.security.Security; ++import java.security.AccessController; ++import java.security.PrivilegedAction; ++import java.security.PrivilegedExceptionAction; ++import java.util.Objects; + import sun.security.util.Debug; /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_zh_CN.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_zh_CN.java 3094 2012-03-21 05:50:01Z joehw $ - * - */ - public class XMLMessageFormatter_zh_CN implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); +@@ -160,21 +164,14 @@ + public abstract class Policy { + + private static Policy policy; +- private static ClassLoader contextClassLoader; ++ ++ private final java.security.AccessControlContext acc = ++ java.security.AccessController.getContext(); + + // true if a custom (not com.sun.security.auth.PolicyFile) system-wide + // policy object is set + private static boolean isCustomPolicy; + +- static { +- contextClassLoader = java.security.AccessController.doPrivileged +- (new java.security.PrivilegedAction<ClassLoader>() { +- public ClassLoader run() { +- return Thread.currentThread().getContextClassLoader(); +- } +- }); +- }; +- + /** + * Sole constructor. (For invocation by subclass constructors, typically + * implicit.) +@@ -217,8 +214,8 @@ + + if (policy == null) { + String policy_class = null; +- policy_class = java.security.AccessController.doPrivileged +- (new java.security.PrivilegedAction<String>() { ++ policy_class = AccessController.doPrivileged ++ (new PrivilegedAction<String>() { + public String run() { + return java.security.Security.getProperty + ("auth.policy.provider"); +@@ -230,19 +227,28 @@ + + try { + final String finalClass = policy_class; +- policy = java.security.AccessController.doPrivileged +- (new java.security.PrivilegedExceptionAction<Policy>() { +- public Policy run() throws ClassNotFoundException, +- InstantiationException, +- IllegalAccessException { +- return (Policy) Class.forName +- (finalClass, +- true, +- contextClassLoader).newInstance(); +- } +- }); +- isCustomPolicy = +- !finalClass.equals("com.sun.security.auth.PolicyFile"); ++ final Policy untrustedImpl = AccessController.doPrivileged( ++ new PrivilegedExceptionAction<Policy>() { ++ public Policy run() throws ClassNotFoundException, ++ InstantiationException, ++ IllegalAccessException { ++ Class<? extends Policy> implClass = Class.forName( ++ finalClass, false, ++ Thread.currentThread().getContextClassLoader() ++ ).asSubclass(Policy.class); ++ return implClass.newInstance(); ++ } ++ }); ++ AccessController.doPrivileged( ++ new PrivilegedExceptionAction<Void>() { ++ public Void run() { ++ setPolicy(untrustedImpl); ++ isCustomPolicy = ++ !finalClass.equals("com.sun.security.auth.PolicyFile"); ++ return null; ++ } ++ }, Objects.requireNonNull(untrustedImpl.acc) ++ ); + } catch (Exception e) { + throw new SecurityException + (sun.security.util.ResourcesMgr.getString +--- jdk/src/share/classes/javax/security/auth/Subject.java 2013-09-06 11:28:21.000000000 -0700 ++++ jdk/src/share/classes/javax/security/auth/Subject.java 2014-01-18 12:16:24.000000000 -0800 +@@ -946,6 +946,10 @@ + + s.defaultReadObject(); + ++ // Rewrap the principals into a SecureSet ++ principals = Collections.synchronizedSet(new SecureSet<Principal> ++ (this, PRINCIPAL_SET, principals)); ++ + // The Credential <code>Set</code> is not serialized, but we do not + // want the default deserialization routine to set it to null. + this.pubCredentials = Collections.synchronizedSet +@@ -1296,8 +1300,14 @@ + { + ObjectInputStream.GetField fields = ois.readFields(); + subject = (Subject) fields.get("this$0", null); +- elements = (LinkedList<E>) fields.get("elements", null); + which = fields.get("which", 0); ++ ++ LinkedList<E> tmp = (LinkedList<E>) fields.get("elements", null); ++ if (tmp.getClass() != LinkedList.class) { ++ elements = new LinkedList<E>(tmp); ++ } else { ++ elements = tmp; ++ } } + } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_zh_TW.java 2012-08-10 09:36:53.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter_zh_TW.java 2013-04-28 16:29:20.000000000 -0700 +--- jdk/src/share/classes/javax/security/auth/kerberos/KeyTab.java 2013-09-06 11:28:21.000000000 -0700 ++++ jdk/src/share/classes/javax/security/auth/kerberos/KeyTab.java 2013-12-01 11:14:30.000000000 -0800 @@ -26,6 +26,7 @@ - import java.util.PropertyResourceBundle; + package javax.security.auth.kerberos; - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; + import java.io.File; ++import java.security.AccessControlException; + import java.util.Objects; + import sun.misc.SharedSecrets; + import sun.security.krb5.EncryptionKey; +@@ -114,7 +115,19 @@ + + //Takes a snapshot of the keytab content + private sun.security.krb5.internal.ktab.KeyTab takeSnapshot() { +- return sun.security.krb5.internal.ktab.KeyTab.getInstance(file); ++ try { ++ return sun.security.krb5.internal.ktab.KeyTab.getInstance(file); ++ } catch (AccessControlException ace) { ++ if (file != null) { ++ // It's OK to show the name if caller specified it ++ throw ace; ++ } else { ++ AccessControlException ace2 = new AccessControlException( ++ "Access to default keytab denied (modified exception)"); ++ ace2.setStackTrace(ace.getStackTrace()); ++ throw ace2; ++ } ++ } + } - /** - * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for -@@ -34,7 +35,7 @@ - * @xerces.internal - * - * @author Eric Ye, IBM -- * @version $Id: XMLMessageFormatter_zh_TW.java 3021 2011-03-01 00:12:28Z joehw $ -+ * @version $Id: XMLMessageFormatter_zh_TW.java 3094 2012-03-21 05:50:01Z joehw $ + /** +--- jdk/src/share/classes/javax/security/auth/login/Configuration.java 2013-09-06 11:28:21.000000000 -0700 ++++ jdk/src/share/classes/javax/security/auth/login/Configuration.java 2014-01-18 12:16:24.000000000 -0800 +@@ -27,9 +27,6 @@ + + import javax.security.auth.AuthPermission; + +-import java.io.*; +-import java.util.*; +-import java.net.URI; + import java.security.AccessController; + import java.security.PrivilegedAction; + import java.security.PrivilegedExceptionAction; +@@ -38,7 +35,7 @@ + import java.security.NoSuchProviderException; + import java.security.Provider; + import java.security.Security; +-import java.security.SecurityPermission; ++import java.util.Objects; + + import sun.security.jca.GetInstance; + +@@ -194,16 +191,9 @@ + public abstract class Configuration { + + private static Configuration configuration; +- private static ClassLoader contextClassLoader; + +- static { +- contextClassLoader = AccessController.doPrivileged +- (new PrivilegedAction<ClassLoader>() { +- public ClassLoader run() { +- return Thread.currentThread().getContextClassLoader(); +- } +- }); +- }; ++ private final java.security.AccessControlContext acc = ++ java.security.AccessController.getContext(); + + private static void checkPermission(String type) { + SecurityManager sm = System.getSecurityManager(); +@@ -256,17 +246,26 @@ + + try { + final String finalClass = config_class; +- configuration = AccessController.doPrivileged +- (new PrivilegedExceptionAction<Configuration>() { +- public Configuration run() throws ClassNotFoundException, +- InstantiationException, +- IllegalAccessException { +- return (Configuration)Class.forName +- (finalClass, +- true, +- contextClassLoader).newInstance(); +- } +- }); ++ final Configuration untrustedImpl = AccessController.doPrivileged( ++ new PrivilegedExceptionAction<Configuration>() { ++ public Configuration run() throws ClassNotFoundException, ++ InstantiationException, ++ IllegalAccessException { ++ Class<? extends Configuration> implClass = Class.forName( ++ finalClass, false, ++ Thread.currentThread().getContextClassLoader() ++ ).asSubclass(Configuration.class); ++ return implClass.newInstance(); ++ } ++ }); ++ AccessController.doPrivileged( ++ new PrivilegedExceptionAction<Void>() { ++ public Void run() { ++ setConfiguration(untrustedImpl); ++ return null; ++ } ++ }, Objects.requireNonNull(untrustedImpl.acc) ++ ); + } catch (PrivilegedActionException e) { + Exception ee = e.getException(); + if (ee instanceof InstantiationException) { +--- jdk/src/share/classes/javax/security/auth/login/LoginContext.java 2013-09-06 11:28:21.000000000 -0700 ++++ jdk/src/share/classes/javax/security/auth/login/LoginContext.java 2014-01-18 12:16:24.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - */ - public class XMLMessageFormatter_zh_TW implements MessageFormatter { -@@ -72,12 +73,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", locale); - // memorize the most-recent locale - fLocale = locale; + * This code is free software; you can redistribute it and/or modify it +@@ -217,8 +217,7 @@ + private Map state = new HashMap(); + + private Configuration config; +- private boolean configProvided = false; +- private AccessControlContext creatorAcc = null; ++ private AccessControlContext creatorAcc = null; // customized config only + private ModuleInfo[] moduleStack; + private ClassLoader contextClassLoader = null; + private static final Class[] PARAMS = { }; +@@ -237,7 +236,7 @@ + private void init(String name) throws LoginException { + + SecurityManager sm = System.getSecurityManager(); +- if (sm != null && !configProvided) { ++ if (sm != null && creatorAcc == null) { + sm.checkPermission(new AuthPermission + ("createLoginContext." + name)); + } +@@ -260,7 +259,7 @@ + AppConfigurationEntry[] entries = config.getAppConfigurationEntry(name); + if (entries == null) { + +- if (sm != null && !configProvided) { ++ if (sm != null && creatorAcc == null) { + sm.checkPermission(new AuthPermission + ("createLoginContext." + OTHER)); } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"); +@@ -287,7 +286,15 @@ + contextClassLoader = java.security.AccessController.doPrivileged + (new java.security.PrivilegedAction<ClassLoader>() { + public ClassLoader run() { +- return Thread.currentThread().getContextClassLoader(); ++ ClassLoader loader = ++ Thread.currentThread().getContextClassLoader(); ++ if (loader == null) { ++ // Don't use bootstrap class loader directly to ensure ++ // proper package access control! ++ loader = ClassLoader.getSystemClassLoader(); ++ } ++ ++ return loader; + } + }); + } +@@ -306,10 +313,10 @@ + (DEFAULT_HANDLER); + if (defaultHandler == null || defaultHandler.length() == 0) + return null; +- Class c = Class.forName(defaultHandler, +- true, +- finalLoader); +- return (CallbackHandler)c.newInstance(); ++ Class<? extends CallbackHandler> c = Class.forName( ++ defaultHandler, true, ++ finalLoader).asSubclass(CallbackHandler.class); ++ return c.newInstance(); + } + }); + } catch (java.security.PrivilegedActionException pae) { +@@ -317,7 +324,7 @@ } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/RegexParser.java 2012-08-10 09:36:59.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/RegexParser.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,6 +20,7 @@ + // secure it with the caller's ACC +- if (this.callbackHandler != null && !configProvided) { ++ if (this.callbackHandler != null && creatorAcc == null) { + this.callbackHandler = new SecureCallbackHandler + (java.security.AccessController.getContext(), + this.callbackHandler); +@@ -506,8 +513,7 @@ + CallbackHandler callbackHandler, + Configuration config) throws LoginException { + this.config = config; +- configProvided = (config != null) ? true : false; +- if (configProvided) { ++ if (config != null) { + creatorAcc = java.security.AccessController.getContext(); + } - package com.sun.org.apache.xerces.internal.impl.xpath.regex; +@@ -518,7 +524,7 @@ + } + if (callbackHandler == null) { + loadDefaultCallbackHandler(); +- } else if (!configProvided) { ++ } else if (creatorAcc == null) { + this.callbackHandler = new SecureCallbackHandler + (java.security.AccessController.getContext(), + callbackHandler); +@@ -585,23 +591,13 @@ + } -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; -@@ -95,10 +96,10 @@ - public void setLocale(Locale locale) { try { - if (locale != null) { -- this.resources = ResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.xpath.regex.message", locale); -+ this.resources = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.xpath.regex.message", locale); - } - else { -- this.resources = ResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.xpath.regex.message"); -+ this.resources = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.xpath.regex.message"); +- if (configProvided) { +- // module invoked in doPrivileged with creatorAcc +- invokeCreatorPriv(LOGIN_METHOD); +- invokeCreatorPriv(COMMIT_METHOD); +- } else { +- // module invoked in doPrivileged +- invokePriv(LOGIN_METHOD); +- invokePriv(COMMIT_METHOD); +- } ++ // module invoked in doPrivileged ++ invokePriv(LOGIN_METHOD); ++ invokePriv(COMMIT_METHOD); + loginSucceeded = true; + } catch (LoginException le) { + try { +- if (configProvided) { +- invokeCreatorPriv(ABORT_METHOD); +- } else { +- invokePriv(ABORT_METHOD); +- } ++ invokePriv(ABORT_METHOD); + } catch (LoginException le2) { + throw le; } +@@ -636,13 +632,8 @@ + ("null.subject.logout.called.before.login")); } - catch (MissingResourceException mre) { ---- jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/XSMessageFormatter.java 2012-08-10 09:37:02.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/XSMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,11 +20,11 @@ - package com.sun.org.apache.xerces.internal.impl.xs; - -+import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; --import com.sun.org.apache.xerces.internal.util.MessageFormatter; +- if (configProvided) { +- // module invoked in doPrivileged with creatorAcc +- invokeCreatorPriv(LOGOUT_METHOD); +- } else { +- // module invoked in doPrivileged +- invokePriv(LOGOUT_METHOD); +- } ++ // module invoked in doPrivileged ++ invokePriv(LOGOUT_METHOD); + } + /** +@@ -685,7 +676,8 @@ - /** -@@ -34,6 +34,7 @@ - * @xerces.internal - * - * @author Elena Litani, IBM -+ * @version $Id: XSMessageFormatter.java,v 1.6 2010-11-01 04:39:55 joehw Exp $ - */ - public class XSMessageFormatter implements MessageFormatter { /** -@@ -66,12 +67,12 @@ - - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"); - } + * Invokes the login, commit, and logout methods +- * from a LoginModule inside a doPrivileged block. ++ * from a LoginModule inside a doPrivileged block restricted ++ * by creatorAcc (may be null). + * + * This version is called if the caller did not instantiate + * the LoginContext with a Configuration object. +@@ -698,29 +690,6 @@ + invoke(methodName); + return null; + } +- }); +- } catch (java.security.PrivilegedActionException pae) { +- throw (LoginException)pae.getException(); +- } +- } +- +- /** +- * Invokes the login, commit, and logout methods +- * from a LoginModule inside a doPrivileged block restricted +- * by creatorAcc +- * +- * This version is called if the caller instantiated +- * the LoginContext with a Configuration object. +- */ +- private void invokeCreatorPriv(final String methodName) +- throws LoginException { +- try { +- java.security.AccessController.doPrivileged +- (new java.security.PrivilegedExceptionAction<Void>() { +- public Void run() throws LoginException { +- invoke(methodName); +- return null; +- } + }, creatorAcc); + } catch (java.security.PrivilegedActionException pae) { + throw (LoginException)pae.getException(); +@@ -743,24 +712,24 @@ + } else { - String msg = fResourceBundle.getString(key); ---- jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/JAXPValidationMessageFormatter.java 2012-08-10 09:37:14.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/JAXPValidationMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,15 +20,16 @@ + // instantiate the LoginModule +- Class c = Class.forName +- (moduleStack[i].entry.getLoginModuleName(), ++ // ++ // Allow any object to be a LoginModule as long as it ++ // conforms to the interface. ++ Class<?> c = Class.forName( ++ moduleStack[i].entry.getLoginModuleName(), + true, + contextClassLoader); + + Constructor constructor = c.getConstructor(PARAMS); + Object[] args = { }; +- +- // allow any object to be a LoginModule +- // as long as it conforms to the interface + moduleStack[i].module = constructor.newInstance(args); + +- methods = moduleStack[i].module.getClass().getMethods(); +- + // call the LoginModule's initialize method ++ methods = moduleStack[i].module.getClass().getMethods(); + for (mIndex = 0; mIndex < methods.length; mIndex++) { +- if (methods[mIndex].getName().equals(INIT_METHOD)) ++ if (methods[mIndex].getName().equals(INIT_METHOD)) { + break; ++ } + } - package com.sun.org.apache.xerces.internal.jaxp.validation; + Object[] initArgs = {subject, +@@ -768,19 +737,28 @@ + state, + moduleStack[i].entry.getOptions() }; + // invoke the LoginModule initialize method ++ // ++ // Throws ArrayIndexOutOfBoundsException if no such ++ // method defined. May improve to use LoginException in ++ // the future. + methods[mIndex].invoke(moduleStack[i].module, initArgs); + } -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; + // find the requested method in the LoginModule + for (mIndex = 0; mIndex < methods.length; mIndex++) { +- if (methods[mIndex].getName().equals(methodName)) ++ if (methods[mIndex].getName().equals(methodName)) { + break; ++ } + } - /** - * <p>Used to format JAXP Validation API error messages using a specified locale.</p> - * - * @author Michael Glavassevich, IBM -+ * @version $Id: JAXPValidationMessageFormatter.java,v 1.5 2010-11-01 04:40:08 joehw Exp $ - */ - final class JAXPValidationMessageFormatter { + // set up the arguments to be passed to the LoginModule method + Object[] args = { }; -@@ -54,11 +55,11 @@ - ResourceBundle resourceBundle = null; - if (locale != null) { - resourceBundle = -- PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.JAXPValidationMessages", locale); -+ SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.JAXPValidationMessages", locale); - } - else { - resourceBundle = -- PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.JAXPValidationMessages"); -+ SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.JAXPValidationMessages"); - } + // invoke the LoginModule method ++ // ++ // Throws ArrayIndexOutOfBoundsException if no such ++ // method defined. May improve to use LoginException in ++ // the future. + boolean status = ((Boolean)methods[mIndex].invoke + (moduleStack[i].module, args)).booleanValue(); - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/util/DatatypeMessageFormatter.java 2012-08-10 09:37:18.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/util/DatatypeMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,15 +20,16 @@ +--- jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java 2013-09-06 11:28:22.000000000 -0700 ++++ jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java 2014-01-18 12:16:24.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2003, 2011, 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 +@@ -35,6 +35,8 @@ + import java.io.InputStream; + import java.io.IOException; + import java.io.FileNotFoundException; ++import java.security.AccessController; ++import java.security.PrivilegedAction; - package com.sun.org.apache.xerces.internal.util; + import javax.naming.*; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; --import java.util.PropertyResourceBundle; - import java.util.ResourceBundle; +@@ -362,7 +364,16 @@ + /* + * Dependent on application + */ +- String strRowsetProperties = System.getProperty("rowset.properties"); ++ String strRowsetProperties; ++ try { ++ strRowsetProperties = AccessController.doPrivileged(new PrivilegedAction<String>() { ++ public String run() { ++ return System.getProperty("rowset.properties"); ++ } ++ }); ++ } catch (Exception ex) { ++ strRowsetProperties = null; ++ } + if (strRowsetProperties != null) { + // Load user's implementation of SyncProvider + // here. -Drowset.properties=/abc/def/pqr.txt +@@ -407,7 +418,16 @@ + * load additional properties from -D command line + */ + properties.clear(); +- String providerImpls = System.getProperty(ROWSET_SYNC_PROVIDER); ++ String providerImpls; ++ try { ++ providerImpls = AccessController.doPrivileged(new PrivilegedAction<String>() { ++ public String run() { ++ return System.getProperty(ROWSET_SYNC_PROVIDER); ++ } ++ }); ++ } catch (Exception ex) { ++ providerImpls = null; ++ } - /** - * <p>Used to format JAXP 1.3 Datatype API error messages using a specified locale.</p> + if (providerImpls != null) { + int i = 0; +--- jdk/src/share/classes/javax/swing/JTable.java 2013-09-06 11:28:23.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/JTable.java 2013-12-01 11:14:31.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1997, 2010, 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. * - * @author Neeraj Bajaj, Sun Microsystems -+ * @version $Id: DatatypeMessageFormatter.java,v 1.6 2010-11-01 04:40:14 joehw Exp $ + * This code is free software; you can redistribute it and/or modify it +@@ -52,6 +52,7 @@ + + import javax.print.attribute.*; + import javax.print.PrintService; ++import sun.reflect.misc.ReflectUtil; + + import sun.swing.SwingUtilities2; + import sun.swing.SwingUtilities2.Section; +@@ -5460,14 +5461,16 @@ + // they have the option to replace the value with + // null or use escape to restore the original. + // For Strings, return "" for backward compatibility. +- if ("".equals(s)) { +- if (constructor.getDeclaringClass() == String.class) { +- value = s; +- } +- return super.stopCellEditing(); +- } + + try { ++ if ("".equals(s)) { ++ if (constructor.getDeclaringClass() == String.class) { ++ value = s; ++ } ++ return super.stopCellEditing(); ++ } ++ ++ SwingUtilities2.checkAccess(constructor.getModifiers()); + value = constructor.newInstance(new Object[]{s}); + } + catch (Exception e) { +@@ -5491,6 +5494,8 @@ + if (type == Object.class) { + type = String.class; + } ++ ReflectUtil.checkPackageAccess(type); ++ SwingUtilities2.checkAccess(type.getModifiers()); + constructor = type.getConstructor(argTypes); + } + catch (Exception e) { +--- jdk/src/share/classes/javax/swing/SwingUtilities.java 2013-09-06 11:28:23.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/SwingUtilities.java 2014-01-18 12:16:24.000000000 -0800 +@@ -24,6 +24,7 @@ */ - public class DatatypeMessageFormatter { + package javax.swing; -@@ -56,11 +57,11 @@ - ResourceBundle resourceBundle = null; - if (locale != null) { - resourceBundle = -- PropertyResourceBundle.getBundle(BASE_NAME, locale); -+ SecuritySupport.getResourceBundle(BASE_NAME, locale); - } - else { - resourceBundle = -- PropertyResourceBundle.getBundle(BASE_NAME); -+ SecuritySupport.getResourceBundle(BASE_NAME); - } ++import sun.reflect.misc.ReflectUtil; + import sun.swing.SwingUtilities2; + import sun.swing.UIAction; - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/util/SAXMessageFormatter.java 2012-08-10 09:37:19.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/util/SAXMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -19,16 +19,17 @@ - */ - package com.sun.org.apache.xerces.internal.util; +@@ -33,9 +34,6 @@ + import java.awt.event.*; + import java.awt.dnd.DropTarget; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; +-import java.util.Vector; +-import java.util.Hashtable; +- + import java.lang.reflect.*; - /** - * Used to format SAX error messages using a specified locale. - * - * @author Michael Glavassevich, IBM - * -+ * @version $Id: SAXMessageFormatter.java,v 1.6 2010-11-01 04:40:14 joehw Exp $ - */ - public class SAXMessageFormatter { + import javax.accessibility.*; +@@ -1871,6 +1869,7 @@ -@@ -54,11 +55,11 @@ - ResourceBundle resourceBundle = null; - if (locale != null) { - resourceBundle = -- PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.SAXMessages", locale); -+ SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.SAXMessages", locale); - } - else { - resourceBundle = -- PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.SAXMessages"); -+ SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.SAXMessages"); + + static Class<?> loadSystemClass(String className) throws ClassNotFoundException { ++ ReflectUtil.checkPackageAccess(className); + return Class.forName(className, true, Thread.currentThread(). + getContextClassLoader()); + } +--- jdk/src/share/classes/javax/swing/UIDefaults.java 2013-09-06 11:28:24.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/UIDefaults.java 2013-12-01 11:14:31.000000000 -0800 +@@ -53,6 +53,7 @@ + + import sun.reflect.misc.MethodUtil; + import sun.reflect.misc.ReflectUtil; ++import sun.swing.SwingUtilities2; + import sun.util.CoreResourceBundleControl; + + /** +@@ -1101,7 +1102,7 @@ + } + ReflectUtil.checkPackageAccess(className); + c = Class.forName(className, true, (ClassLoader)cl); +- checkAccess(c.getModifiers()); ++ SwingUtilities2.checkAccess(c.getModifiers()); + if (methodName != null) { + Class[] types = getClassArray(args); + Method m = c.getMethod(methodName, types); +@@ -1109,7 +1110,7 @@ + } else { + Class[] types = getClassArray(args); + Constructor constructor = c.getConstructor(types); +- checkAccess(constructor.getModifiers()); ++ SwingUtilities2.checkAccess(constructor.getModifiers()); + return constructor.newInstance(args); + } + } catch(Exception e) { +@@ -1124,13 +1125,6 @@ + }, acc); } - // format message ---- jaxp/src/com/sun/org/apache/xerces/internal/util/SecurityManager.java 2012-08-10 09:37:20.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/util/SecurityManager.java 2013-04-28 16:29:20.000000000 -0700 -@@ -61,6 +61,8 @@ +- private void checkAccess(int modifiers) { +- if(System.getSecurityManager() != null && +- !Modifier.isPublic(modifiers)) { +- throw new SecurityException("Resource is not accessible"); +- } +- } +- + /* + * Coerce the array of class types provided into one which + * looks the way the Reflection APIs expect. This is done +--- jdk/src/share/classes/javax/swing/event/EventListenerList.java 2013-09-06 11:28:24.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/event/EventListenerList.java 2014-01-18 12:16:24.000000000 -0800 +@@ -27,6 +27,7 @@ + import java.io.*; + import java.util.*; + import java.lang.reflect.Array; ++import sun.reflect.misc.ReflectUtil; - package com.sun.org.apache.xerces.internal.util; - import com.sun.org.apache.xerces.internal.impl.Constants; -+import java.security.AccessController; -+import java.security.PrivilegedAction; /** - * This class is a container for parser settings that relate to - * security, or more specifically, it is intended to be used to prevent denial-of-service -@@ -77,6 +79,7 @@ - * - * @author Neil Graham, IBM - * -+ * @version $Id: SecurityManager.java,v 1.5 2010-11-01 04:40:14 joehw Exp $ + * A class that holds a list of EventListeners. A single instance +@@ -270,7 +271,9 @@ + while (null != (listenerTypeOrNull = s.readObject())) { + ClassLoader cl = Thread.currentThread().getContextClassLoader(); + EventListener l = (EventListener)s.readObject(); +- add((Class<EventListener>)Class.forName((String)listenerTypeOrNull, true, cl), l); ++ String name = (String) listenerTypeOrNull; ++ ReflectUtil.checkPackageAccess(name); ++ add((Class<EventListener>)Class.forName(name, true, cl), l); + } + } + +--- jdk/src/share/classes/javax/swing/text/DefaultFormatter.java 2013-09-06 11:28:27.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/text/DefaultFormatter.java 2013-12-01 11:14:31.000000000 -0800 +@@ -24,7 +24,8 @@ */ - public final class SecurityManager { + package javax.swing.text; -@@ -176,41 +179,48 @@ +-import sun.reflect.misc.ConstructorUtil; ++import sun.reflect.misc.ReflectUtil; ++import sun.swing.SwingUtilities2; - private void readSystemProperties(){ + import java.io.Serializable; + import java.lang.reflect.*; +@@ -247,7 +248,9 @@ + Constructor cons; -- //TODO: also read SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT -- try { -- String value = System.getProperty(Constants.ENTITY_EXPANSION_LIMIT); -- if(value != null && !value.equals("")){ -- entityExpansionLimit = Integer.parseInt(value); -- if (entityExpansionLimit < 0) -- entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; -- } -- else -- entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; -- }catch(Exception ex){} + try { +- cons = ConstructorUtil.getConstructor(vc, new Class[]{String.class}); ++ ReflectUtil.checkPackageAccess(vc); ++ SwingUtilities2.checkAccess(vc.getModifiers()); ++ cons = vc.getConstructor(new Class[]{String.class}); + + } catch (NoSuchMethodException nsme) { + cons = null; +@@ -255,6 +258,7 @@ + + if (cons != null) { + try { ++ SwingUtilities2.checkAccess(cons.getModifiers()); + return cons.newInstance(new Object[] { string }); + } catch (Throwable ex) { + throw new ParseException("Error creating instance", 0); +--- jdk/src/share/classes/javax/swing/text/NumberFormatter.java 2013-09-06 11:28:27.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/text/NumberFormatter.java 2013-12-01 11:14:31.000000000 -0800 +@@ -27,6 +27,8 @@ + import java.lang.reflect.*; + import java.text.*; + import java.util.*; ++import sun.reflect.misc.ReflectUtil; ++import sun.swing.SwingUtilities2; + + /** + * <code>NumberFormatter</code> subclasses <code>InternationalFormatter</code> +@@ -427,10 +429,12 @@ + valueClass = value.getClass(); + } + try { ++ ReflectUtil.checkPackageAccess(valueClass); ++ SwingUtilities2.checkAccess(valueClass.getModifiers()); + Constructor cons = valueClass.getConstructor( + new Class[] { String.class }); +- + if (cons != null) { ++ SwingUtilities2.checkAccess(cons.getModifiers()); + return cons.newInstance(new Object[]{string}); + } + } catch (Throwable ex) { } +--- jdk/src/share/classes/javax/swing/text/html/ObjectView.java 2013-09-06 11:28:27.000000000 -0700 ++++ jdk/src/share/classes/javax/swing/text/html/ObjectView.java 2013-12-01 11:14:31.000000000 -0800 +@@ -31,6 +31,9 @@ + import java.beans.*; + import java.lang.reflect.*; + ++import sun.reflect.misc.MethodUtil; ++import sun.reflect.misc.ReflectUtil; ++ + /** + * Component decorator that implements the view interface + * for <object> elements. +@@ -87,6 +90,7 @@ + AttributeSet attr = getElement().getAttributes(); + String classname = (String) attr.getAttribute(HTML.Attribute.CLASSID); + try { ++ ReflectUtil.checkPackageAccess(classname); + Class c = Class.forName(classname, true,Thread.currentThread(). + getContextClassLoader()); + Object o = c.newInstance(); +@@ -116,28 +120,6 @@ + } + + /** +- * Get a Class object to use for loading the +- * classid. If possible, the Classloader +- * used to load the associated Document is used. +- * This would typically be the same as the ClassLoader +- * used to load the EditorKit. If the documents +- * ClassLoader is null, +- * <code>Class.forName</code> is used. +- */ +- private Class getClass(String classname) throws ClassNotFoundException { +- Class klass; - -- try { -- String value = System.getProperty(Constants.MAX_OCCUR_LIMIT); -- if(value != null && !value.equals("")){ -- maxOccurLimit = Integer.parseInt(value); -- if (maxOccurLimit < 0) -- maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; -- } -- else -- maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; -- }catch(Exception ex){} +- Class docClass = getDocument().getClass(); +- ClassLoader loader = docClass.getClassLoader(); +- if (loader != null) { +- klass = loader.loadClass(classname); +- } else { +- klass = Class.forName(classname); +- } +- return klass; +- } - -- try { -- String value = System.getProperty(Constants.SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT); -- if(value != null && !value.equals("")){ -- fElementAttributeLimit = Integer.parseInt(value); -- if ( fElementAttributeLimit < 0) -- fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; -- } -- else -- fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; -+ //TODO: also read SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT -+ try { -+ String value = getSystemProperty(Constants.ENTITY_EXPANSION_LIMIT); -+ if(value != null && !value.equals("")){ -+ entityExpansionLimit = Integer.parseInt(value); -+ if (entityExpansionLimit < 0) -+ entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; -+ } -+ else -+ entityExpansionLimit = DEFAULT_ENTITY_EXPANSION_LIMIT; -+ }catch(Exception ex){} +- /** + * Initialize this component according the KEY/VALUEs passed in + * via the <param> elements in the corresponding + * <object> element. +@@ -170,7 +152,7 @@ + } + Object [] args = { value }; + try { +- writer.invoke(comp, args); ++ MethodUtil.invoke(writer, comp, args); + } catch (Exception ex) { + System.err.println("Invocation failed"); + // invocation code +--- jdk/src/share/classes/sun/awt/FontConfiguration.java 2013-09-06 11:28:30.000000000 -0700 ++++ jdk/src/share/classes/sun/awt/FontConfiguration.java 2014-01-18 12:16:33.000000000 -0800 +@@ -1146,7 +1146,7 @@ + */ + HashMap<String, Boolean> existsMap; + public boolean needToSearchForFile(String fileName) { +- if (!FontUtilities.isLinux) { ++ if (!FontUtilities.isLinux && !FontUtilities.isBSD) { + return false; + } else if (existsMap == null) { + existsMap = new HashMap<String, Boolean>(); +--- jdk/src/share/classes/sun/awt/OSInfo.java 2013-09-06 11:28:30.000000000 -0700 ++++ jdk/src/share/classes/sun/awt/OSInfo.java 2014-01-18 12:16:33.000000000 -0800 +@@ -39,6 +39,7 @@ + WINDOWS, + LINUX, + SOLARIS, ++ BSD, + MACOSX, + UNKNOWN + } +@@ -101,6 +102,10 @@ + return SOLARIS; + } + ++ if (osName.contains("BSD")) { ++ return BSD; ++ } + -+ try { -+ String value = getSystemProperty(Constants.MAX_OCCUR_LIMIT); -+ if(value != null && !value.equals("")){ -+ maxOccurLimit = Integer.parseInt(value); -+ if (maxOccurLimit < 0) -+ maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; -+ } -+ else -+ maxOccurLimit = DEFAULT_MAX_OCCUR_NODE_LIMIT; -+ }catch(Exception ex){} + if (osName.contains("OS X")) { + return MACOSX; + } +--- jdk/src/share/classes/sun/font/FileFont.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/FileFont.java 2013-12-01 11:14:33.000000000 -0800 +@@ -170,7 +170,9 @@ + } + } + } +- scaler.dispose(); ++ if (scaler != null) { ++ scaler.dispose(); ++ } + scaler = FontScaler.getNullScaler(); + } + +--- jdk/src/share/classes/sun/font/FontUtilities.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/FontUtilities.java 2014-01-18 12:16:33.000000000 -0800 +@@ -48,6 +48,8 @@ + + public static boolean isLinux; + ++ public static boolean isBSD; + -+ try { -+ String value = getSystemProperty(Constants.SYSTEM_PROPERTY_ELEMENT_ATTRIBUTE_LIMIT); -+ if(value != null && !value.equals("")){ -+ fElementAttributeLimit = Integer.parseInt(value); -+ if ( fElementAttributeLimit < 0) -+ fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; -+ } -+ else -+ fElementAttributeLimit = DEFAULT_ELEMENT_ATTRIBUTE_LIMIT; + public static boolean isMacOSX; - }catch(Exception ex){} + public static boolean isSolaris8; +@@ -78,6 +80,11 @@ - } + isLinux = osName.startsWith("Linux"); + ++ ++ isBSD = (osName.startsWith("FreeBSD") || ++ osName.startsWith("NetBSD") || ++ osName.startsWith("OpenBSD")); ++ + isMacOSX = osName.contains("OS X"); // TODO: MacOSX -+ private String getSystemProperty(final String propName) { -+ return AccessController.doPrivileged(new PrivilegedAction<String>() { -+ public String run() { -+ return System.getProperty(propName); + String t2kStr = System.getProperty("sun.java2d.font.scaler"); +--- jdk/src/share/classes/sun/font/GlyphLayout.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/GlyphLayout.java 2013-12-01 11:14:33.000000000 -0800 +@@ -468,9 +468,10 @@ + _gvdata.grow(); + } + } +- if (_gvdata._count < 0) { +- break; +- } + } -+ }); ++ // Break out of the outer for loop if layout fails. ++ if (_gvdata._count < 0) { ++ break; + } + } + +--- jdk/src/share/classes/sun/font/StandardGlyphVector.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/StandardGlyphVector.java 2013-12-01 11:14:33.000000000 -0800 +@@ -1740,8 +1740,9 @@ + tx, + sgv.font.getStyle(), + aa, fm); +- +- FontStrike strike = sgv.font2D.getStrike(desc); // !!! getStrike(desc, false) ++ // Get the strike via the handle. Shouldn't matter ++ // if we've invalidated the font but its an extra precaution. ++ FontStrike strike = sgv.font2D.handle.font2D.getStrike(desc); // !!! getStrike(desc, false) + + return new GlyphStrike(sgv, strike, dx, dy); + } +--- jdk/src/share/classes/sun/font/SunFontManager.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/SunFontManager.java 2014-01-18 12:16:33.000000000 -0800 +@@ -417,7 +417,7 @@ + * registerFonts method as on-screen these JRE fonts + * always go through the T2K rasteriser. + */ +- if (FontUtilities.isLinux) { ++ if (FontUtilities.isLinux || FontUtilities.isBSD) { + /* Linux font configuration uses these fonts */ + registerFontDir(jreFontDirName); + } +--- jdk/src/share/classes/sun/font/TrueTypeFont.java 2013-09-06 11:28:31.000000000 -0700 ++++ jdk/src/share/classes/sun/font/TrueTypeFont.java 2013-12-01 11:14:33.000000000 -0800 +@@ -1037,6 +1037,9 @@ + if (head_Table != null && head_Table.capacity() >= 18) { + ShortBuffer sb = head_Table.asShortBuffer(); + upem = sb.get(9) & 0xffff; ++ if (upem < 16 || upem > 16384) { ++ upem = 2048; ++ } + } + + ByteBuffer os2_Table = getTableBuffer(os_2Tag); +--- jdk/src/share/classes/sun/java2d/Disposer.java 2013-09-06 11:28:34.000000000 -0700 ++++ jdk/src/share/classes/sun/java2d/Disposer.java 2013-12-01 11:14:33.000000000 -0800 +@@ -150,8 +150,7 @@ + rec = null; + clearDeferredRecords(); + } catch (Exception e) { +- System.out.println("Exception while removing reference: " + e); +- e.printStackTrace(); ++ System.out.println("Exception while removing reference."); + } + } + } +@@ -177,7 +176,6 @@ + rec.dispose(); + } catch (Exception e) { + System.out.println("Exception while disposing deferred rec."); +- e.printStackTrace(); + } + } + deferredRecords.clear(); +@@ -228,8 +226,7 @@ + } + } + } catch (Exception e) { +- System.out.println("Exception while removing reference: " + e); +- e.printStackTrace(); ++ System.out.println("Exception while removing reference."); + } finally { + pollingQueue = false; + } +--- jdk/src/share/classes/sun/launcher/resources/launcher_fr.properties 2013-09-06 11:28:35.000000000 -0700 ++++ jdk/src/share/classes/sun/launcher/resources/launcher_fr.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -34,7 +34,7 @@ + java.launcher.ergo.message2 =\ car vous ex\u00E9cutez une machine de classe de serveur.\n + + # Translators please note do not translate the options themselves +-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n Liste de r\u00E9pertoires, d''archives JAR et\n d''archives ZIP s\u00E9par\u00E9s par des {0}, dans laquelle rechercher les fichiers de classe.\n -D<name>=<value>\n d\u00E9finition d''une propri\u00E9t\u00E9 syst\u00E8me\n -verbose[:class|gc|jni]\n activation de la sortie en mode verbose\n -version impression de la version du produit et fin de l''op\u00E9ration\n -version:<value>\n ex\u00E9cution de la version sp\u00E9cifi\u00E9e obligatoire\n -showversion impression de la version du produit et poursuite de l''op\u00E9ration\n -jre-restrict-search | -no-jre-restrict-search\n inclusion/exclusion des environnements JRE priv\u00E9s de l''utilisateur dans la recherche de version\n -? -help impression du message d''aide\n -X impression de l''aide sur les options non standard\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n activation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n d\u00E9sactivation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -esa | -enablesystemassertions\n activation des assertions syst\u00E8me\n -dsa | -disablesystemassertions\n d\u00E9sactivation des assertions syst\u00E8me\n -agentlib:<libname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif <libname>, par exemple -agentlib:hprof\n voir \u00E9galement, -agentlib:jdwp=help et -agentlib:hprof=help\n -agentpath:<pathname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif via le chemin d''acc\u00E8s complet\n -javaagent:<jarpath>[=<options>]\n chargement de l''agent du langage de programmation Java, voir java.lang.instrument\n -splash:<imagepath>\n affichage de l''\u00E9cran d''accueil avec l''image sp\u00E9cifi\u00E9e\nVoir http://www.oracle.com/technetwork/java/javase/documentation/index.html pour plus de d\u00E9tails. ++java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n Liste de r\u00E9pertoires, d''archives JAR et\n d''archives ZIP s\u00E9par\u00E9s par des {0}, dans laquelle rechercher les fichiers de classe.\n -D<name>=<value>\n d\u00E9finition d''une propri\u00E9t\u00E9 syst\u00E8me\n -verbose:[class|gc|jni]\n activation de la sortie en mode verbose\n -version impression de la version du produit et fin de l''op\u00E9ration\n -version:<value>\n ex\u00E9cution de la version sp\u00E9cifi\u00E9e obligatoire\n -showversion impression de la version du produit et poursuite de l''op\u00E9ration\n -jre-restrict-search | -no-jre-restrict-search\n inclusion/exclusion des environnements JRE priv\u00E9s de l''utilisateur dans la recherche de version\n -? -help impression du message d''aide\n -X impression de l''aide sur les options non standard\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n activation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n d\u00E9sactivation des assertions avec la granularit\u00E9 sp\u00E9cifi\u00E9e\n -esa | -enablesystemassertions\n activation des assertions syst\u00E8me\n -dsa | -disablesystemassertions\n d\u00E9sactivation des assertions syst\u00E8me\n -agentlib:<libname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif <libname>, par exemple -agentlib:hprof\n voir \u00E9galement, -agentlib:jdwp=help et -agentlib:hprof=help\n -agentpath:<pathname>[=<options>]\n chargement de la biblioth\u00E8que d''agent natif via le chemin d''acc\u00E8s complet\n -javaagent:<jarpath>[=<options>]\n chargement de l''agent du langage de programmation Java, voir java.lang.instrument\n -splash:<imagepath>\n affichage de l''\u00E9cran d''accueil avec l''image sp\u00E9cifi\u00E9e\nVoir http://www.oracle.com/technetwork/java/javase/documentation/index.html pour plus de d\u00E9tails. + + # Translators please note do not translate the options themselves + java.launcher.X.usage=\ -Xmixed ex\u00E9cution en mode mixte (valeur par d\u00E9faut)\n -Xint ex\u00E9cution en mode interpr\u00E9t\u00E9 uniquement\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n d\u00E9finition du chemin de recherche pour les ressources et classes bootstrap\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n ajout \u00E0 la fin du chemin de classe bootstrap\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n ajout au d\u00E9but du chemin de classe bootstrap\n -Xdiag affichage de messages de diagnostic suppl\u00E9mentaires\n -Xnoclassgc d\u00E9sactivation de l''op\u00E9ration de ramasse-miette (garbage collection) de la classe\n -Xincgc activation de l''op\u00E9ration de ramasse-miette (garbage collection) incr\u00E9mentielle\n -Xloggc:<file> journalisation du statut de l''op\u00E9ration de ramasse-miette (garbage collection) dans un fichier avec horodatages\n -Xbatch d\u00E9sactivation de la compilation en arri\u00E8re-plan\n -Xms<size> d\u00E9finition de la taille initiale des portions de m\u00E9moire Java\n -Xmx<size> d\u00E9finition de la taille maximale des portions de m\u00E9moire Java\n -Xss<size> d\u00E9finition de la taille de pile de thread Java\n -Xprof sortie des donn\u00E9es de profilage de l''unit\u00E9 centrale\n -Xfuture activation des contr\u00F4les les plus stricts en vue d''anticiper la future valeur par d\u00E9faut\n -Xrs r\u00E9duction de l''utilisation des signaux OS par Java/la machine virtuelle (voir documentation)\n -Xcheck:jni ex\u00E9cution de contr\u00F4les suppl\u00E9mentaires pour les fonctions JNI\n -Xshare:off aucune tentative d''utilisation des donn\u00E9es de classe partag\u00E9es\n -Xshare:auto utilisation des donn\u00E9es de classe partag\u00E9es si possible (valeur par d\u00E9faut)\n -Xshare:on utilisation des donn\u00E9es de classe partag\u00E9es obligatoire ou \u00E9chec de l''op\u00E9ration\n -XshowSettings affichage de tous les param\u00E8tres et poursuite de l''op\u00E9ration\n -XshowSettings:all\n affichage de tous les param\u00E8tres et poursuite de l''op\u00E9ration\n -XshowSettings:vm affichage de tous les param\u00E8tres de machine virtuelle et poursuite de l''op\u00E9ration\n -XshowSettings:properties\n affichage de tous les param\u00E8tres de propri\u00E9t\u00E9 et poursuite de l''op\u00E9ration\n -XshowSettings:locale\n affichage de tous les param\u00E8tres d''environnement local et poursuite de l''op\u00E9ration\n\nLes options -X ne sont pas des options standard et peuvent faire l''objet de modifications sans pr\u00E9avis.\n +--- jdk/src/share/classes/sun/launcher/resources/launcher_ja.properties 2013-09-06 11:28:35.000000000 -0700 ++++ jdk/src/share/classes/sun/launcher/resources/launcher_ja.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -34,11 +34,11 @@ + java.launcher.ergo.message2 =\ \u3053\u308C\u306F\u30B5\u30FC\u30D0\u30FC\u30AF\u30E9\u30B9\u306E\u30DE\u30B7\u30F3\u3067\u5B9F\u884C\u3057\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\n + + # Translators please note do not translate the options themselves +-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n -classpath <class search path of directories and zip/jar files>\n \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001\n JAR\u30A2\u30FC\u30AB\u30A4\u30D6\u304A\u3088\u3073ZIP\u30A2\u30FC\u30AB\u30A4\u30D6\u306E{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30EA\u30B9\u30C8\u3067\u3059\u3002\n -D<name>=<value>\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A\u3059\u308B\n -verbose:[class|gc|jni]\n \u8A73\u7D30\u306A\u51FA\u529B\u3092\u884C\u3046\n -version \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D42\u4E86\u3059\u308B\n -version:<value>\n \u6307\u5B9A\u3057\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u5B9F\u884C\u306B\u5FC5\u9808\u306B\u3059\u308B\n -showversion \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D9A\u884C\u3059\u308B\n -jre-restrict-search | -no-jre-restrict-search\n \u30E6\u30FC\u30B6\u30FC\u306E\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8JRE\u3092\u30D0\u30FC\u30B8\u30E7\u30F3\u691C\u7D22\u306B\u542B\u3081\u308B/\u9664\u5916\u3059\u308B\n -? -help \u3053\u306E\u30D8\u30EB\u30D7\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B\n -X \u975E\u6A19\u6E96\u30AA\u30D7\u30B7\u30E7\u30F3\u306B\u95A2\u3059\u308B\u30D8\u30EB\u30D7\u3092\u51FA\u529B\u3059\u308B\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -esa | -enablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -dsa | -disablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -agentlib:<libname>[=<options>]\n \u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA<libname>\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002\u4F8B: -agentlib:hprof\n -agentlib:jdwp=help\u3068-agentlib:hprof=help\u3082\u53C2\u7167\n -agentpath:<pathname>[=<options>]\n \u30D5\u30EB\u30D1\u30B9\u540D\u3067\u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA\u3092\u30ED\u30FC\u30C9\u3059\u308B\n -javaagent:<jarpath>[=<options>]\n Java\u30D7\u30ED\u30B0\u30E9\u30DF\u30F3\u30B0\u8A00\u8A9E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002java.lang.instrument\u3092\u53C2\u7167\n -splash:<imagepath>\n \u6307\u5B9A\u3057\u305F\u30A4\u30E1\u30FC\u30B8\u3067\u30B9\u30D7\u30E9\u30C3\u30B7\u30E5\u753B\u9762\u3092\u8868\u793A\u3059\u308B\n\u8A73\u7D30\u306Fhttp://www.oracle.com/technetwork/java/javase/documentation/index.html\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002 ++java.launcher.opt.footer =\ -cp <\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB\u306E\u30AF\u30E9\u30B9\u691C\u7D22\u30D1\u30B9>\n -classpath <\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB\u306E\u30AF\u30E9\u30B9\u691C\u7D22\u30D1\u30B9>\n \u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3001\n JAR\u30A2\u30FC\u30AB\u30A4\u30D6\u304A\u3088\u3073ZIP\u30A2\u30FC\u30AB\u30A4\u30D6\u306E{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30EA\u30B9\u30C8\u3067\u3059\u3002\n -D<name>=<value>\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A\u3059\u308B\n -verbose:[class|gc|jni]\n \u8A73\u7D30\u306A\u51FA\u529B\u3092\u884C\u3046\n -version \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D42\u4E86\u3059\u308B\n -version:<value>\n \u6307\u5B9A\u3057\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u5B9F\u884C\u306B\u5FC5\u9808\u306B\u3059\u308B\n -showversion \u88FD\u54C1\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u51FA\u529B\u3057\u3066\u7D9A\u884C\u3059\u308B\n -jre-restrict-search | -no-jre-restrict-search\n \u30E6\u30FC\u30B6\u30FC\u306E\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8JRE\u3092\u30D0\u30FC\u30B8\u30E7\u30F3\u691C\u7D22\u306B\u542B\u3081\u308B/\u9664\u5916\u3059\u308B\n -? -help \u3053\u306E\u30D8\u30EB\u30D7\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u51FA\u529B\u3059\u308B\n -X \u975E\u6A19\u6E96\u30AA\u30D7\u30B7\u30E7\u30F3\u306B\u95A2\u3059\u308B\u30D8\u30EB\u30D7\u3092\u51FA\u529B\u3059\u308B\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \u6307\u5B9A\u3057\u305F\u7C92\u5EA6\u3067\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -esa | -enablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -dsa | -disablesystemassertions\n \u30B7\u30B9\u30C6\u30E0\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -agentlib:<libname>[=<options>]\n \u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA<libname>\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002\u4F8B: -agentlib:hprof\n -agentlib:jdwp=help\u3068-agentlib:hprof=help\u3082\u53C2\u7167\n -agentpath:<pathname>[=<options>]\n \u30D5\u30EB\u30D1\u30B9\u540D\u3067\u30CD\u30A4\u30C6\u30A3\u30D6\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30E9\u30A4\u30D6\u30E9\u30EA\u3092\u30ED\u30FC\u30C9\u3059\u308B\n -javaagent:<jarpath>[=<options>]\n Java\u30D7\u30ED\u30B0\u30E9\u30DF\u30F3\u30B0\u8A00\u8A9E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u30ED\u30FC\u30C9\u3059\u308B\u3002java.lang.instrument\u3092\u53C2\u7167\n -splash:<imagepath>\n \u6307\u5B9A\u3057\u305F\u30A4\u30E1\u30FC\u30B8\u3067\u30B9\u30D7\u30E9\u30C3\u30B7\u30E5\u753B\u9762\u3092\u8868\u793A\u3059\u308B\n\u8A73\u7D30\u306Fhttp://www.oracle.com/technetwork/java/javase/documentation/index.html\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + + # Translators please note do not translate the options themselves +-java.launcher.X.usage=\ -Xmixed \u6DF7\u5408\u30E2\u30FC\u30C9\u306E\u5B9F\u884C(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xint \u30A4\u30F3\u30BF\u30D7\u30EA\u30BF\u30FB\u30E2\u30FC\u30C9\u306E\u5B9F\u884C\u306E\u307F\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u306E\u30AF\u30E9\u30B9\u3068\u30EA\u30BD\u30FC\u30B9\u306E\u691C\u7D22\u30D1\u30B9\u3092\u8A2D\u5B9A\u3059\u308B\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u6700\u5F8C\u306B\u8FFD\u52A0\u3059\u308B\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u524D\u306B\u4ED8\u52A0\u3059\u308B\n -Xdiag \u8FFD\u52A0\u306E\u8A3A\u65AD\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B\n -Xnoclassgc \u30AF\u30E9\u30B9\u306E\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xincgc \u5897\u5206\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xloggc:<file> \u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u306BGC\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30ED\u30B0\u3092\u8A18\u9332\u3059\u308B\n -Xbatch \u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xms<size> Java\u306E\u521D\u671F\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xmx<size> Java\u306E\u6700\u5927\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xss<size> Java\u306E\u30B9\u30EC\u30C3\u30C9\u30FB\u30B9\u30BF\u30C3\u30AF\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xprof CPU\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u30FB\u30C7\u30FC\u30BF\u3092\u51FA\u529B\u3059\u308B\n -Xfuture \u5C06\u6765\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u898B\u8D8A\u3057\u3066\u3001\u6700\u3082\u53B3\u5BC6\u306A\u30C1\u30A7\u30C3\u30AF\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xrs Java/VM\u306B\u3088\u308BOS\u30B7\u30B0\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u524A\u6E1B\u3059\u308B(\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167)\n -Xcheck:jni JNI\u95A2\u6570\u306B\u5BFE\u3059\u308B\u8FFD\u52A0\u306E\u30C1\u30A7\u30C3\u30AF\u3092\u5B9F\u884C\u3059\u308B\n -Xshare:off \u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3088\u3046\u3068\u3057\u306A\u3044\n -Xshare:auto \u53EF\u80FD\u3067\u3042\u308C\u3070\u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3059\u308B(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xshare:on \u5171\u6709\u30AF\u30E9\u30B9\u30FB\u30C7\u30FC\u30BF\u306E\u4F7F\u7528\u3092\u5FC5\u9808\u306B\u3057\u3001\u3067\u304D\u306A\u3051\u308C\u3070\u5931\u6557\u3059\u308B\u3002\n -XshowSettings \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:all\n \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:vm \u3059\u3079\u3066\u306EVM\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:properties\n \u3059\u3079\u3066\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:locale\n \ +-\u3059\u3079\u3066\u306E\u30ED\u30B1\u30FC\u30EB\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n\n-X\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u975E\u6A19\u6E96\u306A\u306E\u3067\u3001\u4E88\u544A\u306A\u304F\u5909\u66F4\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002\n ++java.launcher.X.usage=\ -Xmixed \u6DF7\u5408\u30E2\u30FC\u30C9\u306E\u5B9F\u884C(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xint \u30A4\u30F3\u30BF\u30D7\u30EA\u30BF\u30FB\u30E2\u30FC\u30C9\u306E\u5B9F\u884C\u306E\u307F\n -Xbootclasspath:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u306E\u30AF\u30E9\u30B9\u3068\u30EA\u30BD\u30FC\u30B9\u306E\u691C\u7D22\u30D1\u30B9\u3092\u8A2D\u5B9A\u3059\u308B\n -Xbootclasspath/a:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u6700\u5F8C\u306B\u8FFD\u52A0\u3059\u308B\n -Xbootclasspath/p:<{0}\u3067\u533A\u5207\u3089\u308C\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304A\u3088\u3073zip/jar\u30D5\u30A1\u30A4\u30EB>\n \u30D6\u30FC\u30C8\u30B9\u30C8\u30E9\u30C3\u30D7\u30FB\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306E\u524D\u306B\u4ED8\u52A0\u3059\u308B\n -Xdiag \u8FFD\u52A0\u306E\u8A3A\u65AD\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3059\u308B\n -Xnoclassgc \u30AF\u30E9\u30B9\u306E\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xincgc \u5897\u5206\u30AC\u30D9\u30FC\u30B8\u30FB\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xloggc:<file> \u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u306BGC\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30ED\u30B0\u3092\u8A18\u9332\u3059\u308B\n -Xbatch \u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u7121\u52B9\u306B\u3059\u308B\n -Xms<size> Java\u306E\u521D\u671F\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xmx<size> Java\u306E\u6700\u5927\u30D2\u30FC\u30D7\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xss<size> Java\u306E\u30B9\u30EC\u30C3\u30C9\u30FB\u30B9\u30BF\u30C3\u30AF\u30FB\u30B5\u30A4\u30BA\u3092\u8A2D\u5B9A\u3059\u308B\n -Xprof CPU\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u30FB\u30C7\u30FC\u30BF\u3092\u51FA\u529B\u3059\u308B\n -Xfuture \u5C06\u6765\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u898B\u8D8A\u3057\u3066\u3001\u6700\u3082\u53B3\u5BC6\u306A\u30C1\u30A7\u30C3\u30AF\u3092\u6709\u52B9\u306B\u3059\u308B\n -Xrs Java/VM\u306B\u3088\u308BOS\u30B7\u30B0\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u524A\u6E1B\u3059\u308B(\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53C2\u7167)\n -Xcheck:jni JNI\u95A2\u6570\u306B\u5BFE\u3059\u308B\u8FFD\u52A0\u306E\u30C1\u30A7\u30C3\u30AF\u3092\u5B9F\u884C\u3059\u308B\n -Xshare:off \u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3088\u3046\u3068\u3057\u306A\u3044\n -Xshare:auto \u53EF\u80FD\u3067\u3042\u308C\u3070\u5171\u6709\u30AF\u30E9\u30B9\u306E\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3059\u308B(\u30C7\u30D5\u30A9\u30EB\u30C8)\n -Xshare:on \u5171\u6709\u30AF\u30E9\u30B9\u30FB\u30C7\u30FC\u30BF\u306E\u4F7F\u7528\u3092\u5FC5\u9808\u306B\u3057\u3001\u3067\u304D\u306A\u3051\u308C\u3070\u5931\u6557\u3059\u308B\u3002\n -XshowSettings \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:all\n \u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:vm \u3059\u3079\u3066\u306EVM\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:properties\n \ ++\u3059\u3079\u3066\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n -XshowSettings:locale\n \u3059\u3079\u3066\u306E\u30ED\u30B1\u30FC\u30EB\u95A2\u9023\u306E\u8A2D\u5B9A\u3092\u8868\u793A\u3057\u3066\u7D9A\u884C\u3059\u308B\n\n-X\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u975E\u6A19\u6E96\u306A\u306E\u3067\u3001\u4E88\u544A\u306A\u304F\u5909\u66F4\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002\n + + # Translators please note do not translate the options themselves + java.launcher.X.macosx.usage=\n\u6B21\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306FMac OS X\u56FA\u6709\u3067\u3059\u3002\n -XstartOnFirstThread\n main()\u30E1\u30BD\u30C3\u30C9\u3092\u6700\u521D(AppKit)\u306E\u30B9\u30EC\u30C3\u30C9\u3067\u5B9F\u884C\u3059\u308B\n -Xdock:name=<application name>"\n Dock\u306B\u8868\u793A\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u540D\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3059\u308B\n -Xdock:icon=<path to icon file>\n Dock\u306B\u8868\u793A\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30A2\u30A4\u30B3\u30F3\u3092\u30AA\u30FC\u30D0\u30FC\u30E9\u30A4\u30C9\u3059\u308B\n\n +--- jdk/src/share/classes/sun/launcher/resources/launcher_ko.properties 2013-09-06 11:28:35.000000000 -0700 ++++ jdk/src/share/classes/sun/launcher/resources/launcher_ko.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -34,10 +34,11 @@ + java.launcher.ergo.message2 =\ \uC11C\uBC84\uAE09 \uC2DC\uC2A4\uD15C\uC5D0\uC11C \uC2E4\uD589 \uC911\uC774\uAE30 \uB54C\uBB38\uC785\uB2C8\uB2E4.\n + + # Translators please note do not translate the options themselves +-java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\\n -classpath <class search path of directories and zip/jar files>\\n \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uAC80\uC0C9\uD560 {0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC,\\n JAR \uC544\uCE74\uC774\uBE0C \uBC0F ZIP \uC544\uCE74\uC774\uBE0C \uBAA9\uB85D\uC785\uB2C8\uB2E4.\\n -D<name>=<value>\\n \uC2DC\uC2A4\uD15C \uC18D\uC131\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.\\n -verbose:[class|gc|jni]\\n \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -version \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uC885\uB8CC\uD569\uB2C8\uB2E4.\\n -version:<value>\\n \uC2E4\uD589\uD560 \uBC84\uC804\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.\\n -showversion \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\\n -jre-restrict-search | -no-jre-restrict-search\\n \uBC84\uC804 \uAC80\uC0C9\uC5D0\uC11C \uC0AC\uC6A9\uC790 \uC804\uC6A9 JRE\uB97C \uD3EC\uD568/\uC81C\uC678\uD569\uB2C8\uB2E4.\\n -? -help \uC774 \uB3C4\uC6C0\uB9D0 \uBA54\uC2DC\uC9C0\uB97C \uC778\uC1C4\uD569\uB2C8\uB2E4.\\n -X \uBE44\uD45C\uC900 \uC635\uC158\uC5D0 \uB300\uD55C \uB3C4\uC6C0\uB9D0\uC744 \uC778\uC1C4\uD569\uB2C8\uB2E4.\\n -ea[:<packagename>...|:<classname>]\\n -enableassertions[:<packagename>...|:<classname>]\\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -da[:<packagename>...|:<classname>]\\n -disableassertions[:<packagename>...|:<classname>]\\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -esa | -enablesystemassertions\\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -dsa | -disablesystemassertions\\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\\n -agentlib:<libname>[=<options>]\\n <libname> \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4(\uC608: -agentlib:hprof).\\n -agentlib:jdwp=help \uBC0F -agentlib:hprof=help\uB3C4 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\\n -agentpath:<pathname>[=<options>]\\n \uC804\uCCB4 \uACBD\uB85C\uBA85\uC744 \uC0AC\uC6A9\uD558\uC5EC \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4.\\n -javaagent:<jarpath>[=<options>]\\n Java \uD504\uB85C\uADF8\uB798\uBC0D \uC5B8\uC5B4 \uC5D0\uC774\uC804\uD2B8\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4. java.lang.instrument\uB97C \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\\n -splash:<imagepath>\\n \uC774\uBBF8\uC9C0\uAC00 \uC9C0\uC815\uB41C \uC2A4\uD50C\uB798\uC2DC \uD654\uBA74\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.\\n\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 http://www.oracle.com/technetwork/java/javase/documentation/index.html\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624. ++java.launcher.opt.footer =\ -cp <\uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C\uC758 \uD074\uB798\uC2A4 \uAC80\uC0C9 \uACBD\uB85C>\n -classpath <\uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C\uC758 \uD074\uB798\uC2A4 \uAC80\uC0C9 \uACBD\uB85C>\n \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uAC80\uC0C9\uD560 {0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC,\n JAR \uC544\uCE74\uC774\uBE0C \uBC0F ZIP \uC544\uCE74\uC774\uBE0C \uBAA9\uB85D\uC785\uB2C8\uB2E4.\n -D<name>=<value>\n \uC2DC\uC2A4\uD15C \uC18D\uC131\uC744 \uC124\uC815\uD569\uB2C8\uB2E4.\n -verbose:[class|gc|jni]\n \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -version \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uC885\uB8CC\uD569\uB2C8\uB2E4.\n -version:<value>\n \uC2E4\uD589\uD560 \uBC84\uC804\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.\n -showversion \uC81C\uD488 \uBC84\uC804\uC744 \uC778\uC1C4\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -jre-restrict-search | -no-jre-restrict-search\n \uBC84\uC804 \uAC80\uC0C9\uC5D0\uC11C \uC0AC\uC6A9\uC790 \uC804\uC6A9 JRE\uB97C \uD3EC\uD568/\uC81C\uC678\uD569\uB2C8\uB2E4.\n -? -help \uC774 \uB3C4\uC6C0\uB9D0 \uBA54\uC2DC\uC9C0\uB97C \uC778\uC1C4\uD569\uB2C8\uB2E4.\n -X \uBE44\uD45C\uC900 \uC635\uC158\uC5D0 \uB300\uD55C \uB3C4\uC6C0\uB9D0\uC744 \uC778\uC1C4\uD569\uB2C8\uB2E4.\n -ea[:<packagename>...|:<classname>]\n -enableassertions[:<packagename>...|:<classname>]\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -da[:<packagename>...|:<classname>]\n -disableassertions[:<packagename>...|:<classname>]\n \uC138\uBD84\uC131\uC774 \uC9C0\uC815\uB41C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -esa | -enablesystemassertions\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -dsa | -disablesystemassertions\n \uC2DC\uC2A4\uD15C \uAC80\uC99D\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -agentlib:<libname>[=<options>]\n <libname> \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4(\uC608: -agentlib:hprof).\n -agentlib:jdwp=help \uBC0F -agentlib:hprof=help\uB3C4 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\n -agentpath:<pathname>[=<options>]\n \uC804\uCCB4 \uACBD\uB85C\uBA85\uC744 \uC0AC\uC6A9\uD558\uC5EC \uACE0\uC720 \uC5D0\uC774\uC804\uD2B8 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4.\n -javaagent:<jarpath>[=<options>]\n Java \uD504\uB85C\uADF8\uB798\uBC0D \uC5B8\uC5B4 \uC5D0\uC774\uC804\uD2B8\uB97C \uB85C\uB4DC\uD569\uB2C8\uB2E4. java.lang.instrument\uB97C \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\n -splash:<imagepath>\n \uC774\uBBF8\uC9C0\uAC00 \uC9C0\uC815\uB41C \uC2A4\uD50C\uB798\uC2DC \uD654\uBA74\uC744 \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 http://www.oracle.com/technetwork/java/javase/documentation/index.html\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624. + + # Translators please note do not translate the options themselves +-java.launcher.X.usage=\ -Xmixed \uD63C\uD569 \uBAA8\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xint \uD574\uC11D\uB41C \uBAA8\uB4DC\uB9CC \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xbootclasspath:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uBC0F \uB9AC\uC18C\uC2A4\uC5D0 \uB300\uD55C \uAC80\uC0C9 \uACBD\uB85C\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uB05D\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uC55E\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xdiag \uCD94\uAC00 \uC9C4\uB2E8 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n -Xnoclassgc \uD074\uB798\uC2A4\uC758 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xincgc \uC99D\uBD84\uC801\uC778 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xloggc:<file> \uC2DC\uAC04 \uAE30\uB85D\uACFC \uD568\uAED8 \uD30C\uC77C\uC5D0 GC \uC0C1\uD0DC\uB97C \uAE30\uB85D\uD569\uB2C8\uB2E4.\n -Xbatch \uBC31\uADF8\uB77C\uC6B4\uB4DC \uCEF4\uD30C\uC77C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xms<size> \uCD08\uAE30 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xmx<size> \uCD5C\uB300 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xss<size> Java \uC2A4\uB808\uB4DC \uC2A4\uD0DD \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xprof CPU \uD504\uB85C\uD30C\uC77C \uC791\uC131 \uB370\uC774\uD130\uB97C \uCD9C\uB825\uD569\uB2C8\uB2E4.\n -Xfuture \uBBF8\uB798 \uAE30\uBCF8\uAC12\uC744 \uC608\uCE21\uD558\uC5EC \uAC00\uC7A5 \uC5C4\uACA9\uD55C \uAC80\uC0AC\uB97C \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xrs Java/VM\uC5D0 \uC758\uD55C OS \uC2E0\uD638 \uC0AC\uC6A9\uC744 \uC904\uC785\uB2C8\uB2E4(\uC124\uBA85\uC11C \uCC38\uC870).\n -Xcheck:jni JNI \uD568\uC218\uC5D0 \uB300\uD55C \uCD94\uAC00 \uAC80\uC0AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4.\n -Xshare:off \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130 \uC0AC\uC6A9\uC744 \uC2DC\uB3C4\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -Xshare:auto \uAC00\uB2A5\uD55C \uACBD\uC6B0 \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xshare:on \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. \uADF8\uB807\uC9C0 \uC54A\uC744 \uACBD\uC6B0 \uC2E4\uD328\uD569\uB2C8\uB2E4.\n -XshowSettings \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:all\n \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:vm \uBAA8\uB4E0 VM \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:properties\n \uBAA8\uB4E0 \uC18D\uC131 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:locale\n \uBAA8\uB4E0 \uB85C\uCF00\uC77C \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n\n-X \uC635\uC158\uC740 \uBE44\uD45C\uC900 \uC635\uC158\uC774\uBBC0\uB85C \uD1B5\uC9C0 \uC5C6\uC774 \uBCC0\uACBD\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n ++java.launcher.X.usage=\ -Xmixed \uD63C\uD569 \uBAA8\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xint \uD574\uC11D\uB41C \uBAA8\uB4DC\uB9CC \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xbootclasspath:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uBC0F \uB9AC\uC18C\uC2A4\uC5D0 \uB300\uD55C \uAC80\uC0C9 \uACBD\uB85C\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xbootclasspath/a:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uB05D\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xbootclasspath/p:<{0}(\uC73C)\uB85C \uAD6C\uBD84\uB41C \uB514\uB809\uD1A0\uB9AC \uBC0F zip/jar \uD30C\uC77C>\n \uBD80\uD2B8\uC2A4\uD2B8\uB7A9 \uD074\uB798\uC2A4 \uACBD\uB85C \uC55E\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4.\n -Xdiag \uCD94\uAC00 \uC9C4\uB2E8 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n -Xnoclassgc \uD074\uB798\uC2A4\uC758 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xincgc \uC99D\uBD84\uC801\uC778 \uBD88\uD544\uC694\uD55C \uC815\uBCF4 \uBAA8\uC74C\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xloggc:<file> \uC2DC\uAC04 \uAE30\uB85D\uACFC \uD568\uAED8 \uD30C\uC77C\uC5D0 GC \uC0C1\uD0DC\uB97C \uAE30\uB85D\uD569\uB2C8\uB2E4.\n -Xbatch \uBC31\uADF8\uB77C\uC6B4\uB4DC \uCEF4\uD30C\uC77C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xms<size> \uCD08\uAE30 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xmx<size> \uCD5C\uB300 Java \uD799 \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xss<size> Java \uC2A4\uB808\uB4DC \uC2A4\uD0DD \uD06C\uAE30\uB97C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xprof CPU \uD504\uB85C\uD30C\uC77C \uC791\uC131 \uB370\uC774\uD130\uB97C \uCD9C\uB825\uD569\uB2C8\uB2E4.\n -Xfuture \uBBF8\uB798 \uAE30\uBCF8\uAC12\uC744 \uC608\uCE21\uD558\uC5EC \uAC00\uC7A5 \uC5C4\uACA9\uD55C \uAC80\uC0AC\uB97C \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD569\uB2C8\uB2E4.\n -Xrs Java/VM\uC5D0 \uC758\uD55C OS \uC2E0\uD638 \uC0AC\uC6A9\uC744 \uC904\uC785\uB2C8\uB2E4(\uC124\uBA85\uC11C \uCC38\uC870).\n -Xcheck:jni JNI \uD568\uC218\uC5D0 \uB300\uD55C \uCD94\uAC00 \uAC80\uC0AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4.\n -Xshare:off \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130 \uC0AC\uC6A9\uC744 \uC2DC\uB3C4\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -Xshare:auto \uAC00\uB2A5\uD55C \uACBD\uC6B0 \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4(\uAE30\uBCF8\uAC12).\n -Xshare:on \uACF5\uC720 \uD074\uB798\uC2A4 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. \uADF8\uB807\uC9C0 \uC54A\uC744 \uACBD\uC6B0 \uC2E4\uD328\uD569\uB2C8\uB2E4.\n -XshowSettings \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:all\n \uBAA8\uB4E0 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:vm \uBAA8\uB4E0 VM \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:properties\n \uBAA8\uB4E0 \uC18D\uC131 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n -XshowSettings:locale\n \uBAA8\uB4E0 \uB85C\uCF00\uC77C \uAD00\uB828 \uC124\uC815\uC744 \uD45C\uC2DC\uD55C \uD6C4 \uACC4\uC18D\uD569\uB2C8\uB2E4.\n\n-X \uC635\uC158\uC740 \uBE44\uD45C\uC900 \uC635\uC158\uC774\uBBC0\uB85C \uD1B5\uC9C0 \uC5C6\uC774 \uBCC0\uACBD\uB420 \uC218 \ ++\uC788\uC2B5\uB2C8\uB2E4.\n + + # Translators please note do not translate the options themselves + java.launcher.X.macosx.usage=\n\uB2E4\uC74C\uC740 Mac OS X\uC5D0 \uD2B9\uC815\uB41C \uC635\uC158\uC785\uB2C8\uB2E4.\n -XstartOnFirstThread\n \uCCAB\uBC88\uC9F8 (AppKit) \uC2A4\uB808\uB4DC\uC5D0 main() \uBA54\uC18C\uB4DC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.\n -Xdock:name=<application name>"\n \uACE0\uC815\uC73C\uB85C \uD45C\uC2DC\uB41C \uAE30\uBCF8 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC774\uB984\uC744 \uBB34\uD6A8\uD654\uD569\uB2C8\uB2E4.\n -Xdock:icon=<path to icon file>\n \uACE0\uC815\uC73C\uB85C \uD45C\uC2DC\uB41C \uAE30\uBCF8 \uC544\uC774\uCF58\uC744 \uBB34\uD6A8\uD654\uD569\uB2C8\uB2E4.\n\n +--- jdk/src/share/classes/sun/launcher/resources/launcher_pt_BR.properties 2013-09-06 11:28:35.000000000 -0700 ++++ jdk/src/share/classes/sun/launcher/resources/launcher_pt_BR.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -34,7 +34,7 @@ + java.launcher.ergo.message2 =\ porque a execu\u00E7\u00E3o est\u00E1 sendo feita em uma m\u00E1quina de classe de servidor.\n + + # Translators please note do not translate the options themselves +-java.launcher.opt.footer =\ -cp <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n -classpath <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n Uma lista separada por {0} de diret\u00F3rios, archives JAR\n e archives ZIP nos quais ser\u00E3o procurados os arquivos de classe.\n -D<nome>=<valor>\n define uma propriedade do sistema\n -verbose[:classe|gc|jni]\n ativa a sa\u00EDda detalhada\n -version imprime a vers\u00E3o do produto e sai do programa\n -version:<valor>\n requer a execu\u00E7\u00E3o da vers\u00E3o especificada\n -showversion imprime a vers\u00E3o do produto e continua\n -jre-restrict-search | -no-jre-restrict-search\n inclui/exclui JREs privados do usu\u00E1rio na pesquisa de vers\u00E3o\n -? -help imprime esta mensagem de ajuda\n -X imprime a ajuda sobre op\u00E7\u00F5es n\u00E3o padronizadas\n -ea[:<nome do pacote>...|:<nome da classe>]\n -enableassertions[:<nome do pacote>...|:<nome da classe>]\n ativa asser\u00E7\u00F5es com granularidade especificada\n -da[:<nome do pacote>...|:<nome da classe>]\n -disableassertions[:<nome do pacote>...|:<nome da classe>]\n desativa asser\u00E7\u00F5es com granularidade especificada\n -esa | -enablesystemassertions\n ativa asser\u00E7\u00F5es do sistema\n -dsa | -disablesystemassertions\n desativa asser\u00E7\u00F5es do sistema\n -agentlib:<nome da biblioteca>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa <nome da biblioteca>, por exemplo: -agentlib:hprof\n consulte tamb\u00E9m: -agentlib:jdwp=help e -agentlib:hprof=help\n -agentpath:<nome do caminho>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa com base no nome do caminho completo\n -javaagent:<caminho do arquivo jar>[=<op\u00E7\u00F5es>]\n carrega o agente da linguagem de programa\u00E7\u00E3o Java; consulte java.lang.instrument\n -splash:<caminho da imagem>\n mostra a tela de abertura com a imagem especificada\nConsulte http://www.oracle.com/technetwork/java/javase/documentation/index.html para obter mais detalhes. ++java.launcher.opt.footer =\ -cp <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n -classpath <caminho de pesquisa da classe dos diret\u00F3rios e arquivos zip/jar>\n Uma lista separada por {0} de diret\u00F3rios, archives JAR\n e archives ZIP nos quais ser\u00E3o procurados os arquivos de classe.\n -D<nome>=<valor>\n define uma propriedade do sistema\n -verbose:[class|gc|jni]\n ativa a sa\u00EDda detalhada\n -version imprime a vers\u00E3o do produto e sai do programa\n -version:<valor>\n requer a execu\u00E7\u00E3o da vers\u00E3o especificada\n -showversion imprime a vers\u00E3o do produto e continua\n -jre-restrict-search | -no-jre-restrict-search\n inclui/exclui JREs privados do usu\u00E1rio na pesquisa de vers\u00E3o\n -? -help imprime esta mensagem de ajuda\n -X imprime a ajuda sobre op\u00E7\u00F5es n\u00E3o padronizadas\n -ea[:<nome do pacote>...|:<nome da classe>]\n -enableassertions[:<nome do pacote>...|:<nome da classe>]\n ativa asser\u00E7\u00F5es com granularidade especificada\n -da[:<nome do pacote>...|:<nome da classe>]\n -disableassertions[:<nome do pacote>...|:<nome da classe>]\n desativa asser\u00E7\u00F5es com granularidade especificada\n -esa | -enablesystemassertions\n ativa asser\u00E7\u00F5es do sistema\n -dsa | -disablesystemassertions\n desativa asser\u00E7\u00F5es do sistema\n -agentlib:<nome da biblioteca>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa <nome da biblioteca>, por exemplo: -agentlib:hprof\n consulte tamb\u00E9m: -agentlib:jdwp=help e -agentlib:hprof=help\n -agentpath:<nome do caminho>[=<op\u00E7\u00F5es>]\n carrega a biblioteca de agentes nativa com base no nome do caminho completo\n -javaagent:<caminho do arquivo jar>[=<op\u00E7\u00F5es>]\n carrega o agente da linguagem de programa\u00E7\u00E3o Java; consulte java.lang.instrument\n -splash:<caminho da imagem>\n mostra a tela de abertura com a imagem especificada\nConsulte http://www.oracle.com/technetwork/java/javase/documentation/index.html para obter mais detalhes. + + # Translators please note do not translate the options themselves + java.launcher.X.usage=\ -Xmixed execu\u00E7\u00E3o no modo misto (default)\n -Xint execu\u00E7\u00E3o somente no modo interpretado\n -Xbootclasspath:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n define o caminho de pesquisa para classes e recursos de inicializa\u00E7\u00E3o\n -Xbootclasspath/a:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n anexa no final do caminho da classe de inicializa\u00E7\u00E3o\n -Xbootclasspath/p:<diret\u00F3rios e arquivos zip/jar separados por {0}>\n anexa no in\u00EDcio do caminho da classe de inicializa\u00E7\u00E3o\n -Xdiag mostra mensagens de diagn\u00F3stico adicionais\n -Xnoclassgc desativa a coleta de lixo da classe\n -Xincgc ativa a coleta de lixo incremental\n -Xloggc:<arquivo> registra o status do GC status em um arquivo com marca\u00E7\u00F5es de data e hor\u00E1rio\n -Xbatch desativa a compila\u00E7\u00E3o em segundo plano\n -Xms<tamanho> define o tamanho inicial do heap Java\n -Xmx<tamanho> define o tamanho m\u00E1ximo do heap Java\n -Xss<tamanho> define o tamanho da pilha de threads java\n -Xprof produz dados de perfil da cpu\n -Xfuture ativa verifica\u00E7\u00F5es de n\u00EDvel m\u00E1ximo de exig\u00EAncia, prevendo o valor default futuro\n -Xrs reduz o uso de sinais do SO pelo(a) Java/VM (consulte a documenta\u00E7\u00E3o)\n -Xcheck:jni executa verifica\u00E7\u00F5es adicionais de fun\u00E7\u00F5es da JNI\n -Xshare:off n\u00E3o tenta usar dados da classe compartilhada\n -Xshare:auto se poss\u00EDvel, usa dados da classe compartilhada (default)\n -Xshare:on requer o uso de dados da classe compartilhada, caso contr\u00E1rio haver\u00E1 falha.\n -XshowSettings mostra todas as defini\u00E7\u00F5es e continua\n -XshowSettings:all\n mostra todas as defini\u00E7\u00F5es e continua\n -XshowSettings:vm mostra todas as defini\u00E7\u00F5es relacionadas \u00E0 vm e continua\n -XshowSettings:properties\n mostra todas as defini\u00E7\u00F5es da propriedade e continua\n -XshowSettings:locale\n mostra todas as defini\u00E7\u00F5es relativas \u00E0s configura\u00E7\u00F5es regionais e continua\n\nAs -X options n\u00E3o s\u00E3o padronizadas e est\u00E3o sujeitas a altera\u00E7\u00F5es sem aviso.\n +--- jdk/src/share/classes/sun/management/HotSpotDiagnostic.java 2013-09-06 11:28:35.000000000 -0700 ++++ jdk/src/share/classes/sun/management/HotSpotDiagnostic.java 2013-12-01 11:14:34.000000000 -0800 +@@ -40,7 +40,17 @@ + public HotSpotDiagnostic() { + } + +- public native void dumpHeap(String outputFile, boolean live) throws IOException; ++ public void dumpHeap(String outputFile, boolean live) throws IOException { ++ SecurityManager security = System.getSecurityManager(); ++ if (security != null) { ++ security.checkWrite(outputFile); ++ Util.checkControlAccess(); ++ } ++ ++ dumpHeap0(outputFile, live); + } - } // class SecurityManager ---- jaxp/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java 2012-08-10 09:37:21.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java 2013-04-28 16:29:20.000000000 -0700 -@@ -48,6 +48,7 @@ - // - // Constants - // -+ private static final String DEFAULT_INTERNAL_CLASSES = "com.sun.org.apache."; - - // name of default properties file to look for in JDK's jre/lib directory - private static final String DEFAULT_PROPERTIES_FILENAME = "xerces.properties"; -@@ -305,10 +306,14 @@ - //restrict the access to package as speicified in java.security policy - SecurityManager security = System.getSecurityManager(); - if (security != null) { -- final int lastDot = className.lastIndexOf("."); -- String packageName = className; -- if (lastDot != -1) packageName = className.substring(0, lastDot); -- security.checkPackageAccess(packageName); -+ if (className.startsWith(DEFAULT_INTERNAL_CLASSES)) { -+ cl = null; -+ } else { -+ final int lastDot = className.lastIndexOf("."); -+ String packageName = className; -+ if (lastDot != -1) packageName = className.substring(0, lastDot); -+ security.checkPackageAccess(packageName); ++ ++ private native void dumpHeap0(String outputFile, boolean live) throws IOException; + + public List<VMOption> getDiagnosticOptions() { + List<Flag> allFlags = Flag.getAllFlags(); +--- jdk/src/share/classes/sun/misc/JavaLangAccess.java 2013-09-06 11:28:37.000000000 -0700 ++++ jdk/src/share/classes/sun/misc/JavaLangAccess.java 2013-12-01 11:14:34.000000000 -0800 +@@ -25,6 +25,7 @@ + + package sun.misc; + ++import java.security.AccessControlContext; + import sun.reflect.ConstantPool; + import sun.reflect.annotation.AnnotationType; + import sun.nio.ch.Interruptible; +@@ -88,4 +89,10 @@ + * Returns the murmur hash value for the specified String. + */ + int getStringHash32(String string); ++ ++ /** ++ * Returns a new Thread with the given Runnable and an ++ * inherited AccessControlContext. ++ */ ++ Thread newThreadWithAcc(Runnable target, AccessControlContext acc); + } +--- jdk/src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java 2013-09-06 11:28:38.000000000 -0700 ++++ jdk/src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java 2014-01-18 12:16:25.000000000 -0800 +@@ -428,6 +428,10 @@ + throw new AlreadyBoundException(); + InetSocketAddress isa = (local == null) ? + new InetSocketAddress(0) : Net.checkAddress(local); ++ SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkListen(isa.getPort()); ++ } + NetHooks.beforeTcpBind(fd, isa.getAddress(), isa.getPort()); + Net.bind(fd, isa.getAddress(), isa.getPort()); + localAddress = Net.localAddress(fd); +--- jdk/src/share/classes/sun/nio/ch/SocketChannelImpl.java 2013-09-06 11:28:39.000000000 -0700 ++++ jdk/src/share/classes/sun/nio/ch/SocketChannelImpl.java 2014-01-18 12:16:25.000000000 -0800 +@@ -599,6 +599,10 @@ + throw new AlreadyBoundException(); + InetSocketAddress isa = (local == null) ? + new InetSocketAddress(0) : Net.checkAddress(local); ++ SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkListen(isa.getPort()); ++ } + NetHooks.beforeTcpBind(fd, isa.getAddress(), isa.getPort()); + Net.bind(fd, isa.getAddress(), isa.getPort()); + localAddress = Net.localAddress(fd); +--- jdk/src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java 2013-09-06 11:28:39.000000000 -0700 ++++ jdk/src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java 2013-12-01 11:14:35.000000000 -0800 +@@ -1031,6 +1031,24 @@ + "ebcdic-s-871+euro" + }); + ++ charset("IBM290", "IBM290", ++ new String[] { ++ "cp290", ++ "ibm290", ++ "ibm-290", ++ "csIBM290", ++ "EBCDIC-JP-kana", ++ "290" ++ }); ++ ++ charset("x-IBM300", "IBM300", ++ new String[] { ++ "cp300", ++ "ibm300", ++ "ibm-300", ++ "300" ++ }); ++ + // Macintosh MacOS/Apple char encodingd + + +--- jdk/src/share/classes/sun/nio/cs/ext/IBM300.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/src/share/classes/sun/nio/cs/ext/IBM300.java 2013-12-01 11:14:35.000000000 -0800 +@@ -0,0 +1,1875 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * This code is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++ * version 2 for more details (a copy is included in the LICENSE file that ++ * accompanied this code). ++ * ++ * You should have received a copy of the GNU General Public License version ++ * 2 along with this work; if not, write to the Free Software Foundation, ++ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++ * ++ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++ * or visit www.oracle.com if you need additional information or have any ++ * questions. ++ */ ++ ++// -- This file was mechanically generated: Do not edit! -- // ++ ++package sun.nio.cs.ext; ++ ++import java.nio.charset.Charset; ++import java.nio.charset.CharsetDecoder; ++import java.nio.charset.CharsetEncoder; ++import java.util.Arrays; ++import sun.nio.cs.HistoricallyNamedCharset; ++import sun.nio.cs.ext.DoubleByte; ++ ++public class IBM300 extends Charset ++ implements HistoricallyNamedCharset ++{ ++ public IBM300() { ++ super("x-IBM300", ExtendedCharsets.aliasesFor("x-IBM300")); ++ } ++ ++ public String historicalName() { return "Cp300"; } ++ ++ public boolean contains(Charset cs) { ++ return (cs instanceof IBM300); ++ } ++ ++ public CharsetDecoder newDecoder() { ++ initb2c(); ++ return new DoubleByte.Decoder_EBCDIC_DBCSONLY(this, b2c, 0x40, 0xfe); ++ } ++ ++ public CharsetEncoder newEncoder() { ++ initc2b(); ++ return new DoubleByte.Encoder_EBCDIC_DBCSONLY( ++ this, new byte[]{ (byte)0x42, (byte)0x6f }, c2b, c2bIndex); ++ } ++ static final String b2cSBStr = ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" ; ++ ++ static final String[] b2cStr = { ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ "\u3000\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7" + ++ "\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF" + ++ "\u03C0\u03C1\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8" + ++ "\u03C9\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\u0391\u0392\u0393\u0394\u0395\u0396\u0397" + ++ "\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F" + ++ "\u03A0\u03A1\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8" + ++ "\u03A9\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\u0430\u0431\u0432\u0433\u0434\u0435\u0451\u0436" + ++ "\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E" + ++ "\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446" + ++ "\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E" + ++ "\u044F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\u2170\u2171\u2172\u2173\u2174\u2175\u2176" + ++ "\u2177\u2178\u2179\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\u0410\u0411\u0412\u0413\u0414\u0415\u0401\u0416" + ++ "\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E" + ++ "\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426" + ++ "\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E" + ++ "\u042F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\u2160\u2161\u2162\u2163\u2164\u2165\u2166" + ++ "\u2167\u2168\u2169\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFE1\uFF0E\uFF1C\uFF08\uFF0B\uFF5C" + ++ "\uFF06\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFF01\uFFE5\uFF0A\uFF09\uFF1B\uFFE2" + ++ "\uFF0D\uFF0F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFE4\uFF0C\uFF05\uFF3F\uFF1E\uFF1F" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFF40\uFF1A\uFF03\uFF20\uFF07\uFF1D\uFF02" + ++ "\uFFFD\uFF41\uFF42\uFF43\uFF44\uFF45\uFF46\uFF47" + ++ "\uFF48\uFF49\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFF4A\uFF4B\uFF4C\uFF4D\uFF4E\uFF4F\uFF50" + ++ "\uFF51\uFF52\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFE3\uFF53\uFF54\uFF55\uFF56\uFF57\uFF58" + ++ "\uFF59\uFF5A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFF5B\uFF21\uFF22\uFF23\uFF24\uFF25\uFF26\uFF27" + ++ "\uFF28\uFF29\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFF5D\uFF2A\uFF2B\uFF2C\uFF2D\uFF2E\uFF2F\uFF30" + ++ "\uFF31\uFF32\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFF04\uFFFD\uFF33\uFF34\uFF35\uFF36\uFF37\uFF38" + ++ "\uFF39\uFF3A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFF10\uFF11\uFF12\uFF13\uFF14\uFF15\uFF16\uFF17" + ++ "\uFF18\uFF19\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\u3002\u300C\u300D\u3001\u30FB\u30F2\u30A1" + ++ "\u30A3\u30A5\uFFE0\u2220\u22A5\u2312\u2202\u2207" + ++ "\uFFFD\u30A7\u30A9\u30E3\u30E5\u30E7\u30C3\u30EE" + ++ "\u30FC\u30F5\u30F6\u2261\u2252\u226A\u226B\u221A" + ++ "\u223D\u221D\u222B\u222C\u2208\u220B\u2286\u2287" + ++ "\u2282\u2283\u222A\u2229\u2227\u2228\u21D2\u21D4" + ++ "\u2200\u2203\u212B\u2030\u266F\u266D\u266A\u2020" + ++ "\u2021\u00B6\u25EF\uFFFD\u2500\u2502\u250C\u2510" + ++ "\uFFFD\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD" + ++ "\u30AF\u30B1\u30B3\uFFFD\u30B5\u30B7\u30B9\u30BB" + ++ "\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB" + ++ "\u30CC\u30CD\u30CE\uFFFD\uFFFD\u30CF\u30D2\u30D5" + ++ "\uFFFD\uFF5E\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1" + ++ "\u30E2\u30E4\u30E6\uFFFD\u30E8\u30E9\u30EA\u30EB" + ++ "\u2518\u2514\u251C\u252C\u2524\u2534\u253C\u2501" + ++ "\u2503\u250F\u30EC\u30ED\u30EF\u30F3\u309B\u309C" + ++ "\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA" + ++ "\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0" + ++ "\u30D3\u30D6\u30D9\u30DC\u30F4\u30D1\u30D4\u30D7" + ++ "\u30DA\u30DD\u30F0\u30F1\u30FD\u30FE\uFFFD\uFFFD" + ++ "\uFF3C\u2513\u251B\u2517\u2523\u2533\u252B\u253B" + ++ "\u254B\u2520\u252F\u2528\u2537\u253F\u251D\u2530" + ++ "\u2525\u2538\u2542\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\uFFFD\u300E\u300F\uFF3B\uFF3D\u3092\u3041" + ++ "\u3043\u3045\u2015\u00B1\u2260\u221E\u2103\uFFFD" + ++ "\u00B4\u3047\u3049\u3083\u3085\u3087\u3063\u308E" + ++ "\uFFFD\uFFFD\u2010\u3003\u4EDD\u3005\u3006\u3007" + ++ "\u00A8\u2018\u201C\u3014\u3008\u300A\u3010\u2266" + ++ "\u2234\u2642\u00A7\u203B\u3012\u3231\u2116\u2121" + ++ "\uFF3E\u2019\u201D\u3015\u3009\u300B\u3011\u2267" + ++ "\u2235\u2640\u00D7\u00F7\u2225\u3013\u2025\u2026" + ++ "\uFFFD\u3042\u3044\u3046\u3048\u304A\u304B\u304D" + ++ "\u304F\u3051\u3053\uFFFD\u3055\u3057\u3059\u305B" + ++ "\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B" + ++ "\u306C\u306D\u306E\uFFFD\uFFFD\u306F\u3072\u3075" + ++ "\uFFFD\uFFFD\u3078\u307B\u307E\u307F\u3080\u3081" + ++ "\u3082\u3084\u3086\uFFFD\u3088\u3089\u308A\u308B" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\u308C\u308D\u308F\u3093\uFFFD\uFFFD" + ++ "\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A" + ++ "\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070" + ++ "\u3073\u3076\u3079\u307C\uFFFD\u3071\u3074\u3077" + ++ "\u307A\u307D\u3090\u3091\u309D\u309E\uFFFD\uFFFD" + ++ "\u25CB\u25CF\u25B3\u25B2\u25CE\u2606\u2605\u25C7" + ++ "\u25C6\u25A1\u25A0\u25BD\u25BC\u00B0\u2032\u2033" + ++ "\u2192\u2190\u2191\u2193\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03" + ++ "\u516B\u4E5D\u5341\u767E\u5343\u4E07\u5104\u90FD" + ++ "\u9053\u5E9C\u770C\u5E02\u533A\u753A\u6751\u6771" + ++ "\u897F\u5357\u5317\u5927\u4E2D\u5C0F\u4E0A\u4E0B" + ++ "\u5E74\u6708\u65E5\u7530\u5B50\u5C71\u672C\u5DDD" + ++ "\u85E4\u91CE\u5DE5\u696D\u6728\u4E95\u90CE\u5CF6" + ++ "\u96C4\u9AD8\u5CA1\u592B\u539F\u4EAC\u4F50\u6B63" + ++ "\u677E\u6A5F\u548C\u88FD\u7537\u7F8E\u5409\u5D0E" + ++ "\u77F3\u8C37\u96FB\u9577\u6CBB\u6CA2\u91D1\u65B0" + ++ "\u53E3\u6A4B\u4E45\u798F\u6240\u5E73\u5185\u56FD" + ++ "\u5316\u962A\u5BAE\u4EBA\u4F5C\u90E8\u6E05\u6B21" + ++ "\u7FA9\u751F\u4EE3\u51FA\u6C34\u68EE\u5149\u52A0" + ++ "\u5408\u795E\u6797\u91CD\u884C\u4FE1\u660E\u6D77" + ++ "\u5B89\u5E78\u4FDD\u592A\u5BCC\u6C5F\u9234\u524D" + ++ "\u77E5\u6B66\u4F0A\u662D\u5206\u52DD\u7528\u5E83" + ++ "\u9020\u6C17\u6210\u898B\u5229\u4F1A\u5B66\u5CA9" + ++ "\u7523\u9593\u5730\u81EA\u826F\u95A2\u611B\u653F" + ++ "\u5C3E\u8A08\u6587\u624B\u7236\u65B9\u4E8B\u6238" + ++ "\u54C1\u559C\u6E21\u5F18\u53E4\u8FBA\u5009\u9244" + ++ "\u4E4B\u5834\u6D0B\u57CE\u6D25\u7ACB\u5EA6\u5348" + ++ "\u4ECA\u5F66\u8A2D\u901A\u52D5\u5F8C\u5948\u5B9A" + ++ "\u6C60\u5C4B\u6D5C\u7406\u5742\u5B9F\u82F1\u7684" + ++ "\u53F8\u79C0\u6A2A\u540D\u5B5D\u7AF9\u535A\u529B" + ++ "\u5EAB\u8449\u6804\u6C38\u5668\u7389\u591A" , ++ "\uFFFD\u8CC0\u771F\u6075\u9759\u5186\u8302\u654F" + ++ "\u8C4A\u5175\u6CD5\u767A\u9752\u5897\u6599\u5FE0" + ++ "\u8CC7\u6642\u7269\u8ECA\u5FB3\u8981\u5BFE\u585A" + ++ "\u79CB\u767D\u6CB3\u702C\u6CB9\u9686\u8535\u5F53" + ++ "\u4FCA\u5FD7\u6625\u793E\u99AC\u5165\u5EFA\u6839" + ++ "\u6749\u9032\u8208\u6D66\u7CBE\u540C\u6027\u7C73" + ++ "\u8005\u52A9\u679D\u8FD1\u76F4\u76EE\u6765\u753B" + ++ "\u76F8\u9ED2\u4E38\u8239\u7531\u58EB\u7B2C\u718A" + ++ "\u7D19\u5065\u68B0\u82B3\u571F\u6709\u5BB6\u7DDA" + ++ "\u7D4C\u8ABF\u5929\u671F\u7F6E\u6D45\u6589\u5F0F" + ++ "\u5F62\u9762\u7A2E\u8F38\u5916\u5143\u4F53\u9E7F" + ++ "\u5FA1\u5973\u5EB7\u4E16\u52C7\u5800\u597D\u5150" + ++ "\u5BFA\u92FC\u7279\u57FC\u9054\u5411\u53D6\u7B49" + ++ "\u667A\u56DE\u9580\u904B\u5099\u601D\u963F\u4E0D" + ++ "\u9808\u5168\u5BFF\u5584\u677F\u98EF\u8C9E\u73FE" + ++ "\u98DF\u7D44\u985E\u516C\u6750\u9999\u5546\u7D50" + ++ "\u8868\u77E2\u6F5F\u79C1\u5236\u90A6\u6CBC\u7CF8" + ++ "\u5B8F\u7B56\u6CE2\u54E1\u6570\u958B\u6E96\u6A39" + ++ "\u8CBB\u660C\u5F37\u7814\u53CB\u5B87\u82E5\u83CA" + ++ "\u6301\u82B1\u5F15\u7D00\u8352\u5225\u4FEE\u8D8A" + ++ "\u4F4F\u85AC\u6BDB\u9060\u554F\u5965\u578B\u5FC3" + ++ "\u767B\u65E9\u67F3\u6D69\u8CEA\u52D9\u6CC9\u5E38" + ++ "\u5B88\u57FA\u7BA1\u6CF0\u4F38\u6700\u4EE5\u6B4C" + ++ "\u88D5\u8D64\u8DB3\u898F\u6D41\u8AA0\u6607" , ++ "\uFFFD\u5DDE\u7167\u5869\u9001\u96C5\u672B\u54F2" + ++ "\u5CB8\u4E5F\u5C90\u521D\u8328\u5247\u6BD4\u80FD" + ++ "\u8A71\u6295\u8EE2\u83C5\u9023\u4ED6\u6C11\u7D66" + ++ "\u9152\u7E41\u4FA1\u6E80\u671D\u4ED8\u6761\u7121" + ++ "\u8003\u697D\u4E3B\u610F\u6226\u5207\u5264\u7247" + ++ "\u7D30\u6E08\u7A32\u5E03\u91CC\u5C5E\u7AE0\u5909" + ++ "\u4F55\u685C\u5F7C\u67FB\u76CA\u58F2\u4EC1\u6DF1" + ++ "\u53F0\u9CE5\u9DB4\u652F\u6574\u89D2\u5609\u5473" + ++ "\u885B\u8B70\u5727\u7387\u8DEF\u706B\u961C\u8F1D" + ++ "\u70B9\u4E0E\u6E1B\u7551\u9280\u7A7A\u4EA4\u7FBD" + ++ "\u534A\u53CE\u592E\u7DCF\u8A18\u6674\u69CB\u969B" + ++ "\u6885\u5370\u8A00\u6817\u8EAB\u66F8\u514B\u7D20" + ++ "\u96C6\u7BC0\u5148\u6EDD\u6C7A\u6559\u7D14\u67F4" + ++ "\u63A5\u661F\u7740\u7559\u6620\u5DF1\u754C\u5177" + ++ "\u656C\u7FA4\u9806\u5171\u6D3B\u91CF\u6307\u89E3" + ++ "\u5BA4\u679C\u5404\u671B\u9632\u7D04\u61B2\u967D" + ++ "\u4E80\u56F3\u4E88\u8272\u7A0E\u690D\u53EF\u6052" + ++ "\u4F4D\u5178\u5FC5\u7D9A\u6025\u5728\u57A3\u541B" + ++ "\u5EF6\u5D8B\u4F01\u6803\u670D\u71B1\u5272\u5354" + ++ "\u6B69\u53F2\u512A\u658E\u623F\u5B97\u683C\u8FB0" + ++ "\u7B20\u5712\u8AF8\u8107\u5553\u8CE2\u5F25\u98A8" + ++ "\u5F97\u6613\u6253\u982D\u65ED\u6BB5\u52E2\u7136" + ++ "\u56E3\u984D\u843D\u914D\u7A0B\u8FBB\u543E\u611F" + ++ "\u5BDB\u53CD\u7A14\u9700\u6E90\u6C96\u984C" , ++ "\uFFFD\u8FBC\u8349\u7B97\u76DB\u8FB2\u90A3\u7701" + ++ "\u69D8\u6BBF\u5C11\u4ECB\u53D7\u97F3\u7DE8\u59D4" + ++ "\u5E84\u4FC2\u72B6\u793A\u5E97\u5A9B\u682A\u6ECB" + ++ "\u68A8\u7E04\u53F3\u5DE6\u53CA\u9078\u5C45\u60C5" + ++ "\u7DF4\u70AD\u9928\u9271\u6A21\u6B8A\u7E3E\u4E9C" + ++ "\u7E4A\u4EF2\u5857\u6D88\u8853\u691C\u6717\u5B85" + ++ "\u529F\u5C1A\u8CBF\u60A6\u8102\u7BE0\u4F73\u7D21" + ++ "\u51A8\u6851\u78BA\u7267\u4E26\u5024\u89B3\u8CB4" + ++ "\u7DAD\u7D71\u5BBF\u4E21\u7CD6\u89AA\u9332\u6F84" + ++ "\u65BD\u5BB9\u98DB\u5C40\u7950\u904E\u6C0F\u6539" + ++ "\u76E4\u7A4D\u6E0B\u5DFB\u6DF3\u5FDC\u4E89\u8ECD" + ++ "\u88C5\u9178\u7E54\u67D3\u5E1D\u7DBF\u7C89\u822A" + ++ "\u7532\u5468\u4ED9\u5F85\u4F4E\u7DD1\u8EFD\u9EBB" + ++ "\u6176\u52B4\u78EF\u4E39\u80B2\u9650\u5C0E\u653E" + ++ "\u6643\u5EA7\u4EF6\u60F3\u9A13\u4ED5\u4F7F\u8F2A" + ++ "\u9854\u756A\u5F35\u805E\u4F9B\u6E6F\u6EB6\u6821" + ++ "\u9285\u92F3\u878D\u9756\u5199\u5B8C\u6E2F\u935B" + ++ "\u591C\u5145\u9F8D\u7DB1\u83F1\u901F\u52C9\u5237" + ++ "\u8D77\u6469\u53C2\u55B6\u7A42\u63A8\u8FD4\u8077" + ++ "\u6B62\u4F1D\u5E79\u7403\u6A29\u5C55\u5E61\u845B" + ++ "\u5EAD\u975E\u53F7\u5358\u6B73\u62E1\u51E6\u8A9E" + ++ "\u6628\u57DF\u6DF5\u518D\u50CD\u79D1\u9B5A\u7AEF" + ++ "\u9014\u6848\u5B57\u8AD6\u517C\u53C8\u632F\u6280" + ++ "\u5FB9\u672D\u7CFB\u5F93\u51B7\u614B\u5CF0" , ++ "\uFFFD\u5931\u539A\u5074\u6CE8\u6E2C\u9803\u4E57" + ++ "\u8A66\u576A\u8429\u515A\u6C7D\u5B9D\u606D\u6A0B" + ++ "\u6E29\u6577\u8AAC\u82B8\u544A\u6B74\u822C\u98FE" + ++ "\u793C\u5C06\u96E3\u7802\u5224\u5F79\u5F71\u66FD" + ++ "\u5E2F\u9678\u938C\u8AC7\u5F70\u60AA\u6A19\u7533" + ++ "\u5BB3\u6BCD\u88DC\u5E4C\u58F0\u9664\u7B39\u5A66" + ++ "\u4E7E\u7AF6\u829D\u725B\u8CB7\u79FB\u785D\u8336" + ++ "\u52B9\u990A\u52F2\u80A5\u8B19\u7089\u590F\u5802" + ++ "\u67CF\u6255\u5E30\u713C\u786B\u8001\u7A76\u5BE9" + ++ "\u91DD\u65AD\u5C04\u5DEE\u5D50\u6298\u8010\u5BA3" + ++ "\u59CB\u5F8B\u6B8B\u666F\u8C61\u90F7\u5353\u96E2" + ++ "\u85AB\u6B7B\u8015\u64CD\u4EAE\u4E91\u90E1\u52E4" + ++ "\u6C42\u8CAB\u5B98\u59BB\u88CF\u773C\u4F2F\u7AAF" + ++ "\u7BC9\u968E\u63DB\u6842\u99C5\u68B6\u5747\u8CA1" + ++ "\u547D\u738B\u84B2\u90C1\u78E8\u7B11\u66F2\u6975" + ++ "\u5831\u63D0\u8A3C\u96EA\u9055\u88C1\u9996\u75C5" + ++ "\u6850\u4F59\u74E6\u4EE4\u5439\u732A\u672A\u525B" + ++ "\u8CA0\u4F34\u5100\u542B\u9069\u8FC4\u5C3B\u5DCC" + ++ "\u7B54\u8FFD\u8A0E\u4E08\u925B\u71C3\u8AB2\u70BA" + ++ "\u9662\u679A\u76AE\u8B77\u7DBE\u96E8\u6211\u5BC4" + ++ "\u837B\u62BC\u7D0D\u76E3\u7E2B\u964D\u572D\u7ADC" + ++ "\u7BC4\u6BBA\u8C9D\u698E\u9047\u6F14\u5360\u8FEB" + ++ "\u5287\u624D\u6566\u7D1A\u7D42\u6BCE\u7D79\u7E2E" + ++ "\u666E\u7965\u500B\u5C02\u99D2\u8A55\u7560" , ++ "\uFFFD\u5B58\u8089\u50BE\u5E2B\u6DB2\u4F8B\u81E3" + ++ "\u81F3\u56E0\u7D99\u5DF2\u899A\u6E9D\u6D17\u8AAD" + ++ "\u8996\u731B\u5DE8\u7DB2\u888B\u4EFB\u5BC6\u8896" + ++ "\u6CC1\u8457\u8F03\u6BC5\u97FF\u8CA9\u5E45\u82E6" + ++ "\u63AA\u5F81\u78C1\u821E\u52AA\u7AAA\u5999\u6297" + ++ "\u8F14\u7FD2\u4FC3\u54C9\u967A\u66F4\u8B1B\u5E72" + ++ "\u5FA9\u8A2A\u6D3E\u7763\u6483\u8B58\u614E\u5A5A" + ++ "\u8D85\u71D0\u983C\u72E9\u583A\u5DFE\u8A8D\u67C4" + ++ "\u7DE0\u4F11\u77ED\u4F0F\u5BC5\u629C\u5C3C\u533B" + ++ "\u6DC0\u81FC\u96D1\u904A\u6D6E\u93E1\u5C64\u98FC" + ++ "\u524A\u6DFB\u8584\u968A\u56FA\u5883\u7766\u9805" + ++ "\u4E73\u8C46\u8A31\u7DD2\u8FF0\u6D6A\u4F9D\u6B6F" + ++ "\u6B27\u62C5\u511F\u9769\u5374\u9AA8\u6775\u887F" + ++ "\u5305\u7570\u8D70\u864E\u5CEF\u8CDE\u5FF5\u725F" + ++ "\u7686\u609F\u80CC\u59EB\u8131\u5E0C\u8A17\u9676" + ++ "\u82D7\u74B0\u84B8\u50D5\u96F2\u7248\u7834\u6DD1" + ++ "\u6E09\u67FF\u6F54\u5915\u500D\u72AC\u9EC4\u7B46" + ++ "\u9B3C\u6563\u53BB\u8A98\u91DC\u9818\u6FC3\u65C5" + ++ "\u501F\u7F8A\u6F64\u9031\u5F3E\u63F4\u9038\u8B66" + ++ "\u7BE4\u7206\u6843\u72EC\u65CF\u82A6\u5BA2\u6960" + ++ "\u9EA6\u52DF\u6790\u639B\u7D75\u9855\u5DF3\u5805" + ++ "\u8ACB\u95A3\u8863\u8CA8\u5B63\u5E8A\u5449\u786C" + ++ "\u7D2B\u8CA2\u5352\u7D76\u8CB8\u7070\u547C\u6545" + ++ "\u6676\u73B2\u56F2\u7BB1\u58A8\u7A81\u66AE" , ++ "\uFFFD\u8087\u59FF\u8840\u56F0\u7B51\u6DF7\u5F01" + ++ "\u934B\u9000\u4FE3\u675F\u4FBF\u8CC3\u526F\u63A1" + ++ "\u5442\u8907\u698A\u5E2D\u5A18\u7518\u514D\u5E7E" + ++ "\u50B5\u5BDD\u68D2\u745E\u69FB\u5FAE\u55E3\u8A70" + ++ "\u5BF8\u5824\u8358\u5F13\u5E95\u706F\u751A\u7D05" + ++ "\u60E3\u7E70\u5012\u5238\u83EF\u5373\u5F31\u6A2B" + ++ "\u9CF4\u53CC\u6D32\u4EAB\u4E92\u842C\u8A8C\u65E2" + ++ "\u6F01\u80A9\u9DF9\u8B72\u7B52\u9589\u6D74\u63A2" + ++ "\u6590\u5BD2\u6319\u8AB0\u76DF\u99A8\u7A74\u8236" + ++ "\u8846\u8061\u6557\u5922\u9644\u88AB\u9326\u7B4B" + ++ "\u62B5\u5371\u5E81\u5BDF\u4F75\u58C1\u7058\u7DCA" + ++ "\u5438\u73E0\u52D8\u5208\u78D0\u6B23\u6838\u4E43" + ++ "\u690E\u8377\u6ED1\u98F2\u8170\u8857\u8EF8\u798E" + ++ "\u83DC\u8FCE\u7E01\u5510\u4EA8\u8A33\u9162\u5EFB" + ++ "\u606F\u4E86\u664B\u6368\u5217\u8056\u51FD\u7642" + ++ "\u821F\u9685\u50CF\u662F\u4F3C\u4E59\u6A3D\u4E71" + ++ "\u523A\u8ACF\u6A58\u66FF\u670B\u653B\u9732\u5EC3" + ++ "\u8A13\u5782\u604B\u866B\u95D8\u60A9\u4E01\u63CF" + ++ "\u6FC0\u659C\u8CAC\u8305\u7CA7\u6050\u96F7\u5FCD" + ++ "\u640D\u5B54\u900F\u62D3\u59B9\u7159\u51AC\u79F0" + ++ "\u552F\u5275\u6697\u80F8\u4E98\u4ECF\u51CD\u9D5C" + ++ "\u5144\u7A93\u67F1\u5841\u7C21\u8861\u5C31\u68DA" + ++ "\u91E7\u9DF2\u63EE\u6575\u84EE\u523B\u6B32\u7C98" + ++ "\u5982\u969C\u8987\u7C9F\u9006\u62DB\u66DC" , ++ "\uFFFD\u6355\u6982\u50AC\u623B\u5FD8\u63DA\u75DB" + ++ "\u627F\u616E\u8266\u7C95\u716E\u96C7\u7F6A\u5426" + ++ "\u5200\u83D3\u5211\u594F\u9D28\u574A\u66C7\u9858" + ++ "\u820E\u6614\u733F\u50B7\u6551\u5EB8\u5B6B\u55AC" + ++ "\u5FEB\u6388\u8CAF\u676F\u5951\u5A01\u71E5\u5DE3" + ++ "\u8C6A\u6271\u81F4\u5C3A\u5F92\u9045\u7384\u7149" + ++ "\u79D8\u796D\u9003\u83CC\u5FB4\u5B8D\u6279\u64AE" + ++ "\u7D18\u723E\u5BEE\u65E7\u8D08\u9E78\u52E7\u5D07" + ++ "\u9F62\u6069\u536F\u6681\u9663\u5E3D\u62B1\u722A" + ++ "\u6E4A\u93AE\u79E6\u53E5\u809D\u88FE\u53B3\u6C88" + ++ "\u6E7F\u5141\u9091\u6F6E\u84C4\u85EA\u8129\u6BD2" + ++ "\u663C\u7F72\u73C2\u5F1F\u790E\u60B2\u72ED\u58EE" + ++ "\u8179\u8E8D\u5C65\u5DE7\u6C37\u6DE1\u862D\u72AF" + ++ "\u8E0A\u7C92\u8218\u8033\u63A7\u9291\u5019\u8155" + ++ "\u8A69\u8EDF\u66B4\u8133\u7591\u6B20\u6669\u90F5" + ++ "\u4E32\u73EA\u693F\u7687\u707D\u7D3A\u6148\u8607" + ++ "\u99FF\u59C9\u7832\u7815\u907F\u80A1\u5C3F\u66A2" + ++ "\u9418\u6D44\u5E55\u5854\u7B95\u8DE1\u4EA1\u8C5A" + ++ "\u81E8\u89E6\u9670\u5263\u74F6\u9A5A\u6012\u520A" + ++ "\u7434\u9801\u907A\u5504\u7956\u5230\u54B2\u8A34" + ++ "\u96A3\u4FF3\u9283\u91E3\u7D39\u9688\u4F51\u7D61" + ++ "\u5DBA\u9BAE\u5F80\u795D\u8597\u8DA3\u7C60\u5C0A" + ++ "\u7565\u85A9\u63D6\u9E97\u7D22\u5375\u9AEA\u9042" + ++ "\u6B3D\u7D0B\u6392\u80AA\u7DE9\u9F3B\u99C6" , ++ "\uFFFD\u6D78\u6731\u5531\u6398\u7825\u5CB3\u5DE1" + ++ "\u92AD\u98FD\u9810\u6CE3\u6B64\u5321\u6B53\u5E8F" + ++ "\u7AE5\u502B\u6E56\u62BD\u8276\u6A9C\u4E18\u57F7" + ++ "\u752B\u7C97\u82EB\u9802\u811A\u73CD\u8F9B\u5C0B" + ++ "\u63E1\u7372\u8150\u80E1\u5B99\u76D7\u6291\u65EC" + ++ "\u8A3A\u5947\u65E8\u6E7E\u6696\u55AB\u8F09\u92ED" + ++ "\u9396\u4EEE\u755C\u6F38\u8F9E\u7981\u5C01\u62E0" + ++ "\u9BE8\u91C8\u6276\u65CB\u8E0F\u8B21\u699B\u6216" + ++ "\u5A92\u90B8\u50DA\u79DF\u6C41\u5270\u9175\u8B39" + ++ "\u685D\u5875\u819C\u5B9C\u8A89\u8A72\u9D8F\u6377" + ++ "\u5974\u8AA4\u52B1\u6962\u5C48\u9CE9\u673A\u75B2" + ++ "\u6D1E\u4F0D\u7E6D\u7B48\u7FCC\u65E6\u59A5\u79E9" + ++ "\u6212\u6EDE\u770B\u8CA7\u65BC\u885D\u6ADB\u5C4A" + ++ "\u8074\u9084\u8ECC\u65D7\u57F9\u708E\u6F06\u5E7C" + ++ "\u77AC\u4FF5\u5949\u81ED\u9B45\u7FFC\u8178\u69FD" + ++ "\u6CCA\u69C7\u79D2\u8B1D\u9ED9\u81D3\u7A3C\u7968" + ++ "\u6F5C\u63B2\u8DDD\u6383\u6E9C\u5E33\u61F8\u76BF" + ++ "\u642C\u7DB4\u6247\u6458\u6816\u5F69\u9022\u7A1A" + ++ "\u82B9\u70C8\u9A12\u6163\u6FEF\u53EB\u9D3B\u62FE" + ++ "\u60A0\u9591\u6D99\u6162\u9298\u635C\u9707\u8972" + ++ "\u683D\u51E1\u9B54\u608C\u5B22\u99C4\u7126\u8A73" + ++ "\u971C\u7396\u67D4\u60A3\u4E11\u4EF0\u8CDB\u8CB0" + ++ "\u7912\u9774\u8986\u5146\u57DC\u99D0\u80C3\u8338" + ++ "\u78A7\u86CD\u7F85\u5049\u8247\u690B\u7C4D" , ++ "\uFFFD\u53EA\u5F26\u6E25\u6881\u9375\u5DFD\u5347" + ++ "\u9727\u643A\u75C7\u6FA4\u73A9\u77E9\u9451\u8B5C" + ++ "\u808C\u674E\u4EAD\u582F\u7573\u8ED2\u6CE5\u9320" + ++ "\u8FF7\u7D33\u72C2\u8217\u7422\u82C5\u9A30\u773A" + ++ "\u5F84\u9673\u64AD\u920D\u74DC\u60C7\u86ED\u4FFA" + ++ "\u52A3\u6A3A\u7720\u5320\u61B6\u5674\u8776\u6CBF" + ++ "\u505C\u602A\u8466\u6B96\u6DBC\u97D3\u968F\u6876" + ++ "\u60D1\u5378\u64A4\u51A0\u9154\u5DF4\u629E\u5E63" + ++ "\u929A\u7693\u6C5A\u6597\u50E7\u7C82\u5F6B\u6CE1" + ++ "\u5F6C\u5AC1\u6F2C\u852D\u6442\u5750\u58C7\u8CFC" + ++ "\u8A5E\u7A7F\u689D\u7E26\u7A40\u7344\u8AEB\u4FD7" + ++ "\u7A63\u8036\u7DEF\u80C6\u8AED\u731F\u8FEA\u4F0E" + ++ "\u758B\u518A\u6734\u5FD9\u61C7\u65AF\u9CF3\u5ECA" + ++ "\u9262\u68DF\u6CB8\u80F4\u57CB\u6C99\u96A0\u5B64" + ++ "\u58F1\u68C4\u5410\u982C\u8A87\u4E5E\u6167\u9BAB" + ++ "\u90AA\u55B0\u82BD\u596A\u66F3\u8299\u5893\u719F" + ++ "\u6284\u67D1\u9063\u5ACC\u6C57\u7CE7\u5851\u64B2" + ++ "\u58CA\u830E\u5968\u5302\u5A46\u8702\u6065\u72D9" + ++ "\u89A7\u6689\u66F9\u5D6F\u5BB0\u96BC\u636E\u60DC" + ++ "\u7948\u51DD\u8606\u5EC9\u7554\u596E\u6B04\u4F43" + ++ "\u7B94\u67DA\u62DD\u628A\u971E\u62ED\u6EC5\u508D" + ++ "\u67B6\u80E4\u9EBF\u5EB5\u638C\u85CD\u9867\u52C5" + ++ "\u6016\u68CB\u61D0\u5751\u8F29\u5FAA\u81A8\u7D62" + ++ "\u71C8\u54C0\u69CC\u6B3E\u65AC\u63C3\u4F46" , ++ "\uFFFD\u7B1B\u6B86\u88F8\u5203\u732E\u6687\u7D17" + ++ "\u57F4\u570F\u618E\u970A\u7C3F\u8B00\u7881\u8CE0" + ++ "\u548B\u7B87\u745B\u7C11\u8870\u5398\u5448\u6CF3" + ++ "\u6F22\u53F6\u88B4\u5301\u7A6B\u8695\u586B\u5D29" + ++ "\u88C2\u62D2\u4E1E\u5036\u96C0\u7363\u8A3B\u5176" + ++ "\u7199\u7FE0\u8888\u7E1E\u4E4F\u84CB\u6F2B\u5859" + ++ "\u936C\u53E9\u865A\u9149\u86EF\u5E06\u5507\u902E" + ++ "\u6795\u846C\u5BA5\u82A5\u8431\u6D8C\u63FA\u4EA5" + ++ "\u51C6\u6328\u7F70\u5B5F\u5DBD\u99C8\u53EC\u7985" + ++ "\u8A54\u7962\u88DF\u5B09\u4FB5\u4F91\u9B8E\u5192" + ++ "\u96F0\u6DAF\u622F\u8490\u8CDC\u5075\u5CE0\u4E14" + ++ "\u4F83\u7C54\u84D1\u77B3\u8AEE\u5CE8\u62F6\u663B" + ++ "\u8A93\u8526\u8A95\u65FA\u6714\u53D4\u62AB\u8CE6" + ++ "\u88F3\u5BE7\u868A\u668E\u582A\u6170\u696F\u9F13" + ++ "\u7A92\u7893\u6A7F\u9017\u9266\u7D10\u7BC7\u6EF4" + ++ "\u821C\u5C3D\u62CD\u85C1\u6F02\u6E67\u6691\u85A6" + ++ "\u637A\u821B\u4F8D\u5091\u8A02\u62EC\u9BC9\u7A3D" + ++ "\u7C9B\u50C5\u9019\u708A\u7C8B\u64EC\u665F\u6562" + ++ "\u732B\u5339\u67A0\u55A7\u6D2A\u7A3F\u64E6\u79A7" + ++ "\u67D8\u7B26\u96BB\u6311\u72A0\u5C6F\u7026\u97EE" + ++ "\u60DF\u8AFE\u8B04\u8494\u9BD6\u82AF\u932C\u6606" + ++ "\u9640\u5BC2\u86C7\u7949\u8017\u6919\u7092\u963B" + ++ "\u7C7E\u59D3\u5B5C\u7D1B\u91D8\u6A80\u85E9\u6905" + ++ "\u6C93\u502D\u4EA6\u7FC1\u61A4\u8CCA\u9665" , ++ "\uFFFD\u93D1\u53F1\u598A\u8EAC\u62D8\u6867\u71D5" + ++ "\u7B67\u504F\u67D0\u82D1\u978D\u748B\u80BA\u7336" + ++ "\u514E\u8105\u90CA\u584A\u67FE\u6FF1\u5FFD\u76C6" + ++ "\u9A0E\u507D\u9694\u5EF7\u7BB8\u904D\u6C4E\u85FB" + ++ "\u819D\u67AF\u564C\u5606\u8C8C\u56DA\u73ED\u8CC4" + ++ "\u8FC5\u96F6\u6C50\u8944\u8F3F\u7D5E\u60E8\u72FC" + ++ "\u7D9C\u8463\u5CFB\u5446\u5D16\u6CA1\u81B3\u58FA" + ++ "\u5BB4\u8108\u541F\u8CBC\u6182\u78A9\u6FE1\u91A4" + ++ "\u76F2\u6020\u76FE\u84C9\u7F36\u4EC7\u755D\u7A17" + ++ "\u84EC\u75F4\u4F3A\u676D\u7460\u62F3\u6F20\u79E4" + ++ "\u87F9\u6094\u6234\u66AB\u820C\u8499\u723A\u5FCC" + ++ "\u6109\u70CF\u7261\u7A50\u5098\u9AED\u5D69\u601C" + ++ "\u6667\u99B4\u5E7B\u643E\u5830\u53C9\u7A9F\u990C" + ++ "\u9B42\u8F5F\u7AAE\u5B9B\u68A2\u6249\u7984\u9DFA" + ++ "\u5451\u932F\u8AC4\u5F90\u8DF3\u5A2F\u80DE\u6D29" + ++ "\u7A4F\u84BC\u9D2B\u9010\u6D38\u916A\u6FC1\u9905" + ++ "\u6BBB\u5EB6\u91B8\u5076\u6F0F\u4E19\u540F\u9675" + ++ "\u6C72\u51B4\u5631\u9F20\u66A6\u5F0A\u75AB\u51F8" + ++ "\u674F\u8DF5\u6C70\u8A6B\u757F\u5CAC\u6841\u8CD3" + ++ "\u9BDB\u8475\u6893\u840C\u72DB\u7577\u8568\u783A" + ++ "\u847A\u5F10\u831C\u6813\u6E1A\u9DAF\u51F9\u7980" + ++ "\u4E99\u5EE3\u908A\u80AF\u59A8\u77DB\u8D74\u8A1F" + ++ "\u673D\u533F\u8A0A\u5618\u6756\u53D9\u4F10\u7409" + ++ "\u5A41\u4FF8\u79B0\u9838\u8E2A\u9D60\u8F44" , ++ "\uFFFD\u65A5\u75BE\u906D\u867B\u60BC\u51B6\u5937" + ++ "\u7D2F\u916C\u69AE\u7CE0\u792A\u5D14\u64C1\u58EC" + ++ "\u589C\u8D66\u66D9\u61F2\u912D\u6E58\u9435\u965B" + ++ "\u7272\u5F6A\u5E9A\u8F1B\u5B95\u5C39\u9013\u834F" + ++ "\u7CCE\u620A\u90ED\u691B\u6E15\u65DB\u66FE\u4E9F" + ++ "\u55AA\u7A83\u83E9\u8B83\u846D\u83F0\u7F50\u918D" + ++ "\u9190\u758E\u95A5\u81E7\u75E2\u61A9\u8A50\u95B2" + ++ "\u53A8\u59F6\u9813\u7891\u7C17\u6B3A\u57E0\u620E" + ++ "\u83D6\u8AD2\u75D4\u927E\u59DC\u5289\u9087\u6FFE" + ++ "\u7473\u5C09\u9D6C\u84FC\u7CDF\u7BAD\u8A6E\u594E" + ++ "\u56A2\u819A\u7947\u6636\u53E1\u7887\u58CC\u9397" + ++ "\u6E13\u5256\u828B\u9E9F\u9583\u658C\u9E93\u7345" + ++ "\u6E26\u9D07\u5983\u7DAC\u96C1\u61BE\u6762\u9ECE" + ++ "\u90A8\u9187\u9F0E\u7C38\u51F1\u8599\u524C\u540E" + ++ "\u7901\u655E\u6668\u5CE1\u7566\u76C8\u8679\u531D" + ++ "\u5506\u7926\u8912\u77EF\u7CC0\u570B\u515C\u7E8A" + ++ "\u535C\u8A60\u65A7\u8766\u5766\u6AE8\u87FB\u5E16" + ++ "\u7AEA\u8D73\u771E\u737A\u66E0\u9410\u816B\u7B08" + ++ "\u91FC\u5737\u6FE4\u856A\u7E55\u9957\u87BA\u694A" + ++ "\u818F\u5EFF\u891C\u72D0\u9846\u9EDB\u8D99\u5DD6" + ++ "\u62B9\u64AB\u4F76\u613F\u68AF\u5F14\u800C\u92F8" + ++ "\u7BC1\u52FE\u664F\u9177\u51F6\u97A0\u839E\u647A" + ++ "\u9C3A\u67F5\u7C4F\u685F\u9B6F\u9F4B\u7FFB\u9348" + ++ "\u4FF6\u9E92\u9197\u96DB\u5BE6\u6CCC\u7CFE" , ++ "\uFFFD\u9453\u6822\u66B9\u5BD4\u98F4\u8AE6\u8154" + ++ "\u7827\u74BD\u6ED3\u9288\u5A20\u5B8B\u86F8\u760D" + ++ "\u865C\u6641\u91C9\u5589\u7A4E\u59E5\u6042\u932B" + ++ "\u5B5A\u849C\u5C91\u96CD\u62D9\u675C\u6787\u5E7D" + ++ "\u8650\u9EB9\u5CB1\u80CE\u7A00\u8ABC\u5700\u8096" + ++ "\u7D72\u9211\u8098\u907C\u7761\u8737\u9075\u817A" + ++ "\u7C3E\u6EA2\u965E\u7E90\u72D7\u58FD\u60B3\u9786" + ++ "\u7E88\u587E\u6E20\u84DC\u6961\u77AD\u5197\u652A" + ++ "\u6777\u5DCD\u6101\u932E\u5954\u6367\u798D\u7AFF" + ++ "\u80D6\u58B3\u6168\u6AC3\u7483\u9B92\u660A\u642D" + ++ "\u5118\u6763\u809B\u9C10\u4FC9\u6953\u7A1C\u52FF" + ++ "\u6055\u768E\u817F\u5642\u5F6D\u7194\u70BB\u7436" + ++ "\u8000\u874B\u55DA\u7435\u7690\u96EB\u66DD\u751C" + ++ "\u633D\u6EC9\u7C64\u7CA5\u6D35\u935C\u7027\u5E25" + ++ "\u701D\u54BD\u611A\u6973\u6C6A\u559A\u6D19\u96CC" + ++ "\u5BE1\u59FB\u697C\u914C\u7709\u8500\u7A46\u7872" + ++ "\u92E4\u8CED\u7CFA\u9D1B\u814E\u9AC4\u68A0\u6DCB" + ++ "\u5918\u83B1\u5629\u9B41\u6897\u70B3\u9771\u9419" + ++ "\u67A2\u6802\u7895\u68A7\u50D6\u80B1\u5EF8\u82D4" + ++ "\u797A\u67CA\u7E4D\u69CD\u51C4\u723D\u6829\u99B3" + ++ "\u5F3C\u8F61\u682B\u6155\u6591\u8FB1\u7E1B\u9798" + ++ "\u9952\u8877\u5B2C\u6631\u4FA0\u6939\u6AFB\u5BB5" + ++ "\u7AC8\u5026\u5944\u9059\u7B25\u7B4F\u8E74\u8543" + ++ "\u5858\u8B0E\u5039\u8654\u97F6\u7569\u72F8" , ++ "\uFFFD\u4EF7\u9D89\u5016\u51CC\u62CC\u91C6\u8755" + ++ "\u649A\u88F4\u91E6\u6854\u695A\u6C40\u7B6C\u6741" + ++ "\u77D7\u8823\u5384\u8EAF\u7280\u8C6B\u788D\u7165" + ++ "\u8207\u68B1\u8D04\u9077\u701E\u8FE6\u810A\u81BF" + ++ "\u89DC\u68B3\u6ADF\u92EA\u95C7\u7957\u7A20\u53A9" + ++ "\u8E5F\u786F\u79B9\u5F27\u5ED6\u6853\u93AC\u919C" + ++ "\u691A\u5806\u64B0\u7E4B\u7D8F\u68F2\u6EA5\u82DB" + ++ "\u9192\u5243\u8EB0\u9081\u721B\u7DCB\u7656\u59AC" + ++ "\u6FE0\u8B28\u80A2\u5544\u6070\u5F4A\u68C8\u633A" + ++ "\u9438\u9B4F\u81E5\u6A17\u70DD\u69A7\u614C\u920E" + ++ "\u9310\u9BAD\u52D7\u925E\u92F9\u5993\u7696\u66FB" + ++ "\u5769\u73CA\u7678\u6A1F\u7E9C\u9811\u8CD1\u5840" + ++ "\u6349\u871C\u62D0\u60B4\u6B89\u86EE\u5764\u581D" + ++ "\u8549\u7235\u7652\u983B\u8237\u5351\u5C24\u59BE" + ++ "\u5815\u901D\u69B4\u834A\u9EA9\u976B\u8086\u53AD" + ++ "\u6068\u4FAE\u76C3\u6A05\u689B\u937E\u99D5\u91C7" + ++ "\u5C16\u585E\u61A7\u9699\u4FDF\u8278\u9C52\u5F45" + ++ "\u6108\u7C8D\u806F\u5DF7\u8D6B\u57B0\u98E2\u5703" + ++ "\u79BF\u5996\u7941\u540A\u83DF\u9C39\u52D2\u6BD8" + ++ "\u86CB\u4EC0\u9A28\u5366\u8006\u7337\u6492\u8FED" + ++ "\u5AC9\u5420\u537F\u4FAF\u807E\u543B\u7515\u7B18" + ++ "\u8749\u54B3\u704C\u8997\u6CAB\u85FA\u7114\u696E" + ++ "\u9328\u745A\u59D1\u6E5B\u617E\u53E2\u8317\u76E7" + ++ "\u848B\u85AF\u6925\u5C60\u7259\u75D5\u8B90" , ++ "\uFFFD\u6E07\u82AD\u5C4F\u7BED\u9784\u6F70\u764C" + ++ "\u88B7\u92D2\u4F36\u5EFE\u9061\u88E1\u8471\u711A" + ++ "\u6D1B\u80B4\u74E2\u7433\u5A7F\u905C\u980C\u5319" + ++ "\u906E\u6BB4\u85AA\u7897\u7AFA\u6AAE\u8910\u958F" + ++ "\u620C\u4F3D\u4F7C\u79BE\u9D0E\u4ED4\u57A2\u51A5" + ++ "\u6900\u6089\u707C\u7AE3\u8956\u93A7\u9C2D\u5112" + ++ "\u52FA\u7CCA\u60F9\u7078\u81C6\u559D\u6991\u96C9" + ++ "\u553E\u805A\u8304\u8332\u54FA\u565B\u8FBF\u5634" + ++ "\u6760\u5265\u840E\u5E5F\u7B65\u9035\u8387\u6B4E" + ++ "\u58BE\u6309\u727D\u97AD\u69D0\u546A\u984E\u632B" + ++ "\u714E\u8557\u7CDE\u6372\u68F9\u7511\u8602\u6EBA" + ++ "\u5A3C\u7A84\u851A\u95A4\u59D0\u60DA\u51EA\u5A29" + ++ "\u7169\u6F15\u696B\u63BB\u75E9\u4E4E\u7DBB\u6934" + ++ "\u8521\u8FFA\u9354\u9C3B\u5F17\u5ED3\u8258\u895F" + ++ "\u82E7\u52C3\u5C51\u83AB\u7826\u79E1\u7FF0\u626E" + ++ "\u60F0\u5CA8\u6F97\u71A8\u9909\u5132\u5E37\u5F04" + ++ "\u637B\u6753\u68D7\u6652\u9CF6\u88B0\u52AB\u4FC4" + ++ "\u4E3C\u67B3\u7BAA\u7F4D\u8A23\u63B4\u71E6\u65A4" + ++ "\u6F09\u853D\u5072\u7DBA\u5516\u7B04\u72FD\u6CD3" + ++ "\u8422\u621F\u50AD\u8235\u8718\u5919\u6028\u677C" + ++ "\u6F23\u75B9\u695C\u520E\u8018\u8B01\u71ED\u5713" + ++ "\u660F\u83EB\u7164\u7D9B\u5617\u7D7D\u8F4D\u9318" + ++ "\u8569\u5D17\u678C\u67DE\u87C7\u79AE\u5835\u8404" + ++ "\u9041\u7FD4\u6E8C\u8A63\u9D08\u670F\u939A" , ++ "\uFFFD\u63AC\u602F\u64E2\u608D\u96B7\u6357\u8461" + ++ "\u914B\u75D8\u60E7\u9913\u9C57\u5984\u6DEB\u5E96" + ++ "\u6D9C\u9BF0\u58BB\u7977\u60B6\u633F\u5BF5\u9812" + ++ "\u558B\u82D3\u5147\u6190\u7953\u79BD\u6C5D\u9EBA" + ++ "\u9C48\u8DA8\u5EE0\u7D43\u5EFC\u854E\u8CE4\u5AE1" + ++ "\u54E8\u5023\u52BE\u7DEC\u8511\u6666\u6C3E\u724C" + ++ "\u8ADC\u9C0D\u77A5\u8B02\u8D05\u6F11\u9834\u97FB" + ++ "\u50FB\u7F75\u5A03\u8513\u4FB6\u634C\u9D61\u808B" + ++ "\u5294\u65A1\u567A\u5957\u8D0B\u6A35\u6AD3\u70F9" + ++ "\u865E\u6FB1\u51E7\u7FEB\u59EA\u5E87\u6B6A\u754F" + ++ "\u717D\u914E\u7D2C\u8C79\u6062\u621A\u7FA8\u5F1B" + ++ "\u6C8C\u86FE\u7562\u7B86\u9AB8\u6627\u7ABA\u844E" + ++ "\u6F81\u8B2C\u86A4\u6FEB\u7B8B\u7F77\u8F2F\u8E44" + ++ "\u7E23\u4E4D\u79A6\u8AFA\u903C\u50D1\u9ECD\u5EDF" + ++ "\u758F\u631F\u53DB\u9910\u826E\u62F7\u68FA\u725D" + ++ "\u803D\u58D5\u5C4D\u86D9\u540B\u8805\u92F2\u9237" + ++ "\u5C61\u985B\u86E4\u966A\u7262\u6955\u6CD7\u6994" + ++ "\u9C2F\u77E7\u68C9\u8DE8\u6D6C\u67C1\u9BAA\u619A" + ++ "\u63A9\u7015\u9306\u934D\u6A61\u6258\u5283\u7525" + ++ "\u5687\u6C83\u6834\u649E\u4E9B\u7252\u59E6\u8FC2" + ++ "\u5FBD\u6DD8\u85F7\u8A51\u9817\u99C1\u63A0\u7C81" + ++ "\u5B30\u8139\u5403\u7E82\u8106\u532A\u6A8E\u7F6B" + ++ "\u54E9\u5678\u8AB9\u6715\u5BD3\u6478\u64FE\u6B1D" + ++ "\u8CC2\u51CB\u7E8F\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\u5F0C\u4E10\u4E15\u4E28\u4E2A\u4E31\u4E36" + ++ "\u4E3F\u4E42\u4E56\u4E58\u4E62\u4E82\u4E85\u4E8A" + ++ "\u4E8E\u5F0D\u4E9E\u4EA0\u4EA2\u4EB0\u4EB3\u4EB6" + ++ "\u4ECE\u4ECD\u4EC4\u4EC6\u4EC2\u4EE1\u4ED7\u4EDE" + ++ "\u4EED\u4EDF\u4EFC\u4F09\u4F1C\u4F00\u4F03\u4F5A" + ++ "\u4F30\u4F5D\u4F39\u4F57\u4F47\u4F5E\u4F56\u4F5B" + ++ "\u4F92\u4F8A\u4F88\u4F8F\u4F9A\u4FAD\u4F98\u4F7B" + ++ "\u4FAB\u4F69\u4F70\u4F94\u4F6F\u4F86\u4F96\u4FD4" + ++ "\u4FCE\u4FD8\u4FDB\u4FD1\u4FDA\u4FD0\u4FCD\u4FE4" + ++ "\u4FE5\u501A\u5040\u5028\u5014\u502A\u5025\u5005" + ++ "\u5021\u5022\u5029\u502C\u4FFF\u4FFE\u4FEF\u5011" + ++ "\u501E\u5006\u5043\u5047\u5055\u5050\u5048\u505A" + ++ "\u5056\u500F\u5046\u5070\u5042\u506C\u5078\u5080" + ++ "\u5094\u509A\u5085\u50B4\u6703\u50B2\u50C9\u50CA" + ++ "\u50B3\u50C2\u50F4\u50DE\u50E5\u50D8\u50ED\u50E3" + ++ "\u50EE\u50F9\u50F5\u5109\u5101\u5102\u511A\u5115" + ++ "\u5114\u5116\u5121\u513A\u5137\u513C\u513B\u513F" + ++ "\u5140\u514A\u514C\u5152\u5154\u5162\u5164\u5169" + ++ "\u516A\u516E\u5180\u5182\u56D8\u518C\u5189\u518F" + ++ "\u5191\u5193\u5195\u5196\u519D\u51A4\u51A6\u51A2" + ++ "\u51A9\u51AA\u51AB\u51B3\u51B1\u51B2\u51B0\u51B5" + ++ "\u51BE\u51BD\u51C5\u51C9\u51DB\u51E0\u51E9\u51EC" + ++ "\u51ED\u51F0\u51F5\u51FE\u5204\u520B\u5214\u5215" + ++ "\u5227\u522A\u522E\u5233\u5239\u5244\u524B" , ++ "\uFFFD\u524F\u525E\u5254\u5271\u526A\u5273\u5274" + ++ "\u5269\u527F\u527D\u528D\u5288\u5292\u5291\u529C" + ++ "\u52A6\u52AC\u52AD\u52BC\u52B5\u52C1\u52C0\u52CD" + ++ "\u52DB\u52DE\u52E3\u52E6\u52E0\u52F3\u52F5\u52F8" + ++ "\u52F9\u5300\u5306\u5307\u5308\u7538\u530D\u5310" + ++ "\u530F\u5315\u531A\u5324\u5323\u532F\u5331\u5333" + ++ "\u5338\u5340\u5345\u5346\u5349\u4E17\u534D\u51D6" + ++ "\u8209\u535E\u5369\u536E\u5372\u5377\u537B\u5382" + ++ "\u5393\u5396\u53A0\u53A6\u53A5\u53AE\u53B0\u53B2" + ++ "\u53B6\u53C3\u7C12\u53DD\u53DF\u66FC\uFA0E\u71EE" + ++ "\u53EE\u53E8\u53ED\u53FA\u5401\u543D\u5440\u542C" + ++ "\u542D\u543C\u542E\u5436\u5429\u541D\u544E\u548F" + ++ "\u5475\u548E\u545F\u5471\u5477\u5470\u5492\u547B" + ++ "\u5480\u549C\u5476\u5484\u5490\u5486\u548A\u54C7" + ++ "\u54BC\u54AF\u54A2\u54B8\u54A5\u54AC\u54C4\u54D8" + ++ "\u54C8\u54A8\u54AB\u54C2\u54A4\u54A9\u54BE\u54E5" + ++ "\u54FF\u54E6\u550F\u5514\u54FD\u54EE\u54ED\u54E2" + ++ "\u5539\u5540\u5563\u554C\u552E\u555C\u5545\u5556" + ++ "\u5557\u5538\u5533\u555D\u5599\u5580\u558A\u559F" + ++ "\u557B\u557E\u5598\u559E\u55AE\u557C\u5586\u5583" + ++ "\u55A9\u5587\u55A8\u55C5\u55DF\u55C4\u55DC\u55E4" + ++ "\u55D4\u55F9\u5614\u55F7\u5616\u55FE\u55FD\u561B" + ++ "\u564E\u5650\u5636\u5632\u5638\u566B\u5664\u5686" + ++ "\u562F\u566C\u566A\u71DF\u5694\u568F\u5680" , ++ "\uFFFD\u568A\u56A0\u56A5\u56AE\u56B6\u56B4\u56C8" + ++ "\u56C2\u56BC\u56C1\u56C3\u56C0\u56CE\u56D3\u56D1" + ++ "\u56D7\u56EE\u56F9\u56FF\u5704\u5709\u5708\u570D" + ++ "\u55C7\u5718\u5716\u571C\u5726\u5738\u574E\u573B" + ++ "\u5759\u5740\u574F\u5765\u5788\u5761\u577F\u5789" + ++ "\u5793\u57A0\u57A4\u57B3\u57AC\u57AA\u57C3\u57C6" + ++ "\u57C8\u57C0\u57D4\u57C7\u57D2\u57D3\u57D6\uFA0F" + ++ "\u580A\u57E3\u580B\u5819\u5821\u584B\u5862\u6BC0" + ++ "\u583D\u5852\uFA10\u5870\u5879\u5885\u5872\u589F" + ++ "\u58AB\u58B8\u589E\u58AE\u58B2\u58B9\u58BA\u58C5" + ++ "\u58D3\u58D1\u58D7\u58D9\u58D8\u58DE\u58DC\u58DF" + ++ "\u58E4\u58E5\u58EF\u58F7\u58F9\u58FB\u58FC\u5902" + ++ "\u590A\u590B\u5910\u591B\u68A6\u5925\u592C\u592D" + ++ "\u5932\u5938\u593E\u5955\u5950\u5953\u595A\u5958" + ++ "\u595B\u595D\u5963\u5962\u5960\u5967\u596C\u5969" + ++ "\u5978\u5981\u598D\u599B\u599D\u59A3\u59A4\u59B2" + ++ "\u59BA\u59C6\u59E8\u59D9\u59DA\u5A25\u5A1F\u5A11" + ++ "\u5A1C\u5A1A\u5A09\u5A40\u5A6C\u5A49\u5A35\u5A36" + ++ "\u5A62\u5A6A\u5A9A\u5ABC\u5ABE\u5AD0\u5ACB\u5AC2" + ++ "\u5ABD\u5AE3\u5AD7\u5AE6\u5AE9\u5AD6\u5AFA\u5AFB" + ++ "\u5B0C\u5B0B\u5B16\u5B32\u5B2A\u5B36\u5B3E\u5B43" + ++ "\u5B45\u5B40\u5B51\u5B55\u5B56\u6588\u5B5B\u5B65" + ++ "\u5B69\u5B70\u5B73\u5B75\u5B78\u5B7A\u5B80\u5B83" + ++ "\u5BA6\u5BB8\u5BC3\u5BC7\u5BC0\u5BC9\u752F" , ++ "\uFFFD\u5BD0\u5BD8\u5BDE\u5BEC\u5BE4\u5BE2\u5BE5" + ++ "\u5BEB\u5BF0\u5BF3\u5BF6\u5C05\u5C07\u5C08\u5C0D" + ++ "\u5C13\u5C1E\u5C20\u5C22\u5C28\u5C38\u5C41\u5C46" + ++ "\u5C4E\u5C53\u5C50\u5B71\u5C6C\u5C6E\u5C76\u5C79" + ++ "\u5C8C\u5C94\u5CBE\u5CAB\u5CBB\u5CB6\u5CB7\u5CA6" + ++ "\u5CBA\u5CC5\u5CBC\u5CC7\u5CD9\u5CE9\u5CFD\u5CFA" + ++ "\u5CF5\u5CED\u5CEA\u5D0B\u5D15\u5D1F\u5D1B\u5D11" + ++ "\u5D27\u5D22\u5D1A\u5D19\u5D18\u5D4C\u5D52\u5D53" + ++ "\uFA11\u5D5C\u5D4E\u5D4B\u5D42\u5D6C\u5D73\u5D6D" + ++ "\u5D76\u5D87\u5D84\u5D82\u5D8C\u5DA2\u5D9D\u5D90" + ++ "\u5DAC\u5DAE\u5DB7\u5DB8\u5DBC\u5DB9\u5DC9\u5DD0" + ++ "\u5DD3\u5DD2\u5DDB\u5DEB\u5DF5\u5E0B\u5E1A\u5E19" + ++ "\u5E11\u5E1B\u5E36\u5E44\u5E43\u5E40\u5E47\u5E4E" + ++ "\u5E57\u5E54\u5E62\u5E64\u5E75\u5E76\u5E7A\u5E7F" + ++ "\u5EA0\u5EC1\u5EC2\u5EC8\u5ED0\u5ECF\u5EDD\u5EDA" + ++ "\u5EDB\u5EE2\u5EE1\u5EE8\u5EE9\u5EEC\u5EF0\u5EF1" + ++ "\u5EF3\u5EF4\u5F03\u5F09\u5F0B\u5F11\u5F16\u5F21" + ++ "\u5F29\u5F2D\u5F2F\u5F34\u5F38\u5F41\u5F48\u5F4C" + ++ "\u5F4E\u5F51\u5F56\u5F57\u5F59\u5F5C\u5F5D\u5F61" + ++ "\u5F67\u5F73\u5F77\u5F83\u5F82\u5F7F\u5F8A\u5F88" + ++ "\u5F87\u5F91\u5F99\u5F9E\u5F98\u5FA0\u5FA8\u5FAD" + ++ "\u5FB7\u5FBC\u5FD6\u5FFB\u5FE4\u5FF8\u5FF1\u5FF0" + ++ "\u5FDD\u5FDE\u5FFF\u6021\u6019\u6010\u6029\u600E" + ++ "\u6031\u601B\u6015\u602B\u6026\u600F\u603A" , ++ "\uFFFD\u605A\u6041\u6060\u605D\u606A\u6077\u605F" + ++ "\u604A\u6046\u604D\u6063\u6043\u6064\u606C\u606B" + ++ "\u6059\u6085\u6081\u6083\u609A\u6084\u609B\u608A" + ++ "\u6096\u6097\u6092\u60A7\u608B\u60E1\u60B8\u60DE" + ++ "\u60E0\u60D3\u60BD\u60C6\u60B5\u60D5\u60D8\u6120" + ++ "\u60F2\u6115\u6106\u60F6\u60F7\u6100\u60F4\u60FA" + ++ "\u6103\u6121\u60FB\u60F1\u610D\u610E\u6111\u6147" + ++ "\u614D\u6137\u6128\u6127\u613E\u614A\u6130\u613C" + ++ "\u612C\u6134\u6165\u615D\u613D\u6142\u6144\u6173" + ++ "\u6187\u6177\u6158\u6159\u615A\u616B\u6174\u616F" + ++ "\u6171\u615F\u6153\u6175\u6198\u6199\u6196\u61AC" + ++ "\u6194\u618A\u6191\u61AB\u61AE\u61CC\u61CA\u61C9" + ++ "\u61C8\u61C3\u61C6\u61BA\u61CB\u7F79\u61CD\u61E6" + ++ "\u61E3\u61F4\u61F7\u61F6\u61FD\u61FA\u61FF\u61FC" + ++ "\u61FE\u6200\u6208\u6209\u620D\u6213\u6214\u621B" + ++ "\u621E\u6221\u622A\u622E\u6230\u6232\u6233\u6241" + ++ "\u624E\u625E\u6263\u625B\u6260\u6268\u627C\u6282" + ++ "\u6289\u6292\u627E\u6293\u6296\u6283\u6294\u62D7" + ++ "\u62D1\u62BB\u62CF\u62AC\u62C6\u62C8\u62DC\u62D4" + ++ "\u62CA\u62C2\u62A6\u62C7\u629B\u62C9\u630C\u62EE" + ++ "\u62F1\u6327\u6302\u6308\u62EF\u62F5\u62FF\u6350" + ++ "\u634D\u633E\u634F\u6396\u638E\u6380\u63AB\u6376" + ++ "\u63A3\u638F\u6389\u639F\u636B\u6369\u63B5\u63BE" + ++ "\u63E9\u63C0\u63C6\u63F5\u63E3\u63C9\u63D2" , ++ "\uFFFD\u63F6\u63C4\u6434\u6406\u6413\u6426\u6436" + ++ "\u641C\u6417\u6428\u640F\u6416\u644E\u6467\u646F" + ++ "\u6460\u6476\u64B9\u649D\u64CE\u6495\u64BB\u6493" + ++ "\u64A5\u64A9\u6488\u64BC\u64DA\u64D2\u64C5\u64C7" + ++ "\u64D4\u64D8\u64C2\u64F1\u64E7\u64E0\u64E1\u64E3" + ++ "\u64EF\u64F4\u64F6\u64F2\u64FA\u6500\u64FD\u6518" + ++ "\u651C\u651D\u6505\u6524\u6523\u652B\u652C\u6534" + ++ "\u6535\u6537\u6536\u6538\u754B\u6548\u654E\u6556" + ++ "\u654D\u6558\u6555\u655D\u6572\u6578\u6582\u6583" + ++ "\u8B8A\u659B\u659F\u65AB\u65B7\u65C3\u65C6\u65C1" + ++ "\u65C4\u65CC\u65D2\u65D9\u65E1\u65E0\u65F1\u6600" + ++ "\u6615\u6602\u6772\u6603\u65FB\u6609\u663F\u6635" + ++ "\u662E\u661E\u6634\u661C\u6624\u6644\u6649\u6665" + ++ "\u6657\u665E\u6664\u6659\u6662\u665D\uFA12\u6673" + ++ "\u6670\u6683\u6688\u6684\u6699\u6698\u66A0\u669D" + ++ "\u66B2\u66C4\u66C1\u66BF\u66C9\u66BE\u66BC\u66B8" + ++ "\u66D6\u66DA\u66E6\u66E9\u66F0\u66F5\u66F7\u66FA" + ++ "\u670E\uF929\u6716\u671E\u7E22\u6726\u6727\u9738" + ++ "\u672E\u673F\u6736\u6737\u6738\u6746\u675E\u6759" + ++ "\u6766\u6764\u6789\u6785\u6770\u67A9\u676A\u678B" + ++ "\u6773\u67A6\u67A1\u67BB\u67B7\u67EF\u67B4\u67EC" + ++ "\u67E9\u67B8\u67E7\u67E4\u6852\u67DD\u67E2\u67EE" + ++ "\u67C0\u67CE\u67B9\u6801\u67C6\u681E\u6846\u684D" + ++ "\u6840\u6844\u6832\u684E\u6863\u6859\u688D" , ++ "\uFFFD\u6877\u687F\u689F\u687E\u688F\u68AD\u6894" + ++ "\u6883\u68BC\u68B9\u6874\u68B5\u68BA\u690F\u6901" + ++ "\u68CA\u6908\u68D8\u6926\u68E1\u690C\u68CD\u68D4" + ++ "\u68E7\u68D5\u6912\u68EF\u6904\u68E3\u68E0\u68CF" + ++ "\u68C6\u6922\u692A\u6921\u6923\u6928\uFA13\u6979" + ++ "\u6977\u6936\u6978\u6954\u696A\u6974\u6968\u693D" + ++ "\u6959\u6930\u695E\u695D\u697E\u6981\u69B2\u69BF" + ++ "\uFA14\u6998\u69C1\u69D3\u69BE\u69CE\u5BE8\u69CA" + ++ "\u69B1\u69DD\u69BB\u69C3\u69A0\u699C\u6995\u69DE" + ++ "\u6A2E\u69E8\u6A02\u6A1B\u69FF\u69F9\u69F2\u69E7" + ++ "\u69E2\u6A1E\u69ED\u6A14\u69EB\u6A0A\u6A22\u6A12" + ++ "\u6A23\u6A13\u6A30\u6A6B\u6A44\u6A0C\u6AA0\u6A36" + ++ "\u6A78\u6A47\u6A62\u6A59\u6A66\u6A48\u6A46\u6A38" + ++ "\u6A72\u6A73\u6A90\u6A8D\u6A84\u6AA2\u6AA3\u6A7E" + ++ "\u6A97\u6AAC\u6AAA\u6ABB\u6AC2\u6AB8\u6AB3\u6AC1" + ++ "\u6ADE\u6AE2\u6AD1\u6ADA\u6AE4\u8616\u8617\u6AEA" + ++ "\u6B05\u6B0A\u6AFA\u6B12\u6B16\u6B1F\u6B38\u6B37" + ++ "\u6B39\u76DC\u98EE\u6B47\u6B43\u6B49\u6B50\u6B59" + ++ "\u6B54\u6B5B\u6B5F\u6B61\u6B78\u6B79\u6B7F\u6B80" + ++ "\u6B84\u6B83\u6B8D\u6B98\u6B95\u6B9E\u6BA4\u6BAA" + ++ "\u6BAB\u6BAF\u6BB1\u6BB2\u6BB3\u6BB7\u6BBC\u6BC6" + ++ "\u6BCB\u6BD3\u6BD6\u6BDF\u6BEC\u6BEB\u6BF3\u6BEF" + ++ "\u6C08\u6C13\u6C14\u6C1B\u6C24\u6C23\u6C3F\u6C5E" + ++ "\u6C55\u6C5C\u6C62\u6C82\u6C8D\u6C86\u6C6F" , ++ "\uFFFD\u6C9A\u6C81\u6C9B\u6C7E\u6C68\u6C73\u6C92" + ++ "\u6C90\u6CC4\u6CF1\u6CBD\u6CC5\u6CAE\u6CDA\u6CDD" + ++ "\u6CB1\u6CBE\u6CBA\u6CDB\u6CEF\u6CD9\u6CEA\u6D1F" + ++ "\u6D04\u6D36\u6D2B\u6D3D\u6D33\u6D12\u6D0C\u6D63" + ++ "\u6D87\u6D93\u6D6F\u6D64\u6D5A\u6D79\u6D59\u6D8E" + ++ "\u6D95\u6D9B\u6D85\u6D96\u6DF9\u6E0A\u6E2E\u6DB5" + ++ "\u6DE6\u6DC7\u6DAC\u6DB8\u6DCF\u6DC6\u6DEC\u6DDE" + ++ "\u6DCC\u6DE8\u6DF8\u6DD2\u6DC5\u6DFA\u6DD9\u6DF2" + ++ "\u6DFC\u6DE4\u6DD5\u6DEA\u6DEE\u6E2D\u6E6E\u6E19" + ++ "\u6E72\u6E5F\u6E39\u6E3E\u6E23\u6E6B\u6E5C\u6E2B" + ++ "\u6E76\u6E4D\u6E1F\u6E27\u6E43\u6E3C\u6E3A\u6E4E" + ++ "\u6E24\u6E1D\u6E38\u6E82\u6EAA\u6E98\u6EB7\u6EBD" + ++ "\u6EAF\u6EC4\u6EB2\u6ED4\u6ED5\u6E8F\u6EBF\u6EC2" + ++ "\u6E9F\u6F41\u6F45\u6EEC\u6EF8\u6EFE\u6F3F\u6EF2" + ++ "\u6F31\u6EEF\u6F32\u6ECC\u6EFF\u6F3E\u6F13\u6EF7" + ++ "\u6F86\u6F7A\u6F78\u6F80\u6F6F\u6F5B\u6F6D\u6F74" + ++ "\u6F82\u6F88\u6F7C\u6F58\u6FC6\u6F8E\u6F91\u6F66" + ++ "\u6FB3\u6FA3\u6FB5\u6FA1\u6FB9\u6FDB\u6FAA\u6FC2" + ++ "\u6FDF\u6FD5\u6FEC\u6FD8\u6FD4\u6FF5\u6FEE\u7005" + ++ "\u7007\u7009\u700B\u6FFA\u7011\u7001\u700F\u701B" + ++ "\u701A\u701F\u6FF3\u7028\u7018\u7030\u703E\u7032" + ++ "\u7051\u7063\u7085\u7099\u70AF\u70AB\u70AC\u70B8" + ++ "\u70AE\u70DF\u70CB\u70D9\u7109\u710F\u7104\u70F1" + ++ "\u70FD\u711C\u7119\u715C\u7146\u7147\u7166" , ++ "\uFFFD\u7162\u714C\u7156\u716C\u7188\u718F\u7184" + ++ "\u7195\uFA15\u71AC\u71C1\u71B9\u71BE\u71D2\u71E7" + ++ "\u71C9\u71D4\u71D7\u71CE\u71F5\u71E0\u71EC\u71FB" + ++ "\u71FC\u71F9\u71FE\u71FF\u720D\u7210\u7228\u722D" + ++ "\u722C\u7230\u7232\u723B\u723C\u723F\u7240\u7246" + ++ "\u724B\u7258\u7274\u727E\u7281\u7287\u7282\u7292" + ++ "\u7296\u72A2\u72A7\u72B1\u72B2\u72BE\u72C3\u72C6" + ++ "\u72C4\u72B9\u72CE\u72D2\u72E2\u72E0\u72E1\u72F9" + ++ "\u72F7\u7317\u730A\u731C\u7316\u731D\u7324\u7334" + ++ "\u7329\u732F\uFA16\u7325\u733E\u734F\u734E\u7357" + ++ "\u9ED8\u736A\u7368\u7370\u7377\u7378\u7375\u737B" + ++ "\u73C8\u73BD\u73B3\u73CE\u73BB\u73C0\u73C9\u73D6" + ++ "\u73E5\u73E3\u73D2\u73EE\u73F1\u73DE\u73F8\u7407" + ++ "\u73F5\u7405\u7426\u742A\u7425\u7429\u742E\u7432" + ++ "\u743A\u7455\u743F\u745F\u7459\u7441\u745C\u7469" + ++ "\u7470\u7463\u746A\u7464\u7462\u7489\u746F\u747E" + ++ "\u749F\u749E\u74A2\u74A7\u74CA\u74CF\u74D4\u74E0" + ++ "\u74E3\u74E7\u74E9\u74EE\u74F0\u74F2\u74F1\u74F7" + ++ "\u74F8\u7501\u7504\u7503\u7505\u750D\u750C\u750E" + ++ "\u7513\u751E\u7526\u752C\u753C\u7544\u754D\u754A" + ++ "\u7549\u7546\u755B\u755A\u7564\u7567\u756B\u756F" + ++ "\u7574\u756D\u7578\u7576\u7582\u7586\u7587\u758A" + ++ "\u7589\u7594\u759A\u759D\u75A5\u75A3\u75C2\u75B3" + ++ "\u75C3\u75B5\u75BD\u75B8\u75BC\u75B1\u75CD" , ++ "\uFFFD\u75CA\u75D2\u75D9\u75E3\u75DE\u75FE\u75FF" + ++ "\u75FC\u7601\u75F0\u75FA\u75F2\u75F3\u760B\u7609" + ++ "\u761F\u7627\u7620\u7621\u7622\u7624\u7634\u7630" + ++ "\u763B\u7647\u7648\u7658\u7646\u765C\u7661\u7662" + ++ "\u7668\u7669\u7667\u766A\u766C\u7670\u7672\u7676" + ++ "\u767C\u7682\u7680\u7683\u7688\u768B\u7699\u769A" + ++ "\u769C\u769E\u769B\u76A6\u76B0\u76B4\u76B8\u76B9" + ++ "\u76BA\u76C2\uFA17\u76CD\u76D6\u76D2\u76DE\u76E1" + ++ "\u76E5\u76EA\u862F\u76FB\u7708\u7707\u7704\u7724" + ++ "\u7729\u7725\u7726\u771B\u7737\u7738\u7746\u7747" + ++ "\u775A\u7768\u776B\u775B\u7765\u777F\u777E\u7779" + ++ "\u778E\u778B\u7791\u77A0\u779E\u77B0\u77B6\u77B9" + ++ "\u77BF\u77BC\u77BD\u77BB\u77C7\u77CD\u77DA\u77DC" + ++ "\u77E3\u77EE\u52AF\u77FC\u780C\u7812\u7821\u783F" + ++ "\u7820\u7845\u784E\u7864\u7874\u788E\u787A\u7886" + ++ "\u789A\u787C\u788C\u78A3\u78B5\u78AA\u78AF\u78D1" + ++ "\u78C6\u78CB\u78D4\u78BE\u78BC\u78C5\u78CA\u78EC" + ++ "\u78E7\u78DA\u78FD\u78F4\u7907\u7911\u7919\u792C" + ++ "\u792B\u7930\uFA18\u7940\u7960\uFA19\u795F\u795A" + ++ "\u7955\uFA1A\u797F\u798A\u7994\uFA1B\u799D\u799B" + ++ "\u79AA\u79B3\u79BA\u79C9\u79D5\u79E7\u79EC\u79E3" + ++ "\u7A08\u7A0D\u7A18\u7A19\u7A1F\u7A31\u7A3E\u7A37" + ++ "\u7A3B\u7A43\u7A57\u7A49\u7A62\u7A61\u7A69\u9F9D" + ++ "\u7A70\u7A79\u7A7D\u7A88\u7A95\u7A98\u7A96" , ++ "\uFFFD\u7A97\u7AA9\u7AB0\u7AB6\u9083\u7AC3\u7ABF" + ++ "\u7AC5\u7AC4\u7AC7\u7ACA\u7ACD\u7ACF\u7AD2\u7AD1" + ++ "\u7AD5\u7AD3\u7AD9\u7ADA\u7ADD\u7AE1\u7AE2\u7AE6" + ++ "\u7AE7\uFA1C\u7AEB\u7AED\u7AF0\u7AF8\u7B02\u7B0F" + ++ "\u7B0B\u7B0A\u7B06\u7B33\u7B36\u7B19\u7B1E\u7B35" + ++ "\u7B28\u7B50\u7B4D\u7B4C\u7B45\u7B5D\u7B75\u7B7A" + ++ "\u7B74\u7B70\u7B71\u7B6E\u7B9D\u7B98\u7B9F\u7B8D" + ++ "\u7B9C\u7B9A\u7B92\u7B8F\u7B99\u7BCF\u7BCB\u7BCC" + ++ "\u7BB4\u7BC6\u7B9E\u7BDD\u7BE9\u7BE6\u7BF7\u7BE5" + ++ "\u7C14\u7C00\u7C13\u7C07\u7BF3\u7C0D\u7BF6\u7C23" + ++ "\u7C27\u7C2A\u7C1F\u7C37\u7C2B\u7C3D\u7C40\u7C4C" + ++ "\u7C43\u7C56\u7C50\u7C58\u7C5F\u7C65\u7C6C\u7C75" + ++ "\u7C83\u7C90\u7CA4\u7CA2\u7CAB\u7CA1\u7CAD\u7CA8" + ++ "\u7CB3\u7CB2\u7CB1\u7CAE\u7CB9\uFA1D\u7CBD\u7CC5" + ++ "\u7CC2\u7CD2\u7CE2\u7CD8\u7CDC\u7CEF\u7CF2\u7CF4" + ++ "\u7CF6\u7D06\u7D02\u7D1C\u7D15\u7D0A\u7D45\u7D4B" + ++ "\u7D2E\u7D32\u7D3F\u7D35\u7D48\u7D46\u7D5C\u7D73" + ++ "\u7D56\u7D4E\u7D68\u7D6E\u7D4F\u7D63\u7D93\u7D89" + ++ "\u7D5B\u7DAE\u7DA3\u7DB5\u7DB7\u7DC7\u7DBD\u7DAB" + ++ "\u7DA2\u7DAF\u7DA0\u7DB8\u7D9F\u7DB0\u7DD5\u7DD8" + ++ "\u7DDD\u7DD6\u7DE4\u7DDE\u7DFB\u7E0B\u7DF2\u7DE1" + ++ "\u7DDC\u7E05\u7E0A\u7E21\u7E12\u7E1F\u7E09\u7E3A" + ++ "\u7E46\u7E66\u7E31\u7E3D\u7E35\u7E3B\u7E39\u7E43" + ++ "\u7E37\u7E32\u7E5D\u7E56\u7E5E\u7E52\u7E59" , ++ "\uFFFD\u7E5A\u7E67\u7E79\u7E6A\u7E69\u7E7C\u7E7B" + ++ "\u7E7D\u8FAE\u7E7F\u7E83\u7E89\u7E8E\u7E8C\u7E92" + ++ "\u7E93\u7E94\u7E96\u7E9B\u7F38\u7F3A\u7F45\u7F47" + ++ "\u7F4C\u7F4E\u7F51\u7F55\u7F54\u7F58\u7F5F\u7F60" + ++ "\u7F68\u7F67\u7F69\u7F78\u7F82\u7F86\u7F83\u7F87" + ++ "\u7F88\u7F8C\u7F94\u7F9E\u7F9D\u7F9A\u7FA1\u7FA3" + ++ "\u7FAF\u7FAE\u7FB2\u7FB9\u7FB6\u7FB8\u8B71\uFA1E" + ++ "\u7FC5\u7FC6\u7FCA\u7FD5\u7FE1\u7FE6\u7FE9\u7FF3" + ++ "\u7FF9\u8004\u800B\u8012\u8019\u801C\u8021\u8028" + ++ "\u803F\u803B\u804A\u8046\u8052\u8058\u805F\u8062" + ++ "\u8068\u8073\u8072\u8070\u8076\u8079\u807D\u807F" + ++ "\u8084\u8085\u8093\u809A\u80AD\u5190\u80AC\u80DB" + ++ "\u80E5\u80D9\u80DD\u80C4\u80DA\u8109\u80EF\u80F1" + ++ "\u811B\u8123\u812F\u814B\u8146\u813E\u8153\u8151" + ++ "\u80FC\u8171\u816E\u8165\u815F\u8166\u8174\u8183" + ++ "\u8188\u818A\u8180\u8182\u81A0\u8195\u81A3\u8193" + ++ "\u81B5\u81A4\u81A9\u81B8\u81B0\u81C8\u81BE\u81BD" + ++ "\u81C0\u81C2\u81BA\u81C9\u81CD\u81D1\u81D8\u81D9" + ++ "\u81DA\u81DF\u81E0\u81FA\u81FB\u81FE\u8201\u8202" + ++ "\u8205\u820D\u8210\u8212\u8216\u8229\u822B\u822E" + ++ "\u8238\u8233\u8240\u8259\u825A\u825D\u825F\u8264" + ++ "\u8262\u8268\u826A\u826B\u8271\u8277\u827E\u828D" + ++ "\u8292\u82AB\u829F\u82BB\u82AC\u82E1\u82E3\u82DF" + ++ "\u8301\u82D2\u82F4\u82F3\u8303\u82FB\u82F9" , ++ "\uFFFD\u82DE\u8306\u82DC\u82FA\u8309\u82D9\u8335" + ++ "\u8362\u8334\u8316\u8331\u8340\u8339\u8350\u8345" + ++ "\u832F\u832B\u8318\u839A\u83AA\u839F\u83A2\u8396" + ++ "\u8323\u838E\u8375\u837F\u838A\u837C\u83B5\u8373" + ++ "\u8393\u83A0\u8385\u8389\u83A8\u83F4\u8413\u83C7" + ++ "\u83CE\u83F7\u83FD\u8403\u83D8\u840B\u83C1\u8407" + ++ "\u83E0\u83F2\u840D\u8420\u83F6\u83BD\u83FB\u842A" + ++ "\u8462\u843C\u8484\u8477\u846B\u8479\u8448\u846E" + ++ "\u8482\u8469\u8446\u846F\u8438\u8435\u84CA\u84B9" + ++ "\u84BF\u849F\u84B4\u84CD\u84BB\u84DA\u84D0\u84C1" + ++ "\u84AD\u84C6\u84D6\u84A1\u84D9\u84FF\u84F4\u8517" + ++ "\u8518\u852C\u851F\u8515\u8514\u8506\u8553\u855A" + ++ "\u8540\u8559\u8563\u8558\u8548\u8541\u854A\u854B" + ++ "\u856B\u8555\u8580\u85A4\u8588\u8591\u858A\u85A8" + ++ "\u856D\u8594\u859B\u85AE\u8587\u859C\u8577\u857E" + ++ "\u8590\uFA1F\u820A\u85B0\u85C9\u85BA\u85CF\u85B9" + ++ "\u85D0\u85D5\u85DD\u85E5\u85DC\u85F9\u860A\u8613" + ++ "\u860B\u85FE\u8622\u861A\u8630\u863F\uFA20\u864D" + ++ "\u4E55\u8655\u865F\u8667\u8671\u8693\u86A3\u86A9" + ++ "\u868B\u86AA\u868C\u86B6\u86AF\u86C4\u86C6\u86B0" + ++ "\u86C9\u86CE\uFA21\u86AB\u86D4\u86DE\u86E9\u86EC" + ++ "\u86DF\u86DB\u8712\u8706\u8708\u8700\u8703\u86FB" + ++ "\u8711\u8709\u870D\u86F9\u870A\u8734\u873F\u873B" + ++ "\u8725\u8729\u871A\u875F\u8778\u874C\u874E" , ++ "\uFFFD\u8774\u8757\u8768\u8782\u876A\u8760\u876E" + ++ "\u8759\u8753\u8763\u877F\u87A2\u87C6\u879F\u87AF" + ++ "\u87CB\u87BD\u87C0\u87D0\u96D6\u87AB\u87C4\u87B3" + ++ "\u87D2\u87BB\u87EF\u87F2\u87E0\u880E\u8807\u880F" + ++ "\u8816\u880D\u87FE\u87F6\u87F7\u8811\u8815\u8822" + ++ "\u8821\u8827\u8831\u8836\u8839\u883B\u8842\u8844" + ++ "\u884D\u8852\u8859\u885E\u8862\u886B\u8881\u887E" + ++ "\u8875\u887D\u8872\u8882\u889E\u8897\u8892\u88AE" + ++ "\u8899\u88A2\u888D\u88A4\u88BF\u88B5\u88B1\u88C3" + ++ "\u88C4\u88D4\u88D8\u88D9\u88DD\u88F9\u8902\u88FC" + ++ "\u88F5\u88E8\u88F2\u8904\u890C\u892A\u891D\u890A" + ++ "\u8913\u891E\u8925\u892B\u8941\u893B\u8936\u8943" + ++ "\u8938\u894D\u894C\u8960\u895E\u8966\u896A\u8964" + ++ "\u896D\u896F\u8974\u8977\u897E\u8983\u8988\u898A" + ++ "\u8993\u8998\u89A1\u89A9\u89A6\u89AC\u89AF\u89B2" + ++ "\u89BA\u89BF\u89BD\u89C0\u89DA\u89DD\u89E7\u89F4" + ++ "\u89F8\u8A03\u8A16\u8A10\u8A0C\u8A12\u8A1B\u8A1D" + ++ "\u8A25\u8A36\u8A41\u8A37\u8A5B\u8A52\u8A46\u8A48" + ++ "\u8A7C\u8A6D\u8A6C\u8A62\u8A79\u8A85\u8A82\u8A84" + ++ "\u8AA8\u8AA1\u8A91\u8AA5\u8AA6\u8A9A\u8AA3\u8AA7" + ++ "\u8ACC\u8ABE\u8ACD\u8AC2\u8ADA\u8AF3\u8AE7\u8AE4" + ++ "\u8AF1\u8B14\u8AE0\u8AE2\u8AE1\u8ADF\uFA22\u8AF6" + ++ "\u8AF7\u8ADE\u8ADB\u8B0C\u8B07\u8B1A\u8B16\u8B10" + ++ "\u8B17\u8B20\u8B33\u8B41\u97AB\u8B26\u8B2B" , ++ "\uFFFD\u8B3E\u8B4C\u8B4F\u8B4E\u8B53\u8B49\u8B56" + ++ "\u8B5B\u8B5A\u8B74\u8B6B\u8B5F\u8B6C\u8B6F\u8B7D" + ++ "\u8B7F\u8B80\u8B8C\u8B8E\u8B99\u8B92\u8B93\u8B96" + ++ "\u8B9A\u8C3A\u8C41\u8C3F\u8C48\u8C4C\u8C4E\u8C50" + ++ "\u8C55\u8C62\u8C6C\u8C78\u8C7A\u8C7C\u8C82\u8C89" + ++ "\u8C85\u8C8A\u8C8D\u8C8E\u8C98\u8C94\u621D\u8CAD" + ++ "\u8CAA\u8CAE\u8CBD\u8CB2\u8CB3\u8CC1\u8CB6\u8CC8" + ++ "\u8CCE\u8CCD\u8CE3\u8CDA\u8CF0\u8CF4\u8CFD\u8CFA" + ++ "\u8CFB\u8D07\u8D0A\u8D0F\u8D0D\u8D12\u8D10\u8D13" + ++ "\u8D14\u8D16\u8D67\u8D6D\u8D71\u8D76\uFA23\u8D81" + ++ "\u8DC2\u8DBE\u8DBA\u8DCF\u8DDA\u8DD6\u8DCC\u8DDB" + ++ "\u8DCB\u8DEA\u8DEB\u8DDF\u8DE3\u8DFC\u8E08\u8DFF" + ++ "\u8E09\u8E1D\u8E1E\u8E10\u8E1F\u8E42\u8E35\u8E30" + ++ "\u8E34\u8E4A\u8E47\u8E49\u8E4C\u8E50\u8E48\u8E59" + ++ "\u8E64\u8E60\u8E55\u8E63\u8E76\u8E72\u8E87\u8E7C" + ++ "\u8E81\u8E85\u8E84\u8E8B\u8E8A\u8E93\u8E91\u8E94" + ++ "\u8E99\u8EA1\u8EAA\u8EB1\u8EBE\u8EC6\u8EC5\u8EC8" + ++ "\u8ECB\u8ECF\u8EDB\u8EE3\u8EFC\u8EFB\u8EEB\u8EFE" + ++ "\u8F0A\u8F0C\u8F05\u8F15\u8F12\u8F13\u8F1C\u8F19" + ++ "\u8F1F\u8F26\u8F33\u8F3B\u8F39\u8F45\u8F42\u8F3E" + ++ "\u8F49\u8F46\u8F4C\u8F4E\u8F57\u8F5C\u8F62\u8F63" + ++ "\u8F64\u8F9C\u8F9F\u8FA3\u8FA8\u8FA7\u8FAD\u8FAF" + ++ "\u8FB7\uFA24\u8FDA\u8FE5\u8FE2\u8FEF\u8FE9\u8FF4" + ++ "\u9005\u8FF9\u8FF8\u9011\u9015\u900E\u9021" , ++ "\uFFFD\u900D\u901E\u9016\u900B\u9027\u9036\u9039" + ++ "\u904F\uFA25\u9050\u9051\u9052\u9049\u903E\u9056" + ++ "\u9058\u905E\u9068\u9067\u906F\u9076\u96A8\u9072" + ++ "\u9082\u907D\u9089\u9080\u908F\u6248\u90AF\u90B1" + ++ "\u90B5\u90E2\u90E4\u90DB\u90DE\u9102\uFA26\u9115" + ++ "\u9112\u9119\u9132\u9127\u9130\u914A\u9156\u9158" + ++ "\u9163\u9165\u9169\u9173\u9172\u918B\u9189\u9182" + ++ "\u91A2\u91AB\u91AF\u91AA\u91B5\u91B4\u91BA\u91C0" + ++ "\u91C1\u91CB\u91D0\u91DA\u91DB\u91D7\u91DE\u91D6" + ++ "\u91DF\u91E1\u91ED\u91F5\u91EE\u91E4\u91F6\u91E5" + ++ "\u9206\u921E\u91FF\u9210\u9214\u920A\u922C\u9215" + ++ "\u9229\u9257\u9245\u923A\u9249\u9264\u9240\u923C" + ++ "\u9248\u924E\u9250\u9259\u923F\u9251\u9239\u924B" + ++ "\u9267\u925A\u929C\u92A7\u9277\u9278\u9296\u9293" + ++ "\u929B\u9295\u92E9\u92CF\u92E7\u92D7\u92D9\u92D0" + ++ "\uFA27\u92D5\u92B9\u92B7\u92E0\u92D3\u933A\u9335" + ++ "\u930F\u9325\u92FA\u9321\u9344\u92FB\uFA28\u9319" + ++ "\u931E\u92FF\u9322\u931A\u931D\u9323\u9302\u933B" + ++ "\u9370\u9360\u937C\u936E\u9356\u9357\u93B9\u93B0" + ++ "\u93A4\u93AD\u9394\u93C8\u93D6\u93C6\u93D7\u93E8" + ++ "\u93E5\u93D8\u93C3\u93DD\u93DE\u93D0\u93E4\u941A" + ++ "\u93F8\u9414\u9413\u9421\u9403\u9407\u9436\u942B" + ++ "\u9431\u943A\u9441\u9452\u9445\u9444\u9448\u945B" + ++ "\u945A\u9460\u9462\u945E\u946A\u9475\u9470" , ++ "\uFFFD\u9477\u947F\u947D\u947C\u947E\u9481\u9582" + ++ "\u9587\u958A\u9592\u9594\u9596\u9598\u9599\u95A0" + ++ "\u95A8\u95A7\u95AD\u95BC\u95BB\u95B9\u95BE\u95CA" + ++ "\u6FF6\u95C3\u95CD\u95CC\u95D5\u95D4\u95D6\u95DC" + ++ "\u95E1\u95E5\u95E2\u9621\u9628\u962E\u962F\u9642" + ++ "\u964F\u964C\u964B\u965C\u965D\u965F\u9666\u9677" + ++ "\u9672\u966C\u968D\u968B\uF9DC\u9698\u9695\u9697" + ++ "\uFA29\u969D\u96A7\u96AA\u96B1\u96B2\u96B0\u96AF" + ++ "\u96B4\u96B6\u96B8\u96B9\u96CE\u96CB\u96D5\u96DC" + ++ "\u96D9\u96F9\u9704\u9706\u9708\u9719\u970D\u9713" + ++ "\u970E\u9711\u970F\u9716\u9724\u972A\u9730\u9733" + ++ "\u9739\u973B\u973D\u973E\u9746\u9744\u9743\u9748" + ++ "\u9742\u9749\u974D\u974F\u9751\u9755\u975C\u9760" + ++ "\u9764\u9766\u9768\u976D\u9779\u9785\u977C\u9781" + ++ "\u977A\u978B\u978F\u9790\u979C\u97A8\u97A6\u97A3" + ++ "\u97B3\u97B4\u97C3\u97C6\u97C8\u97CB\u97DC\u97ED" + ++ "\u97F2\u7ADF\u97F5\u980F\u981A\u9824\u9821\u9837" + ++ "\u983D\u984F\u984B\u9857\u9865\u986B\u986F\u9870" + ++ "\u9871\u9874\u9873\u98AA\u98AF\u98B1\u98B6\u98C4" + ++ "\u98C3\u98C6\u98DC\u98ED\u98E9\uFA2A\u98EB\uFA2B" + ++ "\u9903\u991D\u9912\u9914\u9918\u9927\uFA2C\u9921" + ++ "\u991E\u9924\u9920\u992C\u992E\u993D\u993E\u9942" + ++ "\u9949\u9945\u9950\u994B\u9951\u994C\u9955\u9997" + ++ "\u9998\u999E\u99A5\u99AD\u99AE\u99BC\u99DF" , ++ "\uFFFD\u99DB\u99DD\u99D8\u99D1\u99ED\u99EE\u99E2" + ++ "\u99F1\u99F2\u99FB\u99F8\u9A01\u9A0F\u9A05\u9A19" + ++ "\u9A2B\u9A37\u9A40\u9A45\u9A42\u9A43\u9A3E\u9A55" + ++ "\u9A4D\u9A4E\u9A5B\u9A57\u9A5F\u9A62\u9A69\u9A65" + ++ "\u9A64\u9A6A\u9A6B\u9AAD\u9AB0\u9ABC\u9AC0\u9ACF" + ++ "\u9AD3\u9AD4\u9AD1\u9AD9\u9ADC\u9ADE\u9ADF\u9AE2" + ++ "\u9AE3\u9AE6\u9AEF\u9AEB\u9AEE\u9AF4\u9AF1\u9AF7" + ++ "\u9AFB\u9B06\u9B18\u9B1A\u9B1F\u9B22\u9B23\u9B25" + ++ "\u9B27\u9B28\u9B29\u9B2A\u9B2E\u9B2F\u9B31\u9B32" + ++ "\u9B3B\u9B44\u9B43\u9B4D\u9B4E\u9B51\u9B58\u9B75" + ++ "\u9B74\u9B72\u9B93\u9B8F\u9B83\u9B91\u9B96\u9B97" + ++ "\u9B9F\u9BA0\u9BA8\u9BB1\u9BB4\u9BC0\u9BCA\u9BBB" + ++ "\u9BB9\u9BC6\u9BCF\u9BD1\u9BD2\u9BE3\u9BE2\u9BE4" + ++ "\u9BD4\u9BE1\u9BF5\u9BF1\u9BF2\u9C04\u9C1B\u9C15" + ++ "\u9C14\u9C00\u9C09\u9C13\u9C0C\u9C06\u9C08\u9C12" + ++ "\u9C0A\u9C2E\u9C25\u9C24\u9C21\u9C30\u9C47\u9C32" + ++ "\u9C46\u9C3E\u9C5A\u9C60\u9C67\u9C76\u9C78\u9CEB" + ++ "\u9CE7\u9CEC\u9CF0\u9D09\u9D03\u9D06\u9D2A\u9D26" + ++ "\u9D2C\u9D23\u9D1F\u9D15\u9D12\u9D41\u9D3F\u9D44" + ++ "\u9D3E\u9D46\u9D48\u9D5D\u9D5E\u9D59\u9D51\u9D50" + ++ "\u9D64\u9D72\u9D70\u9D87\u9D6B\u9D6F\u9D7A\u9D9A" + ++ "\u9DA4\u9DA9\u9DAB\u9DB2\u9DC4\u9DC1\u9DBB\u9DB8" + ++ "\u9DBA\u9DC6\u9DCF\u9DC2\uFA2D\u9DD9\u9DD3\u9DF8" + ++ "\u9DE6\u9DED\u9DEF\u9DFD\u9E1A\u9E1B\u9E19" , ++ "\uFFFD\u9E1E\u9E75\u9E79\u9E7D\u9E81\u9E88\u9E8B" + ++ "\u9E8C\u9E95\u9E91\u9E9D\u9EA5\u9EB8\u9EAA\u9EAD" + ++ "\u9EBC\u9EBE\u9761\u9ECC\u9ECF\u9ED0\u9ED1\u9ED4" + ++ "\u9EDC\u9EDE\u9EDD\u9EE0\u9EE5\u9EE8\u9EEF\u9EF4" + ++ "\u9EF6\u9EF7\u9EF9\u9EFB\u9EFC\u9EFD\u9F07\u9F08" + ++ "\u76B7\u9F15\u9F21\u9F2C\u9F3E\u9F4A\u9F4E\u9F4F" + ++ "\u9F52\u9F54\u9F63\u9F5F\u9F60\u9F61\u9F66\u9F67" + ++ "\u9F6C\u9F6A\u9F77\u9F72\u9F76\u9F95\u9F9C\u9FA0" + ++ "\u5C2D\u69D9\u9065\u7476\u51DC\u7155\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" + ++ "\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD" , ++ "\uFFFD\uE000\uE001\uE002\uE003\uE004\uE005\uE006" + ++ "\uE007\uE008\uE009\uE00A\uE00B\uE00C\uE00D\uE00E" + ++ "\uE00F\uE010\uE011\uE012\uE013\uE014\uE015\uE016" + ++ "\uE017\uE018\uE019\uE01A\uE01B\uE01C\uE01D\uE01E" + ++ "\uE01F\uE020\uE021\uE022\uE023\uE024\uE025\uE026" + ++ "\uE027\uE028\uE029\uE02A\uE02B\uE02C\uE02D\uE02E" + ++ "\uE02F\uE030\uE031\uE032\uE033\uE034\uE035\uE036" + ++ "\uE037\uE038\uE039\uE03A\uE03B\uE03C\uE03D\uE03E" + ++ "\uE03F\uE040\uE041\uE042\uE043\uE044\uE045\uE046" + ++ "\uE047\uE048\uE049\uE04A\uE04B\uE04C\uE04D\uE04E" + ++ "\uE04F\uE050\uE051\uE052\uE053\uE054\uE055\uE056" + ++ "\uE057\uE058\uE059\uE05A\uE05B\uE05C\uE05D\uE05E" + ++ "\uE05F\uE060\uE061\uE062\uE063\uE064\uE065\uE066" + ++ "\uE067\uE068\uE069\uE06A\uE06B\uE06C\uE06D\uE06E" + ++ "\uE06F\uE070\uE071\uE072\uE073\uE074\uE075\uE076" + ++ "\uE077\uE078\uE079\uE07A\uE07B\uE07C\uE07D\uE07E" + ++ "\uE07F\uE080\uE081\uE082\uE083\uE084\uE085\uE086" + ++ "\uE087\uE088\uE089\uE08A\uE08B\uE08C\uE08D\uE08E" + ++ "\uE08F\uE090\uE091\uE092\uE093\uE094\uE095\uE096" + ++ "\uE097\uE098\uE099\uE09A\uE09B\uE09C\uE09D\uE09E" + ++ "\uE09F\uE0A0\uE0A1\uE0A2\uE0A3\uE0A4\uE0A5\uE0A6" + ++ "\uE0A7\uE0A8\uE0A9\uE0AA\uE0AB\uE0AC\uE0AD\uE0AE" + ++ "\uE0AF\uE0B0\uE0B1\uE0B2\uE0B3\uE0B4\uE0B5\uE0B6" + ++ "\uE0B7\uE0B8\uE0B9\uE0BA\uE0BB\uE0BC\uE0BD" , ++ "\uFFFD\uE0BE\uE0BF\uE0C0\uE0C1\uE0C2\uE0C3\uE0C4" + ++ "\uE0C5\uE0C6\uE0C7\uE0C8\uE0C9\uE0CA\uE0CB\uE0CC" + ++ "\uE0CD\uE0CE\uE0CF\uE0D0\uE0D1\uE0D2\uE0D3\uE0D4" + ++ "\uE0D5\uE0D6\uE0D7\uE0D8\uE0D9\uE0DA\uE0DB\uE0DC" + ++ "\uE0DD\uE0DE\uE0DF\uE0E0\uE0E1\uE0E2\uE0E3\uE0E4" + ++ "\uE0E5\uE0E6\uE0E7\uE0E8\uE0E9\uE0EA\uE0EB\uE0EC" + ++ "\uE0ED\uE0EE\uE0EF\uE0F0\uE0F1\uE0F2\uE0F3\uE0F4" + ++ "\uE0F5\uE0F6\uE0F7\uE0F8\uE0F9\uE0FA\uE0FB\uE0FC" + ++ "\uE0FD\uE0FE\uE0FF\uE100\uE101\uE102\uE103\uE104" + ++ "\uE105\uE106\uE107\uE108\uE109\uE10A\uE10B\uE10C" + ++ "\uE10D\uE10E\uE10F\uE110\uE111\uE112\uE113\uE114" + ++ "\uE115\uE116\uE117\uE118\uE119\uE11A\uE11B\uE11C" + ++ "\uE11D\uE11E\uE11F\uE120\uE121\uE122\uE123\uE124" + ++ "\uE125\uE126\uE127\uE128\uE129\uE12A\uE12B\uE12C" + ++ "\uE12D\uE12E\uE12F\uE130\uE131\uE132\uE133\uE134" + ++ "\uE135\uE136\uE137\uE138\uE139\uE13A\uE13B\uE13C" + ++ "\uE13D\uE13E\uE13F\uE140\uE141\uE142\uE143\uE144" + ++ "\uE145\uE146\uE147\uE148\uE149\uE14A\uE14B\uE14C" + ++ "\uE14D\uE14E\uE14F\uE150\uE151\uE152\uE153\uE154" + ++ "\uE155\uE156\uE157\uE158\uE159\uE15A\uE15B\uE15C" + ++ "\uE15D\uE15E\uE15F\uE160\uE161\uE162\uE163\uE164" + ++ "\uE165\uE166\uE167\uE168\uE169\uE16A\uE16B\uE16C" + ++ "\uE16D\uE16E\uE16F\uE170\uE171\uE172\uE173\uE174" + ++ "\uE175\uE176\uE177\uE178\uE179\uE17A\uE17B" , ++ "\uFFFD\uE17C\uE17D\uE17E\uE17F\uE180\uE181\uE182" + ++ "\uE183\uE184\uE185\uE186\uE187\uE188\uE189\uE18A" + ++ "\uE18B\uE18C\uE18D\uE18E\uE18F\uE190\uE191\uE192" + ++ "\uE193\uE194\uE195\uE196\uE197\uE198\uE199\uE19A" + ++ "\uE19B\uE19C\uE19D\uE19E\uE19F\uE1A0\uE1A1\uE1A2" + ++ "\uE1A3\uE1A4\uE1A5\uE1A6\uE1A7\uE1A8\uE1A9\uE1AA" + ++ "\uE1AB\uE1AC\uE1AD\uE1AE\uE1AF\uE1B0\uE1B1\uE1B2" + ++ "\uE1B3\uE1B4\uE1B5\uE1B6\uE1B7\uE1B8\uE1B9\uE1BA" + ++ "\uE1BB\uE1BC\uE1BD\uE1BE\uE1BF\uE1C0\uE1C1\uE1C2" + ++ "\uE1C3\uE1C4\uE1C5\uE1C6\uE1C7\uE1C8\uE1C9\uE1CA" + ++ "\uE1CB\uE1CC\uE1CD\uE1CE\uE1CF\uE1D0\uE1D1\uE1D2" + ++ "\uE1D3\uE1D4\uE1D5\uE1D6\uE1D7\uE1D8\uE1D9\uE1DA" + ++ "\uE1DB\uE1DC\uE1DD\uE1DE\uE1DF\uE1E0\uE1E1\uE1E2" + ++ "\uE1E3\uE1E4\uE1E5\uE1E6\uE1E7\uE1E8\uE1E9\uE1EA" + ++ "\uE1EB\uE1EC\uE1ED\uE1EE\uE1EF\uE1F0\uE1F1\uE1F2" + ++ "\uE1F3\uE1F4\uE1F5\uE1F6\uE1F7\uE1F8\uE1F9\uE1FA" + ++ "\uE1FB\uE1FC\uE1FD\uE1FE\uE1FF\uE200\uE201\uE202" + ++ "\uE203\uE204\uE205\uE206\uE207\uE208\uE209\uE20A" + ++ "\uE20B\uE20C\uE20D\uE20E\uE20F\uE210\uE211\uE212" + ++ "\uE213\uE214\uE215\uE216\uE217\uE218\uE219\uE21A" + ++ "\uE21B\uE21C\uE21D\uE21E\uE21F\uE220\uE221\uE222" + ++ "\uE223\uE224\uE225\uE226\uE227\uE228\uE229\uE22A" + ++ "\uE22B\uE22C\uE22D\uE22E\uE22F\uE230\uE231\uE232" + ++ "\uE233\uE234\uE235\uE236\uE237\uE238\uE239" , ++ "\uFFFD\uE23A\uE23B\uE23C\uE23D\uE23E\uE23F\uE240" + ++ "\uE241\uE242\uE243\uE244\uE245\uE246\uE247\uE248" + ++ "\uE249\uE24A\uE24B\uE24C\uE24D\uE24E\uE24F\uE250" + ++ "\uE251\uE252\uE253\uE254\uE255\uE256\uE257\uE258" + ++ "\uE259\uE25A\uE25B\uE25C\uE25D\uE25E\uE25F\uE260" + ++ "\uE261\uE262\uE263\uE264\uE265\uE266\uE267\uE268" + ++ "\uE269\uE26A\uE26B\uE26C\uE26D\uE26E\uE26F\uE270" + ++ "\uE271\uE272\uE273\uE274\uE275\uE276\uE277\uE278" + ++ "\uE279\uE27A\uE27B\uE27C\uE27D\uE27E\uE27F\uE280" + ++ "\uE281\uE282\uE283\uE284\uE285\uE286\uE287\uE288" + ++ "\uE289\uE28A\uE28B\uE28C\uE28D\uE28E\uE28F\uE290" + ++ "\uE291\uE292\uE293\uE294\uE295\uE296\uE297\uE298" + ++ "\uE299\uE29A\uE29B\uE29C\uE29D\uE29E\uE29F\uE2A0" + ++ "\uE2A1\uE2A2\uE2A3\uE2A4\uE2A5\uE2A6\uE2A7\uE2A8" + ++ "\uE2A9\uE2AA\uE2AB\uE2AC\uE2AD\uE2AE\uE2AF\uE2B0" + ++ "\uE2B1\uE2B2\uE2B3\uE2B4\uE2B5\uE2B6\uE2B7\uE2B8" + ++ "\uE2B9\uE2BA\uE2BB\uE2BC\uE2BD\uE2BE\uE2BF\uE2C0" + ++ "\uE2C1\uE2C2\uE2C3\uE2C4\uE2C5\uE2C6\uE2C7\uE2C8" + ++ "\uE2C9\uE2CA\uE2CB\uE2CC\uE2CD\uE2CE\uE2CF\uE2D0" + ++ "\uE2D1\uE2D2\uE2D3\uE2D4\uE2D5\uE2D6\uE2D7\uE2D8" + ++ "\uE2D9\uE2DA\uE2DB\uE2DC\uE2DD\uE2DE\uE2DF\uE2E0" + ++ "\uE2E1\uE2E2\uE2E3\uE2E4\uE2E5\uE2E6\uE2E7\uE2E8" + ++ "\uE2E9\uE2EA\uE2EB\uE2EC\uE2ED\uE2EE\uE2EF\uE2F0" + ++ "\uE2F1\uE2F2\uE2F3\uE2F4\uE2F5\uE2F6\uE2F7" , ++ "\uFFFD\uE2F8\uE2F9\uE2FA\uE2FB\uE2FC\uE2FD\uE2FE" + ++ "\uE2FF\uE300\uE301\uE302\uE303\uE304\uE305\uE306" + ++ "\uE307\uE308\uE309\uE30A\uE30B\uE30C\uE30D\uE30E" + ++ "\uE30F\uE310\uE311\uE312\uE313\uE314\uE315\uE316" + ++ "\uE317\uE318\uE319\uE31A\uE31B\uE31C\uE31D\uE31E" + ++ "\uE31F\uE320\uE321\uE322\uE323\uE324\uE325\uE326" + ++ "\uE327\uE328\uE329\uE32A\uE32B\uE32C\uE32D\uE32E" + ++ "\uE32F\uE330\uE331\uE332\uE333\uE334\uE335\uE336" + ++ "\uE337\uE338\uE339\uE33A\uE33B\uE33C\uE33D\uE33E" + ++ "\uE33F\uE340\uE341\uE342\uE343\uE344\uE345\uE346" + ++ "\uE347\uE348\uE349\uE34A\uE34B\uE34C\uE34D\uE34E" + ++ "\uE34F\uE350\uE351\uE352\uE353\uE354\uE355\uE356" + ++ "\uE357\uE358\uE359\uE35A\uE35B\uE35C\uE35D\uE35E" + ++ "\uE35F\uE360\uE361\uE362\uE363\uE364\uE365\uE366" + ++ "\uE367\uE368\uE369\uE36A\uE36B\uE36C\uE36D\uE36E" + ++ "\uE36F\uE370\uE371\uE372\uE373\uE374\uE375\uE376" + ++ "\uE377\uE378\uE379\uE37A\uE37B\uE37C\uE37D\uE37E" + ++ "\uE37F\uE380\uE381\uE382\uE383\uE384\uE385\uE386" + ++ "\uE387\uE388\uE389\uE38A\uE38B\uE38C\uE38D\uE38E" + ++ "\uE38F\uE390\uE391\uE392\uE393\uE394\uE395\uE396" + ++ "\uE397\uE398\uE399\uE39A\uE39B\uE39C\uE39D\uE39E" + ++ "\uE39F\uE3A0\uE3A1\uE3A2\uE3A3\uE3A4\uE3A5\uE3A6" + ++ "\uE3A7\uE3A8\uE3A9\uE3AA\uE3AB\uE3AC\uE3AD\uE3AE" + ++ "\uE3AF\uE3B0\uE3B1\uE3B2\uE3B3\uE3B4\uE3B5" , ++ "\uFFFD\uE3B6\uE3B7\uE3B8\uE3B9\uE3BA\uE3BB\uE3BC" + ++ "\uE3BD\uE3BE\uE3BF\uE3C0\uE3C1\uE3C2\uE3C3\uE3C4" + ++ "\uE3C5\uE3C6\uE3C7\uE3C8\uE3C9\uE3CA\uE3CB\uE3CC" + ++ "\uE3CD\uE3CE\uE3CF\uE3D0\uE3D1\uE3D2\uE3D3\uE3D4" + ++ "\uE3D5\uE3D6\uE3D7\uE3D8\uE3D9\uE3DA\uE3DB\uE3DC" + ++ "\uE3DD\uE3DE\uE3DF\uE3E0\uE3E1\uE3E2\uE3E3\uE3E4" + ++ "\uE3E5\uE3E6\uE3E7\uE3E8\uE3E9\uE3EA\uE3EB\uE3EC" + ++ "\uE3ED\uE3EE\uE3EF\uE3F0\uE3F1\uE3F2\uE3F3\uE3F4" + ++ "\uE3F5\uE3F6\uE3F7\uE3F8\uE3F9\uE3FA\uE3FB\uE3FC" + ++ "\uE3FD\uE3FE\uE3FF\uE400\uE401\uE402\uE403\uE404" + ++ "\uE405\uE406\uE407\uE408\uE409\uE40A\uE40B\uE40C" + ++ "\uE40D\uE40E\uE40F\uE410\uE411\uE412\uE413\uE414" + ++ "\uE415\uE416\uE417\uE418\uE419\uE41A\uE41B\uE41C" + ++ "\uE41D\uE41E\uE41F\uE420\uE421\uE422\uE423\uE424" + ++ "\uE425\uE426\uE427\uE428\uE429\uE42A\uE42B\uE42C" + ++ "\uE42D\uE42E\uE42F\uE430\uE431\uE432\uE433\uE434" + ++ "\uE435\uE436\uE437\uE438\uE439\uE43A\uE43B\uE43C" + ++ "\uE43D\uE43E\uE43F\uE440\uE441\uE442\uE443\uE444" + ++ "\uE445\uE446\uE447\uE448\uE449\uE44A\uE44B\uE44C" + ++ "\uE44D\uE44E\uE44F\uE450\uE451\uE452\uE453\uE454" + ++ "\uE455\uE456\uE457\uE458\uE459\uE45A\uE45B\uE45C" + ++ "\uE45D\uE45E\uE45F\uE460\uE461\uE462\uE463\uE464" + ++ "\uE465\uE466\uE467\uE468\uE469\uE46A\uE46B\uE46C" + ++ "\uE46D\uE46E\uE46F\uE470\uE471\uE472\uE473" , ++ "\uFFFD\uE474\uE475\uE476\uE477\uE478\uE479\uE47A" + ++ "\uE47B\uE47C\uE47D\uE47E\uE47F\uE480\uE481\uE482" + ++ "\uE483\uE484\uE485\uE486\uE487\uE488\uE489\uE48A" + ++ "\uE48B\uE48C\uE48D\uE48E\uE48F\uE490\uE491\uE492" + ++ "\uE493\uE494\uE495\uE496\uE497\uE498\uE499\uE49A" + ++ "\uE49B\uE49C\uE49D\uE49E\uE49F\uE4A0\uE4A1\uE4A2" + ++ "\uE4A3\uE4A4\uE4A5\uE4A6\uE4A7\uE4A8\uE4A9\uE4AA" + ++ "\uE4AB\uE4AC\uE4AD\uE4AE\uE4AF\uE4B0\uE4B1\uE4B2" + ++ "\uE4B3\uE4B4\uE4B5\uE4B6\uE4B7\uE4B8\uE4B9\uE4BA" + ++ "\uE4BB\uE4BC\uE4BD\uE4BE\uE4BF\uE4C0\uE4C1\uE4C2" + ++ "\uE4C3\uE4C4\uE4C5\uE4C6\uE4C7\uE4C8\uE4C9\uE4CA" + ++ "\uE4CB\uE4CC\uE4CD\uE4CE\uE4CF\uE4D0\uE4D1\uE4D2" + ++ "\uE4D3\uE4D4\uE4D5\uE4D6\uE4D7\uE4D8\uE4D9\uE4DA" + ++ "\uE4DB\uE4DC\uE4DD\uE4DE\uE4DF\uE4E0\uE4E1\uE4E2" + ++ "\uE4E3\uE4E4\uE4E5\uE4E6\uE4E7\uE4E8\uE4E9\uE4EA" + ++ "\uE4EB\uE4EC\uE4ED\uE4EE\uE4EF\uE4F0\uE4F1\uE4F2" + ++ "\uE4F3\uE4F4\uE4F5\uE4F6\uE4F7\uE4F8\uE4F9\uE4FA" + ++ "\uE4FB\uE4FC\uE4FD\uE4FE\uE4FF\uE500\uE501\uE502" + ++ "\uE503\uE504\uE505\uE506\uE507\uE508\uE509\uE50A" + ++ "\uE50B\uE50C\uE50D\uE50E\uE50F\uE510\uE511\uE512" + ++ "\uE513\uE514\uE515\uE516\uE517\uE518\uE519\uE51A" + ++ "\uE51B\uE51C\uE51D\uE51E\uE51F\uE520\uE521\uE522" + ++ "\uE523\uE524\uE525\uE526\uE527\uE528\uE529\uE52A" + ++ "\uE52B\uE52C\uE52D\uE52E\uE52F\uE530\uE531" , ++ "\uFFFD\uE532\uE533\uE534\uE535\uE536\uE537\uE538" + ++ "\uE539\uE53A\uE53B\uE53C\uE53D\uE53E\uE53F\uE540" + ++ "\uE541\uE542\uE543\uE544\uE545\uE546\uE547\uE548" + ++ "\uE549\uE54A\uE54B\uE54C\uE54D\uE54E\uE54F\uE550" + ++ "\uE551\uE552\uE553\uE554\uE555\uE556\uE557\uE558" + ++ "\uE559\uE55A\uE55B\uE55C\uE55D\uE55E\uE55F\uE560" + ++ "\uE561\uE562\uE563\uE564\uE565\uE566\uE567\uE568" + ++ "\uE569\uE56A\uE56B\uE56C\uE56D\uE56E\uE56F\uE570" + ++ "\uE571\uE572\uE573\uE574\uE575\uE576\uE577\uE578" + ++ "\uE579\uE57A\uE57B\uE57C\uE57D\uE57E\uE57F\uE580" + ++ "\uE581\uE582\uE583\uE584\uE585\uE586\uE587\uE588" + ++ "\uE589\uE58A\uE58B\uE58C\uE58D\uE58E\uE58F\uE590" + ++ "\uE591\uE592\uE593\uE594\uE595\uE596\uE597\uE598" + ++ "\uE599\uE59A\uE59B\uE59C\uE59D\uE59E\uE59F\uE5A0" + ++ "\uE5A1\uE5A2\uE5A3\uE5A4\uE5A5\uE5A6\uE5A7\uE5A8" + ++ "\uE5A9\uE5AA\uE5AB\uE5AC\uE5AD\uE5AE\uE5AF\uE5B0" + ++ "\uE5B1\uE5B2\uE5B3\uE5B4\uE5B5\uE5B6\uE5B7\uE5B8" + ++ "\uE5B9\uE5BA\uE5BB\uE5BC\uE5BD\uE5BE\uE5BF\uE5C0" + ++ "\uE5C1\uE5C2\uE5C3\uE5C4\uE5C5\uE5C6\uE5C7\uE5C8" + ++ "\uE5C9\uE5CA\uE5CB\uE5CC\uE5CD\uE5CE\uE5CF\uE5D0" + ++ "\uE5D1\uE5D2\uE5D3\uE5D4\uE5D5\uE5D6\uE5D7\uE5D8" + ++ "\uE5D9\uE5DA\uE5DB\uE5DC\uE5DD\uE5DE\uE5DF\uE5E0" + ++ "\uE5E1\uE5E2\uE5E3\uE5E4\uE5E5\uE5E6\uE5E7\uE5E8" + ++ "\uE5E9\uE5EA\uE5EB\uE5EC\uE5ED\uE5EE\uE5EF" , ++ "\uFFFD\uE5F0\uE5F1\uE5F2\uE5F3\uE5F4\uE5F5\uE5F6" + ++ "\uE5F7\uE5F8\uE5F9\uE5FA\uE5FB\uE5FC\uE5FD\uE5FE" + ++ "\uE5FF\uE600\uE601\uE602\uE603\uE604\uE605\uE606" + ++ "\uE607\uE608\uE609\uE60A\uE60B\uE60C\uE60D\uE60E" + ++ "\uE60F\uE610\uE611\uE612\uE613\uE614\uE615\uE616" + ++ "\uE617\uE618\uE619\uE61A\uE61B\uE61C\uE61D\uE61E" + ++ "\uE61F\uE620\uE621\uE622\uE623\uE624\uE625\uE626" + ++ "\uE627\uE628\uE629\uE62A\uE62B\uE62C\uE62D\uE62E" + ++ "\uE62F\uE630\uE631\uE632\uE633\uE634\uE635\uE636" + ++ "\uE637\uE638\uE639\uE63A\uE63B\uE63C\uE63D\uE63E" + ++ "\uE63F\uE640\uE641\uE642\uE643\uE644\uE645\uE646" + ++ "\uE647\uE648\uE649\uE64A\uE64B\uE64C\uE64D\uE64E" + ++ "\uE64F\uE650\uE651\uE652\uE653\uE654\uE655\uE656" + ++ "\uE657\uE658\uE659\uE65A\uE65B\uE65C\uE65D\uE65E" + ++ "\uE65F\uE660\uE661\uE662\uE663\uE664\uE665\uE666" + ++ "\uE667\uE668\uE669\uE66A\uE66B\uE66C\uE66D\uE66E" + ++ "\uE66F\uE670\uE671\uE672\uE673\uE674\uE675\uE676" + ++ "\uE677\uE678\uE679\uE67A\uE67B\uE67C\uE67D\uE67E" + ++ "\uE67F\uE680\uE681\uE682\uE683\uE684\uE685\uE686" + ++ "\uE687\uE688\uE689\uE68A\uE68B\uE68C\uE68D\uE68E" + ++ "\uE68F\uE690\uE691\uE692\uE693\uE694\uE695\uE696" + ++ "\uE697\uE698\uE699\uE69A\uE69B\uE69C\uE69D\uE69E" + ++ "\uE69F\uE6A0\uE6A1\uE6A2\uE6A3\uE6A4\uE6A5\uE6A6" + ++ "\uE6A7\uE6A8\uE6A9\uE6AA\uE6AB\uE6AC\uE6AD" , ++ "\uFFFD\uE6AE\uE6AF\uE6B0\uE6B1\uE6B2\uE6B3\uE6B4" + ++ "\uE6B5\uE6B6\uE6B7\uE6B8\uE6B9\uE6BA\uE6BB\uE6BC" + ++ "\uE6BD\uE6BE\uE6BF\uE6C0\uE6C1\uE6C2\uE6C3\uE6C4" + ++ "\uE6C5\uE6C6\uE6C7\uE6C8\uE6C9\uE6CA\uE6CB\uE6CC" + ++ "\uE6CD\uE6CE\uE6CF\uE6D0\uE6D1\uE6D2\uE6D3\uE6D4" + ++ "\uE6D5\uE6D6\uE6D7\uE6D8\uE6D9\uE6DA\uE6DB\uE6DC" + ++ "\uE6DD\uE6DE\uE6DF\uE6E0\uE6E1\uE6E2\uE6E3\uE6E4" + ++ "\uE6E5\uE6E6\uE6E7\uE6E8\uE6E9\uE6EA\uE6EB\uE6EC" + ++ "\uE6ED\uE6EE\uE6EF\uE6F0\uE6F1\uE6F2\uE6F3\uE6F4" + ++ "\uE6F5\uE6F6\uE6F7\uE6F8\uE6F9\uE6FA\uE6FB\uE6FC" + ++ "\uE6FD\uE6FE\uE6FF\uE700\uE701\uE702\uE703\uE704" + ++ "\uE705\uE706\uE707\uE708\uE709\uE70A\uE70B\uE70C" + ++ "\uE70D\uE70E\uE70F\uE710\uE711\uE712\uE713\uE714" + ++ "\uE715\uE716\uE717\uE718\uE719\uE71A\uE71B\uE71C" + ++ "\uE71D\uE71E\uE71F\uE720\uE721\uE722\uE723\uE724" + ++ "\uE725\uE726\uE727\uE728\uE729\uE72A\uE72B\uE72C" + ++ "\uE72D\uE72E\uE72F\uE730\uE731\uE732\uE733\uE734" + ++ "\uE735\uE736\uE737\uE738\uE739\uE73A\uE73B\uE73C" + ++ "\uE73D\uE73E\uE73F\uE740\uE741\uE742\uE743\uE744" + ++ "\uE745\uE746\uE747\uE748\uE749\uE74A\uE74B\uE74C" + ++ "\uE74D\uE74E\uE74F\uE750\uE751\uE752\uE753\uE754" + ++ "\uE755\uE756\uE757\uE758\uE759\uE75A\uE75B\uE75C" + ++ "\uE75D\uE75E\uE75F\uE760\uE761\uE762\uE763\uE764" + ++ "\uE765\uE766\uE767\uE768\uE769\uE76A\uE76B" , ++ "\uFFFD\uE76C\uE76D\uE76E\uE76F\uE770\uE771\uE772" + ++ "\uE773\uE774\uE775\uE776\uE777\uE778\uE779\uE77A" + ++ "\uE77B\uE77C\uE77D\uE77E\uE77F\uE780\uE781\uE782" + ++ "\uE783\uE784\uE785\uE786\uE787\uE788\uE789\uE78A" + ++ "\uE78B\uE78C\uE78D\uE78E\uE78F\uE790\uE791\uE792" + ++ "\uE793\uE794\uE795\uE796\uE797\uE798\uE799\uE79A" + ++ "\uE79B\uE79C\uE79D\uE79E\uE79F\uE7A0\uE7A1\uE7A2" + ++ "\uE7A3\uE7A4\uE7A5\uE7A6\uE7A7\uE7A8\uE7A9\uE7AA" + ++ "\uE7AB\uE7AC\uE7AD\uE7AE\uE7AF\uE7B0\uE7B1\uE7B2" + ++ "\uE7B3\uE7B4\uE7B5\uE7B6\uE7B7\uE7B8\uE7B9\uE7BA" + ++ "\uE7BB\uE7BC\uE7BD\uE7BE\uE7BF\uE7C0\uE7C1\uE7C2" + ++ "\uE7C3\uE7C4\uE7C5\uE7C6\uE7C7\uE7C8\uE7C9\uE7CA" + ++ "\uE7CB\uE7CC\uE7CD\uE7CE\uE7CF\uE7D0\uE7D1\uE7D2" + ++ "\uE7D3\uE7D4\uE7D5\uE7D6\uE7D7\uE7D8\uE7D9\uE7DA" + ++ "\uE7DB\uE7DC\uE7DD\uE7DE\uE7DF\uE7E0\uE7E1\uE7E2" + ++ "\uE7E3\uE7E4\uE7E5\uE7E6\uE7E7\uE7E8\uE7E9\uE7EA" + ++ "\uE7EB\uE7EC\uE7ED\uE7EE\uE7EF\uE7F0\uE7F1\uE7F2" + ++ "\uE7F3\uE7F4\uE7F5\uE7F6\uE7F7\uE7F8\uE7F9\uE7FA" + ++ "\uE7FB\uE7FC\uE7FD\uE7FE\uE7FF\uE800\uE801\uE802" + ++ "\uE803\uE804\uE805\uE806\uE807\uE808\uE809\uE80A" + ++ "\uE80B\uE80C\uE80D\uE80E\uE80F\uE810\uE811\uE812" + ++ "\uE813\uE814\uE815\uE816\uE817\uE818\uE819\uE81A" + ++ "\uE81B\uE81C\uE81D\uE81E\uE81F\uE820\uE821\uE822" + ++ "\uE823\uE824\uE825\uE826\uE827\uE828\uE829" , ++ "\uFFFD\uE82A\uE82B\uE82C\uE82D\uE82E\uE82F\uE830" + ++ "\uE831\uE832\uE833\uE834\uE835\uE836\uE837\uE838" + ++ "\uE839\uE83A\uE83B\uE83C\uE83D\uE83E\uE83F\uE840" + ++ "\uE841\uE842\uE843\uE844\uE845\uE846\uE847\uE848" + ++ "\uE849\uE84A\uE84B\uE84C\uE84D\uE84E\uE84F\uE850" + ++ "\uE851\uE852\uE853\uE854\uE855\uE856\uE857\uE858" + ++ "\uE859\uE85A\uE85B\uE85C\uE85D\uE85E\uE85F\uE860" + ++ "\uE861\uE862\uE863\uE864\uE865\uE866\uE867\uE868" + ++ "\uE869\uE86A\uE86B\uE86C\uE86D\uE86E\uE86F\uE870" + ++ "\uE871\uE872\uE873\uE874\uE875\uE876\uE877\uE878" + ++ "\uE879\uE87A\uE87B\uE87C\uE87D\uE87E\uE87F\uE880" + ++ "\uE881\uE882\uE883\uE884\uE885\uE886\uE887\uE888" + ++ "\uE889\uE88A\uE88B\uE88C\uE88D\uE88E\uE88F\uE890" + ++ "\uE891\uE892\uE893\uE894\uE895\uE896\uE897\uE898" + ++ "\uE899\uE89A\uE89B\uE89C\uE89D\uE89E\uE89F\uE8A0" + ++ "\uE8A1\uE8A2\uE8A3\uE8A4\uE8A5\uE8A6\uE8A7\uE8A8" + ++ "\uE8A9\uE8AA\uE8AB\uE8AC\uE8AD\uE8AE\uE8AF\uE8B0" + ++ "\uE8B1\uE8B2\uE8B3\uE8B4\uE8B5\uE8B6\uE8B7\uE8B8" + ++ "\uE8B9\uE8BA\uE8BB\uE8BC\uE8BD\uE8BE\uE8BF\uE8C0" + ++ "\uE8C1\uE8C2\uE8C3\uE8C4\uE8C5\uE8C6\uE8C7\uE8C8" + ++ "\uE8C9\uE8CA\uE8CB\uE8CC\uE8CD\uE8CE\uE8CF\uE8D0" + ++ "\uE8D1\uE8D2\uE8D3\uE8D4\uE8D5\uE8D6\uE8D7\uE8D8" + ++ "\uE8D9\uE8DA\uE8DB\uE8DC\uE8DD\uE8DE\uE8DF\uE8E0" + ++ "\uE8E1\uE8E2\uE8E3\uE8E4\uE8E5\uE8E6\uE8E7" , ++ "\uFFFD\uE8E8\uE8E9\uE8EA\uE8EB\uE8EC\uE8ED\uE8EE" + ++ "\uE8EF\uE8F0\uE8F1\uE8F2\uE8F3\uE8F4\uE8F5\uE8F6" + ++ "\uE8F7\uE8F8\uE8F9\uE8FA\uE8FB\uE8FC\uE8FD\uE8FE" + ++ "\uE8FF\uE900\uE901\uE902\uE903\uE904\uE905\uE906" + ++ "\uE907\uE908\uE909\uE90A\uE90B\uE90C\uE90D\uE90E" + ++ "\uE90F\uE910\uE911\uE912\uE913\uE914\uE915\uE916" + ++ "\uE917\uE918\uE919\uE91A\uE91B\uE91C\uE91D\uE91E" + ++ "\uE91F\uE920\uE921\uE922\uE923\uE924\uE925\uE926" + ++ "\uE927\uE928\uE929\uE92A\uE92B\uE92C\uE92D\uE92E" + ++ "\uE92F\uE930\uE931\uE932\uE933\uE934\uE935\uE936" + ++ "\uE937\uE938\uE939\uE93A\uE93B\uE93C\uE93D\uE93E" + ++ "\uE93F\uE940\uE941\uE942\uE943\uE944\uE945\uE946" + ++ "\uE947\uE948\uE949\uE94A\uE94B\uE94C\uE94D\uE94E" + ++ "\uE94F\uE950\uE951\uE952\uE953\uE954\uE955\uE956" + ++ "\uE957\uE958\uE959\uE95A\uE95B\uE95C\uE95D\uE95E" + ++ "\uE95F\uE960\uE961\uE962\uE963\uE964\uE965\uE966" + ++ "\uE967\uE968\uE969\uE96A\uE96B\uE96C\uE96D\uE96E" + ++ "\uE96F\uE970\uE971\uE972\uE973\uE974\uE975\uE976" + ++ "\uE977\uE978\uE979\uE97A\uE97B\uE97C\uE97D\uE97E" + ++ "\uE97F\uE980\uE981\uE982\uE983\uE984\uE985\uE986" + ++ "\uE987\uE988\uE989\uE98A\uE98B\uE98C\uE98D\uE98E" + ++ "\uE98F\uE990\uE991\uE992\uE993\uE994\uE995\uE996" + ++ "\uE997\uE998\uE999\uE99A\uE99B\uE99C\uE99D\uE99E" + ++ "\uE99F\uE9A0\uE9A1\uE9A2\uE9A3\uE9A4\uE9A5" , ++ "\uFFFD\uE9A6\uE9A7\uE9A8\uE9A9\uE9AA\uE9AB\uE9AC" + ++ "\uE9AD\uE9AE\uE9AF\uE9B0\uE9B1\uE9B2\uE9B3\uE9B4" + ++ "\uE9B5\uE9B6\uE9B7\uE9B8\uE9B9\uE9BA\uE9BB\uE9BC" + ++ "\uE9BD\uE9BE\uE9BF\uE9C0\uE9C1\uE9C2\uE9C3\uE9C4" + ++ "\uE9C5\uE9C6\uE9C7\uE9C8\uE9C9\uE9CA\uE9CB\uE9CC" + ++ "\uE9CD\uE9CE\uE9CF\uE9D0\uE9D1\uE9D2\uE9D3\uE9D4" + ++ "\uE9D5\uE9D6\uE9D7\uE9D8\uE9D9\uE9DA\uE9DB\uE9DC" + ++ "\uE9DD\uE9DE\uE9DF\uE9E0\uE9E1\uE9E2\uE9E3\uE9E4" + ++ "\uE9E5\uE9E6\uE9E7\uE9E8\uE9E9\uE9EA\uE9EB\uE9EC" + ++ "\uE9ED\uE9EE\uE9EF\uE9F0\uE9F1\uE9F2\uE9F3\uE9F4" + ++ "\uE9F5\uE9F6\uE9F7\uE9F8\uE9F9\uE9FA\uE9FB\uE9FC" + ++ "\uE9FD\uE9FE\uE9FF\uEA00\uEA01\uEA02\uEA03\uEA04" + ++ "\uEA05\uEA06\uEA07\uEA08\uEA09\uEA0A\uEA0B\uEA0C" + ++ "\uEA0D\uEA0E\uEA0F\uEA10\uEA11\uEA12\uEA13\uEA14" + ++ "\uEA15\uEA16\uEA17\uEA18\uEA19\uEA1A\uEA1B\uEA1C" + ++ "\uEA1D\uEA1E\uEA1F\uEA20\uEA21\uEA22\uEA23\uEA24" + ++ "\uEA25\uEA26\uEA27\uEA28\uEA29\uEA2A\uEA2B\uEA2C" + ++ "\uEA2D\uEA2E\uEA2F\uEA30\uEA31\uEA32\uEA33\uEA34" + ++ "\uEA35\uEA36\uEA37\uEA38\uEA39\uEA3A\uEA3B\uEA3C" + ++ "\uEA3D\uEA3E\uEA3F\uEA40\uEA41\uEA42\uEA43\uEA44" + ++ "\uEA45\uEA46\uEA47\uEA48\uEA49\uEA4A\uEA4B\uEA4C" + ++ "\uEA4D\uEA4E\uEA4F\uEA50\uEA51\uEA52\uEA53\uEA54" + ++ "\uEA55\uEA56\uEA57\uEA58\uEA59\uEA5A\uEA5B\uEA5C" + ++ "\uEA5D\uEA5E\uEA5F\uEA60\uEA61\uEA62\uEA63" , ++ "\uFFFD\uEA64\uEA65\uEA66\uEA67\uEA68\uEA69\uEA6A" + ++ "\uEA6B\uEA6C\uEA6D\uEA6E\uEA6F\uEA70\uEA71\uEA72" + ++ "\uEA73\uEA74\uEA75\uEA76\uEA77\uEA78\uEA79\uEA7A" + ++ "\uEA7B\uEA7C\uEA7D\uEA7E\uEA7F\uEA80\uEA81\uEA82" + ++ "\uEA83\uEA84\uEA85\uEA86\uEA87\uEA88\uEA89\uEA8A" + ++ "\uEA8B\uEA8C\uEA8D\uEA8E\uEA8F\uEA90\uEA91\uEA92" + ++ "\uEA93\uEA94\uEA95\uEA96\uEA97\uEA98\uEA99\uEA9A" + ++ "\uEA9B\uEA9C\uEA9D\uEA9E\uEA9F\uEAA0\uEAA1\uEAA2" + ++ "\uEAA3\uEAA4\uEAA5\uEAA6\uEAA7\uEAA8\uEAA9\uEAAA" + ++ "\uEAAB\uEAAC\uEAAD\uEAAE\uEAAF\uEAB0\uEAB1\uEAB2" + ++ "\uEAB3\uEAB4\uEAB5\uEAB6\uEAB7\uEAB8\uEAB9\uEABA" + ++ "\uEABB\uEABC\uEABD\uEABE\uEABF\uEAC0\uEAC1\uEAC2" + ++ "\uEAC3\uEAC4\uEAC5\uEAC6\uEAC7\uEAC8\uEAC9\uEACA" + ++ "\uEACB\uEACC\uEACD\uEACE\uEACF\uEAD0\uEAD1\uEAD2" + ++ "\uEAD3\uEAD4\uEAD5\uEAD6\uEAD7\uEAD8\uEAD9\uEADA" + ++ "\uEADB\uEADC\uEADD\uEADE\uEADF\uEAE0\uEAE1\uEAE2" + ++ "\uEAE3\uEAE4\uEAE5\uEAE6\uEAE7\uEAE8\uEAE9\uEAEA" + ++ "\uEAEB\uEAEC\uEAED\uEAEE\uEAEF\uEAF0\uEAF1\uEAF2" + ++ "\uEAF3\uEAF4\uEAF5\uEAF6\uEAF7\uEAF8\uEAF9\uEAFA" + ++ "\uEAFB\uEAFC\uEAFD\uEAFE\uEAFF\uEB00\uEB01\uEB02" + ++ "\uEB03\uEB04\uEB05\uEB06\uEB07\uEB08\uEB09\uEB0A" + ++ "\uEB0B\uEB0C\uEB0D\uEB0E\uEB0F\uEB10\uEB11\uEB12" + ++ "\uEB13\uEB14\uEB15\uEB16\uEB17\uEB18\uEB19\uEB1A" + ++ "\uEB1B\uEB1C\uEB1D\uEB1E\uEB1F\uEB20\uEB21" , ++ "\uFFFD\uEB22\uEB23\uEB24\uEB25\uEB26\uEB27\uEB28" + ++ "\uEB29\uEB2A\uEB2B\uEB2C\uEB2D\uEB2E\uEB2F\uEB30" + ++ "\uEB31\uEB32\uEB33\uEB34\uEB35\uEB36\uEB37\uEB38" + ++ "\uEB39\uEB3A\uEB3B\uEB3C\uEB3D\uEB3E\uEB3F\uEB40" + ++ "\uEB41\uEB42\uEB43\uEB44\uEB45\uEB46\uEB47\uEB48" + ++ "\uEB49\uEB4A\uEB4B\uEB4C\uEB4D\uEB4E\uEB4F\uEB50" + ++ "\uEB51\uEB52\uEB53\uEB54\uEB55\uEB56\uEB57\uEB58" + ++ "\uEB59\uEB5A\uEB5B\uEB5C\uEB5D\uEB5E\uEB5F\uEB60" + ++ "\uEB61\uEB62\uEB63\uEB64\uEB65\uEB66\uEB67\uEB68" + ++ "\uEB69\uEB6A\uEB6B\uEB6C\uEB6D\uEB6E\uEB6F\uEB70" + ++ "\uEB71\uEB72\uEB73\uEB74\uEB75\uEB76\uEB77\uEB78" + ++ "\uEB79\uEB7A\uEB7B\uEB7C\uEB7D\uEB7E\uEB7F\uEB80" + ++ "\uEB81\uEB82\uEB83\uEB84\uEB85\uEB86\uEB87\uEB88" + ++ "\uEB89\uEB8A\uEB8B\uEB8C\uEB8D\uEB8E\uEB8F\uEB90" + ++ "\uEB91\uEB92\uEB93\uEB94\uEB95\uEB96\uEB97\uEB98" + ++ "\uEB99\uEB9A\uEB9B\uEB9C\uEB9D\uEB9E\uEB9F\uEBA0" + ++ "\uEBA1\uEBA2\uEBA3\uEBA4\uEBA5\uEBA6\uEBA7\uEBA8" + ++ "\uEBA9\uEBAA\uEBAB\uEBAC\uEBAD\uEBAE\uEBAF\uEBB0" + ++ "\uEBB1\uEBB2\uEBB3\uEBB4\uEBB5\uEBB6\uEBB7\uEBB8" + ++ "\uEBB9\uEBBA\uEBBB\uEBBC\uEBBD\uEBBE\uEBBF\uEBC0" + ++ "\uEBC1\uEBC2\uEBC3\uEBC4\uEBC5\uEBC6\uEBC7\uEBC8" + ++ "\uEBC9\uEBCA\uEBCB\uEBCC\uEBCD\uEBCE\uEBCF\uEBD0" + ++ "\uEBD1\uEBD2\uEBD3\uEBD4\uEBD5\uEBD6\uEBD7\uEBD8" + ++ "\uEBD9\uEBDA\uEBDB\uEBDC\uEBDD\uEBDE\uEBDF" , ++ "\uFFFD\uEBE0\uEBE1\uEBE2\uEBE3\uEBE4\uEBE5\uEBE6" + ++ "\uEBE7\uEBE8\uEBE9\uEBEA\uEBEB\uEBEC\uEBED\uEBEE" + ++ "\uEBEF\uEBF0\uEBF1\uEBF2\uEBF3\uEBF4\uEBF5\uEBF6" + ++ "\uEBF7\uEBF8\uEBF9\uEBFA\uEBFB\uEBFC\uEBFD\uEBFE" + ++ "\uEBFF\uEC00\uEC01\uEC02\uEC03\uEC04\uEC05\uEC06" + ++ "\uEC07\uEC08\uEC09\uEC0A\uEC0B\uEC0C\uEC0D\uEC0E" + ++ "\uEC0F\uEC10\uEC11\uEC12\uEC13\uEC14\uEC15\uEC16" + ++ "\uEC17\uEC18\uEC19\uEC1A\uEC1B\uEC1C\uEC1D\uEC1E" + ++ "\uEC1F\uEC20\uEC21\uEC22\uEC23\uEC24\uEC25\uEC26" + ++ "\uEC27\uEC28\uEC29\uEC2A\uEC2B\uEC2C\uEC2D\uEC2E" + ++ "\uEC2F\uEC30\uEC31\uEC32\uEC33\uEC34\uEC35\uEC36" + ++ "\uEC37\uEC38\uEC39\uEC3A\uEC3B\uEC3C\uEC3D\uEC3E" + ++ "\uEC3F\uEC40\uEC41\uEC42\uEC43\uEC44\uEC45\uEC46" + ++ "\uEC47\uEC48\uEC49\uEC4A\uEC4B\uEC4C\uEC4D\uEC4E" + ++ "\uEC4F\uEC50\uEC51\uEC52\uEC53\uEC54\uEC55\uEC56" + ++ "\uEC57\uEC58\uEC59\uEC5A\uEC5B\uEC5C\uEC5D\uEC5E" + ++ "\uEC5F\uEC60\uEC61\uEC62\uEC63\uEC64\uEC65\uEC66" + ++ "\uEC67\uEC68\uEC69\uEC6A\uEC6B\uEC6C\uEC6D\uEC6E" + ++ "\uEC6F\uEC70\uEC71\uEC72\uEC73\uEC74\uEC75\uEC76" + ++ "\uEC77\uEC78\uEC79\uEC7A\uEC7B\uEC7C\uEC7D\uEC7E" + ++ "\uEC7F\uEC80\uEC81\uEC82\uEC83\uEC84\uEC85\uEC86" + ++ "\uEC87\uEC88\uEC89\uEC8A\uEC8B\uEC8C\uEC8D\uEC8E" + ++ "\uEC8F\uEC90\uEC91\uEC92\uEC93\uEC94\uEC95\uEC96" + ++ "\uEC97\uEC98\uEC99\uEC9A\uEC9B\uEC9C\uEC9D" , ++ "\uFFFD\uEC9E\uEC9F\uECA0\uECA1\uECA2\uECA3\uECA4" + ++ "\uECA5\uECA6\uECA7\uECA8\uECA9\uECAA\uECAB\uECAC" + ++ "\uECAD\uECAE\uECAF\uECB0\uECB1\uECB2\uECB3\uECB4" + ++ "\uECB5\uECB6\uECB7\uECB8\uECB9\uECBA\uECBB\uECBC" + ++ "\uECBD\uECBE\uECBF\uECC0\uECC1\uECC2\uECC3\uECC4" + ++ "\uECC5\uECC6\uECC7\uECC8\uECC9\uECCA\uECCB\uECCC" + ++ "\uECCD\uECCE\uECCF\uECD0\uECD1\uECD2\uECD3\uECD4" + ++ "\uECD5\uECD6\uECD7\uECD8\uECD9\uECDA\uECDB\uECDC" + ++ "\uECDD\uECDE\uECDF\uECE0\uECE1\uECE2\uECE3\uECE4" + ++ "\uECE5\uECE6\uECE7\uECE8\uECE9\uECEA\uECEB\uECEC" + ++ "\uECED\uECEE\uECEF\uECF0\uECF1\uECF2\uECF3\uECF4" + ++ "\uECF5\uECF6\uECF7\uECF8\uECF9\uECFA\uECFB\uECFC" + ++ "\uECFD\uECFE\uECFF\uED00\uED01\uED02\uED03\uED04" + ++ "\uED05\uED06\uED07\uED08\uED09\uED0A\uED0B\uED0C" + ++ "\uED0D\uED0E\uED0F\uED10\uED11\uED12\uED13\uED14" + ++ "\uED15\uED16\uED17\uED18\uED19\uED1A\uED1B\uED1C" + ++ "\uED1D\uED1E\uED1F\uED20\uED21\uED22\uED23\uED24" + ++ "\uED25\uED26\uED27\uED28\uED29\uED2A\uED2B\uED2C" + ++ "\uED2D\uED2E\uED2F\uED30\uED31\uED32\uED33\uED34" + ++ "\uED35\uED36\uED37\uED38\uED39\uED3A\uED3B\uED3C" + ++ "\uED3D\uED3E\uED3F\uED40\uED41\uED42\uED43\uED44" + ++ "\uED45\uED46\uED47\uED48\uED49\uED4A\uED4B\uED4C" + ++ "\uED4D\uED4E\uED4F\uED50\uED51\uED52\uED53\uED54" + ++ "\uED55\uED56\uED57\uED58\uED59\uED5A\uED5B" , ++ "\uFFFD\uED5C\uED5D\uED5E\uED5F\uED60\uED61\uED62" + ++ "\uED63\uED64\uED65\uED66\uED67\uED68\uED69\uED6A" + ++ "\uED6B\uED6C\uED6D\uED6E\uED6F\uED70\uED71\uED72" + ++ "\uED73\uED74\uED75\uED76\uED77\uED78\uED79\uED7A" + ++ "\uED7B\uED7C\uED7D\uED7E\uED7F\uED80\uED81\uED82" + ++ "\uED83\uED84\uED85\uED86\uED87\uED88\uED89\uED8A" + ++ "\uED8B\uED8C\uED8D\uED8E\uED8F\uED90\uED91\uED92" + ++ "\uED93\uED94\uED95\uED96\uED97\uED98\uED99\uED9A" + ++ "\uED9B\uED9C\uED9D\uED9E\uED9F\uEDA0\uEDA1\uEDA2" + ++ "\uEDA3\uEDA4\uEDA5\uEDA6\uEDA7\uEDA8\uEDA9\uEDAA" + ++ "\uEDAB\uEDAC\uEDAD\uEDAE\uEDAF\uEDB0\uEDB1\uEDB2" + ++ "\uEDB3\uEDB4\uEDB5\uEDB6\uEDB7\uEDB8\uEDB9\uEDBA" + ++ "\uEDBB\uEDBC\uEDBD\uEDBE\uEDBF\uEDC0\uEDC1\uEDC2" + ++ "\uEDC3\uEDC4\uEDC5\uEDC6\uEDC7\uEDC8\uEDC9\uEDCA" + ++ "\uEDCB\uEDCC\uEDCD\uEDCE\uEDCF\uEDD0\uEDD1\uEDD2" + ++ "\uEDD3\uEDD4\uEDD5\uEDD6\uEDD7\uEDD8\uEDD9\uEDDA" + ++ "\uEDDB\uEDDC\uEDDD\uEDDE\uEDDF\uEDE0\uEDE1\uEDE2" + ++ "\uEDE3\uEDE4\uEDE5\uEDE6\uEDE7\uEDE8\uEDE9\uEDEA" + ++ "\uEDEB\uEDEC\uEDED\uEDEE\uEDEF\uEDF0\uEDF1\uEDF2" + ++ "\uEDF3\uEDF4\uEDF5\uEDF6\uEDF7\uEDF8\uEDF9\uEDFA" + ++ "\uEDFB\uEDFC\uEDFD\uEDFE\uEDFF\uEE00\uEE01\uEE02" + ++ "\uEE03\uEE04\uEE05\uEE06\uEE07\uEE08\uEE09\uEE0A" + ++ "\uEE0B\uEE0C\uEE0D\uEE0E\uEE0F\uEE10\uEE11\uEE12" + ++ "\uEE13\uEE14\uEE15\uEE16\uEE17\uEE18\uEE19" , ++ "\uFFFD\uEE1A\uEE1B\uEE1C\uEE1D\uEE1E\uEE1F\uEE20" + ++ "\uEE21\uEE22\uEE23\uEE24\uEE25\uEE26\uEE27\uEE28" + ++ "\uEE29\uEE2A\uEE2B\uEE2C\uEE2D\uEE2E\uEE2F\uEE30" + ++ "\uEE31\uEE32\uEE33\uEE34\uEE35\uEE36\uEE37\uEE38" + ++ "\uEE39\uEE3A\uEE3B\uEE3C\uEE3D\uEE3E\uEE3F\uEE40" + ++ "\uEE41\uEE42\uEE43\uEE44\uEE45\uEE46\uEE47\uEE48" + ++ "\uEE49\uEE4A\uEE4B\uEE4C\uEE4D\uEE4E\uEE4F\uEE50" + ++ "\uEE51\uEE52\uEE53\uEE54\uEE55\uEE56\uEE57\uEE58" + ++ "\uEE59\uEE5A\uEE5B\uEE5C\uEE5D\uEE5E\uEE5F\uEE60" + ++ "\uEE61\uEE62\uEE63\uEE64\uEE65\uEE66\uEE67\uEE68" + ++ "\uEE69\uEE6A\uEE6B\uEE6C\uEE6D\uEE6E\uEE6F\uEE70" + ++ "\uEE71\uEE72\uEE73\uEE74\uEE75\uEE76\uEE77\uEE78" + ++ "\uEE79\uEE7A\uEE7B\uEE7C\uEE7D\uEE7E\uEE7F\uEE80" + ++ "\uEE81\uEE82\uEE83\uEE84\uEE85\uEE86\uEE87\uEE88" + ++ "\uEE89\uEE8A\uEE8B\uEE8C\uEE8D\uEE8E\uEE8F\uEE90" + ++ "\uEE91\uEE92\uEE93\uEE94\uEE95\uEE96\uEE97\uEE98" + ++ "\uEE99\uEE9A\uEE9B\uEE9C\uEE9D\uEE9E\uEE9F\uEEA0" + ++ "\uEEA1\uEEA2\uEEA3\uEEA4\uEEA5\uEEA6\uEEA7\uEEA8" + ++ "\uEEA9\uEEAA\uEEAB\uEEAC\uEEAD\uEEAE\uEEAF\uEEB0" + ++ "\uEEB1\uEEB2\uEEB3\uEEB4\uEEB5\uEEB6\uEEB7\uEEB8" + ++ "\uEEB9\uEEBA\uEEBB\uEEBC\uEEBD\uEEBE\uEEBF\uEEC0" + ++ "\uEEC1\uEEC2\uEEC3\uEEC4\uEEC5\uEEC6\uEEC7\uEEC8" + ++ "\uEEC9\uEECA\uEECB\uEECC\uEECD\uEECE\uEECF\uEED0" + ++ "\uEED1\uEED2\uEED3\uEED4\uEED5\uEED6\uEED7" , ++ "\uFFFD\uEED8\uEED9\uEEDA\uEEDB\uEEDC\uEEDD\uEEDE" + ++ "\uEEDF\uEEE0\uEEE1\uEEE2\uEEE3\uEEE4\uEEE5\uEEE6" + ++ "\uEEE7\uEEE8\uEEE9\uEEEA\uEEEB\uEEEC\uEEED\uEEEE" + ++ "\uEEEF\uEEF0\uEEF1\uEEF2\uEEF3\uEEF4\uEEF5\uEEF6" + ++ "\uEEF7\uEEF8\uEEF9\uEEFA\uEEFB\uEEFC\uEEFD\uEEFE" + ++ "\uEEFF\uEF00\uEF01\uEF02\uEF03\uEF04\uEF05\uEF06" + ++ "\uEF07\uEF08\uEF09\uEF0A\uEF0B\uEF0C\uEF0D\uEF0E" + ++ "\uEF0F\uEF10\uEF11\uEF12\uEF13\uEF14\uEF15\uEF16" + ++ "\uEF17\uEF18\uEF19\uEF1A\uEF1B\uEF1C\uEF1D\uEF1E" + ++ "\uEF1F\uEF20\uEF21\uEF22\uEF23\uEF24\uEF25\uEF26" + ++ "\uEF27\uEF28\uEF29\uEF2A\uEF2B\uEF2C\uEF2D\uEF2E" + ++ "\uEF2F\uEF30\uEF31\uEF32\uEF33\uEF34\uEF35\uEF36" + ++ "\uEF37\uEF38\uEF39\uEF3A\uEF3B\uEF3C\uEF3D\uEF3E" + ++ "\uEF3F\uEF40\uEF41\uEF42\uEF43\uEF44\uEF45\uEF46" + ++ "\uEF47\uEF48\uEF49\uEF4A\uEF4B\uEF4C\uEF4D\uEF4E" + ++ "\uEF4F\uEF50\uEF51\uEF52\uEF53\uEF54\uEF55\uEF56" + ++ "\uEF57\uEF58\uEF59\uEF5A\uEF5B\uEF5C\uEF5D\uEF5E" + ++ "\uEF5F\uEF60\uEF61\uEF62\uEF63\uEF64\uEF65\uEF66" + ++ "\uEF67\uEF68\uEF69\uEF6A\uEF6B\uEF6C\uEF6D\uEF6E" + ++ "\uEF6F\uEF70\uEF71\uEF72\uEF73\uEF74\uEF75\uEF76" + ++ "\uEF77\uEF78\uEF79\uEF7A\uEF7B\uEF7C\uEF7D\uEF7E" + ++ "\uEF7F\uEF80\uEF81\uEF82\uEF83\uEF84\uEF85\uEF86" + ++ "\uEF87\uEF88\uEF89\uEF8A\uEF8B\uEF8C\uEF8D\uEF8E" + ++ "\uEF8F\uEF90\uEF91\uEF92\uEF93\uEF94\uEF95" , ++ "\uFFFD\uEF96\uEF97\uEF98\uEF99\uEF9A\uEF9B\uEF9C" + ++ "\uEF9D\uEF9E\uEF9F\uEFA0\uEFA1\uEFA2\uEFA3\uEFA4" + ++ "\uEFA5\uEFA6\uEFA7\uEFA8\uEFA9\uEFAA\uEFAB\uEFAC" + ++ "\uEFAD\uEFAE\uEFAF\uEFB0\uEFB1\uEFB2\uEFB3\uEFB4" + ++ "\uEFB5\uEFB6\uEFB7\uEFB8\uEFB9\uEFBA\uEFBB\uEFBC" + ++ "\uEFBD\uEFBE\uEFBF\uEFC0\uEFC1\uEFC2\uEFC3\uEFC4" + ++ "\uEFC5\uEFC6\uEFC7\uEFC8\uEFC9\uEFCA\uEFCB\uEFCC" + ++ "\uEFCD\uEFCE\uEFCF\uEFD0\uEFD1\uEFD2\uEFD3\uEFD4" + ++ "\uEFD5\uEFD6\uEFD7\uEFD8\uEFD9\uEFDA\uEFDB\uEFDC" + ++ "\uEFDD\uEFDE\uEFDF\uEFE0\uEFE1\uEFE2\uEFE3\uEFE4" + ++ "\uEFE5\uEFE6\uEFE7\uEFE8\uEFE9\uEFEA\uEFEB\uEFEC" + ++ "\uEFED\uEFEE\uEFEF\uEFF0\uEFF1\uEFF2\uEFF3\uEFF4" + ++ "\uEFF5\uEFF6\uEFF7\uEFF8\uEFF9\uEFFA\uEFFB\uEFFC" + ++ "\uEFFD\uEFFE\uEFFF\uF000\uF001\uF002\uF003\uF004" + ++ "\uF005\uF006\uF007\uF008\uF009\uF00A\uF00B\uF00C" + ++ "\uF00D\uF00E\uF00F\uF010\uF011\uF012\uF013\uF014" + ++ "\uF015\uF016\uF017\uF018\uF019\uF01A\uF01B\uF01C" + ++ "\uF01D\uF01E\uF01F\uF020\uF021\uF022\uF023\uF024" + ++ "\uF025\uF026\uF027\uF028\uF029\uF02A\uF02B\uF02C" + ++ "\uF02D\uF02E\uF02F\uF030\uF031\uF032\uF033\uF034" + ++ "\uF035\uF036\uF037\uF038\uF039\uF03A\uF03B\uF03C" + ++ "\uF03D\uF03E\uF03F\uF040\uF041\uF042\uF043\uF044" + ++ "\uF045\uF046\uF047\uF048\uF049\uF04A\uF04B\uF04C" + ++ "\uF04D\uF04E\uF04F\uF050\uF051\uF052\uF053" , ++ "\uFFFD\uF054\uF055\uF056\uF057\uF058\uF059\uF05A" + ++ "\uF05B\uF05C\uF05D\uF05E\uF05F\uF060\uF061\uF062" + ++ "\uF063\uF064\uF065\uF066\uF067\uF068\uF069\uF06A" + ++ "\uF06B\uF06C\uF06D\uF06E\uF06F\uF070\uF071\uF072" + ++ "\uF073\uF074\uF075\uF076\uF077\uF078\uF079\uF07A" + ++ "\uF07B\uF07C\uF07D\uF07E\uF07F\uF080\uF081\uF082" + ++ "\uF083\uF084\uF085\uF086\uF087\uF088\uF089\uF08A" + ++ "\uF08B\uF08C\uF08D\uF08E\uF08F\uF090\uF091\uF092" + ++ "\uF093\uF094\uF095\uF096\uF097\uF098\uF099\uF09A" + ++ "\uF09B\uF09C\uF09D\uF09E\uF09F\uF0A0\uF0A1\uF0A2" + ++ "\uF0A3\uF0A4\uF0A5\uF0A6\uF0A7\uF0A8\uF0A9\uF0AA" + ++ "\uF0AB\uF0AC\uF0AD\uF0AE\uF0AF\uF0B0\uF0B1\uF0B2" + ++ "\uF0B3\uF0B4\uF0B5\uF0B6\uF0B7\uF0B8\uF0B9\uF0BA" + ++ "\uF0BB\uF0BC\uF0BD\uF0BE\uF0BF\uF0C0\uF0C1\uF0C2" + ++ "\uF0C3\uF0C4\uF0C5\uF0C6\uF0C7\uF0C8\uF0C9\uF0CA" + ++ "\uF0CB\uF0CC\uF0CD\uF0CE\uF0CF\uF0D0\uF0D1\uF0D2" + ++ "\uF0D3\uF0D4\uF0D5\uF0D6\uF0D7\uF0D8\uF0D9\uF0DA" + ++ "\uF0DB\uF0DC\uF0DD\uF0DE\uF0DF\uF0E0\uF0E1\uF0E2" + ++ "\uF0E3\uF0E4\uF0E5\uF0E6\uF0E7\uF0E8\uF0E9\uF0EA" + ++ "\uF0EB\uF0EC\uF0ED\uF0EE\uF0EF\uF0F0\uF0F1\uF0F2" + ++ "\uF0F3\uF0F4\uF0F5\uF0F6\uF0F7\uF0F8\uF0F9\uF0FA" + ++ "\uF0FB\uF0FC\uF0FD\uF0FE\uF0FF\uF100\uF101\uF102" + ++ "\uF103\uF104\uF105\uF106\uF107\uF108\uF109\uF10A" + ++ "\uF10B\uF10C\uF10D\uF10E\uF10F\uF110\uF111" , ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ null, ++ }; ++ ++ static char[][] b2c = new char[b2cStr.length][]; ++ private static volatile boolean b2cInitialized = false; ++ ++ static void initb2c() { ++ if (b2cInitialized) ++ return; ++ synchronized (b2c) { ++ if (b2cInitialized) ++ return; ++ for (int i = 0; i < b2cStr.length; i++) { ++ if (b2cStr[i] == null) ++ b2c[i] = DoubleByte.B2C_UNMAPPABLE; ++ else ++ b2c[i] = b2cStr[i].toCharArray(); + } ++ b2cInitialized = true; ++ } ++ } ++ ++ static char[] c2b = new char[0x7400]; ++ static char[] c2bIndex = new char[0x100]; ++ private static volatile boolean c2bInitialized = false; ++ ++ static void initc2b() { ++ if (c2bInitialized) ++ return; ++ synchronized (c2b) { ++ if (c2bInitialized) ++ return; ++ String b2cNR = null; ++ String c2bNR = ++ "\u4260\u2212\u426A\u00A6\u43A1\u301C\u444A\u2014" + ++ "\u446E\uF86F\u447C\u2016\u4C7D\u9E7C\u4EB3\u9830" + ++ "\u4F5E\u5861\u507F\u91AC\u5190\u56CA\u51F1\u6805" + ++ "\u51FA\u91B1\u5261\u9EB4\u52A1\u881F\u52C9\u840A" + ++ "\u52DA\u7E61\u52EC\u4FE0\u5353\u8EC0\u5373\u7E6B" + ++ "\u53B3\u8346\u53DA\u9A52\u53E8\u87EC\u53EE\u7130" + ++ "\u53F8\u8523\u5443\u5C5B\u5464\u9DD7\u547D\u5699" + ++ "\u5481\u525D\u54A3\u6414\u54A4\u7626\u54CA\u7C1E" + ++ "\u54CD\u6451\u54D4\u555E\u54FA\u6F51\u5550\u7006" + ++ "\u5553\u79B1\u555F\u9EB5\u55C0\u5C62\u55C1\u985A" + ++ "\u5B72\u6522\u5BFE\u688E\u60F1\u7E48\u61B0\u8141" + ++ "\u66C8\u9839" ; ++ ++ DoubleByte.Encoder.initC2B(b2cStr, b2cSBStr, b2cNR, c2bNR, ++ 0x40, 0xfe, ++ c2b, c2bIndex); ++ c2bInitialized = true; ++ } ++ } ++} +--- jdk/src/share/classes/sun/print/PSPrinterJob.java 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/PSPrinterJob.java 2014-01-18 12:16:33.000000000 -0800 +@@ -1568,7 +1568,7 @@ } - Class providerClass; - if (cl == null) { ---- jaxp/src/com/sun/org/apache/xerces/internal/utils/SecuritySupport.java 2012-08-10 09:37:21.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/utils/SecuritySupport.java 2013-04-28 16:29:20.000000000 -0700 -@@ -29,6 +29,10 @@ - import java.security.PrivilegedAction; - import java.security.PrivilegedActionException; - import java.security.PrivilegedExceptionAction; -+import java.util.Locale; -+import java.util.MissingResourceException; -+import java.util.PropertyResourceBundle; -+import java.util.ResourceBundle; + + String osname = System.getProperty("os.name"); +- if (osname.equals("Linux") || osname.contains("OS X")) { ++ if (osname.equals("Linux") || osname.equals("FreeBSD") || osname.equals("NetBSD") || osname.equals("OpenBSD") || osname.equals("OS X")) { + execCmd = new String[ncomps]; + execCmd[n++] = "/usr/bin/lpr"; + if ((pFlags & PRINTER) != 0) { +--- jdk/src/share/classes/sun/print/resources/serviceui_es.properties 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/resources/serviceui_es.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -36,29 +36,29 @@ + label.pstype=Tipo: + label.rangeto=A + label.size=Tama&\u00F1o: +-label.source=Ori&gen: ++label.source=Orig&en: + label.status=Estado: + label.username=&Usuario: + label.millimetres=(mm) + label.inches=(pulg.) +-label.topmargin=&superior ++label.topmargin=s&uperior + label.bottommargin=in&ferior + label.leftmargin=iz&quierdo + label.rightmargin=d&erecho + # + radiobutton.color=&Color +-radiobutton.draftq=Bo&rrador ++radiobutton.draftq=B&orrador + radiobutton.duplex=&D\u00FAplex +-radiobutton.highq=&Alta ++radiobutton.highq=Al&ta + radiobutton.landscape=Hori&zontal + radiobutton.monochrome=&Monocromo + radiobutton.normalq=&Normal + radiobutton.oneside=Una Ca&ra + radiobutton.portrait=&Vertical + radiobutton.rangeall=&Todo +-radiobutton.rangepages=P\u00E1&ginas ++radiobutton.rangepages=P\u00E1gina&s + radiobutton.revlandscape=&Horizontal Inverso +-radiobutton.revportrait=Vertical Inver&so ++radiobutton.revportrait=Vertical I&nverso + radiobutton.tumble=Cam&bio de Cara + # The vkMnemonics correspond with the constants defined in KeyEvent, eg + # 65 = KeyEvent.VK_A +--- jdk/src/share/classes/sun/print/resources/serviceui_fr.properties 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/resources/serviceui_fr.properties 2014-01-18 12:16:25.000000000 -0800 +@@ -29,7 +29,7 @@ + dialog.writeerror=Impossible d'\u00E9crire dans le fichier : + # + label.info=Infos : +-label.jobname=Nom du &travail : ++label.jobname=Nom du tra&vail : + label.numcopies=Nombre de c&opies : + label.priority=P&riorit\u00E9 : + label.psname=&Nom : +@@ -38,22 +38,22 @@ + label.size=Tai&lle : + label.source=Sour&ce : + label.status=Statut : +-label.username=Nom &utilisateur : ++label.username=Nom ut&ilisateur : + label.millimetres=(mm) + label.inches=(po) + label.topmargin=&haut + label.bottommargin=&bas +-label.leftmargin=&gauche ++label.leftmargin=gauc&he + label.rightmargin=&droite + # +-radiobutton.color=Coule&ur ++radiobutton.color=Coul&eur + radiobutton.draftq=Broui&llon + radiobutton.duplex=&Duplex + radiobutton.highq=Ma&x. +-radiobutton.landscape=Pay&sage +-radiobutton.monochrome=&Monochrome ++radiobutton.landscape=Pa&ysage ++radiobutton.monochrome=Monoc&hrome + radiobutton.normalq=&Normal +-radiobutton.oneside=&Un c\u00F4t\u00E9 ++radiobutton.oneside=Un &c\u00F4t\u00E9 + radiobutton.portrait=&Portrait + radiobutton.rangeall=&Tout + radiobutton.rangepages=Pag&es +@@ -64,7 +64,7 @@ + # 65 = KeyEvent.VK_A + tab.appearance=&Apparence + tab.general=&G\u00E9n\u00E9ral +-tab.pagesetup=Mi&se en page ++tab.pagesetup=&Mise en page + # + error.pagerange=Plage de pages non valide. Sp\u00E9cifiez les valeurs de nouveau (ex. : 1-3,5,7-10) + error.destination=Nom de fichier non valide ; recommencez +--- jdk/src/share/classes/sun/print/resources/serviceui_it.properties 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/resources/serviceui_it.properties 2014-01-18 12:16:26.000000000 -0800 +@@ -47,8 +47,8 @@ + label.rightmargin=&destro + # + radiobutton.color=&Colore +-radiobutton.draftq=&Bozza +-radiobutton.duplex=F&ronte retro ++radiobutton.draftq=Bo&zza ++radiobutton.duplex=&Fronte retro + radiobutton.highq=A<a + radiobutton.landscape=Orizzonta&le + radiobutton.monochrome=Monocrom&atico +@@ -62,7 +62,7 @@ + radiobutton.tumble=La&to corto + # The vkMnemonics correspond with the constants defined in KeyEvent, eg + # 65 = KeyEvent.VK_A +-tab.appearance=&Aspetto ++tab.appearance=As&petto + tab.general=&Generale + tab.pagesetup=Impo&sta pagina + # +--- jdk/src/share/classes/sun/print/resources/serviceui_pt_BR.properties 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/resources/serviceui_pt_BR.properties 2014-01-18 12:16:26.000000000 -0800 +@@ -31,7 +31,7 @@ + label.info=Informa\u00E7\u00F5es: + label.jobname=Nome do &Job: + label.numcopies=N\u00FAmer&o de c\u00F3pias: +-label.priority=P&rioridade: ++label.priority=Pri&oridade: + label.psname=&Nome: + label.pstype=Tipo: + label.rangeto=At\u00E9 +@@ -44,27 +44,27 @@ + label.topmargin=&superior + label.bottommargin=&inferior + label.leftmargin=es&querda: +-label.rightmargin=di&reita ++label.rightmargin=&direita + # +-radiobutton.color=C&or +-radiobutton.draftq=&Rascunho +-radiobutton.duplex=&Duplex +-radiobutton.highq=&Alta ++radiobutton.color=&Cor ++radiobutton.draftq=Rascun&ho ++radiobutton.duplex=Duple&x ++radiobutton.highq=A<a + radiobutton.landscape=&Paisagem + radiobutton.monochrome=&Monocrom\u00E1tico + radiobutton.normalq=&Normal +-radiobutton.oneside=Um Lad&o +-radiobutton.portrait=&Retrato ++radiobutton.oneside=Um La&do ++radiobutton.portrait=Re&trato + radiobutton.rangeall=T&udo + radiobutton.rangepages=&P\u00E1ginas + radiobutton.revlandscape=Paisagem I&nvertida +-radiobutton.revportrait=Retrato &Invertido ++radiobutton.revportrait=Retrato In&vertido + radiobutton.tumble=&Virar + # The vkMnemonics correspond with the constants defined in KeyEvent, eg + # 65 = KeyEvent.VK_A +-tab.appearance=&Apar\u00EAncia ++tab.appearance=Apa&r\u00EAncia + tab.general=&Geral +-tab.pagesetup=Configura\u00E7\u00E3o de &P\u00E1gina ++tab.pagesetup=Con&figura\u00E7\u00E3o da P\u00E1gina + # + error.pagerange=Faixa de p\u00E1ginas inv\u00E1lida; insira novamente os valores (por exemplo, 1-3,5,7-10) + error.destination=Nome de arquivo inv\u00E1lido; tente novamente +--- jdk/src/share/classes/sun/print/resources/serviceui_sv.properties 2013-09-06 11:28:40.000000000 -0700 ++++ jdk/src/share/classes/sun/print/resources/serviceui_sv.properties 2014-01-18 12:16:26.000000000 -0800 +@@ -17,7 +17,7 @@ + button.properties=&Egenskaper... + # + checkbox.collate=&Sortera +-checkbox.jobsheets=&F\u00F6rs\u00E4ttsblad ++checkbox.jobsheets=F&\u00F6rs\u00E4ttsblad + checkbox.printtofile=Skriv ut till &fil + # + dialog.printtitle=Skriv ut +@@ -30,13 +30,13 @@ + # + label.info=Information: + label.jobname=&Utskrift: +-label.numcopies=Antal &exemplar: ++label.numcopies=Antal e&xemplar: + label.priority=P&rioritet: + label.psname=&Namn: + label.pstype=Typ: + label.rangeto=Till + label.size=Stor&lek: +-label.source=K\u00E4l&la: ++label.source=&K\u00E4lla: + label.status=Status: + label.username=A&nv\u00E4ndarnamn: + label.millimetres=(mm) +@@ -50,7 +50,7 @@ + radiobutton.draftq=Utka&st + radiobutton.duplex=&Dubbelsidig + radiobutton.highq=&H\u00F6g +-radiobutton.landscape=&Liggande ++radiobutton.landscape=Liggan&de + radiobutton.monochrome=&Monokrom + radiobutton.normalq=&Normal + radiobutton.oneside=&Ensidig +@@ -62,9 +62,9 @@ + radiobutton.tumble=&V\u00E4nd + # The vkMnemonics correspond with the constants defined in KeyEvent, eg + # 65 = KeyEvent.VK_A +-tab.appearance=&Format ++tab.appearance=Fo&rmat + tab.general=&Allm\u00E4nt +-tab.pagesetup=Utskrifts&format ++tab.pagesetup=&Utskriftsformat + # + error.pagerange=Ogiltigt sidintervall. Skriv in v\u00E4rdena igen (t ex 1-3,5,7-10) + error.destination=Ogiltigt filnamn. F\u00F6rs\u00F6k igen. +--- jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java 2013-09-06 11:28:41.000000000 -0700 ++++ jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java 2014-01-18 12:16:26.000000000 -0800 +@@ -25,13 +25,17 @@ + + package sun.reflect.generics.reflectiveObjects; + ++import java.lang.reflect.Constructor; + import java.lang.reflect.GenericDeclaration; ++import java.lang.reflect.Member; ++import java.lang.reflect.Method; + import java.lang.reflect.Type; + import java.lang.reflect.TypeVariable; + + import sun.reflect.generics.factory.GenericsFactory; + import sun.reflect.generics.tree.FieldTypeSignature; + import sun.reflect.generics.visitor.Reifier; ++import sun.reflect.misc.ReflectUtil; /** - * This class is duplicated for each subpackage so keep it in sync. -@@ -141,6 +145,38 @@ - }); + * Implementation of <tt>java.lang.reflect.TypeVariable</tt> interface +@@ -87,6 +91,13 @@ + TypeVariableImpl<T> make(T decl, String name, + FieldTypeSignature[] bs, + GenericsFactory f) { ++ ++ if (!((decl instanceof Class) || ++ (decl instanceof Method) || ++ (decl instanceof Constructor))) { ++ throw new AssertionError("Unexpected kind of GenericDeclaration" + ++ decl.getClass().toString()); ++ } + return new TypeVariableImpl<T>(decl, name, bs, f); + } + +@@ -141,6 +152,13 @@ + * @since 1.5 + */ + public D getGenericDeclaration(){ ++ if (genericDeclaration instanceof Class) ++ ReflectUtil.checkPackageAccess((Class)genericDeclaration); ++ else if ((genericDeclaration instanceof Method) || ++ (genericDeclaration instanceof Constructor)) ++ ReflectUtil.conservativeCheckMemberAccess((Member)genericDeclaration); ++ else ++ throw new AssertionError("Unexpected kind of GenericDeclaration"); + return genericDeclaration; + } + +@@ -156,7 +174,8 @@ + + @Override + public boolean equals(Object o) { +- if (o instanceof TypeVariable) { ++ if (o instanceof TypeVariable && ++ o.getClass() == TypeVariableImpl.class) { + TypeVariable that = (TypeVariable) o; + + GenericDeclaration thatDecl = that.getGenericDeclaration(); +--- jdk/src/share/classes/sun/reflect/misc/ReflectUtil.java 2013-09-06 11:28:41.000000000 -0700 ++++ jdk/src/share/classes/sun/reflect/misc/ReflectUtil.java 2014-01-18 12:16:26.000000000 -0800 +@@ -26,9 +26,13 @@ + + package sun.reflect.misc; + ++import java.lang.reflect.Member; ++import java.lang.reflect.Method; + import java.lang.reflect.Modifier; + import java.lang.reflect.Proxy; ++import java.util.Arrays; + import sun.reflect.Reflection; ++import sun.security.util.SecurityConstants; + + public final class ReflectUtil { + +@@ -115,6 +119,39 @@ + return false; } + /** -+ * Gets a resource bundle using the specified base name, the default locale, and the caller's class loader. -+ * @param bundle the base name of the resource bundle, a fully qualified class name -+ * @return a resource bundle for the given base name and the default locale ++ * Does a conservative approximation of member access check. Use this if ++ * you don't have an actual 'userland' caller Class/ClassLoader available. ++ * This might be more restrictive than a precise member access check where ++ * you have a caller, but should never allow a member access that is ++ * forbidden. ++ * ++ * @param m the {@code Member} about to be accessed + */ -+ public static ResourceBundle getResourceBundle(String bundle) { -+ return getResourceBundle(bundle, Locale.getDefault()); ++ public static void conservativeCheckMemberAccess(Member m) throws SecurityException{ ++ final SecurityManager sm = System.getSecurityManager(); ++ if (sm == null) ++ return; ++ ++ // Check for package access on the declaring class. ++ // ++ // In addition, unless the member and the declaring class are both ++ // public check for access declared member permissions. ++ // ++ // This is done regardless of ClassLoader relations between the {@code ++ // Member m} and any potential caller. ++ ++ final Class<?> declaringClass = m.getDeclaringClass(); ++ ++ checkPackageAccess(declaringClass); ++ ++ if (Modifier.isPublic(m.getModifiers()) && ++ Modifier.isPublic(declaringClass.getModifiers())) ++ return; ++ ++ // Check for declared member access. ++ sm.checkPermission(SecurityConstants.CHECK_MEMBER_ACCESS_PERMISSION); + } + + /** + * Checks package access on the given class. +@@ -249,4 +286,50 @@ + String pkg = (i != -1) ? name.substring(0, i) : ""; + return Proxy.isProxyClass(cls) && !pkg.equals(PROXY_PACKAGE); + } + + /** -+ * Gets a resource bundle using the specified base name and locale, and the caller's class loader. -+ * @param bundle the base name of the resource bundle, a fully qualified class name -+ * @param locale the locale for which a resource bundle is desired -+ * @return a resource bundle for the given base name and locale ++ * Check if the given method is a method declared in the proxy interface ++ * implemented by the given proxy instance. ++ * ++ * @param proxy a proxy instance ++ * @param method an interface method dispatched to a InvocationHandler ++ * ++ * @throws IllegalArgumentException if the given proxy or method is invalid. + */ -+ public static ResourceBundle getResourceBundle(final String bundle, final Locale locale) { -+ return AccessController.doPrivileged(new PrivilegedAction<ResourceBundle>() { -+ public ResourceBundle run() { -+ try { -+ return PropertyResourceBundle.getBundle(bundle, locale); -+ } catch (MissingResourceException e) { -+ try { -+ return PropertyResourceBundle.getBundle(bundle, new Locale("en", "US")); -+ } catch (MissingResourceException e2) { -+ throw new MissingResourceException( -+ "Could not load any resource bundle by " + bundle, bundle, ""); -+ } -+ } ++ public static void checkProxyMethod(Object proxy, Method method) { ++ // check if it is a valid proxy instance ++ if (proxy == null || !Proxy.isProxyClass(proxy.getClass())) { ++ throw new IllegalArgumentException("Not a Proxy instance"); ++} ++ if (Modifier.isStatic(method.getModifiers())) { ++ throw new IllegalArgumentException("Can't handle static method"); ++ } ++ ++ Class<?> c = method.getDeclaringClass(); ++ if (c == Object.class) { ++ String name = method.getName(); ++ if (name.equals("hashCode") || name.equals("equals") || name.equals("toString")) { ++ return; + } -+ }); ++ } ++ ++ if (isSuperInterface(proxy.getClass(), c)) { ++ return; ++ } ++ ++ // disallow any method not declared in one of the proxy intefaces ++ throw new IllegalArgumentException("Can't handle: " + method); + } + - static boolean getFileExists(final File f) { - return ((Boolean) - AccessController.doPrivileged(new PrivilegedAction() { ---- jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeMessageFormatter.java 2012-08-10 09:37:22.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/xinclude/XIncludeMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -20,11 +20,11 @@ ++ private static boolean isSuperInterface(Class<?> c, Class<?> intf) { ++ for (Class<?> i : c.getInterfaces()) { ++ if (i == intf) { ++ return true; ++ } ++ if (isSuperInterface(i, intf)) { ++ return true; ++ } ++ } ++ return false; ++ } + } +--- jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java 2013-09-06 11:28:41.000000000 -0700 ++++ jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java 2014-01-18 12:16:26.000000000 -0800 +@@ -352,7 +352,7 @@ + public RegistryImpl run() throws RemoteException { + return new RegistryImpl(regPort); + } +- }, getAccessControlContext()); ++ }, getAccessControlContext(regPort)); + } catch (PrivilegedActionException ex) { + throw (RemoteException) ex.getException(); + } +@@ -382,7 +382,7 @@ + * The approach used here is taken from the similar method + * getAccessControlContext() in the sun.applet.AppletPanel class. + */ +- private static AccessControlContext getAccessControlContext() { ++ private static AccessControlContext getAccessControlContext(int port) { + // begin with permissions granted to all code in current policy + PermissionCollection perms = AccessController.doPrivileged( + new java.security.PrivilegedAction<PermissionCollection>() { +@@ -404,6 +404,7 @@ + * related classes themselves are more tightly limited by RMI. + */ + perms.add(new SocketPermission("*", "connect,accept")); ++ perms.add(new SocketPermission("localhost:"+port, "listen,accept")); + + perms.add(new RuntimePermission("accessClassInPackage.sun.jvmstat.*")); + perms.add(new RuntimePermission("accessClassInPackage.sun.jvm.hotspot.*")); +--- jdk/src/share/classes/sun/rmi/server/resources/rmid_ko.properties 2013-09-06 11:28:42.000000000 -0700 ++++ jdk/src/share/classes/sun/rmi/server/resources/rmid_ko.properties 2014-01-18 12:16:26.000000000 -0800 +@@ -87,7 +87,7 @@ + rmid.restart.service.warning=\nrmid: (\uACBD\uACE0) \uC11C\uBE44\uC2A4 \uC7AC\uC2DC\uC791\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958: + + # "rmid" should not be translated +-rmid.log.update.warning=\nrmid: (\uACBD\uACE0) \uB85C\uADF8 \uAC31\uC2E0\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958: ++rmid.log.update.warning=\nrmid: (\uACBD\uACE0) \uB85C\uADF8 \uC5C5\uB370\uC774\uD2B8\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958: + + # "rmid" should not be translated + rmid.log.snapshot.warning=\nrmid: (\uC2EC\uAC01) \uB85C\uADF8 \uC2A4\uB0C5\uC0F7\uC73C\uB85C \uC778\uD574 \uBC1C\uC0DD\uD55C \uC624\uB958: +--- jdk/src/share/classes/sun/security/ec/ECPrivateKeyImpl.java 2013-09-06 11:28:42.000000000 -0700 ++++ jdk/src/share/classes/sun/security/ec/ECPrivateKeyImpl.java 2013-12-01 11:14:35.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2006, 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 +@@ -153,12 +153,4 @@ + throw new InvalidKeyException("Invalid EC private key", e); + } + } +- +- // return a string representation of this key for debugging +- public String toString() { +- return "Sun EC private key, " + params.getCurve().getField().getFieldSize() +- + " bits\n private value: " +- + s + "\n parameters: " + params; +- } +- + } +--- jdk/src/share/classes/sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.java 2013-09-06 11:28:42.000000000 -0700 ++++ jdk/src/share/classes/sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.java 2014-01-18 12:16:26.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2005, 2010, 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 +@@ -45,11 +45,12 @@ - package com.sun.org.apache.xerces.internal.xinclude; + private final int majorVersion; + private final int minorVersion; ++ private final byte[] encodedSecret; -+import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Locale; - import java.util.MissingResourceException; - import java.util.ResourceBundle; --import java.util.PropertyResourceBundle; --import com.sun.org.apache.xerces.internal.util.MessageFormatter; + /** + * Constructs a new TlsRsaPremasterSecretParameterSpec. +- * +- * <p>The version numbers will be placed inside the premaster secret to ++ * <P> ++ * The version numbers will be placed inside the premaster secret to + * detect version rollbacks attacks as described in the TLS specification. + * Note that they do not indicate the protocol version negotiated for + * the handshake. +@@ -65,7 +66,42 @@ + this.majorVersion = + TlsMasterSecretParameterSpec.checkVersion(majorVersion); + this.minorVersion = +- TlsMasterSecretParameterSpec.checkVersion(minorVersion); } ++ TlsMasterSecretParameterSpec.checkVersion(minorVersion); ++ this.encodedSecret = null; ++ } ++ ++ /** ++ * Constructs a new TlsRsaPremasterSecretParameterSpec. ++ * <P> ++ * The version numbers will be placed inside the premaster secret to ++ * detect version rollbacks attacks as described in the TLS specification. ++ * Note that they do not indicate the protocol version negotiated for ++ * the handshake. ++ * <P> ++ * Usually, the encoded secret key is a random number that acts as ++ * dummy pre_master_secret to avoid vulnerabilities described by ++ * section 7.4.7.1, RFC 5246. ++ * ++ * @param majorVersion the major number of the protocol version ++ * @param minorVersion the minor number of the protocol version ++ * @param encodedSecret the encoded secret key ++ * ++ * @throws IllegalArgumentException if minorVersion or majorVersion are ++ * negative or larger than 255, or encodedSecret is not exactly 48 bytes. ++ */ ++ public TlsRsaPremasterSecretParameterSpec(int majorVersion, ++ int minorVersion, byte[] encodedSecret) { ++ this.majorVersion = ++ TlsMasterSecretParameterSpec.checkVersion(majorVersion); ++ this.minorVersion = ++ TlsMasterSecretParameterSpec.checkVersion(minorVersion); ++ ++ if (encodedSecret == null || encodedSecret.length != 48) { ++ throw new IllegalArgumentException( ++ "Encoded secret is not exactly 48 bytes"); ++ } ++ this.encodedSecret = encodedSecret.clone(); ++ } - // TODO: fix error messages in XIncludeMessages.properties - /** -@@ -32,6 +32,7 @@ - * - * @author Peter McCracken, IBM + /** + * Returns the major version. +@@ -84,4 +120,13 @@ + public int getMinorVersion() { + return minorVersion; + } ++ ++ /** ++ * Returns the encoded secret. ++ * ++ * @return the encoded secret, may be null if no encoded secret. ++ */ ++ public byte[] getEncodedSecret() { ++ return encodedSecret == null ? null : encodedSecret.clone(); ++ } + } +--- jdk/src/share/classes/sun/security/jgss/GSSCredentialImpl.java 2013-09-06 11:28:42.000000000 -0700 ++++ jdk/src/share/classes/sun/security/jgss/GSSCredentialImpl.java 2013-12-01 11:14:35.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * -+ * @version $Id: XIncludeMessageFormatter.java,v 1.7 2010-11-01 04:40:18 joehw Exp $ - */ - public class XIncludeMessageFormatter implements MessageFormatter { + * This code is free software; you can redistribute it and/or modify it +@@ -630,7 +630,7 @@ + buffer.append(element.isAcceptorCredential() ? + " Accept" : ""); + buffer.append(" ["); +- buffer.append(element.toString()); ++ buffer.append(element.getClass()); + buffer.append(']'); + } catch (GSSException e) { + // skip to next element +--- jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java 2013-09-06 11:28:43.000000000 -0700 ++++ jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java 2014-01-18 12:16:33.000000000 -0800 +@@ -83,7 +83,8 @@ + String osname = System.getProperty("os.name"); + if (osname.startsWith("SunOS")) { + gssLibs = new String[]{ "libgss.so" }; +- } else if (osname.startsWith("Linux")) { ++ } else if (osname.startsWith("Linux") || ++ osname.endsWith("BSD")) { + gssLibs = new String[]{ + "libgssapi.so", + "libgssapi_krb5.so", +--- jdk/src/share/classes/sun/security/krb5/KdcComm.java 2013-09-06 11:28:43.000000000 -0700 ++++ jdk/src/share/classes/sun/security/krb5/KdcComm.java 2013-12-01 11:14:36.000000000 -0800 +@@ -239,11 +239,15 @@ + savedException = e; + } + } +- if (ibuf == null && savedException != null) { +- if (savedException instanceof IOException) { +- throw (IOException) savedException; ++ if (ibuf == null) { ++ if (savedException != null) { ++ if (savedException instanceof IOException) { ++ throw (IOException) savedException; ++ } else { ++ throw (KrbException) savedException; ++ } + } else { +- throw (KrbException) savedException; ++ throw new IOException("Cannot get a KDC reply"); + } + } + return ibuf; +--- jdk/src/share/classes/sun/security/krb5/internal/NetClient.java 2013-09-06 11:28:43.000000000 -0700 ++++ jdk/src/share/classes/sun/security/krb5/internal/NetClient.java 2013-12-01 11:14:36.000000000 -0800 +@@ -31,6 +31,8 @@ -@@ -61,12 +62,12 @@ + package sun.security.krb5.internal; - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XIncludeMessages", locale); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XIncludeMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle.getBundle("com.sun.org.apache.xerces.internal.impl.msg.XIncludeMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XIncludeMessages"); ++import sun.misc.IOUtils; ++ + import java.io.*; + import java.net.*; + +@@ -102,17 +104,15 @@ + return null; } - String msg = fResourceBundle.getString(key); ---- jaxp/src/com/sun/org/apache/xerces/internal/xpointer/XPointerMessageFormatter.java 2012-08-10 09:37:27.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xerces/internal/xpointer/XPointerMessageFormatter.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,6 +24,7 @@ - import java.util.ResourceBundle; - import java.util.PropertyResourceBundle; - import com.sun.org.apache.xerces.internal.util.MessageFormatter; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; +- byte data[] = new byte[len]; +- count = readFully(data, len); +- if (count != len) { ++ try { ++ return IOUtils.readFully(in, len, true); ++ } catch (IOException ioe) { + if (Krb5.DEBUG) { + System.out.println( + ">>>DEBUG: TCPClient could not read complete packet (" + + len + "/" + count + ")"); + } + return null; +- } else { +- return data; + } + } - /** - * XPointerMessageFormatter provides error messages for the XPointer Framework -@@ -31,6 +32,7 @@ +--- jdk/src/share/classes/sun/security/pkcs/PKCS8Key.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs/PKCS8Key.java 2013-12-01 11:14:36.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * @xerces.internal + * This code is free software; you can redistribute it and/or modify it +@@ -304,17 +304,6 @@ + return encodedKey.clone(); + } + +- /* +- * Returns a printable representation of the key +- */ +- public String toString () +- { +- HexDumpEncoder encoder = new HexDumpEncoder (); +- +- return "algorithm = " + algid.toString () +- + ", unparsed keybits = \n" + encoder.encodeBuffer (key); +- } +- + /** + * Initialize an PKCS8Key object from an input stream. The data + * on that input stream must be encoded using DER, obeying the +--- jdk/src/share/classes/sun/security/pkcs11/P11Key.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11Key.java 2013-12-01 11:14:36.000000000 -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. * -+ * @version $Id: XPointerMessageFormatter.java,v 1.5 2010-11-01 04:40:26 joehw Exp $ - */ - class XPointerMessageFormatter implements MessageFormatter { + * This code is free software; you can redistribute it and/or modify it +@@ -542,27 +542,6 @@ + fetchValues(); + return coeff; + } +- public String toString() { +- fetchValues(); +- StringBuilder sb = new StringBuilder(super.toString()); +- sb.append("\n modulus: "); +- sb.append(n); +- sb.append("\n public exponent: "); +- sb.append(e); +- sb.append("\n private exponent: "); +- sb.append(d); +- sb.append("\n prime p: "); +- sb.append(p); +- sb.append("\n prime q: "); +- sb.append(q); +- sb.append("\n prime exponent p: "); +- sb.append(pe); +- sb.append("\n prime exponent q: "); +- sb.append(qe); +- sb.append("\n crt coefficient: "); +- sb.append(coeff); +- return sb.toString(); +- } + } -@@ -64,14 +66,14 @@ + // RSA non-CRT private key +@@ -616,15 +595,6 @@ + fetchValues(); + return d; + } +- public String toString() { +- fetchValues(); +- StringBuilder sb = new StringBuilder(super.toString()); +- sb.append("\n modulus: "); +- sb.append(n); +- sb.append("\n private exponent: "); +- sb.append(d); +- return sb.toString(); +- } + } - if (fResourceBundle == null || locale != fLocale) { - if (locale != null) { -- fResourceBundle = PropertyResourceBundle.getBundle( -+ fResourceBundle = SecuritySupport.getResourceBundle( - "com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages", locale); - // memorize the most-recent locale - fLocale = locale; - } - if (fResourceBundle == null) -- fResourceBundle = PropertyResourceBundle -- .getBundle("com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages"); -+ fResourceBundle = SecuritySupport.getResourceBundle( -+ "com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages"); + private static final class P11RSAPublicKey extends P11Key +@@ -794,11 +764,6 @@ + fetchValues(); + return params; } +- public String toString() { +- fetchValues(); +- return super.toString() + "\n x: " + x + "\n p: " + params.getP() +- + "\n q: " + params.getQ() + "\n g: " + params.getG(); +- } + } - String msg = fResourceBundle.getString(key); ---- jaxp/src/com/sun/org/apache/xml/internal/dtm/DTMManager.java 2012-08-10 09:37:37.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/dtm/DTMManager.java 2013-04-28 16:29:20.000000000 -0700 -@@ -27,6 +27,7 @@ - import com.sun.org.apache.xml.internal.utils.PrefixResolver; - import com.sun.org.apache.xml.internal.utils.XMLStringFactory; - import com.sun.org.apache.xalan.internal.utils.ObjectFactory; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; + private static final class P11DHPrivateKey extends P11Key +@@ -856,11 +821,6 @@ + fetchValues(); + return params; + } +- public String toString() { +- fetchValues(); +- return super.toString() + "\n x: " + x + "\n p: " + params.getP() +- + "\n g: " + params.getG(); +- } + } - /** - * A DTMManager instance can be used to create DTM and -@@ -383,7 +384,7 @@ - { - try - { -- debug = System.getProperty("dtm.debug") != null; -+ debug = SecuritySupport.getSystemProperty("dtm.debug") != null; + private static final class P11DHPublicKey extends P11Key +@@ -977,12 +937,6 @@ + fetchValues(); + return params; + } +- public String toString() { +- fetchValues(); +- return super.toString() +- + "\n private value: " + s +- + "\n parameters: " + params; +- } } - catch (SecurityException ex){} - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources.java 2012-08-10 09:37:40.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ + private static final class P11ECPublicKey extends P11Key +--- jdk/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java 2014-01-18 12:16:26.000000000 -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 +@@ -330,7 +330,7 @@ + // as here we always retrieve the CKA_VALUE even for tokens + // that do not have that bug. + byte[] keyBytes = key.getEncoded(); +- byte[] newBytes = P11Util.trimZeroes(keyBytes); ++ byte[] newBytes = KeyUtil.trimZeroes(keyBytes); + if (keyBytes != newBytes) { + key = new SecretKeySpec(newBytes, algorithm); + } +--- jdk/src/share/classes/sun/security/pkcs11/P11RSACipher.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11RSACipher.java 2014-01-18 12:16:26.000000000 -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 +@@ -451,30 +451,7 @@ + // see JCE spec + protected Key engineUnwrap(byte[] wrappedKey, String algorithm, + int type) throws InvalidKeyException, NoSuchAlgorithmException { +- if (algorithm.equals("TlsRsaPremasterSecret")) { +- // the instance variable "session" has been initialized for +- // decrypt mode, so use a local variable instead. +- Session s = null; +- try { +- s = token.getObjSession(); +- long keyType = CKK_GENERIC_SECRET; +- CK_ATTRIBUTE[] attributes = new CK_ATTRIBUTE[] { +- new CK_ATTRIBUTE(CKA_CLASS, CKO_SECRET_KEY), +- new CK_ATTRIBUTE(CKA_KEY_TYPE, keyType), +- }; +- attributes = token.getAttributes +- (O_IMPORT, CKO_SECRET_KEY, keyType, attributes); +- long keyID = token.p11.C_UnwrapKey(s.id(), +- new CK_MECHANISM(mechanism), p11Key.keyID, wrappedKey, +- attributes); +- return P11Key.secretKey(s, keyID, algorithm, 48 << 3, +- attributes); +- } catch (PKCS11Exception e) { +- throw new InvalidKeyException("unwrap() failed", e); +- } finally { +- token.releaseSession(s); +- } +- } ++ + // XXX implement unwrap using C_Unwrap() for all keys + implInit(Cipher.DECRYPT_MODE, p11Key); + if (wrappedKey.length > maxInputSize) { +--- jdk/src/share/classes/sun/security/pkcs11/P11Signature.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11Signature.java 2014-01-18 12:16:27.000000000 -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 +@@ -41,6 +41,7 @@ - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + import sun.security.pkcs11.wrapper.*; + import static sun.security.pkcs11.wrapper.PKCS11Constants.*; ++import sun.security.util.KeyUtil; /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return contents; + * Signature implementation class. This class currently supports the +@@ -687,8 +688,8 @@ + BigInteger r = values[0].getPositiveBigInteger(); + BigInteger s = values[1].getPositiveBigInteger(); + // trim leading zeroes +- byte[] br = P11Util.trimZeroes(r.toByteArray()); +- byte[] bs = P11Util.trimZeroes(s.toByteArray()); ++ byte[] br = KeyUtil.trimZeroes(r.toByteArray()); ++ byte[] bs = KeyUtil.trimZeroes(s.toByteArray()); + int k = Math.max(br.length, bs.length); + // r and s each occupy half the array + byte[] res = new byte[k << 1]; +--- jdk/src/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java 2014-01-18 12:16:27.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2005, 2007, 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 +@@ -88,23 +88,33 @@ + throw new IllegalStateException + ("TlsRsaPremasterSecretGenerator must be initialized"); + } +- CK_VERSION version = +- new CK_VERSION(spec.getMajorVersion(), spec.getMinorVersion()); +- Session session = null; +- try { +- session = token.getObjSession(); +- CK_ATTRIBUTE[] attributes = token.getAttributes +- (O_GENERATE, CKO_SECRET_KEY, CKK_GENERIC_SECRET, new CK_ATTRIBUTE[0]); +- long keyID = token.p11.C_GenerateKey +- (session.id(), new CK_MECHANISM(mechanism, version), attributes); +- SecretKey key = P11Key.secretKey +- (session, keyID, "TlsRsaPremasterSecret", 48 << 3, attributes); +- return key; +- } catch (PKCS11Exception e) { +- throw new ProviderException("Could not generate premaster secret", e); +- } finally { +- token.releaseSession(session); ++ ++ byte[] b = spec.getEncodedSecret(); ++ if (b == null) { ++ CK_VERSION version = new CK_VERSION( ++ spec.getMajorVersion(), spec.getMinorVersion()); ++ Session session = null; ++ try { ++ session = token.getObjSession(); ++ CK_ATTRIBUTE[] attributes = token.getAttributes( ++ O_GENERATE, CKO_SECRET_KEY, ++ CKK_GENERIC_SECRET, new CK_ATTRIBUTE[0]); ++ long keyID = token.p11.C_GenerateKey(session.id(), ++ new CK_MECHANISM(mechanism, version), attributes); ++ SecretKey key = P11Key.secretKey(session, ++ keyID, "TlsRsaPremasterSecret", 48 << 3, attributes); ++ return key; ++ } catch (PKCS11Exception e) { ++ throw new ProviderException( ++ "Could not generate premaster secret", e); ++ } finally { ++ token.releaseSession(session); ++ } + } ++ ++ // Won't worry, the TlsRsaPremasterSecret will be soon converted to ++ // TlsMasterSecret. ++ return new SecretKeySpec(b, "TlsRsaPremasterSecret"); } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } + } +--- jdk/src/share/classes/sun/security/pkcs11/P11Util.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/pkcs11/P11Util.java 2014-01-18 12:16:27.000000000 -0800 +@@ -131,20 +131,6 @@ + return b; + } + +- // trim leading (most significant) zeroes from the result +- static byte[] trimZeroes(byte[] b) { +- int i = 0; +- while ((i < b.length - 1) && (b[i] == 0)) { +- i++; +- } +- if (i == 0) { +- return b; +- } +- byte[] t = new byte[b.length - i]; +- System.arraycopy(b, i, t, 0, t.length); +- return t; - } -- } - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } + public static byte[] getMagnitude(BigInteger bi) { + byte[] b = bi.toByteArray(); + if ((b.length > 1) && (b[0] == 0)) { +--- jdk/src/share/classes/sun/security/provider/ByteArrayAccess.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/provider/ByteArrayAccess.java 2014-01-18 12:16:27.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2006, 2012, 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 +@@ -43,10 +43,8 @@ + * These are the only platforms we currently support, but other optimized + * variants could be added as needed. + * +- * NOTE that because this code performs unchecked direct memory access, it +- * MUST be restricted to trusted code. It is imperative that the caller protects +- * against out of bounds memory access by performing the necessary bounds +- * checks before calling methods in this class. ++ * NOTE that ArrayIndexOutOfBoundsException will be thrown if the bounds checks ++ * failed. + * + * This class may also be helpful in improving the performance of the + * crypto code in the SunJCE provider. However, for now it is only accessible by +@@ -103,6 +101,10 @@ + * byte[] to int[] conversion, little endian byte order. + */ + static void b2iLittle(byte[] in, int inOfs, int[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len) || ++ (outOfs < 0) || ((out.length - outOfs) < len/4)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + len += inOfs; +@@ -131,6 +133,10 @@ + + // Special optimization of b2iLittle(in, inOfs, out, 0, 64) + static void b2iLittle64(byte[] in, int inOfs, int[] out) { ++ if ((inOfs < 0) || ((in.length - inOfs) < 64) || ++ (out.length < 16)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + out[ 0] = unsafe.getInt(in, (long)(inOfs )); +@@ -176,6 +182,10 @@ + * int[] to byte[] conversion, little endian byte order. + */ + static void i2bLittle(int[] in, int inOfs, byte[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len/4) || ++ (outOfs < 0) || ((out.length - outOfs) < len)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + outOfs += byteArrayOfs; + len += outOfs; +@@ -204,6 +214,9 @@ + + // Store one 32-bit value into out[outOfs..outOfs+3] in little endian order. + static void i2bLittle4(int val, byte[] out, int outOfs) { ++ if ((outOfs < 0) || ((out.length - outOfs) < 4)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + unsafe.putInt(out, (long)(byteArrayOfs + outOfs), val); + } else if (bigEndian && ((outOfs & 3) == 0)) { +@@ -220,6 +233,10 @@ + * byte[] to int[] conversion, big endian byte order. + */ + static void b2iBig(byte[] in, int inOfs, int[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len) || ++ (outOfs < 0) || ((out.length - outOfs) < len/4)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + len += inOfs; +@@ -248,6 +265,10 @@ + + // Special optimization of b2iBig(in, inOfs, out, 0, 64) + static void b2iBig64(byte[] in, int inOfs, int[] out) { ++ if ((inOfs < 0) || ((in.length - inOfs) < 64) || ++ (out.length < 16)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + out[ 0] = reverseBytes(unsafe.getInt(in, (long)(inOfs ))); +@@ -293,6 +314,10 @@ + * int[] to byte[] conversion, big endian byte order. + */ + static void i2bBig(int[] in, int inOfs, byte[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len/4) || ++ (outOfs < 0) || ((out.length - outOfs) < len)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + outOfs += byteArrayOfs; + len += outOfs; +@@ -321,6 +346,9 @@ + + // Store one 32-bit value into out[outOfs..outOfs+3] in big endian order. + static void i2bBig4(int val, byte[] out, int outOfs) { ++ if ((outOfs < 0) || ((out.length - outOfs) < 4)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + unsafe.putInt(out, (long)(byteArrayOfs + outOfs), reverseBytes(val)); + } else if (bigEndian && ((outOfs & 3) == 0)) { +@@ -337,6 +365,10 @@ + * byte[] to long[] conversion, big endian byte order. + */ + static void b2lBig(byte[] in, int inOfs, long[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len) || ++ (outOfs < 0) || ((out.length - outOfs) < len/8)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + len += inOfs; +@@ -378,6 +410,10 @@ + + // Special optimization of b2lBig(in, inOfs, out, 0, 128) + static void b2lBig128(byte[] in, int inOfs, long[] out) { ++ if ((inOfs < 0) || ((in.length - inOfs) < 128) || ++ (out.length < 16)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + if (littleEndianUnaligned) { + inOfs += byteArrayOfs; + out[ 0] = reverseBytes(unsafe.getLong(in, (long)(inOfs ))); +@@ -406,6 +442,10 @@ + * long[] to byte[] conversion, big endian byte order. + */ + static void l2bBig(long[] in, int inOfs, byte[] out, int outOfs, int len) { ++ if ((inOfs < 0) || ((in.length - inOfs) < len/8) || ++ (outOfs < 0) || ((out.length - outOfs) < len)) { ++ throw new ArrayIndexOutOfBoundsException(); ++ } + len += outOfs; + while (outOfs < len) { + long i = in[inOfs++]; +@@ -419,5 +459,4 @@ + out[outOfs++] = (byte)(i ); + } + } - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ca.java 2012-08-10 09:37:40.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ca.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ - +--- jdk/src/share/classes/sun/security/provider/DSAPrivateKey.java 2013-09-06 11:28:44.000000000 -0700 ++++ jdk/src/share/classes/sun/security/provider/DSAPrivateKey.java 2013-12-01 11:14:36.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1996, 2002, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1996, 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 +@@ -142,11 +142,6 @@ + } + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- public String toString() { +- return "Sun DSA Private Key \nparameters:" + algid + "\nx: " + +- Debug.toHexString(x) + "\n"; +- } +- + protected void parseKeyBits() throws InvalidKeyException { + try { + DerInputStream in = new DerInputStream(key); +--- jdk/src/share/classes/sun/security/rsa/RSAPadding.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/rsa/RSAPadding.java 2014-01-18 12:16:27.000000000 -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 +@@ -318,33 +318,53 @@ - /** - * Set up error messages. -@@ -443,67 +440,4 @@ - return _contents; - } + /** + * PKCS#1 v1.5 unpadding (blocktype 1 and 2). ++ * ++ * Note that we want to make it a constant-time operation + */ + private byte[] unpadV15(byte[] padded) throws BadPaddingException { + int k = 0; ++ BadPaddingException bpe = null; ++ + if (padded[k++] != 0) { +- throw new BadPaddingException("Data must start with zero"); ++ bpe = new BadPaddingException("Data must start with zero"); + } +- if (padded[k++] != type) { +- throw new BadPaddingException("Blocktype mismatch: " + padded[1]); ++ if (padded[k++] != type && bpe == null) { ++ bpe = new BadPaddingException("Blocktype mismatch: " + padded[1]); + } +- while (true) { ++ int p = 0; ++ while (k < padded.length) { + int b = padded[k++] & 0xff; +- if (b == 0) { +- break; ++ if (b == 0 && p == 0) { ++ p = k; + } +- if (k == padded.length) { +- throw new BadPaddingException("Padding string not terminated"); ++ if (k == padded.length && p == 0 && bpe == null) { ++ bpe = new BadPaddingException("Padding string not terminated"); + } +- if ((type == PAD_BLOCKTYPE_1) && (b != 0xff)) { +- throw new BadPaddingException("Padding byte not 0xff: " + b); ++ if ((type == PAD_BLOCKTYPE_1) && (b != 0xff) && ++ p == 0 && bpe == null) { ++ bpe = new BadPaddingException("Padding byte not 0xff: " + b); + } + } +- int n = padded.length - k; +- if (n > maxDataSize) { +- throw new BadPaddingException("Padding string too short"); ++ int n = padded.length - p; ++ if (n > maxDataSize && bpe == null) { ++ bpe = new BadPaddingException("Padding string too short"); + } ++ ++ // copy useless padding array for a constant-time method ++ // ++ // Is it necessary? ++ byte[] padding = new byte[p]; ++ System.arraycopy(padded, 0, padding, 0, p); ++ + byte[] data = new byte[n]; +- System.arraycopy(padded, padded.length - n, data, 0, n); ++ System.arraycopy(padded, p, data, 0, n); ++ ++ if (bpe == null) { ++ bpe = new BadPaddingException("Unused exception"); ++ } else { ++ throw bpe; ++ } ++ + return data; + } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { +--- jdk/src/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java 2013-12-01 11:14:36.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2003, 2008, 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 +@@ -225,29 +225,4 @@ + } + return b; + } - -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +- // return a string representation of this key for debugging +- public String toString() { +- StringBuffer sb = new StringBuffer(); +- sb.append("Sun RSA private CRT key, "); +- sb.append(n.bitLength()); +- sb.append(" bits\n modulus: "); +- sb.append(n); +- sb.append("\n public exponent: "); +- sb.append(e); +- sb.append("\n private exponent: "); +- sb.append(d); +- sb.append("\n prime p: "); +- sb.append(p); +- sb.append("\n prime q: "); +- sb.append(q); +- sb.append("\n prime exponent p: "); +- sb.append(pe); +- sb.append("\n prime exponent q: "); +- sb.append(qe); +- sb.append("\n crt coefficient: "); +- sb.append(coeff); +- return sb.toString(); - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("ca", "ES")); -- } -- catch (MissingResourceException e2) -- { + } +--- jdk/src/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java 2013-12-01 11:14:36.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2003, 2008, 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 +@@ -98,11 +98,4 @@ + public BigInteger getPrivateExponent() { + return d; + } - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } +- // return a string representation of this key for debugging +- public String toString() { +- return "Sun RSA private key, " + n.bitLength() + " bits\n modulus: " +- + n + "\n private exponent: " + d; - } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_cs.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_cs.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ - - - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; - - /** - * Set up error messages. -@@ -443,67 +440,4 @@ - return _contents; - } +--- jdk/src/share/classes/sun/security/ssl/Handshaker.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/ssl/Handshaker.java 2014-01-18 12:16:27.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1996, 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 +@@ -1047,94 +1047,22 @@ + clnt_random.random_bytes, svr_random.random_bytes, + prfHashAlg, prfHashLength, prfBlockSize); -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { +- SecretKey masterSecret; + try { + KeyGenerator kg = JsseJce.getKeyGenerator(masterAlg); + kg.init(spec); +- masterSecret = kg.generateKey(); +- } catch (GeneralSecurityException e) { ++ return kg.generateKey(); ++ } catch (InvalidAlgorithmParameterException | ++ NoSuchAlgorithmException iae) { ++ // unlikely to happen, otherwise, must be a provider exception ++ // + // For RSA premaster secrets, do not signal a protocol error + // due to the Bleichenbacher attack. See comments further down. +- if (!preMasterSecret.getAlgorithm().equals( +- "TlsRsaPremasterSecret")) { +- throw new ProviderException(e); +- } - -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); + if (debug != null && Debug.isOn("handshake")) { + System.out.println("RSA master secret generation error:"); +- e.printStackTrace(System.out); ++ iae.printStackTrace(System.out); + } - -- try -- { +- if (requestedVersion != null) { +- preMasterSecret = +- RSAClientKeyExchange.generateDummySecret(requestedVersion); +- } else { +- preMasterSecret = +- RSAClientKeyExchange.generateDummySecret(protocolVersion); +- } - -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { +- // recursive call with new premaster secret +- return calculateMasterSecret(preMasterSecret, null); +- } - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("cs", "CZ")); -- } -- catch (MissingResourceException e2) -- { +- // if no version check requested (client side handshake), or version +- // information is not available (not an RSA premaster secret), +- // return master secret immediately. +- if ((requestedVersion == null) || +- !(masterSecret instanceof TlsMasterSecret)) { +- return masterSecret; +- } - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } +- // we have checked the ClientKeyExchange message when reading TLS +- // record, the following check is necessary to ensure that +- // JCE provider does not ignore the checking, or the previous +- // checking process bypassed the premaster secret version checking. +- TlsMasterSecret tlsKey = (TlsMasterSecret)masterSecret; +- int major = tlsKey.getMajorVersion(); +- int minor = tlsKey.getMinorVersion(); +- if ((major < 0) || (minor < 0)) { +- return masterSecret; +- } - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { +- // check if the premaster secret version is ok +- // the specification says that it must be the maximum version supported +- // by the client from its ClientHello message. However, many +- // implementations send the negotiated version, so accept both +- // for SSL v3.0 and TLS v1.0. +- // NOTE that we may be comparing two unsupported version numbers, which +- // is why we cannot use object reference equality in this special case. +- ProtocolVersion premasterVersion = +- ProtocolVersion.valueOf(major, minor); +- boolean versionMismatch = (premasterVersion.v != requestedVersion.v); - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- /* +- * we never checked the client_version in server side +- * for TLS v1.0 and SSL v3.0. For compatibility, we +- * maintain this behavior. +- */ +- if (versionMismatch && requestedVersion.v <= ProtocolVersion.TLS10.v) { +- versionMismatch = (premasterVersion.v != protocolVersion.v); +- } - -- if (country.equals("TW")) -- suffix += "_" + country; +- if (versionMismatch == false) { +- // check passed, return key +- return masterSecret; ++ throw new ProviderException(iae); + } - -- return suffix; -- } +- // Due to the Bleichenbacher attack, do not signal a protocol error. +- // Generate a random premaster secret and continue with the handshake, +- // which will fail when verifying the finished messages. +- // For more information, see comments in PreMasterSecret. +- if (debug != null && Debug.isOn("handshake")) { +- System.out.println("RSA PreMasterSecret version error: expected" +- + protocolVersion + " or " + requestedVersion + ", decrypted: " +- + premasterVersion); +- } +- preMasterSecret = +- RSAClientKeyExchange.generateDummySecret(requestedVersion); - - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_de.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_de.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ - +- // recursive call with new premaster secret +- return calculateMasterSecret(preMasterSecret, null); + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + /* +--- jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java 2014-01-18 12:16:27.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1996, 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 +@@ -135,26 +135,37 @@ + } else { + encrypted = new byte [messageSize]; + if (input.read(encrypted) != messageSize) { +- throw new SSLProtocolException +- ("SSL: read PreMasterSecret: short read"); ++ throw new SSLProtocolException( ++ "SSL: read PreMasterSecret: short read"); + } + } - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; ++ Exception failover = null; ++ byte[] encoded = null; + try { + Cipher cipher = JsseJce.getCipher(JsseJce.CIPHER_RSA_PKCS1); +- cipher.init(Cipher.UNWRAP_MODE, privateKey); +- preMaster = (SecretKey)cipher.unwrap(encrypted, +- "TlsRsaPremasterSecret", Cipher.SECRET_KEY); +- +- // polish the premaster secret +- preMaster = polishPreMasterSecretKey(currentVersion, maxVersion, +- generator, preMaster, null); ++ // Cannot generate key here, please don't use Cipher.UNWRAP_MODE! ++ cipher.init(Cipher.DECRYPT_MODE, privateKey); ++ encoded = cipher.doFinal(encrypted); ++ } catch (BadPaddingException bpe) { ++ failover = bpe; ++ encoded = null; ++ } catch (IllegalBlockSizeException ibse) { ++ // the message it too big to process with RSA ++ throw new SSLProtocolException( ++ "Unable to process PreMasterSecret, may be too big"); + } catch (Exception e) { +- // polish the premaster secret +- preMaster = +- polishPreMasterSecretKey(currentVersion, maxVersion, +- generator, null, e); ++ // unlikely to happen, otherwise, must be a provider exception ++ if (debug != null && Debug.isOn("handshake")) { ++ System.out.println("RSA premaster secret decryption error:"); ++ e.printStackTrace(System.out); ++ } ++ throw new RuntimeException("Could not generate dummy secret", e); + } ++ ++ // polish the premaster secret ++ preMaster = polishPreMasterSecretKey( ++ currentVersion, maxVersion, generator, encoded, failover); } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; + /** +@@ -165,85 +176,74 @@ + * + * RFC 5246 describes the approach as : + * +- * 1. Generate a string R of 46 random bytes ++ * 1. Generate a string R of 48 random bytes + * + * 2. Decrypt the message to recover the plaintext M + * + * 3. If the PKCS#1 padding is not correct, or the length of message + * M is not exactly 48 bytes: +- * pre_master_secret = ClientHello.client_version || R ++ * pre_master_secret = R + * else If ClientHello.client_version <= TLS 1.0, and version + * number check is explicitly disabled: +- * pre_master_secret = M ++ * premaster secret = M ++ * else If M[0..1] != ClientHello.client_version: ++ * premaster secret = R + * else: +- * pre_master_secret = ClientHello.client_version || M[2..47] ++ * premaster secret = M ++ * ++ * Note that #2 has completed before the call of this method. + */ + private SecretKey polishPreMasterSecretKey(ProtocolVersion currentVersion, + ProtocolVersion clientHelloVersion, SecureRandom generator, +- SecretKey secretKey, Exception failoverException) { ++ byte[] encoded, Exception failoverException) { + + this.protocolVersion = clientHelloVersion; ++ if (generator == null) { ++ generator = new SecureRandom(); ++ } ++ byte[] random = new byte[48]; ++ generator.nextBytes(random); + +- if (failoverException == null && secretKey != null) { ++ if (failoverException == null && encoded != null) { + // check the length +- byte[] encoded = secretKey.getEncoded(); +- if (encoded == null) { // unable to get the encoded key ++ if (encoded.length != 48) { + if (debug != null && Debug.isOn("handshake")) { + System.out.println( +- "unable to get the plaintext of the premaster secret"); ++ "incorrect length of premaster secret: " + ++ encoded.length); + } + +- int keySize = KeyUtil.getKeySize(secretKey); +- if (keySize > 0 && keySize != 384) { // 384 = 48 * 8 +- if (debug != null && Debug.isOn("handshake")) { +- System.out.println( +- "incorrect length of premaster secret: " + +- (keySize/8)); +- } ++ return generatePreMasterSecret( ++ clientHelloVersion, random, generator); ++ } + +- return generateDummySecret(clientHelloVersion); +- } ++ if (clientHelloVersion.major != encoded[0] || ++ clientHelloVersion.minor != encoded[1]) { + +- // The key size is exactly 48 bytes or not accessible. +- // +- // Conservatively, pass the checking to master secret +- // calculation. +- return secretKey; +- } else if (encoded.length == 48) { +- // check the version +- if (clientHelloVersion.major == encoded[0] && +- clientHelloVersion.minor == encoded[1]) { +- +- return secretKey; +- } else if (clientHelloVersion.v <= ProtocolVersion.TLS10.v && +- currentVersion.major == encoded[0] && +- currentVersion.minor == encoded[1]) { ++ if (clientHelloVersion.v <= ProtocolVersion.TLS10.v && ++ currentVersion.major == encoded[0] && ++ currentVersion.minor == encoded[1]) { + /* + * For compatibility, we maintain the behavior that the + * version in pre_master_secret can be the negotiated + * version for TLS v1.0 and SSL v3.0. + */ + this.protocolVersion = currentVersion; +- return secretKey; +- } - -- return suffix; -- } +- if (debug != null && Debug.isOn("handshake")) { +- System.out.println("Mismatching Protocol Versions, " + +- "ClientHello.client_version is " + clientHelloVersion + +- ", while PreMasterSecret.client_version is " + +- ProtocolVersion.valueOf(encoded[0], encoded[1])); +- } ++ } else { ++ if (debug != null && Debug.isOn("handshake")) { ++ System.out.println("Mismatching Protocol Versions, " + ++ "ClientHello.client_version is " + ++ clientHelloVersion + ++ ", while PreMasterSecret.client_version is " + ++ ProtocolVersion.valueOf(encoded[0], encoded[1])); ++ } + +- return generateDummySecret(clientHelloVersion); +- } else { +- if (debug != null && Debug.isOn("handshake")) { +- System.out.println( +- "incorrect length of premaster secret: " + +- encoded.length); ++ encoded = random; + } - - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_es.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_es.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +- return generateDummySecret(clientHelloVersion); + } ++ ++ return generatePreMasterSecret( ++ clientHelloVersion, encoded, generator); + } + if (debug != null && Debug.isOn("handshake") && +@@ -252,11 +252,14 @@ + failoverException.printStackTrace(System.out); + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- return generateDummySecret(clientHelloVersion); ++ return generatePreMasterSecret(clientHelloVersion, random, generator); + } - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; + // generate a premaster secret with the specified version number +- static SecretKey generateDummySecret(ProtocolVersion version) { ++ private static SecretKey generatePreMasterSecret( ++ ProtocolVersion version, byte[] encodedSecret, ++ SecureRandom generator) { ++ + if (debug != null && Debug.isOn("handshake")) { + System.out.println("Generating a random fake premaster secret"); + } +@@ -265,11 +268,17 @@ + String s = ((version.v >= ProtocolVersion.TLS12.v) ? + "SunTls12RsaPremasterSecret" : "SunTlsRsaPremasterSecret"); + KeyGenerator kg = JsseJce.getKeyGenerator(s); +- kg.init(new TlsRsaPremasterSecretParameterSpec +- (version.major, version.minor)); ++ kg.init(new TlsRsaPremasterSecretParameterSpec( ++ version.major, version.minor, encodedSecret), generator); + return kg.generateKey(); +- } catch (GeneralSecurityException e) { +- throw new RuntimeException("Could not generate dummy secret", e); ++ } catch (InvalidAlgorithmParameterException | ++ NoSuchAlgorithmException iae) { ++ // unlikely to happen, otherwise, must be a provider exception ++ if (debug != null && Debug.isOn("handshake")) { ++ System.out.println("RSA premaster secret generation error:"); ++ iae.printStackTrace(System.out); ++ } ++ throw new RuntimeException("Could not generate dummy secret", iae); + } } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_fr.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_fr.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +--- jdk/src/share/classes/sun/security/tools/JarSigner.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/tools/JarSigner.java 2014-01-18 12:16:27.000000000 -0800 +@@ -155,8 +155,13 @@ + private String altSignerClasspath = null; + private ZipFile zipFile = null; + +- private boolean hasExpiredCert = false; ++ // Informational warnings + private boolean hasExpiringCert = false; ++ private boolean noTimestamp = false; ++ private Date expireDate = new Date(0L); // used in noTimestamp warning ++ ++ // Severe warnings ++ private boolean hasExpiredCert = false; + private boolean notYetValidCert = false; + private boolean chainNotValidated = false; + private boolean notSignedByAlias = false; +@@ -255,9 +260,6 @@ + + if (strict) { + int exitCode = 0; +- if (hasExpiringCert) { +- exitCode |= 2; +- } + if (chainNotValidated || hasExpiredCert || notYetValidCert) { + exitCode |= 4; + } +@@ -746,14 +748,25 @@ + System.out.println(rb.getString( + "jar.is.unsigned.signatures.missing.or.not.parsable.")); + } else { +- System.out.println(rb.getString("jar.verified.")); +- if (hasUnsignedEntry || hasExpiredCert || hasExpiringCert || +- badKeyUsage || badExtendedKeyUsage || badNetscapeCertType || +- notYetValidCert || chainNotValidated || +- aliasNotInStore || notSignedByAlias) { ++ boolean warningAppeared = false; ++ boolean errorAppeared = false; ++ if (badKeyUsage || badExtendedKeyUsage || badNetscapeCertType || ++ notYetValidCert || chainNotValidated || hasExpiredCert || ++ hasUnsignedEntry || ++ aliasNotInStore || notSignedByAlias) { ++ ++ if (strict) { ++ System.out.println(rb.getString("jar.verified.with.signer.errors.")); ++ System.out.println(); ++ System.out.println(rb.getString("Error.")); ++ errorAppeared = true; ++ } else { ++ System.out.println(rb.getString("jar.verified.")); ++ System.out.println(); ++ System.out.println(rb.getString("Warning.")); ++ warningAppeared = true; ++ } + +- System.out.println(); +- System.out.println(rb.getString("Warning.")); + if (badKeyUsage) { + System.out.println( + rb.getString("This.jar.contains.entries.whose.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.")); +@@ -777,10 +790,6 @@ + System.out.println(rb.getString( + "This.jar.contains.entries.whose.signer.certificate.has.expired.")); + } +- if (hasExpiringCert) { +- System.out.println(rb.getString( +- "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months.")); +- } + if (notYetValidCert) { + System.out.println(rb.getString( + "This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid.")); +@@ -799,10 +808,29 @@ + if (aliasNotInStore) { + System.out.println(rb.getString("This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore.")); + } ++ } else { ++ System.out.println(rb.getString("jar.verified.")); ++ } ++ if (hasExpiringCert || noTimestamp) { ++ if (!warningAppeared) { ++ System.out.println(); ++ System.out.println(rb.getString("Warning.")); ++ warningAppeared = true; ++ } ++ if (hasExpiringCert) { ++ System.out.println(rb.getString( ++ "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months.")); ++ } ++ if (noTimestamp) { ++ System.out.println( ++ String.format(rb.getString("no.timestamp.verifying"), expireDate)); ++ } ++ } ++ if (warningAppeared || errorAppeared) { + if (! (verbose != null && showcerts)) { + System.out.println(); + System.out.println(rb.getString( +- "Re.run.with.the.verbose.and.certs.options.for.more.details.")); ++ "Re.run.with.the.verbose.and.certs.options.for.more.details.")); + } + } + } +@@ -862,6 +890,9 @@ + try { + boolean printValidity = true; + if (timestamp == null) { ++ if (expireDate.getTime() == 0 || expireDate.after(notAfter)) { ++ expireDate = notAfter; ++ } + x509Cert.checkValidity(); + // test if cert will expire within six months + if (notAfter.getTime() < System.currentTimeMillis() + SIX_MONTHS) { +@@ -1227,6 +1258,10 @@ + tsaCert = getTsaCert(tsaAlias); + } + ++ if (tsaUrl == null && tsaCert == null) { ++ noTimestamp = true; ++ } ++ + SignatureFile.Block block = null; + try { +@@ -1375,12 +1410,20 @@ + } + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- if (hasExpiredCert || hasExpiringCert || notYetValidCert +- || badKeyUsage || badExtendedKeyUsage +- || badNetscapeCertType || chainNotValidated) { +- System.out.println(); ++ boolean warningAppeared = false; ++ if (badKeyUsage || badExtendedKeyUsage || badNetscapeCertType || ++ notYetValidCert || chainNotValidated || hasExpiredCert) { ++ if (strict) { ++ System.out.println(rb.getString("jar.signed.with.signer.errors.")); ++ System.out.println(); ++ System.out.println(rb.getString("Error.")); ++ } else { ++ System.out.println(rb.getString("jar.signed.")); ++ System.out.println(); ++ System.out.println(rb.getString("Warning.")); ++ warningAppeared = true; ++ } + +- System.out.println(rb.getString("Warning.")); + if (badKeyUsage) { + System.out.println( + rb.getString("The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.")); +@@ -1399,9 +1442,6 @@ + if (hasExpiredCert) { + System.out.println( + rb.getString("The.signer.certificate.has.expired.")); +- } else if (hasExpiringCert) { +- System.out.println( +- rb.getString("The.signer.certificate.will.expire.within.six.months.")); + } else if (notYetValidCert) { + System.out.println( + rb.getString("The.signer.certificate.is.not.yet.valid.")); +@@ -1411,6 +1451,24 @@ + System.out.println( + rb.getString("The.signer.s.certificate.chain.is.not.validated.")); + } ++ } else { ++ System.out.println(rb.getString("jar.signed.")); ++ } ++ if (hasExpiringCert || noTimestamp) { ++ if (!warningAppeared) { ++ System.out.println(); ++ System.out.println(rb.getString("Warning.")); ++ } ++ ++ if (hasExpiringCert) { ++ System.out.println( ++ rb.getString("The.signer.certificate.will.expire.within.six.months.")); ++ } ++ ++ if (noTimestamp) { ++ System.out.println( ++ String.format(rb.getString("no.timestamp.signing"), expireDate)); ++ } + } + + // no IOException thrown in the above try clause, so disable +@@ -1496,6 +1554,7 @@ + timestamp = ts.getTimestamp(); + } else { + timestamp = null; ++ noTimestamp = true; + } + // display the certificate(s). The first one is end-entity cert and + // its KeyUsage should be checked. +--- jdk/src/share/classes/sun/security/tools/JarSignerResources.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/tools/JarSignerResources.java 2014-01-18 12:16:27.000000000 -0800 +@@ -110,9 +110,9 @@ + {"Please.specify.alias.name", "Please specify alias name"}, + {"Only.one.alias.can.be.specified", "Only one alias can be specified"}, + {"This.jar.contains.signed.entries.which.is.not.signed.by.the.specified.alias.es.", +- "This jar contains signed entries which is not signed by the specified alias(es)."}, ++ "This jar contains signed entries which are not signed by the specified alias(es)."}, + {"This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore.", +- "This jar contains signed entries that's not signed by alias in this keystore."}, ++ "This jar contains signed entries that are not signed by alias in this keystore."}, + {"s", "s"}, + {"m", "m"}, + {"k", "k"}, +@@ -133,7 +133,10 @@ + {".Unsigned.entries.", "(Unsigned entries)"}, + {"jar.is.unsigned.signatures.missing.or.not.parsable.", + "jar is unsigned. (signatures missing or not parsable)"}, ++ {"jar.signed.", "jar signed."}, ++ {"jar.signed.with.signer.errors.", "jar signed, with signer errors."}, + {"jar.verified.", "jar verified."}, ++ {"jar.verified.with.signer.errors.", "jar verified, with signer errors."}, + {"jarsigner.", "jarsigner: "}, + {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.", + "signature filename must consist of the following characters: A-Z, 0-9, _ or -"}, +@@ -191,6 +194,7 @@ + "using an alternative signing mechanism"}, + {"entry.was.signed.on", "entry was signed on {0}"}, + {"Warning.", "Warning: "}, ++ {"Error.", "Error: "}, + {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.", + "This jar contains unsigned entries which have not been integrity-checked. "}, + {"This.jar.contains.entries.whose.signer.certificate.has.expired.", +@@ -227,6 +231,10 @@ + "The signer's certificate chain is not validated."}, + {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.", + "This jar contains entries whose certificate chain is not validated."}, ++ {"no.timestamp.signing", ++ "No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."}, ++ {"no.timestamp.verifying", ++ "This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."}, + }; + + /** +--- jdk/src/share/classes/sun/security/tools/JarSignerResources_ja.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/tools/JarSignerResources_ja.java 2014-01-18 12:16:27.000000000 -0800 +@@ -79,7 +79,7 @@ + {".verbose.suboptions.verbose.output.when.signing.verifying.", + "[-verbose[:suboptions]] \u7F72\u540D/\u691C\u8A3C\u6642\u306E\u8A73\u7D30\u51FA\u529B\u3002"}, + {".suboptions.can.be.all.grouped.or.summary", +- " \u30B5\u30D6\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u3001\u3059\u3079\u3066\u3001\u30B0\u30EB\u30FC\u30D7\u307E\u305F\u306F\u30B5\u30DE\u30EA\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u3059"}, ++ " \u30B5\u30D6\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u3001all\u3001grouped\u307E\u305F\u306Fsummary\u3092\u4F7F\u7528\u3067\u304D\u307E\u3059"}, + {".certs.display.certificates.when.verbose.and.verifying", + "[-certs] \u8A73\u7D30\u51FA\u529B\u304A\u3088\u3073\u691C\u8A3C\u6642\u306B\u8A3C\u660E\u66F8\u3092\u8868\u793A"}, + {".tsa.url.location.of.the.Timestamping.Authority", +@@ -133,7 +133,10 @@ + {".Unsigned.entries.", "(\u672A\u7F72\u540D\u306E\u30A8\u30F3\u30C8\u30EA)"}, + {"jar.is.unsigned.signatures.missing.or.not.parsable.", + "jar\u306F\u7F72\u540D\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002(\u7F72\u540D\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u304B\u3001\u69CB\u6587\u89E3\u6790\u3067\u304D\u307E\u305B\u3093)"}, +- {"jar.verified.", "jar\u304C\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F\u3002"}, ++ {"jar.signed.", "jar\u306F\u7F72\u540D\u3055\u308C\u307E\u3057\u305F\u3002"}, ++ {"jar.signed.with.signer.errors.", "jar\u306F\u7F72\u540D\u3055\u308C\u307E\u3057\u305F - \u7F72\u540D\u8005\u30A8\u30E9\u30FC\u304C\u3042\u308A\u307E\u3059\u3002"}, ++ {"jar.verified.", "jar\u306F\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F\u3002"}, ++ {"jar.verified.with.signer.errors.", "jar\u306F\u691C\u8A3C\u3055\u308C\u307E\u3057\u305F - \u7F72\u540D\u8005\u30A8\u30E9\u30FC\u304C\u3042\u308A\u307E\u3059\u3002"}, + {"jarsigner.", "jarsigner: "}, + {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.", + "\u7F72\u540D\u306E\u30D5\u30A1\u30A4\u30EB\u540D\u306F\u6B21\u306E\u6587\u5B57\u3067\u69CB\u6210\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: A-Z 0-9 _ -"}, +@@ -189,6 +192,7 @@ + "\u4EE3\u66FF\u7F72\u540D\u30E1\u30AB\u30CB\u30BA\u30E0\u306E\u4F7F\u7528"}, + {"entry.was.signed.on", "\u30A8\u30F3\u30C8\u30EA\u306F{0}\u306B\u7F72\u540D\u3055\u308C\u307E\u3057\u305F"}, + {"Warning.", "\u8B66\u544A: "}, ++ {"Error.", "\u30A8\u30E9\u30FC: "}, + {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.", + "\u3053\u306Ejar\u306B\u306F\u3001\u6574\u5408\u6027\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u3044\u306A\u3044\u672A\u7F72\u540D\u306E\u30A8\u30F3\u30C8\u30EA\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002 "}, + {"This.jar.contains.entries.whose.signer.certificate.has.expired.", +@@ -225,6 +229,10 @@ + "\u7F72\u540D\u8005\u306E\u8A3C\u660E\u66F8\u30C1\u30A7\u30FC\u30F3\u304C\u307E\u3060\u691C\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"}, + {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.", + "\u3053\u306Ejar\u306B\u306F\u3001\u8A3C\u660E\u66F8\u30C1\u30A7\u30FC\u30F3\u304C\u307E\u3060\u691C\u8A3C\u3055\u308C\u3066\u3044\u306A\u3044\u30A8\u30F3\u30C8\u30EA\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002"}, ++ {"no.timestamp.signing", ++ "-tsa\u307E\u305F\u306F-tsacert\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u3053\u306Ejar\u306B\u306F\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4ED8\u52A0\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u3068\u3001\u7F72\u540D\u8005\u8A3C\u660E\u66F8\u306E\u6709\u52B9\u671F\u9650(%1$tY-%1$tm-%1$td)\u5F8C\u307E\u305F\u306F\u5C06\u6765\u306E\u5931\u52B9\u65E5\u5F8C\u306B\u3001\u30E6\u30FC\u30B6\u30FC\u306F\u3053\u306Ejar\u3092\u691C\u8A3C\u3067\u304D\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"}, ++ {"no.timestamp.verifying", ++ "\u3053\u306Ejar\u306B\u306F\u3001\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u7F72\u540D\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u306A\u3044\u3068\u3001\u7F72\u540D\u8005\u8A3C\u660E\u66F8\u306E\u6709\u52B9\u671F\u9650(%1$tY-%1$tm-%1$td)\u5F8C\u307E\u305F\u306F\u5C06\u6765\u306E\u5931\u52B9\u65E5\u5F8C\u306B\u3001\u30E6\u30FC\u30B6\u30FC\u306F\u3053\u306Ejar\u3092\u691C\u8A3C\u3067\u304D\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"}, + }; + + /** +--- jdk/src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java 2013-09-06 11:28:45.000000000 -0700 ++++ jdk/src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java 2014-01-18 12:16:27.000000000 -0800 +@@ -53,7 +53,7 @@ + {"If.keystore.is.not.password.protected.then.storepass.and.keypass.must.not.be.specified", + "\u5982\u679C\u5BC6\u94A5\u5E93\u672A\u53D7\u53E3\u4EE4\u4FDD\u62A4, \u5219\u4E0D\u80FD\u6307\u5B9A -storepass \u548C -keypass"}, + {"Usage.jarsigner.options.jar.file.alias", +- "\u7528\u6CD5: jarsigner [\u9009\u9879] jar \u6587\u4EF6\u522B\u540D"}, ++ "\u7528\u6CD5: jarsigner [\u9009\u9879] jar-file \u522B\u540D"}, + {".jarsigner.verify.options.jar.file.alias.", + " jarsigner -verify [options] jar-file [alias...]"}, + {".keystore.url.keystore.location", +@@ -132,8 +132,11 @@ + {".Signature.related.entries.","(\u4E0E\u7B7E\u540D\u76F8\u5173\u7684\u6761\u76EE)"}, + {".Unsigned.entries.", "(\u672A\u7B7E\u540D\u6761\u76EE)"}, + {"jar.is.unsigned.signatures.missing.or.not.parsable.", +- "jar \u672A\u7B7E\u540D\u3002(\u7F3A\u5C11\u7B7E\u540D\u6216\u65E0\u6CD5\u5BF9\u7B7E\u540D\u8FDB\u884C\u8BED\u6CD5\u5206\u6790)"}, ++ "jar \u672A\u7B7E\u540D\u3002(\u7F3A\u5C11\u7B7E\u540D\u6216\u65E0\u6CD5\u89E3\u6790\u7B7E\u540D)"}, ++ {"jar.signed.", "jar \u5DF2\u7B7E\u540D\u3002"}, ++ {"jar.signed.with.signer.errors.", "jar \u5DF2\u7B7E\u540D, \u4F46\u51FA\u73B0\u7B7E\u540D\u8005\u9519\u8BEF\u3002"}, + {"jar.verified.", "jar \u5DF2\u9A8C\u8BC1\u3002"}, ++ {"jar.verified.with.signer.errors.", "jar \u5DF2\u9A8C\u8BC1, \u4F46\u51FA\u73B0\u7B7E\u540D\u8005\u9519\u8BEF\u3002"}, + {"jarsigner.", "jarsigner: "}, + {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.", + "\u7B7E\u540D\u6587\u4EF6\u540D\u5FC5\u987B\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26: A-Z, 0-9, _ \u6216 -"}, +@@ -189,6 +192,7 @@ + "\u6B63\u5728\u4F7F\u7528\u66FF\u4EE3\u7684\u7B7E\u540D\u673A\u5236"}, + {"entry.was.signed.on", "\u6761\u76EE\u7684\u7B7E\u540D\u65E5\u671F\u4E3A {0}"}, + {"Warning.", "\u8B66\u544A: "}, ++ {"Error.", "\u9519\u8BEF: "}, + {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.", + "\u6B64 jar \u5305\u542B\u5C1A\u672A\u8FDB\u884C\u5B8C\u6574\u6027\u68C0\u67E5\u7684\u672A\u7B7E\u540D\u6761\u76EE\u3002 "}, + {"This.jar.contains.entries.whose.signer.certificate.has.expired.", +@@ -225,6 +229,10 @@ + "\u7B7E\u540D\u8005\u7684\u8BC1\u4E66\u94FE\u672A\u9A8C\u8BC1\u3002"}, + {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.", + "\u6B64 jar \u5305\u542B\u8BC1\u4E66\u94FE\u672A\u9A8C\u8BC1\u7684\u6761\u76EE\u3002"}, ++ {"no.timestamp.signing", ++ "\u672A\u63D0\u4F9B -tsa \u6216 -tsacert, \u6B64 jar \u6CA1\u6709\u65F6\u95F4\u6233\u3002\u5982\u679C\u6CA1\u6709\u65F6\u95F4\u6233, \u5219\u5728\u7B7E\u540D\u8005\u8BC1\u4E66\u7684\u5230\u671F\u65E5\u671F (%1$tY-%1$tm-%1$td) \u6216\u4EE5\u540E\u7684\u4EFB\u4F55\u64A4\u9500\u65E5\u671F\u4E4B\u540E, \u7528\u6237\u53EF\u80FD\u65E0\u6CD5\u9A8C\u8BC1\u6B64 jar\u3002"}, ++ {"no.timestamp.verifying", ++ "\u6B64 jar \u5305\u542B\u7684\u7B7E\u540D\u6CA1\u6709\u65F6\u95F4\u6233\u3002\u5982\u679C\u6CA1\u6709\u65F6\u95F4\u6233, \u5219\u5728\u7B7E\u540D\u8005\u8BC1\u4E66\u7684\u5230\u671F\u65E5\u671F (%1$tY-%1$tm-%1$td) \u6216\u4EE5\u540E\u7684\u4EFB\u4F55\u64A4\u9500\u65E5\u671F\u4E4B\u540E, \u7528\u6237\u53EF\u80FD\u65E0\u6CD5\u9A8C\u8BC1\u6B64 jar\u3002"}, + }; + + /** +--- jdk/src/share/classes/sun/security/util/KeyUtil.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/KeyUtil.java 2014-01-18 12:16:27.000000000 -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 +@@ -200,5 +200,24 @@ + + // Don't bother to check against the y^q mod p if safe primes are used. + } ++ ++ /** ++ * Trim leading (most significant) zeroes from the result. ++ * ++ * @throws NullPointerException if {@code b} is null ++ */ ++ public static byte[] trimZeroes(byte[] b) { ++ int i = 0; ++ while ((i < b.length - 1) && (b[i] == 0)) { ++ i++; ++ } ++ if (i == 0) { ++ return b; ++ } ++ byte[] t = new byte[b.length - i]; ++ System.arraycopy(b, i, t, 0, t.length); ++ return t; ++ } ++ + } + +--- jdk/src/share/classes/sun/security/util/Resources_de.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/Resources_de.java 2014-01-18 12:16:27.000000000 -0800 +@@ -444,7 +444,7 @@ + {"Retain", "Beibehalten"}, + + {"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes", +- "Warnung: M\u00F6glicherweise enth\u00E4lt der Dateiname Escape-Zeichen mit Backslash. Es ist nicht notwendig, Backslash-Zeichen zu escapen (das Tool f\u00FChrt dies automatisch beim Schreiben des Policy-Contents in den persistenten Speicher aus).\n\nKlicken Sie auf \"Beibehalten\", um den eingegebenen Namen beizubehalten oder auf \"Bearbeiten\", um den Namen zu bearbeiten."}, ++ "Warnung: M\u00F6glicherweise enth\u00E4lt der Dateiname Escapezeichen mit Backslash. Es ist nicht notwendig, Backslash-Zeichen zu escapen (das Tool f\u00FChrt dies automatisch beim Schreiben des Policy-Contents in den persistenten Speicher aus).\n\nKlicken Sie auf \"Beibehalten\", um den eingegebenen Namen beizubehalten oder auf \"Bearbeiten\", um den Namen zu bearbeiten."}, + + {"Add.Public.Key.Alias", "Public Key-Alias hinzuf\u00FCgen"}, + {"Remove.Public.Key.Alias", "Public Key-Alias entfernen"}, +--- jdk/src/share/classes/sun/security/util/Resources_fr.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/Resources_fr.java 2014-01-18 12:16:27.000000000 -0800 +@@ -557,12 +557,12 @@ + {"invalid.null.Class.provided", "classe NULL fournie non valide"}, + {"Subject.", "Objet :\n"}, + {".Principal.", "\tPrincipal : "}, +- {".Public.Credential.", "\tInformations d'identification et de connexion publiques : "}, ++ {".Public.Credential.", "\tInformations d'identification publiques : "}, + {".Private.Credentials.inaccessible.", +- "\tInformations d'identification et de connexion priv\u00E9es inaccessibles\n"}, +- {".Private.Credential.", "\tInformations d'identification et de connexion priv\u00E9es : "}, ++ "\tInformations d'identification priv\u00E9es inaccessibles\n"}, ++ {".Private.Credential.", "\tInformations d'identification priv\u00E9es : "}, + {".Private.Credential.inaccessible.", +- "\tInformations d'identification et de connexion priv\u00E9es inaccessibles\n"}, ++ "\tInformations d'identification priv\u00E9es inaccessibles\n"}, + {"Subject.is.read.only", "Sujet en lecture seule"}, + {"attempting.to.add.an.object.which.is.not.an.instance.of.java.security.Principal.to.a.Subject.s.Principal.Set", + "tentative d'ajout d'un objet qui n'est pas une instance de java.security.Principal dans un ensemble de principaux du sujet"}, +--- jdk/src/share/classes/sun/security/util/Resources_zh_CN.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/Resources_zh_CN.java 2014-01-18 12:16:27.000000000 -0800 +@@ -310,7 +310,7 @@ + "\u60A8\u7684\u5BC6\u94A5\u5E93\u5305\u542B {0,number,integer} \u4E2A\u6761\u76EE"}, + {"Your.keystore.contains.keyStore.size.entries", + "\u60A8\u7684\u5BC6\u94A5\u5E93\u5305\u542B {0,number,integer} \u4E2A\u6761\u76EE"}, +- {"Failed.to.parse.input", "\u65E0\u6CD5\u5BF9\u8F93\u5165\u8FDB\u884C\u8BED\u6CD5\u5206\u6790"}, ++ {"Failed.to.parse.input", "\u65E0\u6CD5\u89E3\u6790\u8F93\u5165"}, + {"Empty.input", "\u7A7A\u8F93\u5165"}, + {"Not.X.509.certificate", "\u975E X.509 \u8BC1\u4E66"}, + {"alias.has.no.public.key", "{0}\u6CA1\u6709\u516C\u5171\u5BC6\u94A5"}, +--- jdk/src/share/classes/sun/security/util/Resources_zh_TW.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/Resources_zh_TW.java 2014-01-18 12:16:27.000000000 -0800 +@@ -388,7 +388,7 @@ + {"Certificate.chain.in.reply.does.not.verify.", + "\u56DE\u8986\u6642\u7684\u6191\u8B49\u93C8\u672A\u9A57\u8B49: "}, + {"Top.level.certificate.in.reply.", +- "\u56DE\u8986\u6642\u7684\u6700\u9AD8\u7D1A\u6191\u8B49:\\n"}, ++ "\u56DE\u8986\u6642\u7684\u6700\u9AD8\u7D1A\u6191\u8B49:\n"}, + {".is.not.trusted.", "... \u662F\u4E0D\u88AB\u4FE1\u4EFB\u7684\u3002"}, + {"Install.reply.anyway.no.", "\u9084\u662F\u8981\u5B89\u88DD\u56DE\u8986\uFF1F [\u5426]: "}, + {"NO", "\u5426"}, +--- jdk/src/share/classes/sun/security/util/SecurityConstants.java 2013-09-06 11:28:46.000000000 -0700 ++++ jdk/src/share/classes/sun/security/util/SecurityConstants.java 2014-01-18 12:16:27.000000000 -0800 +@@ -257,5 +257,5 @@ + + // java.lang.SecurityManager + public static final SocketPermission LOCAL_LISTEN_PERMISSION = +- new SocketPermission("localhost:1024-", SOCKET_LISTEN_ACTION); ++ new SocketPermission("localhost:0", SOCKET_LISTEN_ACTION); + } +--- jdk/src/share/classes/sun/swing/SwingLazyValue.java 2013-09-06 11:28:47.000000000 -0700 ++++ jdk/src/share/classes/sun/swing/SwingLazyValue.java 2013-12-01 11:14:36.000000000 -0800 +@@ -30,6 +30,7 @@ + import java.security.AccessController; + import java.security.PrivilegedAction; + import javax.swing.UIDefaults; ++import sun.reflect.misc.ReflectUtil; /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; + * SwingLazyValue is a copy of ProxyLazyValue that does not snapshot the +@@ -63,7 +64,7 @@ + + public Object createValue(final UIDefaults table) { + try { +- Object cl; ++ ReflectUtil.checkPackageAccess(className); + Class<?> c = Class.forName(className, true, null); + if (methodName != null) { + Class[] types = getClassArray(args); +--- jdk/src/share/classes/sun/swing/SwingUtilities2.java 2013-09-06 11:28:47.000000000 -0700 ++++ jdk/src/share/classes/sun/swing/SwingUtilities2.java 2013-12-01 11:14:36.000000000 -0800 +@@ -1301,6 +1301,19 @@ } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + /** ++ * Utility method that throws SecurityException if SecurityManager is set ++ * and modifiers are not public ++ * ++ * @param modifiers a set of modifiers ++ */ ++ public static void checkAccess(int modifiers) { ++ if (System.getSecurityManager() != null ++ && !Modifier.isPublic(modifiers)) { ++ throw new SecurityException("Resource is not accessible"); ++ } ++ } ++ ++ /** + * Returns true if EventQueue.getCurrentEvent() has the permissions to + * access the system clipboard and if it is allowed gesture (if + * checkGesture true) +--- jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider 2014-01-18 12:16:33.000000000 -0800 +@@ -30,4 +30,5 @@ + #[solaris]sun.tools.attach.SolarisAttachProvider + #[windows]sun.tools.attach.WindowsAttachProvider + #[linux]sun.tools.attach.LinuxAttachProvider ++#[bsd]sun.tools.attach.BsdAttachProvider + #[macosx]sun.tools.attach.BsdAttachProvider +--- jdk/src/share/classes/sun/tools/jar/Main.java 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/Main.java 2014-01-18 12:16:33.000000000 -0800 +@@ -51,6 +51,7 @@ + String zname = ""; + String[] files; + String rootjar = null; ++ String cwd; + + // An entryName(path)->File map generated during "expand", it helps to + // decide whether or not an existing entry in a jar file needs to be +@@ -867,6 +868,19 @@ + * Extracts specified entries from JAR file. + */ + void extract(InputStream in, String files[]) throws IOException { ++ // Current working directory ++ ++ cwd = System.getProperty("user.dir"); ++ if (cwd == null) { ++ fatalError(getMsg("error.no.cwd")); ++ } ++ cwd = (new File(cwd)).getCanonicalPath(); ++ if (!cwd.endsWith(File.separator)) { ++ cwd += File.separator; ++ } ++ ++ // Extract the files ++ + ZipInputStream zis = new ZipInputStream(in); + ZipEntry e; + // Set of all directory entries specified in archive. Disallows +@@ -897,6 +911,19 @@ + * Extracts specified entries from JAR file, via ZipFile. + */ + void extract(String fname, String files[]) throws IOException { ++ // Current working directory ++ ++ cwd = System.getProperty("user.dir"); ++ if (cwd == null) { ++ fatalError(getMsg("error.no.cwd")); ++ } ++ cwd = (new File(cwd)).getCanonicalPath(); ++ if (!cwd.endsWith(File.separator)) { ++ cwd += File.separator; ++ } ++ ++ // Extract the files ++ + ZipFile zf = new ZipFile(fname); + Set<ZipEntry> dirs = newDirSet(); + Enumeration<? extends ZipEntry> zes = zf.entries(); +@@ -928,6 +955,10 @@ + ZipEntry rc = null; + String name = e.getName(); + File f = new File(e.getName().replace('/', File.separatorChar)); ++ if (!f.getCanonicalPath().startsWith(cwd)) { ++ output(formatMsg("out.ignore.entry", name)); ++ return null; ++ } + if (e.isDirectory()) { + if (f.exists()) { + if (!f.isDirectory()) { +@@ -949,6 +980,10 @@ + } else { + if (f.getParent() != null) { + File d = new File(f.getParent()); ++ if (!d.getCanonicalPath().startsWith(cwd)) { ++ output(formatMsg("out.ignore.entry", name)); ++ return null; ++ } + if (!d.exists() && !d.mkdirs() || !d.isDirectory()) { + throw new IOException(formatMsg( + "error.create.dir", d.getPath())); +--- jdk/src/share/classes/sun/tools/jar/resources/jar.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar.properties 2014-01-18 12:16:33.000000000 -0800 +@@ -44,6 +44,8 @@ + {0} : could not create directory + error.incorrect.length=\ + incorrect length while processing: {0} ++error.no.cwd=\ ++ {0} : could not determine current working directory + out.added.manifest=\ + added manifest + out.update.manifest=\ +--- jdk/src/share/classes/sun/tools/jar/resources/jar_de.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_de.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(0 % gespeichert) + out.create=\ erstellt: {0} + out.extracted=extrahiert: {0} +-out.inflated=\ \\vergr\u00F6\u00DFert: {0} ++out.inflated=\ vergr\u00F6\u00DFert: {0} + out.size=(ein = {0}) (aus = {1}) + + usage=Verwendung: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] Dateien...\nOptionen:\n -c Neues Archiv erstellen\n -t Inhaltsverzeichnis f\u00FCr Archiv auflisten\n -x Genannte (oder alle) Dateien aus Archiv extrahieren\n -u Vorhandenes Archiv aktualisieren\n -v Verbose-Ausgabe f\u00FCr Standardausgabe generieren\n -f Namen der Archivdatei angeben\n -m Manifest-Informationen von angegebener Manifest-Datei einschlie\u00DFen\n -e Anwendungs-Einstiegspunkt f\u00FCr die \n in einer ausf\u00FChrbaren JAR-Datei geb\u00FCndelte Standalone-Anwendung angeben\n -0 Nur speichern (keine ZIP-Komprimierung)\n -M Keine Manifest-Datei f\u00FCr die Eintr\u00E4ge erstellen\n -i Indexinformationen f\u00FCr angegebenen JAR-Dateien erstellen\n -C zum angegebenen Verzeichnis wechseln und folgende Datei einschlie\u00DFen\nFalls eine Datei ein Verzeichnis ist, wird dieses rekursiv verarbeitet.\nDer Name der Manifest-Datei, der Name der Archivdatei und der Name des Einstiegspunkts werden\nin derselben Reihenfolge wie die Kennzeichen "m", "f" und "e" angegeben.\n\nBeispiel 1: Archivieren Sie zwei Klassendateien in ein Archiv mit Namen "classes.jar": \n jar cvf classes.jar Foo.class Bar.class \nBeispiel 2: Verwenden Sie die vorhandenen Manifest-Datei "mymanifest", und archivieren Sie\n alle Dateien im Verzeichnis foo/ in "classes.jar": \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_es.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_es.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(almacenado 0%) + out.create=\ creado: {0} + out.extracted=extra\u00EDdo: {0} +-out.inflated=\ \\inflado: {0} ++out.inflated=\ inflado: {0} + out.size=(entrada = {0}) (salida = {1}) + +-usage=Sintaxis: jar {ctxui}[vfm0Me] [archive-jar] [archive-manifiesto] [punto-entrada] [-C dir] archivos...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archive mencionado (o todos) del archivo\n -u actualizar archive existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archive de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archive de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archive jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -M no crear un archive de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archives jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n ++usage=Sintaxis: jar {ctxui}[vfm0Me] [archive-jar] [archive-manifiesto] [punto-entrada] [-C dir] archivos...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archive mencionado (o todos) del archivo\n -u actualizar archive existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archive de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archive de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archive jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -M no crear un archive de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archives jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_fr.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_fr.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(stockage : 0 %) + out.create=\ cr\u00E9\u00E9 : {0} + out.extracted=extrait : {0} +-out.inflated=\ \\d\u00E9compress\u00E9 : {0} ++out.inflated=\ d\u00E9compress\u00E9 : {0} + out.size=(entr\u00E9e = {0}) (sortie = {1}) + + usage=Syntaxe : jar {ctxui}[vfm0Me] [fichier-jar] [fichier-manifeste] [point-entr\u00E9e] [-C r\u00E9p] fichiers...\nOptions :\n -c cr\u00E9e une archive\n -t affiche la table des mati\u00E8res de l'archive\n -x extrait les fichiers nomm\u00E9s (ou tous les fichiers) de l'archive\n -u met \u00E0 jour l'archive existante\n -v g\u00E9n\u00E8re une version d\u00E9taill\u00E9e d'une sortie standard\n -f sp\u00E9cifie le nom du fichier archive\n -m inclut les informations de manifeste \u00E0 partir du fichier de manifeste sp\u00E9cifi\u00E9\n -e sp\u00E9cifie le point d'entr\u00E9e d'une application en mode autonome \n int\u00E9gr\u00E9e \u00E0 un fichier JAR ex\u00E9cutable\n -0 stockage uniquement, pas de compression ZIP\n -M ne cr\u00E9e pas de fichier manifeste pour les entr\u00E9es\n -i g\u00E9n\u00E8re les informations d'index des fichiers JAR sp\u00E9cifi\u00E9s\n -C passe au r\u00E9pertoire sp\u00E9cifi\u00E9 et inclut le fichier suivant\nSi l'un des fichiers est un r\u00E9pertoire, celui-ci est trait\u00E9 r\u00E9cursivement.\nLes noms du fichier manifeste, du fichier archive et du point d'entr\u00E9e sont\nsp\u00E9cifi\u00E9s dans le m\u00EAme ordre que celui des indicateurs m, f et e.\n\nExemple 1 : pour archiver deux fichiers de classe dans une archive intitul\u00E9e classes.jar : \n jar cvf classes.jar Foo.class Bar.class \nExemple 2 : pour utiliser un fichier manifeste existant 'monmanifeste', puis archiver tous les\n fichiers du r\u00E9pertoire foo/ dans 'classes.jar' : \n jar cvfm classes.jar monmanifeste -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_it.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_it.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(memorizzato 0%) + out.create=\ creato: {0} + out.extracted=estratto: {0} +-out.inflated=\ \\decompresso: {0} ++out.inflated=\ decompresso: {0} + out.size=(in = {0}) (out = {1}) + +-usage=Uso: jar {ctxui}[vfm0Me] [file-jar] [file-manifest] [punto di ingresso] [-C dir] file ...\nOpzioni:\n -c crea un nuovo archivio\n -t visualizza l'indice dell'archivio\n -x estrae i file con nome (o tutti i file) dall'archivio\n -u aggiorna l'archivio esistente\n -v genera output commentato dall'output standard\n -f specifica il nome file dell'archivio\n -m include informazioni manifest dal file manifest specificato\n -e specifica il punto di ingresso per l'applicazione stand-alone \n inclusa nel file jar eseguibile\n -0 solo memorizzazione; senza compressione ZIP\n -M consente di non creare un file manifest per le voci\n -i genera informazioni sull'indice per i file jar specificati\n -C imposta la directory specificata e include il file seguente\nSe un file \u00E8 una directory, verr\u00E0 elaborato in modo ricorsivo.\nIl nome del file manifest, del file di archivio e del punto di ingresso devono\nessere specificati nello stesso ordine dei flag 'm', 'f' ed 'e'.\n\nEsempio 1: archiviazione di due file di classe in un archivio con il nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEsempio 2: utilizzo del file manifest esistente 'mymanifest' e archiviazione di tutti i\n file della directory foo/ in 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/.\n ++usage=Uso: jar {ctxui}[vfm0Me] [file-jar] [file-manifest] [punto di ingresso] [-C dir] file ...\nOpzioni:\n -c crea un nuovo archivio\n -t visualizza l'indice dell'archivio\n -x estrae i file con nome (o tutti i file) dall'archivio\n -u aggiorna l'archivio esistente\n -v genera output commentato dall'output standard\n -f specifica il nome file dell'archivio\n -m include informazioni manifest dal file manifest specificato\n -e specifica il punto di ingresso per l'applicazione stand-alone \n inclusa nel file jar eseguibile\n -0 solo memorizzazione; senza compressione ZIP\n -M consente di non creare un file manifest per le voci\n -i genera informazioni sull'indice per i file jar specificati\n -C imposta la directory specificata e include il file seguente\nSe un file \u00E8 una directory, verr\u00E0 elaborato in modo ricorsivo.\nIl nome del file manifest, del file di archivio e del punto di ingresso devono\nessere specificati nello stesso ordine dei flag 'm', 'f' ed 'e'.\n\nEsempio 1: archiviazione di due file di classe in un archivio con il nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEsempio 2: utilizzo del file manifest esistente 'mymanifest' e archiviazione di tutti i\n file della directory foo/ in 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_ja.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_ja.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(0%\u683C\u7D0D\u3055\u308C\u307E\u3057\u305F) + out.create=\ {0}\u304C\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F + out.extracted={0}\u304C\u62BD\u51FA\u3055\u308C\u307E\u3057\u305F +-out.inflated=\ \\{0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F ++out.inflated=\ {0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F + out.size=(\u5165={0})(\u51FA={1}) + +-usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\n \u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B:\n jar cvf classes.jar Foo.class Bar.class\n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B:\n jar cvfm classes.jar mymanifest -C foo/ \n ++usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\n \u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B:\n jar cvf classes.jar Foo.class Bar.class\n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B:\n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_ko.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_ko.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -34,14 +34,14 @@ + error.create.dir={0}: \uB514\uB809\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + error.incorrect.length=\uCC98\uB9AC \uC911 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC740 \uAE38\uC774\uAC00 \uBC1C\uACAC\uB428: {0} + out.added.manifest=Manifest\uB97C \uCD94\uAC00\uD568 +-out.update.manifest=Manifest\uB97C \uAC31\uC2E0\uD568 ++out.update.manifest=Manifest\uB97C \uC5C5\uB370\uC774\uD2B8\uD568 + out.ignore.entry={0} \uD56D\uBAA9\uC744 \uBB34\uC2DC\uD558\uB294 \uC911 + out.adding=\uCD94\uAC00\uD558\uB294 \uC911: {0} + out.deflated=({0}%\uB97C \uAC10\uC18C\uD568) + out.stored=(0%\uB97C \uC800\uC7A5\uD568) + out.create=\ \uC0DD\uC131\uB428: {0} + out.extracted=\uCD94\uCD9C\uB428: {0} +-out.inflated=\ \\\uC99D\uAC00\uB428: {0} ++out.inflated=\ \uC99D\uAC00\uB428: {0} + out.size=(\uC785\uB825 = {0}) (\uCD9C\uB825 = {1}) + +-usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uAC31\uC2E0\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC758 \n \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ .\n ++usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC758 \n \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -37,11 +37,11 @@ + out.update.manifest=manifesto atualizado + out.ignore.entry=ignorando entrada {0} + out.adding=adicionando: {0} +-out.deflated=(vazio {0}%) ++out.deflated=(compactado {0}%) + out.stored=(armazenado 0%) + out.create=\ criado: {0} + out.extracted=extra\u00EDdo: {0} +-out.inflated=\ \\cheio: {0} +-out.size=(dentro = {0}) (fora= {1}) ++out.inflated=\ inflado: {0} ++out.size=(entrada = {0}) (sa\u00EDda= {1}) + + usage=Uso: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] arquivos ...\nOp\u00E7\u00F5es:\n -c cria novo arquivo compactado\n -t lista o sum\u00E1rio do arquivo compactado\n -x extrai arquivos com o nome (ou todos) do arquivo compactado\n -u atualizar o arquivo compactado existente\n -v gera sa\u00EDda detalhada na sa\u00EDda padr\u00E3o\n -f especifica o nome do arquivo do arquivo compactado\n -m inclui as informa\u00E7\u00F5es do manifesto do arquivo de manifesto especificado\n -e especifica o ponto de entrada da aplica\u00E7\u00E3o para aplica\u00E7\u00E3o independente \n empacotando em um arquivo jar execut\u00E1vel\n -0 armazena somente; n\u00E3o usa compacta\u00E7\u00E3o ZIP\n -M n\u00E3o cria um arquivo de manifesto para as entradas\n -i gera informa\u00E7\u00F5es de \u00EDndice para os arquivos especificados\n -C altera para o diret\u00F3rio e inclui o arquivo seguinte\nSe nenhum arquivo for um diret\u00F3rio, ent\u00E3o ser\u00E1 processado repetidamente.\nO nome do arquivo de manifesto, o nome do arquivo compactado e o nome do ponto de entrada s\u00E3o\nespecificados na mesma ordem dos flags 'm', 'f' e 'e'.\n\nExemplo 1: para arquivar dois arquivos de classe em um arquivo compactado com o nome classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExemplo 2: use um arquivo de manifesto existente 'mymanifest' e arquive todos os\n arquivos no diret\u00F3rio foo/ na 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_sv.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_sv.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -44,4 +44,4 @@ + out.inflated=\ uppackat: {0} + out.size=(in = {0}) (ut = {1}) + +-usage=Syntax: jar {ctxui}[vfm0Me] [jar fil] [manifestfil] [startpunkt] [-C-katalog] ...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkiv\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 endast lagra (ingen zip-komprimering)\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som m-, f- och e-flaggorna.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen foo/ i classes.jar: \n jar cvfm classes.jar mymanifest -C foo/ .\n ++usage=Syntax: jar {ctxui}[vfm0Me] [jar-fil] [manifestfil] [startpunkt] [-C katalog] filer...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkiv\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 endast lagra (ingen zip-komprimering)\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som m-, f- och e-flaggorna.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen foo/ i classes.jar: \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -44,4 +44,4 @@ + out.inflated=\ \u5DF2\u89E3\u538B: {0} + out.size=(\u8F93\u5165 = {0}) (\u8F93\u51FA = {1}) + +-usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879\u5305\u62EC: \n -c \u521B\u5EFA\u65B0\u7684\u5F52\u6863\u6587\u4EF6\n -t \u5217\u51FA\u5F52\u6863\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u7684\u5F52\u6863\u6587\u4EF6\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u5F52\u6863\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u60C5\u51B5\u4EFB\u4F55 ZIP \u538B\u7F29\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u5176\u4E2D\u7684\u6587\u4EF6\n\u5982\u679C\u6709\u4EFB\u4F55\u76EE\u5F55\u6587\u4EF6, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u5F52\u6863\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u5F52\u6863\u6587\u4EF6\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/\u3002\n ++usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879\u5305\u62EC: \n -c \u521B\u5EFA\u65B0\u7684\u5F52\u6863\u6587\u4EF6\n -t \u5217\u51FA\u5F52\u6863\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u7684\u5F52\u6863\u6587\u4EF6\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u5F52\u6863\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u60C5\u51B5\u4EFB\u4F55 ZIP \u538B\u7F29\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u5176\u4E2D\u7684\u6587\u4EF6\n\u5982\u679C\u6709\u4EFB\u4F55\u76EE\u5F55\u6587\u4EF6, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u5F52\u6863\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u5F52\u6863\u6587\u4EF6\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties 2013-09-06 11:28:49.000000000 -0700 ++++ jdk/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties 2014-01-18 12:16:28.000000000 -0800 +@@ -41,7 +41,7 @@ + out.stored=(\u5132\u5B58 0%) + out.create=\ \u5EFA\u7ACB: {0} + out.extracted=\u64F7\u53D6: {0} +-out.inflated=\ \\\u64F4\u5C55: {0} ++out.inflated=\ \u64F4\u5C55: {0} + out.size=\ (\u8B80={0})(\u5BEB={1}) + + usage=\u7528\u6CD5: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] \u6A94\u6848 ...\n\u9078\u9805:\n -c \u5EFA\u7ACB\u65B0\u7684\u6B78\u6A94\n -t \u5217\u51FA\u6B78\u6A94\u7684\u76EE\u9304\n -x \u5F9E\u6B78\u6A94\u4E2D\u64F7\u53D6\u5DF2\u547D\u540D\u7684 (\u6216\u6240\u6709) \u6A94\u6848\n -u \u66F4\u65B0\u73FE\u6709\u6B78\u6A94\n -v \u5728\u6A19\u6E96\u8F38\u51FA\u4E2D\u7522\u751F\u8A73\u7D30\u8F38\u51FA\n -f \u6307\u5B9A\u6B78\u6A94\u6A94\u6848\u540D\u7A31\n -m \u5305\u542B\u6307\u5B9A\u8CC7\u8A0A\u6E05\u55AE\u4E2D\u7684\u8CC7\u8A0A\u6E05\u55AE\u8CC7\u8A0A\n -e \u70BA\u7368\u7ACB\u61C9\u7528\u7A0B\u5F0F\u6307\u5B9A\u61C9\u7528\u7A0B\u5F0F\u9032\u5165\u9EDE\n \u5DF2\u96A8\u9644\u65BC\u53EF\u57F7\u884C jar \u6A94\u6848\u4E2D\n -0 \u50C5\u5132\u5B58; \u4E0D\u4F7F\u7528 ZIP \u58D3\u7E2E\u65B9\u5F0F\n -M \u4E0D\u70BA\u9805\u76EE\u5EFA\u7ACB\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\n -i \u70BA\u6307\u5B9A\u7684 jar \u6A94\u6848\u7522\u751F\u7D22\u5F15\u8CC7\u8A0A\n -C \u8B8A\u66F4\u81F3\u6307\u5B9A\u76EE\u9304\u4E26\u5305\u542B\u5F8C\u9762\u6240\u5217\u7684\u6A94\u6848\n\u5982\u679C\u6709\u4EFB\u4F55\u6A94\u6848\u662F\u76EE\u9304\uFF0C\u5247\u6703\u5C0D\u5176\u9032\u884C\u905E\u8FF4\u8655\u7406\u3002\n\u6E05\u55AE\u6A94\u6848\u540D\u7A31\u3001\u6B78\u6A94\u6A94\u6848\u540D\u7A31\u548C\u9032\u5165\u9EDE\u540D\u7A31\n\u7684\u6307\u5B9A\u9806\u5E8F\u8207\u6307\u5B9A 'm' \u65D7\u6A19\u3001'f' \u65D7\u6A19\u548C 'e' \u65D7\u6A19\u7684\u9806\u5E8F\u76F8\u540C\u3002\n\n\u7BC4\u4F8B 1: \u5C07\u5169\u500B\u985E\u5225\u6A94\u6848\u6B78\u6A94\u81F3\u540D\u70BA classes.jar \u7684\u6B78\u6A94\u4E2D: \n jar cvf classes.jar Foo.class Bar.class\n\u7BC4\u4F8B 2: \u4F7F\u7528\u73FE\u6709\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848 'mymanifest' \u4E26\u5C07\n foo/ \u76EE\u9304\u4E2D\u7684\u6240\u6709\u6A94\u6848\u6B78\u6A94\u81F3 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames.java 2014-01-18 12:16:28.000000000 -0800 +@@ -79,7 +79,7 @@ + "Chamorro Daylight Time", "ChDT"}; + String CHUT[] = new String[] {"Chuuk Time", "CHUT", + "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"Central Indonesia Time", "CIT", ++ String CIT[] = new String[] {"Central Indonesia Time", "WITA", + "Central Indonesia Summer Time", "CIST"}; + String CLT[] = new String[] {"Chile Time", "CLT", + "Chile Summer Time", "CLST"}; +@@ -193,7 +193,7 @@ + "Western African Summer Time", "WAST"}; + String WET[] = new String[] {"Western European Time", "WET", + "Western European Summer Time", "WEST"}; +- String WIT[] = new String[] {"West Indonesia Time", "WIT", ++ String WIT[] = new String[] {"West Indonesia Time", "WIB", + "West Indonesia Summer Time", "WIST"}; + String WST_AUS[] = new String[] {"Western Standard Time (Australia)", "WST", + "Western Summer Time (Australia)", "WST"}; +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -426,7 +426,7 @@ + "Suriname Summer Time", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Alma-Ata Time", "ALMT", + "Alma-Ata Summer Time", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Anadyr Time", "ANAT", + "Anadyr Summer Time", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Aqtau Time", "AQTT", +@@ -527,7 +527,7 @@ + "Irkutsk Summer Time", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"East Indonesia Time", "EIT", ++ {"Asia/Jayapura", new String[] {"East Indonesia Time", "WIT", + "East Indonesia Summer Time", "EIST"}}, + {"Asia/Kabul", new String[] {"Afghanistan Time", "AFT", + "Afghanistan Summer Time", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Khandyga Time", "YAKT", ++ "Khandyga Summer Time", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Krasnoyarsk Time", "KRAT", + "Krasnoyarsk Summer Time", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Ust-Nera Time", "VLAT", ++ "Ust-Nera Summer Time", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Middle Europe Time", "MET", + "Middle Europe Summer Time", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_de.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_de.java 2014-01-18 12:16:28.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Acre Normalzeit", "ACT", + "Acre Sommerzeit", "ACST"}; +- String ADELAIDE[] = new String[] {"Zentrale Normalzeit (S\u00fcdaustralien)", "CST", +- "Zentrale Sommerzeit (S\u00fcdaustralien)", "CST"}; ++ String ADELAIDE[] = new String[] {"Zentrale Normalzeit (S\u00FCdaustralien)", "CST", ++ "Zentrale Sommerzeit (S\u00FCdaustralien)", "CST"}; + String AGT[] = new String[] {"Argentinische Zeit", "ART", + "Argentinische Sommerzeit", "ARST"}; + String AKST[] = new String[] {"Alaska Normalzeit", "AKST", +@@ -61,10 +61,10 @@ + "Atlantik Sommerzeit", "ADT"}; + String BDT[] = new String[] {"Bangladesch Zeit", "BDT", + "Bangladesch Sommerzeit", "BDST"}; +- String BRISBANE[] = new String[] {"\u00d6stliche Normalzeit (Queensland)", "EST", +- "\u00d6stliche Sommerzeit (Queensland)", "EST"}; +- String BROKEN_HILL[] = new String[] {"Zentrale Normalzeit (S\u00fcdaustralien/New South Wales)", "CST", +- "Zentrale Sommerzeit (S\u00fcdaustralien/New South Wales)", "CST"}; ++ String BRISBANE[] = new String[] {"\u00D6stliche Normalzeit (Queensland)", "EST", ++ "\u00D6stliche Sommerzeit (Queensland)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"Zentrale Normalzeit (S\u00FCdaustralien/New South Wales)", "CST", ++ "Zentrale Sommerzeit (S\u00FCdaustralien/New South Wales)", "CST"}; + String BRT[] = new String[] {"Brasilianische Zeit", "BRT", + "Brasilianische Sommerzeit", "BRST"}; + String BTT[] = new String[] {"Bhutanische Zeit", "BTT", +@@ -77,9 +77,9 @@ + "Chatham Sommerzeit", "CHADT"}; + String ChST[] = new String[] {"Chamorro Normalzeit", "ChST", + "Chamorro Sommerzeit", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"Zentralindonesische Zeit", "CIT", ++ String CHUT[] = new String[] {"Chuuk Zeit", "CHUT", ++ "Chuuk Sommerzeit", "CHUST"}; ++ String CIT[] = new String[] {"Zentralindonesische Zeit", "WITA", + "Zentralindonesische Sommerzeit", "CIST"}; + String CLT[] = new String[] {"Chilenische Zeit", "CLT", + "Chilenische Sommerzeit", "CLST"}; +@@ -89,7 +89,7 @@ + "Chinesische Sommerzeit", "CDT"}; + String CUBA[] = new String[] {"Kubanische Normalzeit", "CST", + "Kubanische Sommerzeit", "CDT"}; +- String DARWIN[] = new String[] {"Zentrale Normalzeit (Northern Territory)", "CST", ++ String DARWIN[] = new String[] {"Central Normalzeit (Northern Territory)", "CST", + "Zentrale Sommerzeit (Northern Territory)", "CST"}; + String DUBLIN[] = new String[] {"Greenwich Zeit", "GMT", + "Irische Sommerzeit", "IST"}; +@@ -103,10 +103,10 @@ + "Ostgr\u00f6nl\u00e4ndische Sommerzeit", "EGST"}; + String EST[] = new String[] {"\u00d6stliche Normalzeit", "EST", + "\u00d6stliche Sommerzeit", "EDT"}; +- String EST_NSW[] = new String[] {"\u00d6stliche Normalzeit (New South Wales)", "EST", +- "\u00d6stliche Sommerzeit (New South Wales)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"Eastern Normalzeit (Neus\u00FCdwales)", "EST", ++ "\u00D6stliche Sommerzeit (New South Wales)", "EST"}; ++ String FET[] = new String[] {"Kaliningrader Zeit", "FET", ++ "Kaliningrader Sommerzeit", "FEST"}; + String GHMT[] = new String[] {"Ghanaische Normalzeit", "GMT", + "Ghanaische Sommerzeit", "GHST"}; + String GAMBIER[] = new String[] {"Gambier Zeit", "GAMT", +@@ -159,8 +159,8 @@ + "Pitcairn Sommerzeit", "PDT"}; + String PKT[] = new String[] {"Pakistanische Zeit", "PKT", + "Pakistanische Sommerzeit", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"Pohnpei Zeit", "PONT", ++ "Pohnpei Sommerzeit", "PONST"}; + String PST[] = new String[] {"Pazifische Normalzeit", "PST", + "Pazifische Sommerzeit", "PDT"}; + String SAMOA[] = new String[] {"Samoa Normalzeit", "SST", +@@ -173,8 +173,8 @@ + "Singapur Sommerzeit", "SGST"}; + String SLST[] = new String[] {"Greenwich Normalzeit", "GMT", + "Sierra Leone Sommerzeit", "SLST"}; +- String TASMANIA[] = new String[] {"\u00d6stliche Normalzeit (Tasmanien)", "EST", +- "\u00d6stliche Sommerzeit (Tasmanien)", "EST"}; ++ String TASMANIA[] = new String[] {"\u00D6stliche Normalzeit (Tasmanien)", "EST", ++ "\u00D6stliche Sommerzeit (Tasmanien)", "EST"}; + String TMT[] = new String[] {"Turkmenische Zeit", "TMT", + "Turkmenische Sommerzeit", "TMST"}; + String ULAT[]= new String[] {"Ulaanbaatar Zeit", "ULAT", +@@ -183,8 +183,8 @@ + "Koordinierte Universalzeit", "UTC"}; + String UZT[] = new String[] {"Usbekistan Zeit", "UZT", + "Usbekistan Sommerzeit", "UZST"}; +- String VICTORIA[] = new String[] {"\u00d6stliche Normalzeit (Victoria)", "EST", +- "\u00d6stliche Sommerzeit (Victoria)", "EST"}; ++ String VICTORIA[] = new String[] {"\u00D6stliche Normalzeit (Victoria)", "EST", ++ "\u00D6stliche Sommerzeit (Victoria)", "EST"}; + String VLAT[] = new String[] {"Wladiwostok Zeit", "VLAT", + "Wladiwostok Sommerzeit", "VLAST"}; + String WART[] = new String[] {"Westargentinische Zeit", "WART", +@@ -193,7 +193,7 @@ + "Westafrikanische Sommerzeit", "WAST"}; + String WET[] = new String[] {"Westeurop\u00e4ische Zeit", "WEZ", + "Westeurop\u00e4ische Sommerzeit", "WESZ"}; +- String WIT[] = new String[] {"Westindonesische Zeit", "WIT", ++ String WIT[] = new String[] {"Westindonesische Zeit", "WIB", + "Westindonesische Sommerzeit", "WIST"}; + String WST_AUS[] = new String[] {"Westliche Normalzeit (Australien)", "WST", + "Westliche Sommerzeit (Australien)", "WST"}; +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"Metlakatla Normalzeit", "MeST", ++ "Metlakatla Sommerzeit", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"Pierre & Miquelon Normalzeit", "PMST", + "Pierre & Miquelon Sommerzeit", "PMDT"}}, +@@ -426,7 +426,7 @@ + "Suriname Sommerzeit", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Davis Sommerzeit", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville Zeit", "DDUT", + "Dumont-d'Urville Sommerzeit", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"Macquarieinsel Zeit", "MIST", ++ "Macquarieinsel Sommerzeit", "MIST"}}, + {"Antarctica/Mawson", new String[] {"Mawson Zeit", "MAWT", + "Mawson Sommerzeit", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Alma Ata Zeit", "ALMT", + "Alma-Ata Sommerzeit", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Anadyr Zeit", "ANAT", + "Anadyr Sommerzeit", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Aqtau Zeit", "AQTT", +@@ -527,7 +527,7 @@ + "Irkutsk Sommerzeit", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"Ostindonesische Zeit", "EIT", ++ {"Asia/Jayapura", new String[] {"Ostindonesische Zeit", "WIT", + "Ostindonesische Sommerzeit", "EIST"}}, + {"Asia/Kabul", new String[] {"Afghanistanische Zeit", "AFT", + "Afghanistanische Sommerzeit", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Chandyga Zeit", "YAKT", ++ "Chandyga Sommerzeit", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Krasnojarsker Zeit", "KRAT", + "Krasnojarsker Sommerzeit", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Ust-Nera Zeit", "VLAT", ++ "Ust-Nera Sommerzeit", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Zentraleurop\u00e4ische Zeit", "MET", + "Zentraleurop\u00e4ische Sommerzeit", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_es.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_es.java 2014-01-18 12:16:28.000000000 -0800 +@@ -45,7 +45,7 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Hora de Acre", "ACT", + "Hora de verano de Acre", "ACST"}; +- String ADELAIDE[] = new String[] {"Hora est\u00e1ndar Central (Sur de Australia)", "CST", ++ String ADELAIDE[] = new String[] {"Hora est\u00E1ndar Central (Sur de Australia)", "CST", + "Hora de verano Central (Sur de Australia)", "CST"}; + String AGT[] = new String[] {"Hora de Argentina", "ART", + "Hora de verano de Argentina", "ARST"}; +@@ -61,9 +61,9 @@ + "Hora de verano Atl\u00e1ntico", "ADT"}; + String BDT[] = new String[] {"Hora de Bangladesh", "BDT", + "Hora de verano de Bangladesh", "BDST"}; +- String BRISBANE[] = new String[] {"Hora est\u00e1ndar del Este (Queensland)", "EST", +- "Hora de verano del Este (Queensland)", "EST"}; +- String BROKEN_HILL[] = new String[] {"Hora est\u00e1ndar Central (Sur de Australia/Nueva Gales del Sur)", "CST", ++ String BRISBANE[] = new String[] {"Hora est\u00E1ndar del Este (Queensland)", "EST", ++ "Hora est\u00E1ndar de verano del Este (Queensland)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"Hora est\u00E1ndar Central (Sur de Australia/Nueva Gales del Sur)", "CST", + "Hora de verano Central (Sur de Australia/Nueva Gales del Sur)", "CST"}; + String BRT[] = new String[] {"Hora de Brasil", "BRT", + "Hora de verano de Brasil", "BRST"}; +@@ -79,7 +79,7 @@ + "Hora de verano de Chamorro", "ChDT"}; + String CHUT[] = new String[] {"Chuuk Time", "CHUT", + "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"Hora de Indonesia Central", "CIT", ++ String CIT[] = new String[] {"Hora de Indonesia Central", "WITA", + "Hora de verano de Indonesia Central", "CIST"}; + String CLT[] = new String[] {"Hora de Chile", "CLT", + "Hora de verano de Chile", "CLST"}; +@@ -89,7 +89,7 @@ + "Hora de verano de China", "CDT"}; + String CUBA[] = new String[] {"Hora est\u00e1ndar de Cuba", "CST", + "Hora de verano de Cuba", "CDT"}; +- String DARWIN[] = new String[] {"Hora est\u00e1ndar Central (territorio del Norte)", "CST", ++ String DARWIN[] = new String[] {"Hora est\u00E1ndar Central (territorio del Norte)", "CST", + "Hora de verano Central (territorio del Norte)", "CST"}; + String DUBLIN[] = new String[] {"Hora del Meridiano de Greenwich", "GMT", + "Hora de verano de Irlanda", "IST"}; +@@ -103,10 +103,10 @@ + "Hora de verano de Groenlandia Oriental", "EGST"}; + String EST[] = new String[] {"Hora est\u00e1ndar Oriental", "EST", + "Hora de verano Oriental", "EDT"}; +- String EST_NSW[] = new String[] {"Hora est\u00e1ndar Oriental (Nueva Gales del Sur)", "EST", ++ String EST_NSW[] = new String[] {"Hora est\u00E1ndar Oriental (Nueva Gales del Sur)", "EST", + "Hora de verano Oriental (Nueva Gales del Sur)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String FET[] = new String[] {"Hora de Europa m\u00E1s Oriental", "FET", ++ "Hora de verano de Europa m\u00E1s Oriental", "FEST"}; + String GHMT[] = new String[] {"Hora central de Ghana", "GMT", + "Hora de verano de Ghana", "GHST"}; + String GAMBIER[] = new String[] {"Hora de Gambier", "GAMT", +@@ -173,7 +173,7 @@ + "Hora de verano de Singapur", "SGST"}; + String SLST[] = new String[] {"Hora del Meridiano de Greenwich", "GMT", + "Hora de verano de Sierra Leona", "SLST"}; +- String TASMANIA[] = new String[] {"Hora est\u00e1ndar del Este (Tasmania)", "EST", ++ String TASMANIA[] = new String[] {"Hora est\u00E1ndar del Este (Tasmania)", "EST", + "Hora de verano del Este (Tasmania)", "EST"}; + String TMT[] = new String[] {"Hora de Turkmenist\u00e1n", "TMT", + "Hora de verano de Turkmenist\u00e1n", "TMST"}; +@@ -183,7 +183,7 @@ + "Hora Universal Coordinada", "UTC"}; + String UZT[] = new String[] {"Hora de Uzbekist\u00e1n", "UZT", + "Hora de verano de Uzbekist\u00e1n", "UZST"}; +- String VICTORIA[] = new String[] {"Hora est\u00e1ndar del Este (Victoria)", "EST", ++ String VICTORIA[] = new String[] {"Hora est\u00E1ndar del Este (Victoria)", "EST", + "Hora de verano del Este (Victoria)", "EST"}; + String VLAT[] = new String[] {"Hora de Vladivostok", "VLAT", + "Hora de verano de Vladivostok", "VLAST"}; +@@ -193,9 +193,9 @@ + "Hora de verano de \u00c1frica Occidental", "WAST"}; + String WET[] = new String[] {"Hora de Europa Occidental", "WET", + "Hora de verano de Europa Occidental", "WEST"}; +- String WIT[] = new String[] {"Hora de Indonesia Occidental", "WIT", ++ String WIT[] = new String[] {"Hora de Indonesia Occidental", "WIB", + "Indonesia Hora de verano de Indonesia Occidental", "WIST"}; +- String WST_AUS[] = new String[] {"Hora est\u00e1ndar Occidental (Australia)", "WST", ++ String WST_AUS[] = new String[] {"Hora est\u00E1ndar Occidental (Australia)", "WST", + "Hora de verano Occidental (Australia)", "WST"}; + String WST_SAMOA[] = new String[] {"Hora de Samoa Occidental", "WST", + "Hora de verano de Samoa Occidental", "WSDT"}; +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -426,7 +426,7 @@ + "Hora de verano de Surinam", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Hora de Alma-Ata", "ALMT", + "Hora de verano de Alma-Ata", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Hora de Anadyr", "ANAT", + "Hora de verano de Anadyr", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Hora de Aqtau", "AQTT", +@@ -527,7 +527,7 @@ + "Hora de verano de Irkutsk", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"Hora de Indonesia Oriental", "EIT", ++ {"Asia/Jayapura", new String[] {"Hora de Indonesia Oriental", "WIT", + "Hora de verano de Indonesia Oriental", "EIST"}}, + {"Asia/Kabul", new String[] {"Hora de Afganist\u00e1n", "AFT", + "Hora de verano de Afganist\u00e1n", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Hora de Khandyga", "YAKT", ++ "Hora de verano de Khandyga", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Hora de Krasnoyarsk", "KRAT", + "Hora de verano de Krasnoyarsk", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Hora de Ust-Nera", "VLAT", ++ "Hora de verano de Ust-Nera", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"Hora est\u00e1ndar de Australia Central y Occidental", "CWST", +- "Hora de verano de Australia Central y Occidental", "CWST"}}, ++ {"Australia/Eucla", new String[] {"Hora est\u00E1ndar de Australia Central y Occidental", "CWST", ++ "Hora est\u00E1ndar de verano de Australia Central y Occidental", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Hora de Europa Central", "MET", + "Hora de verano de Europa Central", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_fr.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_fr.java 2014-01-18 12:16:28.000000000 -0800 +@@ -46,7 +46,7 @@ + String ACT[] = new String[] {"Heure de l'Acre", "ACT", + "Heure d'\u00e9t\u00e9 de l'Acre", "ACST"}; + String ADELAIDE[] = new String[] {"Heure standard d'Australie centrale (Australie du sud)", "CST", +- "Heure d'\u00e9t\u00e9 d'Australie centrale (Australie du sud)", "CST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Australie du sud)", "CST"}; + String AGT[] = new String[] {"Heure D'Argentine", "ART", + "Heure d'\u00e9t\u00e9 D'Argentine", "ARST"}; + String AKST[] = new String[] {"Heure normale d'Alaska", "AKST", +@@ -62,9 +62,9 @@ + String BDT[] = new String[] {"Heure du Bangladesh", "BDT", + "Heure d'\u00e9t\u00e9 du Bangladesh", "BDST"}; + String BRISBANE[] = new String[] {"Heure standard d'Australie orientale (Queensland)", "EST", +- "Heure d'\u00e9t\u00e9 d'Australie orientale (Queensland)", "EST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Queensland)", "EST"}; + String BROKEN_HILL[] = new String[] {"Heure standard d'Australie centrale (Australie du sud/Nouvelle-Galles du sud)", "CST", +- "Heure d'\u00e9t\u00e9 d'Australie centrale(Australie du sud/Nouvelle-Galles du sud)", "CST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Australie du sud/Nouvelle-Galles du sud)", "CST"}; + String BRT[] = new String[] {"Heure du Br\u00e9sil", "BRT", + "Heure d'\u00e9t\u00e9 du Br\u00e9sil", "BRST"}; + String BTT[] = new String[] {"Heure du Bhoutan", "BTT", +@@ -77,9 +77,9 @@ + "Heure avanc\u00e9e de Chatham", "CHADT"}; + String ChST[] = new String[] {"Heure normale des \u00eeles Mariannes", "ChST", + "Heure d'\u00e9t\u00e9 des \u00eeles Mariannes", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"Heure d'Indon\u00e9sie centrale", "CIT", ++ String CHUT[] = new String[] {"Heure de Chuuk", "CHUT", ++ "Heure d'\u00E9t\u00E9 de Chuuk", "CHUST"}; ++ String CIT[] = new String[] {"Heure d'Indon\u00e9sie centrale", "WITA", + "Heure d'\u00e9t\u00e9 d'Indon\u00e9sie centrale", "CIST"}; + String CLT[] = new String[] {"Heure du Chili", "CLT", + "Heure d'\u00e9t\u00e9 du Chili", "CLST"}; +@@ -90,7 +90,7 @@ + String CUBA[] = new String[] {"Heure standard de Cuba", "CST", + "Heure d'\u00e9t\u00e9 de Cuba", "CDT"}; + String DARWIN[] = new String[] {"Heure standard d'Australie centrale (Territoire du Nord)", "CST", +- "Heure d'\u00e9t\u00e9 d'Australie centrale (Territoire du Nord)", "CST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie centrale (Territoire du Nord)", "CST"}; + String DUBLIN[] = new String[] {"Heure du m\u00e9ridien de Greenwich", "GMT", + "Heure d'\u00e9t\u00e9 irlandaise", "IST"}; + String EAT[] = new String[] {"Heure d'Afrique de l'Est", "EAT", +@@ -104,9 +104,9 @@ + String EST[] = new String[] {"Heure normale de l'Est", "EST", + "Heure avanc\u00e9e de l'Est", "EDT"}; + String EST_NSW[] = new String[] {"Heure normale de l'Est (Nouvelle-Galles du Sud)", "EST", +- "Heure d'\u00e9t\u00e9 de l'Est (Nouvelle-Galles du Sud)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ "Heure d'\u00E9t\u00E9 de l'Est (Nouvelle-Galles du Sud)", "EST"}; ++ String FET[] = new String[] {"Heure d'Europe de l'Est UTC+3", "FET", ++ "Heure d'\u00E9t\u00E9 d'Europe de l'Est UTC+3", "FEST"}; + String GHMT[] = new String[] {"Heure du Ghana", "GMT", + "Heure d'\u00e9t\u00e9 du Ghana", "GHST"}; + String GAMBIER[] = new String[] {"Heure de Gambi", "GAMT", +@@ -159,8 +159,8 @@ + "heure avanc\u00e9e des Pitcairn", "PDT"}; + String PKT[] = new String[] {"Heure du Pakistan", "PKT", + "Heure d'\u00e9t\u00e9 du Pakistan", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"Heure de Pohnpei", "PONT", ++ "Heure d'\u00E9t\u00E9 de Pohnpei", "PONST"}; + String PST[] = new String[] {"Heure normale du Pacifique", "PST", + "Heure avanc\u00e9e du Pacifique", "PDT"}; + String SAMOA[] = new String[] {"Heure standard de Samoa", "SST", +@@ -174,7 +174,7 @@ + String SLST[] = new String[] {"Heure du m\u00e9ridien de Greenwich", "GMT", + "Heure d'\u00e9t\u00e9 de Sierra Leone", "SLST"}; + String TASMANIA[] = new String[] {"Heure standard d'Australie orientale (Tasmanie)", "EST", +- "Heure d'\u00e9t\u00e9 d'Australie orientale (Tasmanie)", "EST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Tasmanie)", "EST"}; + String TMT[] = new String[] {"Heure du Turkm\u00e9nistan", "TMT", + "Heure d'\u00e9t\u00e9 du Turkm\u00e9nistan", "TMST"}; + String ULAT[]= new String[] {"Heure de l'Ulaanbaatar", "ULAT", +@@ -184,7 +184,7 @@ + String UZT[] = new String[] {"Heure de l'Ouzb\u00e9kistan", "UZT", + "Heure d'\u00e9t\u00e9 de l'Ouzb\u00e9kistan", "UZST"}; + String VICTORIA[] = new String[] {"Heure standard d'Australie orientale (Victoria)", "EST", +- "Heure d'\u00e9t\u00e9 d'Australie orientale (Victoria)", "EST"}; ++ "Heure d'\u00E9t\u00E9 d'Australie orientale (Victoria)", "EST"}; + String VLAT[] = new String[] {"Heure de Vladivostok", "VLAT", + "Heure d'\u00e9t\u00e9 de Vladivostok", "VLAST"}; + String WART[] = new String[] {"Heure D'Argentine de l'Ouest", "WART", +@@ -193,10 +193,10 @@ + "Heure d'\u00e9t\u00e9 d'Afrique de l'Ouest", "WAST"}; + String WET[] = new String[] {"Heure d'Europe de l'Ouest", "WET", + "Heure d'\u00e9t\u00e9 d'Europe de l'Ouest", "WEST"}; +- String WIT[] = new String[] {"Heure de l'Indon\u00e9sie occidentale", "WIT", ++ String WIT[] = new String[] {"Heure de l'Indon\u00e9sie occidentale", "WIB", + "Heure d'\u00e9t\u00e9 de l'Indon\u00e9sie occidentale", "WIST"}; + String WST_AUS[] = new String[] {"Heure normale de l'Ouest (Australie)", "WST", +- "Heure d'\u00e9t\u00e9 de l'Ouest (Australie)", "WST"}; ++ "Heure d'\u00E9t\u00E9 de l'Ouest (Australie)", "WST"}; + String WST_SAMOA[] = new String[] {"Heure des Samoas occidentales", "WST", + "Heure d'\u00e9t\u00e9 des Samoas occidentales", "WSDT"}; + String YAKT[] = new String[] {"Heure du Iakoutsk", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"Heure normale de Metlakatla", "MeST", ++ "Heure avanc\u00E9e de Metlakatla", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"Heure normale de Saint-Pierre et Miquelon", "PMST", + "Heure avanc\u00e9e de Saint-Pierre et Miquelon", "PMDT"}}, +@@ -426,7 +426,7 @@ + "Heure d'\u00e9t\u00e9 du Surinam", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Heure d'\u00e9t\u00e9 de Davis", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Heure de Dumont-d'Urville", "DDUT", + "Heure d'\u00e9t\u00e9 de Dumont-d'Urville", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"Heure de l'Ile Macquarie", "MIST", ++ "Heure d'\u00E9t\u00E9 de l'Ile Macquarie", "MIST"}}, + {"Antarctica/Mawson", new String[] {"Heure de Mawson", "MAWT", + "Heure d'\u00e9t\u00e9 de Mawson", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Heure d'Alma-Ata", "ALMT", + "Heure d'\u00e9t\u00e9 d'Alma-Ata", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Heure d'Anadyr", "ANAT", + "Heure d'\u00e9t\u00e9 d'Anadyr", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Heure d'Aqtau", "AQTT", +@@ -527,7 +527,7 @@ + "Heure d'\u00e9t\u00e9 d'Irkutsk", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"Heure d'Indon\u00e9sie orientale", "EIT", ++ {"Asia/Jayapura", new String[] {"Heure d'Indon\u00e9sie orientale", "WIT", + "Heure d'\u00e9t\u00e9 d'Indon\u00e9sie orientale", "EIST"}}, + {"Asia/Kabul", new String[] {"Heure d'Afghanistan", "AFT", + "Heure d'\u00e9t\u00e9 d'Afghanistan", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Heure de Khandyga", "YAKT", ++ "Heure d'\u00E9t\u00E9 de Khandyga", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Heure de Krasno\u00efarsk", "KRAT", + "Heure d'\u00e9t\u00e9 de Krasno\u00efarsk", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Heure d'Ust-Nera", "VLAT", ++ "Heure d'\u00E9t\u00E9 d'Ust-Nera", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -617,7 +619,7 @@ + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, + {"Australia/Eucla", new String[] {"Heure standard de l'Australie occidentale (centre)", "CWST", +- "Heure d'\u00e9t\u00e9 de l'Australie occidentale (centre)", "CWST"}}, ++ "Heure d'\u00E9t\u00E9 de l'Australie occidentale (centre)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Heure de l'Europe centrale", "MET", + "Heure d'\u00e9t\u00e9 de l'Europe centrale", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_it.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_it.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Ora di Acre", "ACT", + "Ora estiva di Acre", "ACST"}; +- String ADELAIDE[] = new String[] {"Ora centrale standard (Australia del Sud)", "CST", +- "Ora estiva standard (Australia del Sud)", "CST"}; ++ String ADELAIDE[] = new String[] {"Ora standard centrale (Australia del Sud)", "CST", ++ "Ora estiva centrale (Australia del Sud)", "CST"}; + String AGT[] = new String[] {"Ora dell'Argentina", "ART", + "Ora estiva dell'Argentina", "ARST"}; + String AKST[] = new String[] {"Ora solare dell'Alaska", "AKST", +@@ -61,9 +61,9 @@ + "Ora legale dell'Atlantico occidentale", "ADT"}; + String BDT[] = new String[] {"Ora del Bangladesh", "BDT", + "Ora estiva del Bangladesh", "BDST"}; +- String BRISBANE[] = new String[] {"Ora orientale standard (Queensland)", "EST", ++ String BRISBANE[] = new String[] {"Ora standard orientale (Queensland)", "EST", + "Ora estiva orientale (Queensland)", "EST"}; +- String BROKEN_HILL[] = new String[] {"Ora centrale standard (Australia del Sud/Nuovo Galles del Sud)", "CST", ++ String BROKEN_HILL[] = new String[] {"Ora standard centrale (Australia del Sud/Nuovo Galles del Sud)", "CST", + "Ora estiva centrale (Australia del Sud/Nuovo Galles del Sud)", "CST"}; + String BRT[] = new String[] {"Ora del Brasile", "BRT", + "Ora estiva del Brasile", "BRST"}; +@@ -75,11 +75,11 @@ + "Ora estiva dell'Europa centrale", "CEST"}; + String CHAST[] = new String[] {"Ora di Chatham standard", "CHAST", + "Ora legale di Chatham", "CHADT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; ++ String CHUT[] = new String[] {"Ora di Chuuk", "CHUT", ++ "Ora estiva di Chuuk", "CHUST"}; + String ChST[] = new String[] {"Ora standard di Chamorro", "ChST", + "Ora legale di Chamorro", "ChDT"}; +- String CIT[] = new String[] {"Ora dell'Indonesia centrale", "CIT", ++ String CIT[] = new String[] {"Ora dell'Indonesia centrale", "WITA", + "Ora estiva dell'Indonesia centrale", "CIST"}; + String CLT[] = new String[] {"Ora del Cile", "CLT", + "Ora estiva del Cile", "CLST"}; +@@ -89,7 +89,7 @@ + "Ora legale della Cina", "CDT"}; + String CUBA[] = new String[] {"Ora solare Cuba", "CST", + "Ora legale Cuba", "CDT"}; +- String DARWIN[] = new String[] {"Ora centrale standard (Territori del Nord)", "CST", ++ String DARWIN[] = new String[] {"Ora standard centrale (Territori del Nord)", "CST", + "Ora estiva centrale (Territori del Nord)", "CST"}; + String DUBLIN[] = new String[] {"Ora media di Greenwich", "GMT", + "Ora estiva irlandese", "IST"}; +@@ -103,10 +103,10 @@ + "Ora estiva della Groenlandia orientale", "EGST"}; + String EST[] = new String[] {"Ora solare USA orientale", "EST", + "Ora legale USA orientale", "EDT"}; +- String EST_NSW[] = new String[] {"Ora solare dell'Australia orientale (Nuovo Galles del Sud)", "EST", ++ String EST_NSW[] = new String[] {"Ora standard dell'Australia orientale (Nuovo Galles del Sud)", "EST", + "Ora estiva dell'Australia orientale (Nuovo Galles del Sud)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String FET[] = new String[] {"Ora dei paesi europei pi\u00F9 orientali", "FET", ++ "Ora estiva dei paesi europei pi\u00F9 orientali", "FEST"}; + String GHMT[] = new String[] {"Ora media del Ghana", "GMT", + "Ora legale del Ghana", "GHST"}; + String GAMBIER[] = new String[] {"Ora di Gambier", "GAMT", +@@ -159,8 +159,8 @@ + "Ora legale di Pitcairn", "PDT"}; + String PKT[] = new String[] {"Ora del Pakistan", "PKT", + "Ora estiva del Pakistan", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"Ora di Pohnpei", "PONT", ++ "Ora estiva di Pohnpei", "PONST"}; + String PST[] = new String[] {"Ora solare della costa occidentale USA", "PST", + "Ora legale della costa occidentale USA", "PDT"}; + String SAMOA[] = new String[] {"Ora standard di Samoa", "SST", +@@ -173,7 +173,7 @@ + "Ora estiva di Singapore", "SGST"}; + String SLST[] = new String[] {"Ora media di Greenwich", "GMT", + "Ora legale della Sierra Leone", "SLST"}; +- String TASMANIA[] = new String[] {"Ora orientale standard (Tasmania)", "EST", ++ String TASMANIA[] = new String[] {"Ora standard orientale (Tasmania)", "EST", + "Ora estiva orientale (Tasmania)", "EST"}; + String TMT[] = new String[] {"Ora del Turkmenistan", "TMT", + "Ora estiva del Turkmenistan", "TMST"}; +@@ -183,7 +183,7 @@ + "Tempo universale coordinato", "UTC"}; + String UZT[] = new String[] {"Ora dell'Uzbekistan", "UZT", + "Ora estiva dell'Uzbekistan", "UZST"}; +- String VICTORIA[] = new String[] {"Ora orientale standard (Victoria)", "EST", ++ String VICTORIA[] = new String[] {"Ora standard orientale (Victoria)", "EST", + "Ora estiva orientale (Victoria)", "EST"}; + String VLAT[] = new String[] {"Ora di Vladivostok", "VLAT", + "Ora estiva di Vladivostok", "VLAST"}; +@@ -193,9 +193,9 @@ + "Ora estiva dell'Africa occidentale", "WAST"}; + String WET[] = new String[] {"Ora dell'Europa occidentale", "WET", + "Ora estiva dell'Europa occidentale", "WEST"}; +- String WIT[] = new String[] {"Ora dell'Indonesia occidentale", "WIT", ++ String WIT[] = new String[] {"Ora dell'Indonesia occidentale", "WIB", + "Ora estiva dell'Indonesia occidentale", "WIST"}; +- String WST_AUS[] = new String[] {"Ora solare dell'Australia occidentale", "WST", ++ String WST_AUS[] = new String[] {"Ora standard dell'Australia occidentale", "WST", + "Ora estiva dell'Australia occidentale", "WST"}; + String WST_SAMOA[] = new String[] {"Ora di Samoa", "WST", + "Ora estiva di Samoa", "WSDT"}; +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"Ora standard di Metlakatla", "MeST", ++ "Ora legale di Metlakatla", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"Ora solare di Saint-Pierre e Miquelon", "PMST", + "Ora legale di Saint-Pierre e Miquelon", "PMDT"}}, +@@ -426,7 +426,7 @@ + "Ora estiva di Suriname", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Ora estiva di Davis", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Ora di Dumont-d'Urville", "DDUT", + "Ora estiva di Dumont-d'Urville", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"Ora dell'Isola Macquarie", "MIST", ++ "Ora estiva dell'Isola Macquarie", "MIST"}}, + {"Antarctica/Mawson", new String[] {"Ora di Mawson", "MAWT", + "Ora estiva di Mawson", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Ora di Alma-Ata", "ALMT", + "Ora estiva di Alma-Ata", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Ora di Anadyr", "ANAT", + "Ora estiva di Anadyr", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Ora di Aqtau", "AQTT", +@@ -527,7 +527,7 @@ + "Ora estiva di Irkutsk", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"Ora dell'Indonesia orientale", "EIT", ++ {"Asia/Jayapura", new String[] {"Ora dell'Indonesia orientale", "WIT", + "Ora estiva dell'Indonesia orientale", "EIST"}}, + {"Asia/Kabul", new String[] {"Ora dell'Afghanistan", "AFT", + "Ora estiva dell'Afghanistan", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Ora di Khandyga", "YAKT", ++ "Ora estiva di Khandyga", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Ora di Krasnojarsk", "KRAT", + "Ora estiva di Krasnojarsk", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Ora di Ust-Nera", "VLAT", ++ "Ora estiva di Ust-Nera", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"Ora solare Australia centrorientale", "CWST", +- "Ora estiva Australia centrorientale", "CWST"}}, ++ {"Australia/Eucla", new String[] {"Ora standard Australia centro-occidentale", "CWST", ++ "Ora estiva Australia centro-occidentale", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Ora dell'Europa centrale", "MET", + "Ora estiva dell'Europa centrale", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_ja.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_ja.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"\u30a2\u30af\u30ec\u6642\u9593", "ACT", + "\u30a2\u30af\u30ec\u590f\u6642\u9593", "ACST"}; +- String ADELAIDE[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CST", +- "\u4e2d\u90e8\u590f\u6642\u9593 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CST"}; ++ String ADELAIDE[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CST", ++ "\u4E2D\u90E8\u590F\u6642\u9593(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CST"}; + String AGT[] = new String[] {"\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u6642\u9593", "ART", + "\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u590f\u6642\u9593", "ARST"}; + String AKST[] = new String[] {"\u30a2\u30e9\u30b9\u30ab\u6a19\u6e96\u6642", "AKST", +@@ -61,10 +61,10 @@ + "\u5927\u897f\u6d0b\u590f\u6642\u9593", "ADT"}; + String BDT[] = new String[] {"\u30d0\u30f3\u30b0\u30e9\u30c7\u30b7\u30e5\u6642\u9593", "BDT", + "\u30d0\u30f3\u30b0\u30e9\u30c7\u30b7\u30e5\u590f\u6642\u9593", "BDST"}; +- String BRISBANE[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30af\u30a4\u30fc\u30f3\u30ba\u30e9\u30f3\u30c9)", "EST", +- "\u6771\u90e8\u590f\u6642\u9593 (\u30af\u30a4\u30fc\u30f3\u30ba\u30e9\u30f3\u30c9)", "EST"}; +- String BROKEN_HILL[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2/\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "CST", +- "\u4e2d\u90e8\u590f\u6642\u9593 (\u5357\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2/\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "CST"}; ++ String BRISBANE[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30AF\u30A4\u30FC\u30F3\u30BA\u30E9\u30F3\u30C9)", "EST", ++ "\u6771\u90E8\u590F\u6642\u9593(\u30AF\u30A4\u30FC\u30F3\u30BA\u30E9\u30F3\u30C9)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2/\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "CST", ++ "\u4E2D\u90E8\u590F\u6642\u9593(\u5357\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2/\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "CST"}; + String BRT[] = new String[] {"\u30d6\u30e9\u30b8\u30eb\u6642\u9593", "BRT", + "\u30d6\u30e9\u30b8\u30eb\u590f\u6642\u9593", "BRST"}; + String BTT[] = new String[] {"\u30d6\u30fc\u30bf\u30f3\u6642\u9593", "BTT", +@@ -77,9 +77,9 @@ + "\u30c1\u30e3\u30bf\u30e0\u590f\u6642\u9593", "CHADT"}; + String ChST[] = new String[] {"\u30b0\u30a2\u30e0\u6a19\u6e96\u6642", "ChST", + "\u30b0\u30a2\u30e0\u590f\u6642\u9593", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "CIT", ++ String CHUT[] = new String[] {"\u30C1\u30E5\u30FC\u30AF\u6642\u9593", "CHUT", ++ "Chuuk Time", "CHUST"}; ++ String CIT[] = new String[] {"\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WITA", + "\u4e2d\u592e\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "CIST"}; + String CLT[] = new String[] {"\u30c1\u30ea\u6642\u9593", "CLT", + "\u30c1\u30ea\u590f\u6642\u9593", "CLST"}; +@@ -89,8 +89,8 @@ + "\u4e2d\u56fd\u590f\u6642\u9593", "CDT"}; + String CUBA[] = new String[] {"\u30ad\u30e5\u30fc\u30d0\u6a19\u6e96\u6642", "CST", + "\u30ad\u30e5\u30fc\u30d0\u590f\u6642\u9593", "CDT"}; +- String DARWIN[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642 (\u30ce\u30fc\u30b6\u30f3\u30c6\u30ea\u30c8\u30ea\u30fc)", "CST", +- "\u4e2d\u90e8\u590f\u6642\u9593 (\u30ce\u30fc\u30b6\u30f3\u30c6\u30ea\u30c8\u30ea\u30fc)", "CST"}; ++ String DARWIN[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642(\u30CE\u30FC\u30B6\u30F3\u30C6\u30EA\u30C8\u30EA\u30FC)", "CST", ++ "\u4E2D\u90E8\u590F\u6642\u9593(\u30CE\u30FC\u30B6\u30F3\u30C6\u30EA\u30C8\u30EA\u30FC)", "CST"}; + String DUBLIN[] = new String[] {"\u30b0\u30ea\u30cb\u30c3\u30b8\u6a19\u6e96\u6642", "GMT", + "\u30a2\u30a4\u30eb\u30e9\u30f3\u30c9\u590f\u6642\u9593", "IST"}; + String EAT[] = new String[] {"\u6771\u30a2\u30d5\u30ea\u30ab\u6642\u9593", "EAT", +@@ -103,10 +103,10 @@ + "\u6771\u30b0\u30ea\u30fc\u30f3\u30e9\u30f3\u30c9\u590f\u6642\u9593", "EGST"}; + String EST[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642", "EST", + "\u6771\u90e8\u590f\u6642\u9593", "EDT"}; +- String EST_NSW[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "EST", +- "\u6771\u90e8\u590f\u6642\u9593 (\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "EST", ++ "\u6771\u90E8\u590F\u6642\u9593(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)", "EST"}; ++ String FET[] = new String[] {"\u6975\u6771\u30E8\u30FC\u30ED\u30C3\u30D1\u6642\u9593", "FET", ++ "\u6975\u6771\u30E8\u30FC\u30ED\u30C3\u30D1\u590F\u6642\u9593", "FEST"}; + String GHMT[] = new String[] {"\u30ac\u30fc\u30ca\u6a19\u6e96\u6642", "GMT", + "\u30ac\u30fc\u30ca\u590f\u6642\u9593", "GHST"}; + String GAMBIER[] = new String[] {"\u30ac\u30f3\u30d3\u30a2\u6642\u9593", "GAMT", +@@ -159,8 +159,8 @@ + "\u30d4\u30c8\u30b1\u30eb\u30f3\u5cf6\u590f\u6642\u9593", "PDT"}; + String PKT[] = new String[] {"\u30d1\u30ad\u30b9\u30bf\u30f3\u6642\u9593", "PKT", + "\u30d1\u30ad\u30b9\u30bf\u30f3\u590f\u6642\u9593", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"\u30DD\u30F3\u30DA\u30A4\u6642\u9593", "PONT", ++ "\u30DD\u30F3\u30DA\u30A4\u590F\u6642\u9593", "PONST"}; + String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6a19\u6e96\u6642", "PST", + "\u592a\u5e73\u6d0b\u590f\u6642\u9593", "PDT"}; + String SAMOA[] = new String[] {"\u30b5\u30e2\u30a2\u6a19\u6e96\u6642", "SST", +@@ -173,8 +173,8 @@ + "\u30b7\u30f3\u30ac\u30dd\u30fc\u30eb\u590f\u6642\u9593", "SGST"}; + String SLST[] = new String[] {"\u30b0\u30ea\u30cb\u30c3\u30b8\u6a19\u6e96\u6642", "GMT", + "\u30b7\u30a8\u30e9\u30ec\u30aa\u30cd\u590f\u6642\u9593", "SLST"}; +- String TASMANIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30bf\u30b9\u30de\u30cb\u30a2)", "EST", +- "\u6771\u90e8\u590f\u6642\u9593 (\u30bf\u30b9\u30de\u30cb\u30a2)", "EST"}; ++ String TASMANIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30BF\u30B9\u30DE\u30CB\u30A2)", "EST", ++ "\u6771\u90E8\u590F\u6642\u9593(\u30BF\u30B9\u30DE\u30CB\u30A2)", "EST"}; + String TMT[] = new String[] {"\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3\u6642\u9593", "TMT", + "\u30c8\u30eb\u30af\u30e1\u30cb\u30b9\u30bf\u30f3\u590f\u6642\u9593", "TMST"}; + String ULAT[]= new String[] {"\u30a6\u30e9\u30fc\u30f3\u30d0\u30fc\u30c8\u30eb\u6642\u9593", "ULAT", +@@ -183,8 +183,8 @@ + "\u5354\u5b9a\u4e16\u754c\u6642", "UTC"}; + String UZT[] = new String[] {"\u30a6\u30ba\u30d9\u30ad\u30b9\u30bf\u30f3\u6642\u9593", "UZT", + "\u30a6\u30ba\u30d9\u30ad\u30b9\u30bf\u30f3\u590f\u6642\u9593", "UZST"}; +- String VICTORIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642 (\u30d3\u30af\u30c8\u30ea\u30a2)", "EST", +- "\u6771\u90e8\u590f\u6642\u9593 (\u30d3\u30af\u30c8\u30ea\u30a2)", "EST"}; ++ String VICTORIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642(\u30D3\u30AF\u30C8\u30EA\u30A2)", "EST", ++ "\u6771\u90E8\u590F\u6642\u9593(\u30D3\u30AF\u30C8\u30EA\u30A2)", "EST"}; + String VLAT[] = new String[] {"\u30a6\u30e9\u30b8\u30aa\u30b9\u30c8\u30af\u6642\u9593", "VLAT", + "\u30a6\u30e9\u30b8\u30aa\u30b9\u30c8\u30af\u590f\u6642\u9593", "VLAST"}; + String WART[] = new String[] {"\u897f\u30a2\u30eb\u30bc\u30f3\u30c1\u30f3\u6642\u9593", "WART", +@@ -193,10 +193,10 @@ + "\u897f\u30a2\u30d5\u30ea\u30ab\u590f\u6642\u9593", "WAST"}; + String WET[] = new String[] {"\u897f\u30e8\u30fc\u30ed\u30c3\u30d1\u6642\u9593", "WET", + "\u897f\u30e8\u30fc\u30ed\u30c3\u30d1\u590f\u6642\u9593", "WEST"}; +- String WIT[] = new String[] {"\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIT", ++ String WIT[] = new String[] {"\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIB", + "\u897f\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "WIST"}; +- String WST_AUS[] = new String[] {"\u897f\u90e8\u6a19\u6e96\u6642 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "WST", +- "\u897f\u90e8\u590f\u6642\u9593 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "WST"}; ++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6A19\u6E96\u6642(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "WST", ++ "\u897F\u90E8\u590F\u6642\u9593(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "WST"}; + String WST_SAMOA[] = new String[] {"\u897f\u30b5\u30e2\u30a2\u6642\u9593", "WST", + "\u897f\u30b5\u30e2\u30a2\u590f\u6642\u9593", "WSDT"}; + String YAKT[] = new String[] {"\u30e4\u30af\u30fc\u30c4\u30af\u6642\u9593", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"\u30E1\u30C8\u30E9\u30AB\u30C8\u30E9\u6A19\u6E96\u6642\u9593", "MeST", ++ "\u30E1\u30C8\u30E9\u30AB\u30C8\u30E9\u590F\u6642\u9593", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"\u30b5\u30f3\u30d4\u30a8\u30fc\u30eb\u30fb\u30df\u30af\u30ed\u30f3\u8af8\u5cf6\u6a19\u6e96\u6642", "PMST", + "\u30b5\u30f3\u30d4\u30a8\u30fc\u30eb\u30fb\u30df\u30af\u30ed\u30f3\u8af8\u5cf6\u590f\u6642\u9593", "PMDT"}}, +@@ -426,7 +426,7 @@ + "\u30b9\u30ea\u30ca\u30e0\u590f\u6642\u9593", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "\u30c7\u30a4\u30d3\u30b9\u590f\u6642\u9593", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"\u30c7\u30e5\u30e2\u30f3\u30c7\u30e5\u30eb\u30f4\u30a3\u30eb\u6642\u9593", "DDUT", + "\u30c7\u30e5\u30e2\u30f3\u30c7\u30e5\u30eb\u30f4\u30a3\u30eb\u590f\u6642\u9593", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"\u30DE\u30C3\u30B3\u30FC\u30EA\u30FC\u5CF6\u6642\u9593", "MIST", ++ "\u30DE\u30C3\u30B3\u30FC\u30EA\u30FC\u5CF6\u590F\u6642\u9593", "MIST"}}, + {"Antarctica/Mawson", new String[] {"\u30e2\u30fc\u30bd\u30f3\u6642\u9593", "MAWT", + "\u30e2\u30fc\u30bd\u30f3\u590f\u6642\u9593", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"\u30a2\u30eb\u30de\u30a2\u30bf\u6642\u9593", "ALMT", + "\u30a2\u30eb\u30de\u30a2\u30bf\u590f\u6642\u9593", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"\u30a2\u30ca\u30c9\u30a5\u30a4\u30ea\u6642\u9593", "ANAT", + "\u30a2\u30ca\u30c9\u30a5\u30a4\u30ea\u590f\u6642\u9593", "ANAST"}}, + {"Asia/Aqtau", new String[] {"\u30a2\u30af\u30bf\u30a6\u6642\u9593", "AQTT", +@@ -527,7 +527,7 @@ + "\u30a4\u30eb\u30af\u30fc\u30c4\u30af\u590f\u6642\u9593", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "EIT", ++ {"Asia/Jayapura", new String[] {"\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u6642\u9593", "WIT", + "\u6771\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u590f\u6642\u9593", "EIST" }}, + {"Asia/Kabul", new String[] {"\u30a2\u30d5\u30ac\u30cb\u30b9\u30bf\u30f3\u6642\u9593", "AFT", + "\u30a2\u30d5\u30ac\u30cb\u30b9\u30bf\u30f3\u590f\u6642\u9593", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"\u30CF\u30F3\u30C9\u30A5\u30A4\u30AC\u6642\u9593", "YAKT", ++ "\u30CF\u30F3\u30C9\u30A5\u30A4\u30AC\u590F\u6642\u9593", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"\u30af\u30e9\u30b9\u30ce\u30e4\u30eb\u30b9\u30af\u6642\u9593", "KRAT", + "\u30af\u30e9\u30b9\u30ce\u30e4\u30eb\u30b9\u30af\u590f\u6642\u9593", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"\u30A6\u30B9\u30C1\u30CD\u30E9\u6642\u9593", "VLAT", ++ "\u30A6\u30B9\u30C1\u30CD\u30E9\u590F\u6642\u9593", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6a19\u6e96\u6642 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CWST", +- "\u4e2d\u897f\u90e8\u590f\u6642\u9593 (\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2)", "CWST"}}, ++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6A19\u6E96\u6642(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CWST", ++ "\u4E2D\u897F\u90E8\u590F\u6642\u9593(\u30AA\u30FC\u30B9\u30C8\u30E9\u30EA\u30A2)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"\u4e2d\u90e8\u30e8\u30fc\u30ed\u30c3\u30d1\u6642\u9593", "MET", + "\u4e2d\u90e8\u30e8\u30fc\u30ed\u30c3\u30d1\u590f\u6642\u9593", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_ko.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_ko.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"\uc5d0\uc774\ucee4 \uc2dc\uac04", "ACT", + "\uc5d0\uc774\ucee4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ACST"}; +- String ADELAIDE[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CST", +- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CST"}; ++ String ADELAIDE[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CST", ++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CST"}; + String AGT[] = new String[] {"\uc544\ub974\ud5e8\ud2f0\ub098 \uc2dc\uac04", "ART", + "\uc544\ub974\ud5e8\ud2f0\ub098 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ARST"}; + String AKST[] = new String[] {"\uc54c\ub798\uc2a4\uce74 \ud45c\uc900\uc2dc", "AKST", +@@ -61,10 +61,10 @@ + "\ub300\uc11c\uc591 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ADT"}; + String BDT[] = new String[] {"\ubc29\uae00\ub77c\ub370\uc2dc \uc2dc\uac04", "BDT", + "\ubc29\uae00\ub77c\ub370\uc2dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "BDST"}; +- String BRISBANE[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ud038\uc990\ub79c\ub4dc)", "EST", +- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud038\uc990\ub79c\ub4dc)", "EST"}; +- String BROKEN_HILL[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544/\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "CST", +- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc0ac\uc6b0\uc2a4 \uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544/\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "CST"}; ++ String BRISBANE[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uD038\uC990\uB79C\uB4DC)", "EST", ++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uD038\uC990\uB79C\uB4DC)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544/\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "CST", ++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB0A8\uBD80 \uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544/\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "CST"}; + String BRT[] = new String[] {"\ube0c\ub77c\uc9c8\ub9ac\uc544 \uc2dc\uac04", "BRT", + "\ube0c\ub77c\uc9c8\ub9ac\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "BRST"}; + String BTT[] = new String[] {"\ubd80\ud0c4 \uc2dc\uac04", "BTT", +@@ -77,9 +77,9 @@ + "Chatham \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CHADT"}; + String ChST[] = new String[] {"\ucc28\ubaa8\ub85c \ud45c\uc900\uc2dc", "ChST", + "\ucc28\ubaa8\ub85c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "CIT", ++ String CHUT[] = new String[] {"\uCD94\uD06C \uD45C\uC900\uC2DC", "CHUT", ++ "\uCD94\uD06C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "CHUST"}; ++ String CIT[] = new String[] {"\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WITA", + "\uc911\uc559 \uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CIST"}; + String CLT[] = new String[] {"\uce60\ub808 \uc2dc\uac04", "CLT", + "\uce60\ub808 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CLST"}; +@@ -89,8 +89,8 @@ + "\uc911\uad6d \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CDT"}; + String CUBA[] = new String[] {"\ucfe0\ubc14 \ud45c\uc900\uc2dc", "CST", + "\ucfe0\ubc14 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "CDT"}; +- String DARWIN[] = new String[] {"\uc911\ubd80 \ud45c\uc900\uc2dc(\ub178\ub358 \uc9c0\uc5ed)", "CST", +- "\uc911\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ub178\ub358 \uc9c0\uc5ed)", "CST"}; ++ String DARWIN[] = new String[] {"\uC911\uBD80 \uD45C\uC900\uC2DC(\uBD81\uBD80 \uC9C0\uC5ED)", "CST", ++ "\uC911\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uBD81\uBD80 \uC9C0\uC5ED)", "CST"}; + String DUBLIN[] = new String[] {"\uadf8\ub9ac\ub2c8\uce58 \ud45c\uc900\uc2dc", "GMT", + "\uc544\uc77c\ub79c\ub4dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "IST"}; + String EAT[] = new String[] {"\ub3d9\ubd80 \uc544\ud504\ub9ac\uce74 \uc2dc\uac04", "EAT", +@@ -103,10 +103,10 @@ + "\ub3d9\ubd80 \uadf8\ub9b0\ub79c\ub4dc \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EGST"}; + String EST[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc", "EST", + "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EDT"}; +- String EST_NSW[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "EST", +- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "EST", ++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)", "EST"}; ++ String FET[] = new String[] {"\uADF9\uB3D9 \uC720\uB7FD \uD45C\uC900\uC2DC", "FET", ++ "\uADF9\uB3D9 \uC720\uB7FD \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "FEST"}; + String GHMT[] = new String[] {"\uac00\ub098 \ud45c\uc900\uc2dc", "GMT", + "\uac00\ub098 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "GHST"}; + String GAMBIER[] = new String[] {"\uac10\ube44\uc544 \uc2dc\uac04", "GAMT", +@@ -159,8 +159,8 @@ + "Pitcairn \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PDT"}; + String PKT[] = new String[] {"\ud30c\ud0a4\uc2a4\ud0c4 \uc2dc\uac04", "PKT", + "\ud30c\ud0a4\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"\uD3F0\uD398\uC774 \uD45C\uC900\uC2DC", "PONT", ++ "\uD3F0\uD398\uC774 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "PONST"}; + String PST[] = new String[] {"\ud0dc\ud3c9\uc591 \ud45c\uc900\uc2dc", "PST", + "\ud0dc\ud3c9\uc591 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PDT"}; + String SAMOA[] = new String[] {"\uc0ac\ubaa8\uc544 \ud45c\uc900\uc2dc", "SST", +@@ -173,8 +173,8 @@ + "\uc2f1\uac00\ud3ec\ub974 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SGST"}; + String SLST[] = new String[] {"\uadf8\ub9ac\ub2c8\uce58 \ud45c\uc900\uc2dc", "GMT", + "\uc2dc\uc5d0\ub77c\ub9ac\uc628 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SLST"}; +- String TASMANIA[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ud0dc\uc988\uba54\uc774\ub2c8\uc544)", "EST", +- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud0dc\uc988\uba54\uc774\ub2c8\uc544)", "EST"}; ++ String TASMANIA[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uD0DC\uC988\uBA54\uC774\uB2C8\uC544)", "EST", ++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uD0DC\uC988\uBA54\uC774\uB2C8\uC544)", "EST"}; + String TMT[] = new String[] {"\ud22c\ub974\ud06c\uba54\ub2c8\uc2a4\ud0c4 \uc2dc\uac04", "TMT", + "\ud22c\ub974\ud06c\uba54\ub2c8\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "TMST"}; + String ULAT[]= new String[] {"\uc6b8\ub780\ubc14\ud0c0\ub974 \uc2dc\uac04", "ULAT", +@@ -183,8 +183,8 @@ + "\uc138\uacc4 \ud45c\uc900\uc2dc", "UTC"}; + String UZT[] = new String[] {"\uc6b0\uc988\ubca0\ud0a4\uc2a4\ud0c4 \uc2dc\uac04", "UZT", + "\uc6b0\uc988\ubca0\ud0a4\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "UZST"}; +- String VICTORIA[] = new String[] {"\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ube45\ud1a0\ub9ac\uc544)", "EST", +- "\ub3d9\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ube45\ud1a0\ub9ac\uc544)", "EST"}; ++ String VICTORIA[] = new String[] {"\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uBE45\uD1A0\uB9AC\uC544)", "EST", ++ "\uB3D9\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uBE45\uD1A0\uB9AC\uC544)", "EST"}; + String VLAT[] = new String[] {"\ube14\ub77c\ub514\ubcf4\uc2a4\ud1a1 \uc2dc\uac04", "VLAT", + "\ube14\ub77c\ub514\ubcf4\uc2a4\ud1a1 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "VLAST"}; + String WART[] = new String[] {"\uc11c\ubd80 \uc544\ub974\ud5e8\ud2f0\ub098 \uc2dc\uac04", "WART", +@@ -193,10 +193,10 @@ + "\uc11c\ubd80 \uc544\ud504\ub9ac\uce74 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WAST"}; + String WET[] = new String[] {"\uc11c\uc720\ub7fd \uc2dc\uac04", "WET", + "\uc11c\uc720\ub7fd \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WEST"}; +- String WIT[] = new String[] {"\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIT", ++ String WIT[] = new String[] {"\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIB", + "\uc11c\uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WIST"}; +- String WST_AUS[] = new String[] {"\uc11c\ubd80 \ud45c\uc900\uc2dc(\ud638\uc8fc)", "WST", +- "\uc11c\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\ud638\uc8fc)", "WST"}; ++ String WST_AUS[] = new String[] {"\uC11C\uBD80 \uD45C\uC900\uC2DC(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "WST", ++ "\uC11C\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "WST"}; + String WST_SAMOA[] = new String[] {"\uc11c\uc0ac\ubaa8\uc544 \uc2dc\uac04", "WST", + "\uc11c\uc0ac\ubaa8\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "WSDT"}; + String YAKT[] = new String[] {"\uc57c\uce20\ud06c \uc2dc\uac04", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"\uBA54\uD2B8\uB77C\uCE74\uD2B8\uB77C \uD45C\uC900\uC2DC", "MeST", ++ "\uBA54\uD2B8\uB77C\uCE74\uD2B8\uB77C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"\ud53c\uc5d0\ub974 \ubbf8\ud06c\ub860 \ud45c\uc900\uc2dc", "PMST", + "\ud53c\uc5d0\ub974 \ubbf8\ud06c\ub860 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "PMDT"}}, +@@ -426,7 +426,7 @@ + "\uc218\ub9ac\ub0a8 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Davis \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"\ub4a4\ubabd \ub4a4\ub974\ube4c \uc2dc\uac04", "DDUT", + "\ub4a4\ubabd \ub4a4\ub974\ube4c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"\uB9E4\uCF70\uB9AC \uC12C \uD45C\uC900\uC2DC", "MIST", ++ "\uB9E4\uCF70\uB9AC \uC12C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "MIST"}}, + {"Antarctica/Mawson", new String[] {"\ubaa8\uc2a8 \uc2dc\uac04", "MAWT", + "\ubaa8\uc2a8 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"\uc54c\ub9c8\uc544\ud0c0 \uc2dc\uac04", "ALMT", + "\uc54c\ub9c8\uc544\ud0c0 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"\uc544\ub098\ub514\ub974 \uc2dc\uac04", "ANAT", + "\uc544\ub098\ub514\ub974 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "ANAST"}}, + {"Asia/Aqtau", new String[] {"\uc545\ud0c0\uc6b0 \uc2dc\uac04", "AQTT", +@@ -527,7 +527,7 @@ + "\uc774\ub974\ucfe0\uce20\ud06c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "EIT", ++ {"Asia/Jayapura", new String[] {"\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc2dc\uac04", "WIT", + "\ub3d9\ubd80 \uc778\ub3c4\ub124\uc2dc\uc544 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "EIST"}}, + {"Asia/Kabul", new String[] {"\uc544\ud504\uac00\ub2c8\uc2a4\ud0c4 \uc2dc\uac04", "AFT", + "\uc544\ud504\uac00\ub2c8\uc2a4\ud0c4 \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"\uD55C\uB514\uAC00 \uD45C\uC900\uC2DC", "YAKT", ++ "\uD55C\uB514\uAC00 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"\ud06c\ub77c\uc2a4\ub178\uc57c\ub974\uc2a4\ud06c \uc2dc\uac04", "KRAT", + "\ud06c\ub77c\uc2a4\ub178\uc57c\ub974\uc2a4\ud06c \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"\uC6B0\uC2A4\uD2F0\uB124\uB77C \uD45C\uC900\uC2DC", "VLAT", ++ "\uC6B0\uC2A4\uD2F0\uB124\uB77C \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"\uc911\uc11c\ubd80 \ud45c\uc900\uc2dc(\uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CWST", +- "\uc911\uc11c\ubd80 \uc77c\uad11\uc808\uc57d\uc2dc\uac04(\uc624\uc2a4\ud2b8\ub808\uc77c\ub9ac\uc544)", "CWST"}}, ++ {"Australia/Eucla", new String[] {"\uC911\uC559 \uC11C\uBD80 \uD45C\uC900\uC2DC(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CWST", ++ "\uC911\uC559 \uC11C\uBD80 \uC77C\uAD11 \uC808\uC57D \uC2DC\uAC04(\uC624\uC2A4\uD2B8\uB808\uC77C\uB9AC\uC544)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"\uc911\ubd80 \uc720\ub7fd \uc2dc\uac04", "MET", + "\uc911\ubd80 \uc720\ub7fd \uc77c\uad11\uc808\uc57d\uc2dc\uac04", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Fuso hor\u00e1rio do Acre", "ACT", + "Fuso hor\u00e1rio de ver\u00e3o do Acre", "ACST"}; +- String ADELAIDE[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Austr\u00e1lia do Sul)", "CST", +- "Fuso hor\u00e1rio de ver\u00e3o central (Austr\u00e1lia do Sul)", "CST"}; ++ String ADELAIDE[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Austr\u00E1lia do Sul)", "CST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Austr\u00E1lia do Sul)", "CST"}; + String AGT[] = new String[] {"Fuso hor\u00e1rio da Argentina", "ART", + "Fuso hor\u00e1rio de ver\u00e3o da Argentina", "ARST"}; + String AKST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o do Alaska", "AKST", +@@ -61,10 +61,10 @@ + "Hor\u00e1rio de luz natural do Atl\u00e2ntico", "ADT"}; + String BDT[] = new String[] {"Fuso hor\u00e1rio de Bangladesh", "BDT", + "Fuso hor\u00e1rio de ver\u00e3o de Bangladesh", "BDST"}; +- String BRISBANE[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Queensland)", "EST", +- "Fuso hor\u00e1rio de ver\u00e3o oriental (Queensland)", "EST"}; +- String BROKEN_HILL[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Austr\u00e1lia do Sul/Nova Gales do Sul)", "CST", +- "Fuso hor\u00e1rio de ver\u00e3o central (Austr\u00e1lia do Sul/Nova Gales do Sul)", "CST"}; ++ String BRISBANE[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Queensland)", "EST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Queensland)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Austr\u00E1lia do Sul/Nova Gales do Sul)", "CST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Austr\u00E1lia do Sul/Nova Gales do Sul)", "CST"}; + String BRT[] = new String[] {"Fuso hor\u00e1rio de Bras\u00edlia", "BRT", + "Fuso hor\u00e1rio de ver\u00e3o de Bras\u00edlia", "BRST"}; + String BTT[] = new String[] {"Fuso hor\u00e1rio de But\u00e3o", "BTT", +@@ -77,7 +77,7 @@ + "Hor\u00e1rio de luz natural de Chatham", "CHADT"}; + String ChST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Chamorro", "ChST", + "Hor\u00e1rio de luz natural de Chamorro", "ChDT"}; +- String CIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Central", "CIT", ++ String CIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Central", "WITA", + "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Central", "CIST"}; + String CLT[] = new String[] {"Fuso hor\u00e1rio do Chile", "CLT", + "Fuso hor\u00e1rio de ver\u00e3o do Chile", "CLST"}; +@@ -87,8 +87,8 @@ + "Hor\u00e1rio de luz natural da China", "CDT"}; + String CUBA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Cuba", "CST", + "Hor\u00e1rio de luz natural de Cuba", "CDT"}; +- String DARWIN[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o central (Territ\u00f3rio do Norte)", "CST", +- "Fuso hor\u00e1rio de ver\u00e3o central (Territ\u00f3rio do Norte)", "CST"}; ++ String DARWIN[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Central (Territ\u00F3rio do Norte)", "CST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Central (Territ\u00F3rio do Norte)", "CST"}; + String DUBLIN[] = new String[] {"Fuso hor\u00e1rio do meridiano de Greenwich", "GMT", + "Fuso hor\u00e1rio de ver\u00e3o da Irlanda", "IST"}; + String EAT[] = new String[] {"Fuso hor\u00e1rio da \u00c1frica Oriental", "EAT", +@@ -101,10 +101,10 @@ + "Fuso hor\u00e1rio de ver\u00e3o da Groenl\u00e2ndia Oriental", "EGST"}; + String EST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental", "EST", + "Hor\u00e1rio de luz natural oriental", "EDT"}; +- String EST_NSW[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Nova Gales do Sul)", "EST", +- "Fuso hor\u00e1rio de ver\u00e3o oriental (Nova Gales do Sul)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Oriental (Nova Gales do Sul)", "EST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Nova Gales do Sul)", "EST"}; ++ String FET[] = new String[] {"Hor\u00E1rio do Extremo Leste Europeu (FET)", "FET", ++ "Fuso Hor\u00E1rio de Ver\u00E3o do Extremo Leste Europeu", "FEST"}; + String GHMT[] = new String[] {"Fuso hor\u00e1rio do meridiano de Gana", "GMT", + "Fuso hor\u00e1rio de ver\u00e3o de Gana", "GHST"}; + String GAMBIER[] = new String[] {"Fuso hor\u00e1rio de Gambier", "GAMT", +@@ -157,8 +157,8 @@ + "Hor\u00e1rio de luz natural de Pitcairn", "PDT"}; + String PKT[] = new String[] {"Fuso hor\u00e1rio do Paquist\u00e3o", "PKT", + "Fuso hor\u00e1rio de ver\u00e3o do Paquist\u00e3o", "PKST"}; +- String PONT[] = new String[] {"Fuso hor\u00e1rio de Pohnpei", "PONT", +- "Fuso hor\u00e1rio de ver\u00e3o de Pohnpei", "PONST"}; ++ String PONT[] = new String[] {"Fuso Hor\u00E1rio de Pohnpei", "PONT", ++ "Fuso Hor\u00E1rio de Ver\u00E3o de Pohnpei", "PONST"}; + String PST[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o do Pac\u00edfico", "PST", + "Hor\u00e1rio de luz natural do Pac\u00edfico", "PDT"}; + String SAMOA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o de Samoa", "SST", +@@ -171,20 +171,20 @@ + "Fuso hor\u00e1rio de ver\u00e1 de Cingapura", "SGST"}; + String SLST[] = new String[] {"Fuso hor\u00e1rio do meridiano de Greenwich", "GMT", + "Fuso hor\u00e1rio de ver\u00e3o de Serra Leoa", "SLST"}; +- String TASMANIA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Tasm\u00e2nia)", "EST", +- "Fuso hor\u00e1rio de ver\u00e3o oriental (Tasm\u00e2nia)", "EST"}; ++ String TASMANIA[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Tasm\u00E2nia)", "EST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Tasm\u00E2nia)", "EST"}; + String TMT[] = new String[] {"Fuso hor\u00e1rio do Turcomenist\u00e3o", "TMT", + "Fuso hor\u00e1rio de ver\u00e3o do Turcomenist\u00e3o", "TMST"}; +- String TRUT[] = new String[] {"Fuso hor\u00e1rio de Chuuk", "CHUT", +- "Fuso hor\u00e1rio de ver\u00e3o de Chuuk", "CHUST"}; ++ String TRUT[] = new String[] {"Fuso Hor\u00E1rio de Chuuk", "CHUT", ++ "Fuso Hor\u00E1rio de Ver\u00E3o de Chuuk", "CHUST"}; + String ULAT[]= new String[] {"Fuso hor\u00e1rio de Ulan Bator", "ULAT", + "Fuso hor\u00e1rio de ver\u00e3o de Ulan Bator", "ULAST"}; + String UTC[] = new String[] {"Tempo universal coordenado", "UTC", + "Tempo universal coordenado", "UTC"}; + String UZT[] = new String[] {"Fuso hor\u00e1rio do Uzbequist\u00e3o", "UZT", + "Fuso hor\u00e1rio de ver\u00e3o do Uzbequist\u00e3o", "UZST"}; +- String VICTORIA[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o oriental (Victoria)", "EST", +- "Fuso hor\u00e1rio de ver\u00e3o oriental (Victoria)", "EST"}; ++ String VICTORIA[] = new String[] {"Hor\u00E1rio-Padr\u00E3o do Leste (Victoria)", "EST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Oriental (Victoria)", "EST"}; + String VLAT[] = new String[] {"Fuso hor\u00e1rio de Vladivostok", "VLAT", + "Fuso hor\u00e1rio de ver\u00e3o de Vladivostok", "VLAST"}; + String WART[] = new String[] {"Fuso hor\u00e1rio da Argentina Ocidental", "WART", +@@ -193,10 +193,10 @@ + "Fuso hor\u00e1rio de ver\u00e3o da \u00c1frica Ocidental", "WAST"}; + String WET[] = new String[] {"Fuso hor\u00e1rio da Europa Ocidental", "WET", + "Fuso hor\u00e1rio de ver\u00e3o da Europa Ocidental", "WEST"}; +- String WIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Ocidental", "WIT", ++ String WIT[] = new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Ocidental", "WIB", + "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Ocidental", "WIST"}; +- String WST_AUS[] = new String[] {"Fuso hor\u00e1rio padr\u00e3o ocidental (Austr\u00e1lia)", "WST", +- "Fuso hor\u00e1rio de ver\u00e3o ocidental (Austr\u00e1lia)", "WST"}; ++ String WST_AUS[] = new String[] {"Hor\u00E1rio-Padr\u00E3o Ocidental (Austr\u00E1lia)", "WST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Ocidental (Austr\u00E1lia)", "WST"}; + String WST_SAMOA[] = new String[] {"Fuso hor\u00e1rio de Samoa Ocidental", "WST", + "Fuso hor\u00e1rio de ver\u00e3o de Samoa Ocidental", "WSDT"}; + String YAKT[] = new String[] {"Fuso hor\u00e1rio de Yakutsk", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"Hor\u00E1rio Padr\u00E3o de Metlakatla", "MeST", ++ "Hor\u00E1rio de Luz Natural de Metlakatla", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"Fuso hor\u00e1rio padr\u00e3o de S\u00e3o Pedro e Miquelon", "PMST", + "Hor\u00e1rio de luz natural de S\u00e3o Pedro e Miquelon", "PMDT"}}, +@@ -426,7 +426,7 @@ + "Fuso hor\u00e1rio de ver\u00e3o do Suriname", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Fuso hor\u00e1rio de ver\u00e3o de Davis", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Fuso hor\u00e1rio de Dumont-d'Urville", "DDUT", + "Fuso hor\u00e1rio de ver\u00e3o de Dumont-d'Urville", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"Fuso Hor\u00E1rio da Ilha de Macquarie", "MIST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o da Ilha de Macquarie", "MIST"}}, + {"Antarctica/Mawson", new String[] {"Fuso hor\u00e1rio de Mawson", "MAWT", + "Fuso hor\u00e1rio de ver\u00e3o de Mawson", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Fuso hor\u00e1rio de Alma-Ata", "ALMT", + "Fuso hor\u00e1rio de ver\u00e3o de Alma-Ata", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Fuso hor\u00e1rio de Anadyr", "ANAT", + "Fuso hor\u00e1rio de ver\u00e3o de Anadyr", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Fuso hor\u00e1rio de Aqtau", "AQTT", +@@ -527,7 +527,7 @@ + "Fuso hor\u00e1rio de ver\u00e3o de Irkutsk", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Oriental", "EIT", ++ {"Asia/Jayapura", new String[] {"Fuso hor\u00e1rio da Indon\u00e9sia Oriental", "WIT", + "Fuso hor\u00e1rio de ver\u00e3o da Indon\u00e9sia Oriental", "EIST"}}, + {"Asia/Kabul", new String[] {"Fuso hor\u00e1rio do Afeganist\u00e3o", "AFT", + "Fuso hor\u00e1rio de ver\u00e3o do Afeganist\u00e3o", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Hor\u00E1rio de Khandyga", "YAKT", ++ "Hor\u00E1rio de Ver\u00E3o de Khandyga", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Fuso hor\u00e1rio de Krasnoyarsk", "KRAT", + "Fuso hor\u00e1rio de ver\u00e3o de Krasnoyarsk", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Hor\u00E1rio de Ust-Nera", "VLAT", ++ "Hor\u00E1rio de Ver\u00E3o de Ust-Nera", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"Fuso hor\u00e1rio ocidental central (Austr\u00e1lia)", "CWST", +- "Fuso hor\u00e1rio de ver\u00e3o ocidental central (Austr\u00e1lia)", "CWST"}}, ++ {"Australia/Eucla", new String[] {"Fuso Hor\u00E1rio Ocidental Central (Austr\u00E1lia)", "CWST", ++ "Fuso Hor\u00E1rio de Ver\u00E3o Ocidental Central (Austr\u00E1lia)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Fuso hor\u00e1rio da Europa M\u00e9dia", "MET", + "Fuso hor\u00e1rio de ver\u00e3o da Europa M\u00e9dia", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_sv.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_sv.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Acre, normaltid", "ACT", + "Acre, sommartid", "ACST"}; +- String ADELAIDE[] = new String[] {"Central normaltid (S\u00f6dra Australien)", "CST", +- "Central sommartid (S\u00f6dra Australien)", "CST"}; ++ String ADELAIDE[] = new String[] {"Central standardtid (Sydaustralien)", "CST", ++ "Central sommartid (South Australia)", "CST"}; + String AGT[] = new String[] {"Argentina, normaltid", "ART", + "Argentina, sommartid", "ARST"}; + String AKST[] = new String[] {"Alaska, normaltid", "AKST", +@@ -61,10 +61,10 @@ + "Atlantisk sommartid", "ADT"}; + String BDT[] = new String[] {"Bangladesh, normaltid", "BDT", + "Bangladesh, sommartid", "BDST"}; +- String BRISBANE[] = new String[] {"\u00d6stlig normaltid (Queensland)", "EST", +- "\u00d6stlig sommartid (Queensland)", "EST"}; +- String BROKEN_HILL[] = new String[] {"Central normaltid (S\u00f6dra Australien/Nya Sydwales)", "CST", +- "Central sommartid (S\u00f6dra Australien/Nya Sydwales)", "CST"}; ++ String BRISBANE[] = new String[] {"\u00D6stlig standardtid (Queensland)", "EST", ++ "\u00D6stlig sommartid (Queensland)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"Central standardtid (Sydaustralien)/New South Wales)", "CST", ++ "Central sommartid (South Australia/New South Wales)", "CST"}; + String BRT[] = new String[] {"Brasilien, normaltid", "BRT", + "Brasilien, sommartid", "BRST"}; + String BTT[] = new String[] {"Bhutan, normaltid", "BTT", +@@ -77,9 +77,9 @@ + "Chatham, sommartid", "CHADT"}; + String ChST[] = new String[] {"Chamorro, normaltid", "ChST", + "Chamorro, sommartid", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"Centralindonesisk tid", "CIT", ++ String CHUT[] = new String[] {"Chuuk, normaltid", "CHUT", ++ "Chuuk, sommartid", "CHUST"}; ++ String CIT[] = new String[] {"Centralindonesisk tid", "WITA", + "Centralindonesisk sommartid", "CIST"}; + String CLT[] = new String[] {"Chile, normaltid", "CLT", + "Chile, sommartid", "CLST"}; +@@ -89,7 +89,7 @@ + "Kina, sommartid", "CDT"}; + String CUBA[] = new String[] {"Kuba, normaltid", "CST", + "Kuba, sommartid", "CDT"}; +- String DARWIN[] = new String[] {"Central normaltid (Nordterritoriet)", "CST", ++ String DARWIN[] = new String[] {"Central standardtid (Nordterritoriet)", "CST", + "Central sommartid (Nordterritoriet)", "CST"}; + String DUBLIN[] = new String[] {"Greenwichtid", "GMT", + "Irland, sommartid", "IST"}; +@@ -103,10 +103,10 @@ + "\u00d6stgr\u00f6nl\u00e4ndsk sommartid", "EGST"}; + String EST[] = new String[] {"Eastern, normaltid", "EST", + "Eastern, sommartid", "EDT"}; +- String EST_NSW[] = new String[] {"Eastern, normaltid (Nya Sydwales)", "EST", +- "Eastern, sommartid (Nya Sydwales)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"\u00D6stlig standardtid (New South Wales)", "EST", ++ "\u00D6stlig sommartid (New South Wales)", "EST"}; ++ String FET[] = new String[] {"Kaliningradtid", "FET", ++ "\u00D6steuropeisk sommartid", "FEST"}; + String GHMT[] = new String[] {"Ghana, normaltid", "GMT", + "Ghana, sommartid", "GHST"}; + String GAMBIER[] = new String[] {"Gambier, normaltid", "GAMT", +@@ -159,8 +159,8 @@ + "Pitcairn, sommartid", "PDT"}; + String PKT[] = new String[] {"Pakistan, normaltid", "PKT", + "Pakistan, sommartid", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"Pohnpei, normaltid", "PONT", ++ "Pohnpei, sommartid", "PONST"}; + String PST[] = new String[] {"Stilla havet, normaltid", "PST", + "Stilla havet, sommartid", "PDT"}; + String SAMOA[] = new String[] {"Samoa, normaltid", "SST", +@@ -173,8 +173,8 @@ + "Singapore, sommartid", "SGST"}; + String SLST[] = new String[] {"Greenwichtid", "GMT", + "Sierra Leone, sommartid", "SLST"}; +- String TASMANIA[] = new String[] {"Eastern, normaltid (Tasmanien)", "EST", +- "Eastern, sommartid (Tasmanien)", "EST"}; ++ String TASMANIA[] = new String[] {"\u00D6stlig standardtid (Tasmania)", "EST", ++ "\u00D6stlig sommartid (Tasmanien)", "EST"}; + String TMT[] = new String[] {"Turkmenistan, normaltid", "TMT", + "Turkmenistan, sommartid", "TMST"}; + String ULAT[]= new String[] {"Ulaanbaatar, normaltid", "ULAT", +@@ -183,8 +183,8 @@ + "Koordinerad universell tid", "UTC"}; + String UZT[] = new String[] {"Uzbekistan, normaltid", "UZT", + "Uzbekistan, sommartid", "UZST"}; +- String VICTORIA[] = new String[] {"\u00d6stlig normaltid (Victoria)", "EST", +- "\u00d6stlig sommartid (Victoria)", "EST"}; ++ String VICTORIA[] = new String[] {"\u00D6stlig standardtid (Victoria)", "EST", ++ "\u00D6stlig sommartid (Victoria)", "EST"}; + String VLAT[] = new String[] {"Vladivostok, normaltid", "VLAT", + "Vladivostok, sommartid", "VLAST"}; + String WART[] = new String[] {"V\u00e4stargentina, normaltid", "WART", +@@ -193,10 +193,10 @@ + "V\u00e4stafrikansk sommartid", "WAST"}; + String WET[] = new String[] {"V\u00e4steuropeisk tid", "WET", + "V\u00e4steuropeisk sommartid", "WEST"}; +- String WIT[] = new String[] {"V\u00e4stindonesisk tid", "WIT", ++ String WIT[] = new String[] {"V\u00e4stindonesisk tid", "WIB", + "V\u00e4stindonesisk sommartid", "WIST"}; +- String WST_AUS[] = new String[] {"V\u00e4stlig normaltid (Australien)", "WST", +- "V\u00e4stlig sommartid (Australien)", "WST"}; ++ String WST_AUS[] = new String[] {"Western Standard Time (Australien)", "WST", ++ "V\u00E4stlig sommartid (Australien)", "WST"}; + String WST_SAMOA[] = new String[] {"V\u00e4stsamoansk tid", "WST", + "V\u00e4stsamoansk sommartid", "WSDT"}; + String YAKT[] = new String[] {"Jakutsk, normaltid", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"Metlakatla, normaltid", "MeST", ++ "Metlakatla, sommartid", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"Saint-Pierre-et-Miquelon, normaltid", "PMST", + "Saint-Pierre-et-Miquelon, sommartid", "PMDT"}}, +@@ -426,7 +426,7 @@ + "Surinam, sommartid", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "Davis, sommartid", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville, normaltid", "DDUT", + "Dumont-d'Urville, sommartid", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"Macquarie\u00F6n, normaltid", "MIST", ++ "Macquarie\u00F6n, sommartid", "MIST"}}, + {"Antarctica/Mawson", new String[] {"Mawson, normaltid", "MAWT", + "Mawson, sommartid", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Alma-Ata, normaltid", "ALMT", + "Alma-Ata, sommartid", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"Anadyr, normaltid", "ANAT", + "Anadyr, sommartid", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Aqtau, normaltid", "AQTT", +@@ -527,7 +527,7 @@ + "Irkutsk, sommartid", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"\u00d6stindonesisk tid", "EIT", ++ {"Asia/Jayapura", new String[] {"\u00d6stindonesisk tid", "WIT", + "\u00d6stindonesisk sommartid", "EIST"}}, + {"Asia/Kabul", new String[] {"Afghanistan, normaltid", "AFT", + "Afghanistan, sommartid", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"Khandyga, normaltid", "YAKT", ++ "Khandyga, sommartid", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"Krasnojarsk, normaltid", "KRAT", + "Krasnojarsk, sommartid", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"Ust-Nera, normaltid", "VLAT", ++ "Ust-Nera, sommartid", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"Central v\u00e4stlig normaltid (Australien)", "CWST", +- "Central v\u00e4stlig sommartid (Australien)", "CWST"}}, ++ {"Australia/Eucla", new String[] {"Central v\u00E4stlig normaltid (Australien)", "CWST", ++ "Central v\u00E4stlig sommartid (Australien)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"Mellaneuropeisk tid", "MET", + "Mellaneuropeisk sommartid", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Acre \u65f6\u95f4", "ACT", + "Acre \u590f\u4ee4\u65f6", "ACST"}; +- String ADELAIDE[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5357\u6fb3\u5927\u5229\u4e9a\uff09", "CST", +- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5357\u6fb3\u5927\u5229\u4e9a\uff09", "CST"}; ++ String ADELAIDE[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5357\u6FB3\u5927\u5229\u4E9A)", "CST", ++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5357\u6FB3\u5927\u5229\u4E9A)", "CST"}; + String AGT[] = new String[] {"\u963f\u6839\u5ef7\u65f6\u95f4", "ART", + "\u963f\u6839\u5ef7\u590f\u4ee4\u65f6", "ARST"}; + String AKST[] = new String[] {"\u963f\u62c9\u65af\u52a0\u6807\u51c6\u65f6\u95f4", "AKST", +@@ -61,10 +61,10 @@ + "\u5927\u897f\u6d0b\u590f\u4ee4\u65f6", "ADT"}; + String BDT[] = new String[] {"\u5b5f\u52a0\u62c9\u65f6\u95f4", "BDT", + "\u5b5f\u52a0\u62c9\u590f\u4ee4\u65f6", "BDST"}; +- String BRISBANE[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6606\u58eb\u5170\uff09", "EST", +- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u6606\u58eb\u5170\uff09", "EST"}; +- String BROKEN_HILL[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5357\u6fb3\u5927\u5229\u4e9a/\u65b0\u5357\u5a01\u5c14\u65af\uff09", "CST", +- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5357\u6fb3\u5927\u5229\u4e9a/\u65b0\u5357\u5a01\u5c14\u65af\uff09", "CST"}; ++ String BRISBANE[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u6606\u58EB\u5170)", "EST", ++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u6606\u58EB\u5170)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5357\u6FB3\u5927\u5229\u4E9A/\u65B0\u5357\u5A01\u5C14\u65AF)", "CST", ++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5357\u6FB3\u5927\u5229\u4E9A/\u65B0\u5357\u5A01\u5C14\u65AF)", "CST"}; + String BRT[] = new String[] {"\u5df4\u897f\u5229\u4e9a\u65f6\u95f4", "BRT", + "\u5df4\u897f\u5229\u4e9a\u590f\u4ee4\u65f6", "BRST"}; + String BTT[] = new String[] {"\u4e0d\u4e39\u65f6\u95f4", "BTT", +@@ -77,9 +77,9 @@ + "\u67e5\u8428\u59c6\u590f\u4ee4\u65f6", "CHADT"}; + String ChST[] = new String[] {"Chamorro \u6807\u51c6\u65f6\u95f4", "ChST", + "Chamorro \u590f\u4ee4\u65f6", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "CIT", ++ String CHUT[] = new String[] {"\u4E18\u514B\u65F6\u95F4", "CHUT", ++ "\u4E18\u514B\u590F\u4EE4\u65F6", "CHUST"}; ++ String CIT[] = new String[] {"\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WITA", + "\u4e2d\u90e8\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "CIST"}; + String CLT[] = new String[] {"\u667a\u5229\u65f6\u95f4", "CLT", + "\u667a\u5229\u590f\u4ee4\u65f6", "CLST"}; +@@ -89,8 +89,8 @@ + "\u4e2d\u56fd\u590f\u4ee4\u65f6", "CDT"}; + String CUBA[] = new String[] {"\u53e4\u5df4\u6807\u51c6\u65f6\u95f4", "CST", + "\u53e4\u5df4\u590f\u4ee4\u65f6", "CDT"}; +- String DARWIN[] = new String[] {"\u4e2d\u592e\u6807\u51c6\u65f6\u95f4\uff08\u5317\u9886\u5730\uff09", "CST", +- "\u4e2d\u592e\u590f\u4ee4\u65f6\uff08\u5317\u9886\u5730\uff09", "CST"}; ++ String DARWIN[] = new String[] {"\u4E2D\u592E\u6807\u51C6\u65F6\u95F4 (\u5317\u9886\u5730)", "CST", ++ "\u4E2D\u592E\u590F\u4EE4\u65F6 (\u5317\u9886\u5730)", "CST"}; + String DUBLIN[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u65f6\u95f4", "GMT", + "\u7231\u5c14\u5170\u590f\u4ee4\u65f6", "IST"}; + String EAT[] = new String[] {"\u4e1c\u975e\u65f6\u95f4", "EAT", +@@ -103,10 +103,10 @@ + "\u4e1c\u683c\u6797\u5c9b\u590f\u4ee4\u65f6", "EGST"}; + String EST[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4", "EST", + "\u4e1c\u90e8\u590f\u4ee4\u65f6", "EDT"}; +- String EST_NSW[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09", "EST", +- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u65B0\u5357\u5A01\u5C14\u65AF)", "EST", ++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u65B0\u5357\u5A01\u5C14\u65AF)", "EST"}; ++ String FET[] = new String[] {"\u8FDC\u4E1C\u6B27\u65F6\u95F4", "FET", ++ "\u8FDC\u4E1C\u6B27\u590F\u4EE4\u65F6", "FEST"}; + String GHMT[] = new String[] {"\u52a0\u7eb3\u65f6\u95f4", "GMT", + "\u52a0\u7eb3\u590f\u4ee4\u65f6", "GHST"}; + String GAMBIER[] = new String[] {"\u5188\u6bd4\u4e9a\u65f6\u95f4", "GAMT", +@@ -159,8 +159,8 @@ + "\u76ae\u7279\u5eb7\u5c9b\u590f\u4ee4\u65f6", "PDT"}; + String PKT[] = new String[] {"\u5df4\u57fa\u65af\u5766\u65f6\u95f4", "PKT", + "\u5df4\u57fa\u65af\u5766\u590f\u4ee4\u65f6", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"\u6CE2\u7EB3\u4F69\u65F6\u95F4", "PONT", ++ "\u6CE2\u7EB3\u4F69\u590F\u4EE4\u65F6", "PONST"}; + String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6807\u51c6\u65f6\u95f4", "PST", + "\u592a\u5e73\u6d0b\u590f\u4ee4\u65f6", "PDT"}; + String SAMOA[] = new String[] {"\u8428\u6469\u4e9a\u7fa4\u5c9b\u6807\u51c6\u65f6\u95f4", "SST", +@@ -173,8 +173,8 @@ + "\u65b0\u52a0\u5761\u590f\u4ee4\u65f6", "SGST"}; + String SLST[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u65f6\u95f4", "GMT", + "\u585e\u62c9\u5229\u6602\u590f\u4ee4\u65f6", "SLST"}; +- String TASMANIA[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u5854\u65af\u9a6c\u5c3c\u4e9a\uff09", "EST", +- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u5854\u65af\u9a6c\u5c3c\u4e9a\uff09", "EST"}; ++ String TASMANIA[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u5854\u65AF\u9A6C\u5C3C\u4E9A)", "EST", ++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u5854\u65AF\u9A6C\u5C3C\u4E9A)", "EST"}; + String TMT[] = new String[] {"\u571f\u5e93\u66fc\u65f6\u95f4", "TMT", + "\u571f\u5e93\u66fc\u590f\u4ee4\u65f6", "TMST"}; + String ULAT[]= new String[] {"\u5e93\u4f26\u65f6\u95f4", "ULAT", +@@ -183,8 +183,8 @@ + "\u534f\u8c03\u4e16\u754c\u65f6\u95f4", "UTC"}; + String UZT[] = new String[] {"\u4e4c\u5179\u522b\u514b\u65af\u5766\u65f6\u95f4", "UZT", + "\u4e4c\u5179\u522b\u514b\u65af\u5766\u590f\u4ee4\u65f6", "UZST"}; +- String VICTORIA[] = new String[] {"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u7ef4\u591a\u5229\u4e9a\uff09", "EST", +- "\u4e1c\u90e8\u590f\u4ee4\u65f6\uff08\u7ef4\u591a\u5229\u4e9a\uff09", "EST"}; ++ String VICTORIA[] = new String[] {"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u7EF4\u591A\u5229\u4E9A)", "EST", ++ "\u4E1C\u90E8\u590F\u4EE4\u65F6 (\u7EF4\u591A\u5229\u4E9A)", "EST"}; + String VLAT[] = new String[] {"\u6d77\u53c2\u5d34\u65f6\u95f4", "VLAT", + "\u6d77\u53c2\u5d34\u590f\u4ee4\u65f6", "VLAST"}; + String WART[] = new String[] {"\u897f\u963f\u6839\u5ef7\u65f6\u95f4", "WART", +@@ -193,10 +193,10 @@ + "\u897f\u975e\u590f\u4ee4\u65f6", "WAST"}; + String WET[] = new String[] {"\u897f\u6b27\u65f6\u95f4", "WET", + "\u897f\u6b27\u590f\u4ee4\u65f6", "WEST"}; +- String WIT[] = new String[] {"\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIT", ++ String WIT[] = new String[] {"\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIB", + "\u897f\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "WIST"}; +- String WST_AUS[] = new String[] {"\u897f\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "WST", +- "\u897f\u90e8\u590f\u4ee4\u65f6\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "WST"}; ++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6807\u51C6\u65F6\u95F4 (\u6FB3\u5927\u5229\u4E9A)", "WST", ++ "\u897F\u90E8\u590F\u4EE4\u65F6 (\u6FB3\u5927\u5229\u4E9A)", "WST"}; + String WST_SAMOA[] = new String[] {"\u897f\u8428\u6469\u4e9a\u65f6\u95f4", "WST", + "\u897f\u8428\u6469\u4e9a\u590f\u4ee4\u65f6", "WSDT"}; + String YAKT[] = new String[] {"\u4e9a\u5e93\u6b21\u514b\u65f6\u95f4", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"\u6885\u7279\u62C9\u5361\u7279\u62C9\u6807\u51C6\u65F6\u95F4", "MeST", ++ "\u6885\u7279\u62C9\u5361\u7279\u62C9\u590F\u4EE4\u65F6", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"\u76ae\u57c3\u5c14\u5c9b\u53ca\u5bc6\u514b\u9686\u5c9b\u6807\u51c6\u65f6\u95f4", "PMST", + "\u76ae\u57c3\u5c14\u5c9b\u53ca\u5bc6\u514b\u9686\u5c9b\u590f\u4ee4\u65f6", "PMDT"}}, +@@ -426,7 +426,7 @@ + "\u82cf\u5229\u5357\u590f\u4ee4\u65f6", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "\u6234\u7ef4\u65af\u590f\u4ee4\u65f6", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville \u65f6\u95f4", "DDUT", + "Dumont-d'Urville \u590f\u4ee4\u65f6", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"\u9EA6\u5938\u91CC\u5C9B\u65F6\u95F4", "MIST", ++ "\u9EA6\u5938\u91CC\u5C9B\u590F\u4EE4\u65F6", "MIST"}}, + {"Antarctica/Mawson", new String[] {"\u83ab\u68ee\u65f6\u95f4", "MAWT", + "\u83ab\u68ee\u590f\u4ee4\u65f6", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Alma-Ata \u65f6\u95f4", "ALMT", + "Alma-Ata \u590f\u4ee4\u65f6", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"\u963f\u90a3\u5e95\u6cb3\u65f6\u95f4", "ANAT", + "\u963f\u90a3\u5e95\u6cb3\u590f\u4ee4\u65f6", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Aqtau \u65f6\u95f4", "AQTT", +@@ -527,7 +527,7 @@ + "\u4f0a\u5c14\u5e93\u6b21\u514b\u590f\u4ee4\u65f6", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "EIT", ++ {"Asia/Jayapura", new String[] {"\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u65f6\u95f4", "WIT", + "\u4e1c\u5370\u5ea6\u5c3c\u897f\u4e9a\u590f\u4ee4\u65f6", "EIST"}}, + {"Asia/Kabul", new String[] {"\u963f\u5bcc\u6c57\u65f6\u95f4", "AFT", + "\u963f\u5bcc\u6c57\u590f\u4ee4\u65f6", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"\u6C49\u5FB7\u52A0\u65F6\u95F4", "YAKT", ++ "\u6C49\u5FB7\u52A0\u590F\u4EE4\u65F6", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"\u514b\u62c9\u65af\u8bfa\u4e9a\u5c14\u65af\u514b\u65f6\u95f4", "KRAT", + "\u514b\u62c9\u65af\u8bfa\u4e9a\u5c14\u65af\u514b\u590f\u4ee4\u65f6", "KRAST"}}, +@@ -586,7 +587,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"\u4E4C\u65AF\u5B63\u6D85\u62C9\u65F6\u95F4", "VLAT", ++ "\u4E4C\u65AF\u5B63\u6D85\u62C9\u590F\u4EE4\u65F6", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -616,8 +618,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "CWST", +- "\u4e2d\u897f\u90e8\u590f\u4ee4\u65f6\uff08\u6fb3\u5927\u5229\u4e9a\uff09", "CWST"}}, ++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6807\u51C6\u65F6\u95F4 (\u6FB3\u5927\u5229\u4E9A)", "CWST", ++ "\u4E2D\u897F\u90E8\u590F\u4EE4\u65F6 (\u6FB3\u5927\u5229\u4E9A)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -635,7 +637,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -753,7 +755,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"\u4e2d\u6b27\u65f6\u95f4", "MET", + "\u4e2d\u6b27\u590f\u4ee4\u65f6", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java 2013-09-06 11:28:53.000000000 -0700 ++++ jdk/src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java 2014-01-18 12:16:29.000000000 -0800 +@@ -45,8 +45,8 @@ + protected final Object[][] getContents() { + String ACT[] = new String[] {"Acre \u6642\u9593", "ACT", + "Acre \u590f\u4ee4\u6642\u9593", "ACST"}; +- String ADELAIDE[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340)", "CST", +- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340)", "CST"}; ++ String ADELAIDE[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u90E8)", "CST", ++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340)", "CST"}; + String AGT[] = new String[] {"\u963f\u6839\u5ef7\u6642\u9593", "ART", + "\u963f\u6839\u5ef7\u590f\u4ee4\u6642\u9593", "ARST"}; + String AKST[] = new String[] {"\u963f\u62c9\u65af\u52a0\u6a19\u6e96\u6642\u9593", "AKST", +@@ -61,10 +61,10 @@ + "\u5927\u897f\u6d0b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "ADT"}; + String BDT[] = new String[] {"\u5b5f\u52a0\u62c9\u6642\u9593", "BDT", + "\u5b5f\u52a0\u62c9\u590f\u4ee4\u6642\u9593", "BDST"}; +- String BRISBANE[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u6606\u58eb\u862d)", "EST", +- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u6606\u58eb\u862d)", "EST"}; +- String BROKEN_HILL[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340/\u65b0\u5357\u5a01\u723e\u65af)", "CST", +- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e\u5357\u5340/\u65b0\u5357\u5a01\u723e\u65af)", "CST"}; ++ String BRISBANE[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u6606\u58EB\u862D)", "EST", ++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u6606\u58EB\u862D)", "EST"}; ++ String BROKEN_HILL[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340/\u65B0\u5357\u5A01\u723E\u65AF)", "CST", ++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E\u5357\u5340/\u65B0\u5357\u5A01\u723E\u65AF)", "CST"}; + String BRT[] = new String[] {"\u5df4\u897f\u5229\u4e9e\u6642\u9593", "BRT", + "\u5df4\u897f\u5229\u4e9e\u590f\u4ee4\u6642\u9593", "BRST"}; + String BTT[] = new String[] {"\u4e0d\u4e39\u6642\u9593", "BTT", +@@ -77,9 +77,9 @@ + "\u67e5\u5766\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CHADT"}; + String ChST[] = new String[] {"\u67e5\u83ab\u6d1b\u6a19\u6e96\u6642\u9593", "ChST", + "\u67e5\u83ab\u6d1b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "ChDT"}; +- String CHUT[] = new String[] {"Chuuk Time", "CHUT", +- "Chuuk Summer Time", "CHUST"}; +- String CIT[] = new String[] {"\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "CIT", ++ String CHUT[] = new String[] {"\u695A\u514B\u6642\u9593", "CHUT", ++ "\u695A\u514B\u590F\u4EE4\u6642\u9593", "CHUST"}; ++ String CIT[] = new String[] {"\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "WITA", + "\u4e2d\u5370\u5ea6\u5c3c\u897f\u4e9e\u590f\u4ee4\u6642\u9593", "CIST"}; + String CLT[] = new String[] {"\u667a\u5229\u6642\u9593", "CLT", + "\u667a\u5229\u590f\u4ee4\u6642\u9593", "CLST"}; +@@ -89,8 +89,8 @@ + "\u4e2d\u570b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CDT"}; + String CUBA[] = new String[] {"\u53e4\u5df4\u6a19\u6e96\u6642\u9593", "CST", + "\u53e4\u5df4\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "CDT"}; +- String DARWIN[] = new String[] {"\u4e2d\u90e8\u6a19\u6e96\u6642\u9593 (\u5317\u90e8\u5404\u5730\u5340)", "CST", +- "\u4e2d\u90e8\u590f\u4ee4\u6642\u9593 (\u5317\u90e8\u5404\u5730\u5340)", "CST"}; ++ String DARWIN[] = new String[] {"\u4E2D\u90E8\u6A19\u6E96\u6642\u9593 (\u5317\u90E8\u5404\u5730\u5340)", "CST", ++ "\u4E2D\u90E8\u590F\u4EE4\u6642\u9593 (\u5317\u90E8\u5404\u5730\u5340)", "CST"}; + String DUBLIN[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u5e73\u5747\u6642\u9593", "GMT", + "\u611b\u723e\u862d\u590f\u4ee4\u6642\u9593", "IST"}; + String EAT[] = new String[] {"\u6771\u975e\u6642\u9593", "EAT", +@@ -103,10 +103,10 @@ + "\u6771\u683c\u6797\u5cf6\u590f\u4ee4\u6642\u9593", "EGST"}; + String EST[] = new String[] {"\u6771\u65b9\u6a19\u6e96\u6642\u9593", "EST", + "\u6771\u65b9\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "EDT"}; +- String EST_NSW[] = new String[] {"\u6771\u65b9\u6a19\u6e96\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)", "EST", +- "\u6771\u65b9\u590f\u4ee4\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)", "EST"}; +- String FET[] = new String[] {"Further-eastern European Time", "FET", +- "Further-eastern European Summer Time", "FEST"}; ++ String EST_NSW[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)", "EST", ++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)", "EST"}; ++ String FET[] = new String[] {"\u6771\u6B50\u5167\u9678\u6642\u9593", "FET", ++ "\u6771\u6B50\u5167\u9678\u590F\u4EE4\u6642\u9593", "FEST"}; + String GHMT[] = new String[] {"\u8fe6\u7d0d\u5e73\u5747\u6642\u9593", "GMT", + "\u8fe6\u7d0d\u590f\u4ee4\u6642\u9593", "GHST"}; + String GAMBIER[] = new String[] {"\u7518\u6bd4\u723e\u6642\u9593", "GAMT", +@@ -159,8 +159,8 @@ + "\u76ae\u7279\u5eb7\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PDT"}; + String PKT[] = new String[] {"\u5df4\u57fa\u65af\u5766\u6642\u9593", "PKT", + "\u5df4\u57fa\u65af\u5766\u590f\u4ee4\u6642\u9593", "PKST"}; +- String PONT[] = new String[] {"Pohnpei Time", "PONT", +- "Pohnpei Summer Time", "PONST"}; ++ String PONT[] = new String[] {"\u6CE2\u7D0D\u4F69\u6642\u9593", "PONT", ++ "\u6CE2\u7D0D\u4F69\u590F\u4EE4\u6642\u9593", "PONST"}; + String PST[] = new String[] {"\u592a\u5e73\u6d0b\u6a19\u6e96\u6642\u9593", "PST", + "\u592a\u5e73\u6d0b\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PDT"}; + String SAMOA[] = new String[] {"\u85a9\u6469\u4e9e\u6a19\u6e96\u6642\u9593", "SST", +@@ -173,8 +173,8 @@ + "\u65b0\u52a0\u5761\u590f\u4ee4\u6642\u9593", "SGST"}; + String SLST[] = new String[] {"\u683c\u6797\u5a01\u6cbb\u5e73\u5747\u6642\u9593", "GMT", + "\u7345\u5b50\u5c71\u590f\u4ee4\u6642\u9593", "SLST"}; +- String TASMANIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u5854\u65af\u6885\u5c3c\u4e9e\u5cf6)", "EST", +- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u5854\u65af\u6885\u5c3c\u4e9e\u5cf6)", "EST"}; ++ String TASMANIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u5854\u65AF\u6885\u5C3C\u4E9E\u5CF6)", "EST", ++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u5854\u65AF\u6885\u5C3C\u4E9E\u5CF6)", "EST"}; + String TMT[] = new String[] {"\u571f\u5eab\u66fc\u6642\u9593", "TMT", + "\u571f\u5eab\u66fc\u590f\u4ee4\u6642\u9593", "TMST"}; + String ULAT[]= new String[] {"\u5eab\u502b\u6642\u9593", "ULAT", +@@ -183,8 +183,8 @@ + "\u5354\u8abf\u4e16\u754c\u6642\u9593", "UTC"}; + String UZT[] = new String[] {"\u70cf\u8332\u5225\u514b\u65af\u5766\u6642\u9593", "UZT", + "\u70cf\u8332\u5225\u514b\u65af\u5766\u590f\u4ee4\u6642\u9593", "UZST"}; +- String VICTORIA[] = new String[] {"\u6771\u90e8\u6a19\u6e96\u6642\u9593 (\u7dad\u591a\u5229\u4e9e\u90a6)", "EST", +- "\u6771\u90e8\u590f\u4ee4\u6642\u9593 (\u7dad\u591a\u5229\u4e9e\u90a6)", "EST"}; ++ String VICTORIA[] = new String[] {"\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u7DAD\u591A\u5229\u4E9E\u90A6)", "EST", ++ "\u6771\u90E8\u590F\u4EE4\u6642\u9593 (\u7DAD\u591A\u5229\u4E9E\u90A6)", "EST"}; + String VLAT[] = new String[] {"\u6d77\u53c3\u5d34\u6642\u9593", "VLAT", + "\u6d77\u53c3\u5d34\u590f\u4ee4\u6642\u9593", "VLAST"}; + String WART[] = new String[] {"\u897f\u963f\u6839\u5ef7\u6642\u9593", "WART", +@@ -193,10 +193,10 @@ + "\u897f\u975e\u590f\u4ee4\u6642\u9593", "WAST"}; + String WET[] = new String[] {"\u897f\u6b50\u6642\u9593", "WET", + "\u897f\u6b50\u590f\u4ee4\u6642\u9593", "WEST"}; +- String WIT[] = new String[] {"\u897f\u5370\u5c3c\u6642\u9593", "WIT", ++ String WIT[] = new String[] {"\u897f\u5370\u5c3c\u6642\u9593", "WIB", + "\u897f\u5370\u5c3c\u590f\u4ee4\u6642\u9593", "WIST"}; +- String WST_AUS[] = new String[] {"\u897f\u65b9\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "WST", +- "\u897f\u65b9\u590f\u4ee4\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "WST"}; ++ String WST_AUS[] = new String[] {"\u897F\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "WST", ++ "\u897F\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "WST"}; + String WST_SAMOA[] = new String[] {"\u897f\u85a9\u6469\u4e9e\u6642\u9593", "WST", + "\u897f\u85a9\u6469\u4e9e\u590f\u4ee4\u6642\u9593", "WSDT"}; + String YAKT[] = new String[] {"\u4e9e\u5eab\u6b21\u514b\u6642\u9593", "YAKT", +@@ -291,7 +291,7 @@ + {"Africa/Porto-Novo", WAT}, + {"Africa/Sao_Tome", GMT}, + {"Africa/Timbuktu", GMT}, +- {"Africa/Tripoli", CET}, ++ {"Africa/Tripoli", EET}, + {"Africa/Tunis", CET}, + {"Africa/Windhoek", WAT}, + {"America/Adak", HAST}, +@@ -308,7 +308,7 @@ + {"America/Argentina/Rio_Gallegos", AGT}, + {"America/Argentina/Salta", AGT}, + {"America/Argentina/San_Juan", AGT}, +- {"America/Argentina/San_Luis", WART}, ++ {"America/Argentina/San_Luis", AGT}, + {"America/Argentina/Tucuman", AGT}, + {"America/Argentina/Ushuaia", AGT}, + {"America/Aruba", AST}, +@@ -349,7 +349,7 @@ + {"America/Detroit", EST}, + {"America/Dominica", AST}, + {"America/Edmonton", MST}, +- {"America/Eirunepe", AMT}, ++ {"America/Eirunepe", ACT}, + {"America/El_Salvador", CST}, + {"America/Ensenada", PST}, + {"America/Fort_Wayne", EST}, +@@ -401,8 +401,8 @@ + {"America/Mendoza", AGT}, + {"America/Menominee", CST}, + {"America/Merida", CST}, +- {"America/Metlakatla", new String[] {"Metlakatla Standard Time", "MeST", +- "Metlakatla Daylight Time", "MeDT"}}, ++ {"America/Metlakatla", new String[] {"\u6885\u7279\u62C9\u5361\u7279\u62C9\u6A19\u6E96\u6642\u9593", "MeST", ++ "\u6885\u7279\u62C9\u5361\u7279\u62C9\u65E5\u5149\u7BC0\u7D04\u6642\u9593", "MeDT"}}, + {"America/Mexico_City", CST}, + {"America/Miquelon", new String[] {"\u76ae\u57c3\u723e\u5cf6\u53ca\u5bc6\u514b\u9686\u5cf6\u6a19\u6e96\u6642\u9593", "PMST", + "\u76ae\u57c3\u723e\u5cf6\u53ca\u5bc6\u514b\u9686\u5cf6\u65e5\u5149\u7bc0\u7d04\u6642\u9593", "PMDT"}}, +@@ -426,7 +426,7 @@ + "\u8607\u5229\u5357\u590f\u4ee4\u6642\u9593", "SRST"}}, + {"America/Port-au-Prince", EST}, + {"America/Port_of_Spain", AST}, +- {"America/Porto_Acre", AMT}, ++ {"America/Porto_Acre", ACT}, + {"America/Porto_Velho", AMT}, + {"America/Puerto_Rico", AST}, + {"America/Rainy_River", CST}, +@@ -434,7 +434,7 @@ + {"America/Recife", BRT}, + {"America/Regina", CST}, + {"America/Resolute", CST}, +- {"America/Rio_Branco", AMT}, ++ {"America/Rio_Branco", ACT}, + {"America/Rosario", AGT}, + {"America/Santa_Isabel", PST}, + {"America/Santarem", BRT}, +@@ -466,8 +466,8 @@ + "\u81fa\u7dad\u65af\u590f\u4ee4\u6642\u9593", "DAVST"}}, + {"Antarctica/DumontDUrville", new String[] {"Dumont-d'Urville \u6642\u9593", "DDUT", + "Dumont-d'Urville \u590f\u4ee4\u6642\u9593", "DDUST"}}, +- {"Antarctica/Macquarie", new String[] {"Macquarie Island Time", "MIST", +- "Macquarie Island Summer Time", "MIST"}}, ++ {"Antarctica/Macquarie", new String[] {"\u9EA5\u5938\u5229\u5CF6\u6642\u9593", "MIST", ++ "\u9EA5\u5938\u5229\u5CF6\u590F\u4EE4\u6642\u9593", "MIST"}}, + {"Antarctica/Mawson", new String[] {"\u83ab\u68ee\u6642\u9593", "MAWT", + "\u83ab\u68ee\u590f\u4ee4\u6642\u9593", "MAWST"}}, + {"Antarctica/McMurdo", NZST}, +@@ -483,7 +483,7 @@ + {"Asia/Aden", ARAST}, + {"Asia/Almaty", new String[] {"Alma-Ata \u6642\u9593", "ALMT", + "Alma-Ata \u590f\u4ee4\u6642\u9593", "ALMST"}}, +- {"Asia/Amman", EET}, ++ {"Asia/Amman", ARAST}, + {"Asia/Anadyr", new String[] {"\u963f\u90a3\u5e95\u6cb3\u6642\u9593", "ANAT", + "\u963f\u90a3\u5e95\u6cb3\u590f\u4ee4\u6642\u9593", "ANAST"}}, + {"Asia/Aqtau", new String[] {"Aqtau \u6642\u9593", "AQTT", +@@ -527,7 +527,7 @@ + "Irkutsk \u590f\u4ee4\u6642\u9593", "IRKST"}}, + {"Asia/Istanbul", EET}, + {"Asia/Jakarta", WIT}, +- {"Asia/Jayapura", new String[] {"\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "EIT", ++ {"Asia/Jayapura", new String[] {"\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u6642\u9593", "WIT", + "\u6771\u5370\u5ea6\u5c3c\u897f\u4e9e\u590f\u65e5\u6642\u9593", "EIST"}}, + {"Asia/Kabul", new String[] {"\u963f\u5bcc\u6c57\u6642\u9593", "AFT", + "\u963f\u5bcc\u6c57\u590f\u4ee4\u6642\u9593", "AFST"}}, +@@ -537,7 +537,8 @@ + {"Asia/Kashgar", CTT}, + {"Asia/Kathmandu", NPT}, + {"Asia/Katmandu", NPT}, +- {"Asia/Khandyga", YAKT}, ++ {"Asia/Khandyga", new String[] {"\u6F22\u5730\u52A0 (Khandyga) \u6642\u9593", "YAKT", ++ "\u6F22\u5730\u52A0 (Khandyga) \u590F\u4EE4\u6642\u9593", "YAKST"}}, + {"Asia/Kolkata", IST}, + {"Asia/Krasnoyarsk", new String[] {"\u514b\u62c9\u65af\u8afe\u4e9e\u723e\u65af\u514b\u6642\u9593", "KRAT", + "\u514b\u62c9\u65af\u8afe\u4e9e\u723e\u65af\u514b\u590f\u4ee4\u6642\u9593", "KRAST"}}, +@@ -587,7 +588,8 @@ + {"Asia/Ulaanbaatar", ULAT}, + {"Asia/Ulan_Bator", ULAT}, + {"Asia/Urumqi", CTT}, +- {"Asia/Ust-Nera", VLAT}, ++ {"Asia/Ust-Nera", new String[] {"\u70CF\u65AF\u5167\u62C9 (Ust-Nera) \u6642\u9593", "VLAT", ++ "\u70CF\u65AF\u5167\u62C9 (Ust-Nera) \u590F\u4EE4\u6642\u9593", "VLAST"}}, + {"Asia/Vientiane", ICT}, + {"Asia/Vladivostok", VLAT}, + {"Asia/Yakutsk", YAKT}, +@@ -617,8 +619,8 @@ + {"Australia/Canberra", EST_NSW}, + {"Australia/Currie", EST_NSW}, + {"Australia/Darwin", DARWIN}, +- {"Australia/Eucla", new String[] {"\u4e2d\u897f\u90e8\u6a19\u6e96\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "CWST", +- "\u4e2d\u897f\u90e8\u65e5\u5149\u7bc0\u7d04\u6642\u9593 (\u6fb3\u5927\u5229\u4e9e)", "CWST"}}, ++ {"Australia/Eucla", new String[] {"\u4E2D\u897F\u90E8\u6A19\u6E96\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "CWST", ++ "\u4E2D\u897F\u90E8\u590F\u4EE4\u6642\u9593 (\u6FB3\u5927\u5229\u4E9E)", "CWST"}}, + {"Australia/Hobart", TASMANIA}, + {"Australia/LHI", LORD_HOWE}, + {"Australia/Lindeman", BRISBANE}, +@@ -636,7 +638,7 @@ + {"Australia/Yancowinna", BROKEN_HILL}, + {"BET", BRT}, + {"BST", BDT}, +- {"Brazil/Acre", AMT}, ++ {"Brazil/Acre", ACT}, + {"Brazil/DeNoronha", NORONHA}, + {"Brazil/East", BRT}, + {"Brazil/West", AMT}, +@@ -754,7 +756,7 @@ + {"Jamaica", EST}, + {"Japan", JST}, + {"Kwajalein", MHT}, +- {"Libya", CET}, ++ {"Libya", EET}, + {"MET", new String[] {"\u4e2d\u6b50\u6642\u9593", "MET", + "\u4e2d\u6b50\u590f\u4ee4\u6642\u9593", "MEST"}}, + {"Mexico/BajaNorte", PST}, +--- jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2013-09-06 11:28:55.000000000 -0700 ++++ jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2014-01-18 12:16:33.000000000 -0800 +@@ -38,6 +38,7 @@ + # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9] + # gnumake JDK=<java_home> OSNAME=linux [OPT=true] + # gnumake JDK=<java_home> OSNAME=win32 [OPT=true] ++# gnumake JDK=<java_home> OSNAME=bsd [OPT=true] + # + ######################################################################## + +@@ -120,6 +121,29 @@ + LINK_SHARED=link -dll -out:$@ + endif + ++# BSD GNU C Compiler ++ifeq ($(OSNAME), bsd) ++ # GNU Compiler options needed to build it ++ COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer ++ # Options that help find errors ++ COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses ++ ifeq ($(OPT), true) ++ CFLAGS=-O2 $(COMMON_FLAGS) ++ else ++ CFLAGS=-g $(COMMON_FLAGS) ++ endif ++ # Object files needed to create library ++ OBJECTS=$(SOURCES:%.c=%.o) ++ # Library name and options needed to build it ++ # XXX: Needs to be fixed for MacOS X ++ LIBRARY=lib$(LIBNAME).so ++ LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text ++ # Libraries we are dependent on ++ LIBRARIES=-lc ++ # Building a shared library ++ LINK_SHARED=$(LINK.c) -shared -o $@ ++endif ++ + # Common -I options + CFLAGS += -I. + CFLAGS += -I../agent_util +--- jdk/src/share/demo/jvmti/hprof/hprof_class.c 2013-09-06 11:28:55.000000000 -0700 ++++ jdk/src/share/demo/jvmti/hprof/hprof_class.c 2013-12-01 11:14:27.000000000 -0800 +@@ -527,7 +527,12 @@ + jmethodID method; + + info = get_info(index); +- HPROF_ASSERT(mnum < info->method_count); ++ if (mnum >= info->method_count) { ++ jclass newExcCls = (*env)->FindClass(env, "java/lang/IllegalArgumentException"); ++ (*env)->ThrowNew(env, newExcCls, "Illegal mnum"); ++ ++ return NULL; ++ } + method = info->method[mnum].method_id; + if ( method == NULL ) { + char * name; +@@ -535,7 +540,12 @@ + jclass clazz; + + name = (char *)string_get(info->method[mnum].name_index); +- HPROF_ASSERT(name!=NULL); ++ if (name==NULL) { ++ jclass newExcCls = (*env)->FindClass(env, "java/lang/IllegalArgumentException"); ++ (*env)->ThrowNew(env, newExcCls, "Name not found"); ++ ++ return NULL; ++ } + sig = (char *)string_get(info->method[mnum].sig_index); + HPROF_ASSERT(sig!=NULL); + clazz = class_get_class(env, index); +--- jdk/src/share/demo/jvmti/hprof/hprof_event.c 2013-09-06 11:28:55.000000000 -0700 ++++ jdk/src/share/demo/jvmti/hprof/hprof_event.c 2013-12-01 11:14:27.000000000 -0800 +@@ -195,7 +195,12 @@ + + HPROF_ASSERT(env!=NULL); + HPROF_ASSERT(thread!=NULL); +- HPROF_ASSERT(cnum!=0 && cnum!=gdata->tracker_cnum); ++ if (cnum == 0 || cnum == gdata->tracker_cnum) { ++ jclass newExcCls = (*env)->FindClass(env, "java/lang/IllegalArgumentException"); ++ (*env)->ThrowNew(env, newExcCls, "Illegal cnum."); ++ ++ return; ++ } + + /* Prevent recursion into any BCI function for this thread (pstatus). */ + if ( tls_get_tracker_status(env, thread, JNI_FALSE, +@@ -204,8 +209,10 @@ + + (*pstatus) = 1; + method = class_get_methodID(env, cnum, mnum); +- HPROF_ASSERT(method!=NULL); +- tls_push_method(tls_index, method); ++ if (method != NULL) { ++ tls_push_method(tls_index, method); ++ } ++ + (*pstatus) = 0; + } } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_it.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_it.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +@@ -248,7 +255,13 @@ + HPROF_ASSERT(env!=NULL); + HPROF_ASSERT(thread!=NULL); +- HPROF_ASSERT(cnum!=0 && cnum!=gdata->tracker_cnum); ++ ++ if (cnum == 0 || cnum == gdata->tracker_cnum) { ++ jclass newExcCls = (*env)->FindClass(env, "java/lang/IllegalArgumentException"); ++ (*env)->ThrowNew(env, newExcCls, "Illegal cnum."); ++ ++ return; ++ } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + /* Prevent recursion into any BCI function for this thread (pstatus). */ + if ( tls_get_tracker_status(env, thread, JNI_FALSE, +@@ -257,8 +270,10 @@ - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; + (*pstatus) = 1; + method = class_get_methodID(env, cnum, mnum); +- HPROF_ASSERT(method!=NULL); +- tls_pop_method(tls_index, thread, method); ++ if (method != NULL) { ++ tls_pop_method(tls_index, thread, method); ++ } ++ + (*pstatus) = 0; } + } +--- jdk/src/share/lib/security/java.policy 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/lib/security/java.policy 2014-01-18 12:16:29.000000000 -0800 +@@ -2,48 +2,51 @@ + // Standard extensions get all permissions by default + + grant codeBase "file:${{java.ext.dirs}}/*" { +- permission java.security.AllPermission; ++ permission java.security.AllPermission; + }; -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } + // default permissions granted to all domains + +-grant { +- // Allows any thread to stop itself using the java.lang.Thread.stop() +- // method that takes no argument. +- // Note that this permission is granted by default only to remain +- // backwards compatible. +- // It is strongly recommended that you either remove this permission +- // from this policy file or further restrict it to code sources +- // that you specify, because Thread.stop() is potentially unsafe. +- // See the API specification of java.lang.Thread.stop() for more ++grant { ++ // Allows any thread to stop itself using the java.lang.Thread.stop() ++ // method that takes no argument. ++ // Note that this permission is granted by default only to remain ++ // backwards compatible. ++ // It is strongly recommended that you either remove this permission ++ // from this policy file or further restrict it to code sources ++ // that you specify, because Thread.stop() is potentially unsafe. ++ // See the API specification of java.lang.Thread.stop() for more + // information. +- permission java.lang.RuntimePermission "stopThread"; ++ permission java.lang.RuntimePermission "stopThread"; + +- // allows anyone to listen on un-privileged ports +- permission java.net.SocketPermission "localhost:1024-", "listen"; ++ // allows anyone to listen on dynamic ports ++ permission java.net.SocketPermission "localhost:0", "listen"; + +- // "standard" properies that can be read by anyone ++ // permission for standard RMI registry port ++ permission java.net.SocketPermission "localhost:1099", "listen"; + +- permission java.util.PropertyPermission "java.version", "read"; +- permission java.util.PropertyPermission "java.vendor", "read"; +- permission java.util.PropertyPermission "java.vendor.url", "read"; +- permission java.util.PropertyPermission "java.class.version", "read"; +- permission java.util.PropertyPermission "os.name", "read"; +- permission java.util.PropertyPermission "os.version", "read"; +- permission java.util.PropertyPermission "os.arch", "read"; +- permission java.util.PropertyPermission "file.separator", "read"; +- permission java.util.PropertyPermission "path.separator", "read"; +- permission java.util.PropertyPermission "line.separator", "read"; +- +- permission java.util.PropertyPermission "java.specification.version", "read"; +- permission java.util.PropertyPermission "java.specification.vendor", "read"; +- permission java.util.PropertyPermission "java.specification.name", "read"; +- +- permission java.util.PropertyPermission "java.vm.specification.version", "read"; +- permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; +- permission java.util.PropertyPermission "java.vm.specification.name", "read"; +- permission java.util.PropertyPermission "java.vm.version", "read"; +- permission java.util.PropertyPermission "java.vm.vendor", "read"; +- permission java.util.PropertyPermission "java.vm.name", "read"; ++ // "standard" properies that can be read by anyone ++ ++ permission java.util.PropertyPermission "java.version", "read"; ++ permission java.util.PropertyPermission "java.vendor", "read"; ++ permission java.util.PropertyPermission "java.vendor.url", "read"; ++ permission java.util.PropertyPermission "java.class.version", "read"; ++ permission java.util.PropertyPermission "os.name", "read"; ++ permission java.util.PropertyPermission "os.version", "read"; ++ permission java.util.PropertyPermission "os.arch", "read"; ++ permission java.util.PropertyPermission "file.separator", "read"; ++ permission java.util.PropertyPermission "path.separator", "read"; ++ permission java.util.PropertyPermission "line.separator", "read"; ++ ++ permission java.util.PropertyPermission "java.specification.version", "read"; ++ permission java.util.PropertyPermission "java.specification.vendor", "read"; ++ permission java.util.PropertyPermission "java.specification.name", "read"; ++ ++ permission java.util.PropertyPermission "java.vm.specification.version", "read"; ++ permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; ++ permission java.util.PropertyPermission "java.vm.specification.name", "read"; ++ permission java.util.PropertyPermission "java.vm.version", "read"; ++ permission java.util.PropertyPermission "java.vm.vendor", "read"; ++ permission java.util.PropertyPermission "java.vm.name", "read"; + }; + +--- jdk/src/share/lib/security/java.security-linux 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/lib/security/java.security-linux 2014-01-18 12:16:29.000000000 -0800 +@@ -128,7 +128,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -165,7 +168,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -423,4 +429,3 @@ + # + # Example: + # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048 +- +--- jdk/src/share/lib/security/java.security-macosx 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/lib/security/java.security-macosx 2014-01-18 12:16:29.000000000 -0800 +@@ -129,7 +129,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -168,7 +171,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -428,4 +434,3 @@ + # + # Example: + # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048 +- +--- jdk/src/share/lib/security/java.security-solaris 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/lib/security/java.security-solaris 2014-01-18 12:16:29.000000000 -0800 +@@ -130,7 +130,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -168,7 +171,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -427,4 +433,3 @@ + # + # Example: + # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048 +-i +--- jdk/src/share/lib/security/java.security-windows 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/lib/security/java.security-windows 2014-01-18 12:16:29.000000000 -0800 +@@ -129,7 +129,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -168,7 +171,10 @@ + com.sun.imageio.,\ + com.sun.istack.internal.,\ + com.sun.jmx.,\ ++ com.sun.naming.internal.,\ + com.sun.proxy.,\ ++ com.sun.corba.se.,\ ++ com.sun.script.,\ + com.sun.org.apache.bcel.internal.,\ + com.sun.org.apache.regexp.internal.,\ + com.sun.org.apache.xerces.internal.,\ +@@ -428,4 +434,3 @@ + # + # Example: + # jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048 - +--- jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp 2013-09-06 11:28:57.000000000 -0700 ++++ jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp 2013-12-01 11:14:28.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2001, 2008, 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 +@@ -340,6 +340,10 @@ + struct tm sbuf; + (void)memset((void*)&sbuf,0, sizeof(sbuf)); + struct tm* s = gmtime_r(&t, &sbuf); ++ if (s == NULL) { ++ fprintf(u->errstrm, "Error: gmtime failure, invalid input archive\n"); ++ exit(2); ++ } + modtime_cache = modtime; + dostime_cache = dostime(s->tm_year + 1900, s->tm_mon + 1, s->tm_mday, + s->tm_hour, s->tm_min, s->tm_sec); +@@ -384,7 +388,7 @@ + } + + deflated.empty(); +- zs.next_out = (uchar*) deflated.grow(len + (len/2)); ++ zs.next_out = (uchar*) deflated.grow(add_size(len, (len/2))); + zs.avail_out = (int)deflated.size(); + + zs.next_in = (uchar*)head.ptr; +--- jdk/src/share/native/com/sun/media/sound/SoundDefs.h 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/com/sun/media/sound/SoundDefs.h 2014-01-18 12:16:33.000000000 -0800 +@@ -64,7 +64,7 @@ + + + // following is needed for _LP64 +-#if ((X_PLATFORM == X_SOLARIS) || (X_PLATFORM == X_LINUX) || (X_PLATFORM == X_MACOSX)) ++#if ((X_PLATFORM == X_SOLARIS) || (X_PLATFORM == X_LINUX) || (X_PLATFORM == X_BSD) || (X_PLATFORM == X_MACOSX)) + #include <sys/types.h> + #endif + +--- jdk/src/share/native/java/lang/Class.c 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/java/lang/Class.c 2013-12-01 11:14:28.000000000 -0800 +@@ -70,7 +70,7 @@ + {"getProtectionDomain0", "()" PD, (void *)&JVM_GetProtectionDomain}, + {"setProtectionDomain0", "(" PD ")V", (void *)&JVM_SetProtectionDomain}, + {"getDeclaredClasses0", "()[" CLS, (void *)&JVM_GetDeclaredClasses}, +- {"getDeclaringClass", "()" CLS, (void *)&JVM_GetDeclaringClass}, ++ {"getDeclaringClass0", "()" CLS, (void *)&JVM_GetDeclaringClass}, + {"getGenericSignature", "()" STR, (void *)&JVM_GetClassSignature}, + {"getRawAnnotations", "()" BA, (void *)&JVM_GetClassAnnotations}, + {"getConstantPool", "()" CPL, (void *)&JVM_GetClassConstantPool}, +--- jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2014-01-18 12:16:33.000000000 -0800 +@@ -24,6 +24,9 @@ + * questions. + */ + ++#ifdef __OpenBSD__ ++#include <sys/types.h> ++#endif + #ifdef _ALLBSD_SOURCE + #include <machine/endian.h> + #elif __linux__ +@@ -32,6 +35,12 @@ + #endif + #include "jfdlibm.h" + ++/* BSD's always define both _LITTLE_ENDIAN && _BIG_ENDIAN */ ++#if defined(_LITTLE_ENDIAN) && defined(_BIG_ENDIAN) && \ ++ _BYTE_ORDER == _BIG_ENDIAN ++#undef _LITTLE_ENDIAN ++#endif ++ + #ifdef __NEWVALID /* special setup for Sun test regime */ + #if defined(i386) || defined(i486) || \ + defined(intel) || defined(x86) || defined(arm) || \ +--- jdk/src/share/native/java/net/Inet6Address.c 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/java/net/Inet6Address.c 2013-12-01 11:14:28.000000000 -0800 +@@ -33,6 +33,8 @@ + */ + + jclass ia6_class; ++jfieldID ia6_holder6ID; ++ + jfieldID ia6_ipaddressID; + jfieldID ia6_scopeidID; + jfieldID ia6_cachedscopeidID; +@@ -48,21 +50,26 @@ + */ + JNIEXPORT void JNICALL + Java_java_net_Inet6Address_init(JNIEnv *env, jclass cls) { ++ jclass ia6h_class; + jclass c = (*env)->FindClass(env, "java/net/Inet6Address"); + CHECK_NULL(c); + ia6_class = (*env)->NewGlobalRef(env, c); + CHECK_NULL(ia6_class); +- ia6_ipaddressID = (*env)->GetFieldID(env, ia6_class, "ipaddress", "[B"); ++ ia6h_class = (*env)->FindClass(env, "java/net/Inet6Address$Inet6AddressHolder"); ++ CHECK_NULL(ia6h_class); ++ ia6_holder6ID = (*env)->GetFieldID(env, ia6_class, "holder6", "Ljava/net/Inet6Address$Inet6AddressHolder;"); ++ CHECK_NULL(ia6_holder6ID); ++ ia6_ipaddressID = (*env)->GetFieldID(env, ia6h_class, "ipaddress", "[B"); + CHECK_NULL(ia6_ipaddressID); +- ia6_scopeidID = (*env)->GetFieldID(env, ia6_class, "scope_id", "I"); ++ ia6_scopeidID = (*env)->GetFieldID(env, ia6h_class, "scope_id", "I"); + CHECK_NULL(ia6_scopeidID); + ia6_cachedscopeidID = (*env)->GetFieldID(env, ia6_class, "cached_scope_id", "I"); + CHECK_NULL(ia6_cachedscopeidID); +- ia6_scopeidsetID = (*env)->GetFieldID(env, ia6_class, "scope_id_set", "Z"); ++ ia6_scopeidsetID = (*env)->GetFieldID(env, ia6h_class, "scope_id_set", "Z"); + CHECK_NULL(ia6_scopeidID); +- ia6_scopeifnameID = (*env)->GetFieldID(env, ia6_class, "scope_ifname", "Ljava/net/NetworkInterface;"); ++ ia6_scopeifnameID = (*env)->GetFieldID(env, ia6h_class, "scope_ifname", "Ljava/net/NetworkInterface;"); + CHECK_NULL(ia6_scopeifnameID); +- ia6_scopeifnamesetID = (*env)->GetFieldID(env, ia6_class, "scope_ifname_set", "Z"); ++ ia6_scopeifnamesetID = (*env)->GetFieldID(env, ia6h_class, "scope_ifname_set", "Z"); + CHECK_NULL(ia6_scopeifnamesetID); + ia6_ctrID = (*env)->GetMethodID(env, ia6_class, "<init>", "()V"); + CHECK_NULL(ia6_ctrID); +--- jdk/src/share/native/java/net/net_util.c 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/java/net/net_util.c 2013-12-01 11:14:28.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 +@@ -94,6 +94,111 @@ + extern jfieldID iac_addressID; + extern jfieldID iac_familyID; + ++/** ++ * set_ methods return JNI_TRUE on success JNI_FALSE on error ++ * get_ methods that return +ve int return -1 on error ++ * get_ methods that return objects return NULL on error. ++ */ ++jobject getInet6Address_scopeifname(JNIEnv *env, jobject iaObj) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, NULL); ++ return (*env)->GetObjectField(env, holder, ia6_scopeifnameID); ++} ++ ++int setInet6Address_scopeifname(JNIEnv *env, jobject iaObj, jobject scopeifname) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, JNI_FALSE); ++ (*env)->SetObjectField(env, holder, ia6_scopeifnameID, scopeifname); ++ return JNI_TRUE; ++} ++ ++int getInet6Address_scopeifname_set(JNIEnv *env, jobject iaObj) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, -1); ++ return (*env)->GetBooleanField(env, holder, ia6_scopeifnamesetID); ++} ++ ++int setInet6Address_scopeifname_set(JNIEnv *env, jobject iaObj, int scopeifname_set) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, JNI_FALSE); ++ (*env)->SetBooleanField(env, holder, ia6_scopeifnamesetID, scopeifname_set); ++ return JNI_TRUE; ++} ++ ++int getInet6Address_scopeid_set(JNIEnv *env, jobject iaObj) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, -1); ++ return (*env)->GetBooleanField(env, holder, ia6_scopeidsetID); ++} ++ ++int getInet6Address_scopeid(JNIEnv *env, jobject iaObj) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, -1); ++ return (*env)->GetIntField(env, holder, ia6_scopeidID); ++} ++ ++int setInet6Address_scopeid(JNIEnv *env, jobject iaObj, int scopeid) { ++ jobject holder; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, JNI_FALSE); ++ (*env)->SetIntField(env, holder, ia6_scopeidID, scopeid); ++ if (scopeid > 0) { ++ (*env)->SetBooleanField(env, holder, ia6_scopeidsetID, JNI_TRUE); ++ } ++ return JNI_TRUE; ++} ++ ++ ++int getInet6Address_ipaddress(JNIEnv *env, jobject iaObj, char *dest) { ++ jobject holder, addr; ++ jbyteArray barr; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, JNI_FALSE); ++ addr = (*env)->GetObjectField(env, holder, ia6_ipaddressID); ++ CHECK_NULL_RETURN(addr, JNI_FALSE); ++ (*env)->GetByteArrayRegion(env, addr, 0, 16, (jbyte *)dest); ++ return JNI_TRUE; ++} ++ ++int setInet6Address_ipaddress(JNIEnv *env, jobject iaObj, char *address) { ++ jobject holder; ++ jbyteArray addr; ++ ++ initInetAddrs(env); ++ holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); ++ CHECK_NULL_RETURN(holder, JNI_FALSE); ++ addr = (jbyteArray)(*env)->GetObjectField(env, holder, ia6_ipaddressID); ++ if (addr == NULL) { ++ addr = (*env)->NewByteArray(env, 16); ++ CHECK_NULL_RETURN(addr, JNI_FALSE); ++ (*env)->SetObjectField(env, holder, ia6_ipaddressID, addr); ++ } ++ (*env)->SetByteArrayRegion(env, addr, 0, 16, (jbyte *)address); ++ return JNI_TRUE; ++} ++ + void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address) { + jobject holder; + initInetAddrs(env); +@@ -168,6 +273,7 @@ + } else { + static jclass inet6Cls = 0; + jint scope; ++ int ret; + if (inet6Cls == 0) { + jclass c = (*env)->FindClass(env, "java/net/Inet6Address"); + CHECK_NULL_RETURN(c, NULL); +@@ -177,18 +283,11 @@ + } + iaObj = (*env)->NewObject(env, inet6Cls, ia6_ctrID); + CHECK_NULL_RETURN(iaObj, NULL); +- ipaddress = (*env)->NewByteArray(env, 16); +- CHECK_NULL_RETURN(ipaddress, NULL); +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(him6->sin6_addr)); +- +- (*env)->SetObjectField(env, iaObj, ia6_ipaddressID, ipaddress); +- ++ ret = setInet6Address_ipaddress(env, iaObj, (char *)&(him6->sin6_addr)); ++ CHECK_NULL_RETURN(ret, NULL); + setInetAddress_family(env, iaObj, IPv6); + scope = getScopeID(him); +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- if (scope > 0) +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); ++ setInet6Address_scopeid(env, iaObj, scope); + } + *port = ntohs(him6->sin6_port); + } else +@@ -248,9 +347,8 @@ + if (family == AF_INET) { + return JNI_FALSE; + } +- ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); +- scope = (*env)->GetIntField(env, iaObj, ia6_scopeidID); +- (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddrCur); ++ scope = getInet6Address_scopeid(env, iaObj); ++ getInet6Address_ipaddress(env, iaObj, (char *)caddrCur); + if (NET_IsEqual(caddrNew, caddrCur) && cmpScopeID(scope, him)) { + return JNI_TRUE; + } else { +--- jdk/src/share/native/java/net/net_util.h 2013-09-06 11:28:58.000000000 -0700 ++++ jdk/src/share/native/java/net/net_util.h 2013-12-01 11:14:28.000000000 -0800 +@@ -58,6 +58,22 @@ + extern jfieldID iac_hostNameID; + extern jfieldID ia_preferIPv6AddressID; + ++/** (Inet6Address accessors) ++ * set_ methods return JNI_TRUE on success JNI_FALSE on error ++ * get_ methods that return int/boolean, return -1 on error ++ * get_ methods that return objects return NULL on error. ++ */ ++extern jobject getInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj); ++extern int setInet6Address_scopeifname(JNIEnv *env, jobject ia6Obj, jobject scopeifname); ++extern int getInet6Address_scopeifname_set(JNIEnv *env, jobject ia6Obj); ++extern int setInet6Address_scopeifname_set(JNIEnv *env, jobject ia6Obj, ++ int scopeifname_set); ++extern int getInet6Address_scopeid_set(JNIEnv *env, jobject ia6Obj); ++extern int getInet6Address_scopeid(JNIEnv *env, jobject ia6Obj); ++extern int setInet6Address_scopeid(JNIEnv *env, jobject ia6Obj, int scopeid); ++extern int getInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *dest); ++extern int setInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *address); ++ + extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address); + extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family); + extern void setInetAddress_hostName(JNIEnv *env, jobject iaObj, jobject h); +@@ -93,6 +109,7 @@ + + /* Inet6Address fields */ + extern jclass ia6_class; ++extern jfieldID ia6_holder6ID; + extern jfieldID ia6_ipaddressID; + extern jfieldID ia6_scopeidID; + extern jfieldID ia6_cachedscopeidID; +--- jdk/src/share/native/sun/awt/image/awt_parseImage.c 2013-09-06 11:28:59.000000000 -0700 ++++ jdk/src/share/native/sun/awt/image/awt_parseImage.c 2013-12-01 11:14:29.000000000 -0800 +@@ -808,363 +808,204 @@ + return 1; } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ja.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ja.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +-/* +- * This routine will fill in a buffer of data for either 1 band or all +- * bands (if band == -1). +- */ + #define MAX_TO_GRAB (10240) + +-int awt_getPixelByte(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned char *bufferP) { +- int w = rasterP->width; +- int h = rasterP->height; +- int numBands = rasterP->numBands; ++typedef union { ++ void *pv; ++ unsigned char *pb; ++ unsigned short *ps; ++} PixelData_t; ++ ++ ++int awt_getPixels(JNIEnv *env, RasterS_t *rasterP, void *bufferP) { ++ const int w = rasterP->width; ++ const int h = rasterP->height; ++ const int numBands = rasterP->numBands; + int y; + int i; +- int maxLines = (h < MAX_TO_GRAB/w ? h : MAX_TO_GRAB/w); ++ int maxLines; + jobject jsm; +- int off; ++ int off = 0; + jarray jdata = NULL; + jobject jdatabuffer; + int *dataP; +- int maxBytes = w; ++ int maxSamples; ++ PixelData_t p; + +- jsm = (*env)->GetObjectField(env, rasterP->jraster, g_RasterSampleModelID); +- jdatabuffer = (*env)->GetObjectField(env, rasterP->jraster, +- g_RasterDataBufferID); +- jdata = (*env)->NewIntArray(env, maxBytes*rasterP->numBands*maxLines); +- if (JNU_IsNull(env, jdata)) { +- JNU_ThrowOutOfMemoryError(env, "Out of Memory"); ++ if (bufferP == NULL) { + return -1; + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- /* Here is the generic code */ +- if (band >= 0) { +- int dOff; +- if (band >= numBands) { +- (*env)->DeleteLocalRef(env, jdata); +- JNU_ThrowInternalError(env, "Band out of range."); +- return -1; +- } +- off = 0; +- for (y=0; y < h; ) { +- (*env)->CallObjectMethod(env, jsm, g_SMGetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- dOff = band; +- for (i=0; i < maxBytes; i++, dOff += numBands) { +- bufferP[off++] = (unsigned char) dataP[dOff]; +- } ++ if (rasterP->dataType != BYTE_DATA_TYPE && ++ rasterP->dataType != SHORT_DATA_TYPE) ++ { ++ return -1; ++ } - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); ++ p.pv = bufferP; + +- if (y+maxLines < h) { +- y += maxLines; +- } +- else { +- y++; +- maxBytes = w; +- } +- } ++ if (!SAFE_TO_MULT(w, numBands)) { ++ return -1; } +- else { +- off = 0; +- maxBytes *= numBands; +- for (y=0; y < h; ) { +- (*env)->CallObjectMethod(env, jsm, g_SMGetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- for (i=0; i < maxBytes; i++) { +- bufferP[off++] = (unsigned char) dataP[i]; +- } ++ maxSamples = w * numBands; -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); - -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { +- if (y+maxLines < h) { +- y += maxLines; +- } +- else { +- y++; +- maxBytes = w*numBands; +- } +- } ++ maxLines = maxSamples > MAX_TO_GRAB ? 1 : (MAX_TO_GRAB / maxSamples); ++ if (maxLines > h) { ++ maxLines = h; ++ } + ++ if (!SAFE_TO_MULT(maxSamples, maxLines)) { ++ return -1; + } +- (*env)->DeleteLocalRef(env, jdata); + +- return 0; +-} +-int awt_setPixelByte(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned char *bufferP) { +- int w = rasterP->width; +- int h = rasterP->height; +- int numBands = rasterP->numBands; +- int y; +- int i; +- int maxLines = (h < MAX_TO_GRAB/w ? h : MAX_TO_GRAB/w); +- jobject jsm; +- int off; +- jarray jdata = NULL; +- jobject jdatabuffer; +- int *dataP; +- int maxBytes = w; ++ maxSamples *= maxLines; + + jsm = (*env)->GetObjectField(env, rasterP->jraster, g_RasterSampleModelID); + jdatabuffer = (*env)->GetObjectField(env, rasterP->jraster, + g_RasterDataBufferID); +- /* Here is the generic code */ +- jdata = (*env)->NewIntArray(env, maxBytes*rasterP->numBands*maxLines); ++ ++ jdata = (*env)->NewIntArray(env, maxSamples); + if (JNU_IsNull(env, jdata)) { + JNU_ThrowOutOfMemoryError(env, "Out of Memory"); + return -1; + } +- if (band >= 0) { +- int dOff; +- if (band >= numBands) { ++ ++ for (y = 0; y < h; y += maxLines) { ++ if (y + maxLines > h) { ++ maxLines = h - y; ++ maxSamples = w * numBands * maxLines; ++ } ++ ++ (*env)->CallObjectMethod(env, jsm, g_SMGetPixelsMID, ++ 0, y, w, ++ maxLines, jdata, jdatabuffer); ++ ++ if ((*env)->ExceptionOccurred(env)) { + (*env)->DeleteLocalRef(env, jdata); +- JNU_ThrowInternalError(env, "Band out of range."); + return -1; + } +- off = 0; +- for (y=0; y < h; y+=maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- dOff = band; +- for (i=0; i < maxBytes; i++, dOff += numBands) { +- dataP[dOff] = bufferP[off++]; +- } - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); + +- (*env)->CallVoidMethod(env, jsm, g_SMSetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); ++ dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, ++ NULL); ++ if (dataP == NULL) { ++ (*env)->DeleteLocalRef(env, jdata); ++ return -1; + } - } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- else { +- off = 0; +- maxBytes *= numBands; +- for (y=0; y < h; y+=maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; ++ ++ switch (rasterP->dataType) { ++ case BYTE_DATA_TYPE: ++ for (i = 0; i < maxSamples; i ++) { ++ p.pb[off++] = (unsigned char) dataP[i]; + } +- for (i=0; i < maxBytes; i++) { +- dataP[i] = bufferP[off++]; ++ break; ++ case SHORT_DATA_TYPE: ++ for (i = 0; i < maxSamples; i ++) { ++ p.ps[off++] = (unsigned short) dataP[i]; + } - -- if (country.equals("TW")) -- suffix += "_" + country; +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); - -- return suffix; -- } +- (*env)->CallVoidMethod(env, jsm, g_SMSetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); ++ break; + } + ++ (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, ++ JNI_ABORT); + } - + (*env)->DeleteLocalRef(env, jdata); + +- return 0; ++ return 1; } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ko.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ko.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +-int awt_getPixelShort(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned short *bufferP) { +- int w = rasterP->width; +- int h = rasterP->height; +- int numBands = rasterP->numBands; ++ ++int awt_setPixels(JNIEnv *env, RasterS_t *rasterP, void *bufferP) { ++ const int w = rasterP->width; ++ const int h = rasterP->height; ++ const int numBands = rasterP->numBands; ++ + int y; + int i; +- int maxLines = (h < MAX_TO_GRAB/w ? h : MAX_TO_GRAB/w); ++ int maxLines; + jobject jsm; +- int off; ++ int off = 0; + jarray jdata = NULL; + jobject jdatabuffer; + int *dataP; +- int maxBytes = w*maxLines; ++ int maxSamples; ++ PixelData_t p; + +- jsm = (*env)->GetObjectField(env, rasterP->jraster, g_RasterSampleModelID); +- jdatabuffer = (*env)->GetObjectField(env, rasterP->jraster, +- g_RasterDataBufferID); +- jdata = (*env)->NewIntArray(env, maxBytes*rasterP->numBands*maxLines); +- if (JNU_IsNull(env, jdata)) { +- JNU_ThrowOutOfMemoryError(env, "Out of Memory"); ++ if (bufferP == NULL) { + return -1; + } +- /* Here is the generic code */ +- if (band >= 0) { +- int dOff; +- if (band >= numBands) { +- (*env)->DeleteLocalRef(env, jdata); +- JNU_ThrowInternalError(env, "Band out of range."); +- return -1; +- } +- off = 0; +- for (y=0; y < h; y += maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- (*env)->CallObjectMethod(env, jsm, g_SMGetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- dOff = band; +- for (i=0; i < maxBytes; i++, dOff += numBands) { +- bufferP[off++] = (unsigned short) dataP[dOff]; +- } ++ if (rasterP->dataType != BYTE_DATA_TYPE && ++ rasterP->dataType != SHORT_DATA_TYPE) ++ { ++ return -1; ++ } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); +- } ++ p.pv = bufferP; ++ ++ if (!SAFE_TO_MULT(w, numBands)) { ++ return -1; + } +- else { +- off = 0; +- maxBytes *= numBands; +- for (y=0; y < h; y+=maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- (*env)->CallObjectMethod(env, jsm, g_SMGetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- for (i=0; i < maxBytes; i++) { +- bufferP[off++] = (unsigned short) dataP[i]; +- } ++ maxSamples = w * numBands; - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); +- } ++ maxLines = maxSamples > MAX_TO_GRAB ? 1 : (MAX_TO_GRAB / maxSamples); ++ if (maxLines > h) { ++ maxLines = h; ++ } + ++ if (!SAFE_TO_MULT(maxSamples, maxLines)) { ++ return -1; } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); +- (*env)->DeleteLocalRef(env, jdata); +- return 0; +-} +-int awt_setPixelShort(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned short *bufferP) { +- int w = rasterP->width; +- int h = rasterP->height; +- int numBands = rasterP->numBands; +- int y; +- int i; +- int maxLines = (h < MAX_TO_GRAB/w ? h : MAX_TO_GRAB/w); +- jobject jsm; +- int off; +- jarray jdata = NULL; +- jobject jdatabuffer; +- int *dataP; +- int maxBytes = w; ++ maxSamples *= maxLines; + + jsm = (*env)->GetObjectField(env, rasterP->jraster, g_RasterSampleModelID); + jdatabuffer = (*env)->GetObjectField(env, rasterP->jraster, + g_RasterDataBufferID); +- if (band >= numBands) { +- JNU_ThrowInternalError(env, "Band out of range."); +- return -1; - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { +- /* Here is the generic code */ +- jdata = (*env)->NewIntArray(env, maxBytes*rasterP->numBands*maxLines); ++ ++ jdata = (*env)->NewIntArray(env, maxSamples); + if (JNU_IsNull(env, jdata)) { + JNU_ThrowOutOfMemoryError(env, "Out of Memory"); + return -1; + } +- if (band >= 0) { +- int dOff; +- off = 0; +- for (y=0; y < h; y+=maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; +- } +- dOff = band; +- for (i=0; i < maxBytes; i++, dOff += numBands) { +- dataP[dOff] = bufferP[off++]; +- } - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); + +- (*env)->CallVoidMethod(env, jsm, g_SMSetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); ++ for (y = 0; y < h; y += maxLines) { ++ if (y + maxLines > h) { ++ maxLines = h - y; ++ maxSamples = w * numBands * maxLines; ++ } ++ dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, ++ NULL); ++ if (dataP == NULL) { ++ (*env)->DeleteLocalRef(env, jdata); ++ return -1; + } - } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java 2013-04-28 16:29:20.000000000 -0700 -@@ -25,9 +25,6 @@ +- else { +- off = 0; +- maxBytes *= numBands; +- for (y=0; y < h; y+=maxLines) { +- if (y+maxLines > h) { +- maxBytes = w*numBands; +- maxLines = h - y; +- } +- dataP = (int *) (*env)->GetPrimitiveArrayCritical(env, jdata, +- NULL); +- if (dataP == NULL) { +- (*env)->DeleteLocalRef(env, jdata); +- return -1; ++ ++ switch (rasterP->dataType) { ++ case BYTE_DATA_TYPE: ++ for (i = 0; i < maxSamples; i ++) { ++ dataP[i] = p.pb[off++]; + } +- for (i=0; i < maxBytes; i++) { +- dataP[i] = bufferP[off++]; ++ break; ++ case SHORT_DATA_TYPE: ++ for (i = 0; i < maxSamples; i ++) { ++ dataP[i] = p.ps[off++]; + } ++ break; ++ } +- (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, +- JNI_ABORT); ++ (*env)->ReleasePrimitiveArrayCritical(env, jdata, dataP, ++ JNI_ABORT); - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +- (*env)->CallVoidMethod(env, jsm, g_SMSetPixelsMID, +- 0, y, w, +- maxLines, jdata, jdatabuffer); +- } ++ (*env)->CallVoidMethod(env, jsm, g_SMSetPixelsMID, ++ 0, y, w, ++ maxLines, jdata, jdatabuffer); - /** - * Set up error messages. -@@ -463,67 +460,4 @@ - return msgCopy; ++ if ((*env)->ExceptionOccurred(env)) { ++ (*env)->DeleteLocalRef(env, jdata); ++ return -1; ++ } } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + (*env)->DeleteLocalRef(env, jdata); +- return 0; ++ ++ return 1; } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sk.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sk.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +--- jdk/src/share/native/sun/awt/image/awt_parseImage.h 2013-09-06 11:28:59.000000000 -0700 ++++ jdk/src/share/native/sun/awt/image/awt_parseImage.h 2013-12-01 11:14:29.000000000 -0800 +@@ -188,13 +188,8 @@ + + void awt_freeParsedImage(BufImageS_t *imageP, int freeImageP); + +-int awt_getPixelByte(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned char *bufferP); +-int awt_setPixelByte(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned char *bufferP); +-int awt_getPixelShort(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned short *bufferP); +-int awt_setPixelShort(JNIEnv *env, int band, RasterS_t *rasterP, +- unsigned short *bufferP); ++int awt_getPixels(JNIEnv *env, RasterS_t *rasterP, void *bufferP); ++ ++int awt_setPixels(JNIEnv *env, RasterS_t *rasterP, void *bufferP); + + #endif /* AWT_PARSE_IMAGE_H */ +--- jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c 2013-09-06 11:28:59.000000000 -0700 ++++ jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c 2013-12-01 11:14:29.000000000 -0800 +@@ -930,9 +930,10 @@ + * Now fill a complete buffer, or as much of one as the stream + * will give us if we are near the end. + */ ++ RELEASE_ARRAYS(env, data, src->next_input_byte); ++ + GET_IO_REF(input); + +- RELEASE_ARRAYS(env, data, src->next_input_byte); + ret = (*env)->CallIntMethod(env, + input, + JPEGImageReader_readInputDataID, +@@ -1017,9 +1018,11 @@ + memcpy(sb->buf, src->next_input_byte, offset); + } +- GET_IO_REF(input); - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + RELEASE_ARRAYS(env, data, src->next_input_byte); ++ ++ GET_IO_REF(input); ++ + buflen = sb->bufferLength - offset; + if (buflen <= 0) { + if (!GET_ARRAYS(env, data, &(src->next_input_byte))) { +@@ -1121,9 +1124,10 @@ + return; + } - /** - * Set up error messages. -@@ -443,67 +440,4 @@ - return _contents; - } ++ RELEASE_ARRAYS(env, data, src->next_input_byte); ++ + GET_IO_REF(input); -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; +- RELEASE_ARRAYS(env, data, src->next_input_byte); + ret = (*env)->CallLongMethod(env, + input, + JPEGImageReader_skipInputBytesID, +@@ -2306,10 +2310,10 @@ + JNIEnv *env = (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2); + jobject output = NULL; + +- GET_IO_REF(output); - -- return suffix; -- } + RELEASE_ARRAYS(env, data, (const JOCTET *)(dest->next_output_byte)); + ++ GET_IO_REF(output); ++ + (*env)->CallVoidMethod(env, + output, + JPEGImageWriter_writeOutputDataID, +@@ -2348,10 +2352,10 @@ + if (datacount != 0) { + jobject output = NULL; + +- GET_IO_REF(output); - + RELEASE_ARRAYS(env, data, (const JOCTET *)(dest->next_output_byte)); + ++ GET_IO_REF(output); ++ + (*env)->CallVoidMethod(env, + output, + JPEGImageWriter_writeOutputDataID, +@@ -2702,6 +2706,15 @@ + bandSize = (*env)->GetIntArrayElements(env, bandSizes, NULL); + + for (i = 0; i < numBands; i++) { ++ if (bandSize[i] <= 0 || bandSize[i] > JPEG_BAND_SIZE) { ++ (*env)->ReleaseIntArrayElements(env, bandSizes, ++ bandSize, JNI_ABORT); ++ JNU_ThrowByName(env, "javax/imageio/IIOException", "Invalid Image"); ++ return JNI_FALSE;; ++ } ++ } ++ ++ for (i = 0; i < numBands; i++) { + if (bandSize[i] != JPEG_BAND_SIZE) { + if (scale == NULL) { + scale = (UINT8**) calloc(numBands, sizeof(UINT8*)); +--- jdk/src/share/native/sun/awt/medialib/awt_ImagingLib.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/awt_ImagingLib.c 2013-12-01 11:14:29.000000000 -0800 +@@ -700,22 +700,7 @@ + + /* Means that we couldn't write directly into the destination buffer */ + if (ddata == NULL) { +- unsigned char *bdataP; +- unsigned short *sdataP; +- +- /* Punt for now */ +- switch (dstRasterP->dataType) { +- case BYTE_DATA_TYPE: +- bdataP = (unsigned char *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelByte(env, -1, dstRasterP, bdataP) >= 0) ; +- break; +- case SHORT_DATA_TYPE: +- sdataP = (unsigned short *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelShort(env, -1, dstRasterP, sdataP) >= 0) ; +- break; +- default: +- retStatus = 0; +- } ++ retStatus = awt_setPixels(env, dstRasterP, mlib_ImageGetData(dst)); + } + + /* Release the pinned memory */ +@@ -1119,24 +1104,9 @@ + + /* Means that we couldn't write directly into the destination buffer */ + if (ddata == NULL) { +- unsigned char *bdataP; +- unsigned short *sdataP; +- + /* Need to store it back into the array */ + if (storeRasterArray(env, srcRasterP, dstRasterP, dst) < 0) { +- /* Punt for now */ +- switch (dst->type) { +- case MLIB_BYTE: +- bdataP = (unsigned char *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelByte(env, -1, dstRasterP, bdataP) >= 0) ; +- break; +- case MLIB_SHORT: +- sdataP = (unsigned short *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelShort(env, -1, dstRasterP, sdataP) >= 0) ; +- break; +- default: +- retStatus = 0; +- } ++ retStatus = awt_setPixels(env, dstRasterP, mlib_ImageGetData(dst)); + } + } + +@@ -1704,21 +1674,7 @@ + * the destination buffer + */ + if (ddata == NULL) { +- unsigned char* bdataP; +- unsigned short* sdataP; +- +- switch (dstRasterP->dataType) { +- case BYTE_DATA_TYPE: +- bdataP = (unsigned char *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelByte(env, -1, dstRasterP, bdataP) >= 0) ; +- break; +- case SHORT_DATA_TYPE: +- sdataP = (unsigned short *) mlib_ImageGetData(dst); +- retStatus = (awt_setPixelShort(env, -1, dstRasterP, sdataP) >= 0) ; +- break; +- default: +- retStatus = 0; +- } ++ retStatus = awt_setPixels(env, dstRasterP, mlib_ImageGetData(dst)); + } + + /* Release the LUT */ +@@ -2029,21 +1985,25 @@ + return 0; } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sv.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sv.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ ++#define NUM_LINES 10 ++ + static int + cvtCustomToDefault(JNIEnv *env, BufImageS_t *imageP, int component, + unsigned char *dataP) { +- ColorModelS_t *cmP = &imageP->cmodel; +- RasterS_t *rasterP = &imageP->raster; ++ const RasterS_t *rasterP = &imageP->raster; ++ const int w = rasterP->width; ++ const int h = rasterP->height; ++ + int y; +- jobject jpixels = NULL; ++ jintArray jpixels = NULL; + jint *pixels; + unsigned char *dP = dataP; +-#define NUM_LINES 10 +- int numLines = NUM_LINES; ++ int numLines = h > NUM_LINES ? NUM_LINES : h; ++ + /* it is safe to calculate the scan length, because width has been verified + * on creation of the mlib image + */ +- int scanLength = rasterP->width * 4; ++ const int scanLength = w * 4; + + int nbytes = 0; + if (!SAFE_TO_MULT(numLines, scanLength)) { +@@ -2052,42 +2012,70 @@ + + nbytes = numLines * scanLength; + +- for (y=0; y < rasterP->height; y+=numLines) { +- /* getData, one scanline at a time */ +- if (y+numLines > rasterP->height) { +- numLines = rasterP->height - y; ++ jpixels = (*env)->NewIntArray(env, nbytes); ++ if (JNU_IsNull(env, jpixels)) { ++ JNU_ThrowOutOfMemoryError(env, "Out of Memory"); ++ return -1; ++ } ++ ++ for (y = 0; y < h; y += numLines) { ++ if (y + numLines > h) { ++ numLines = h - y; + nbytes = numLines * scanLength; + } +- jpixels = (*env)->CallObjectMethod(env, imageP->jimage, +- g_BImgGetRGBMID, 0, y, +- rasterP->width, numLines, +- jpixels,0, rasterP->width); +- if (jpixels == NULL) { +- JNU_ThrowInternalError(env, "Can't retrieve pixels."); ++ ++ (*env)->CallObjectMethod(env, imageP->jimage, ++ g_BImgGetRGBMID, 0, y, ++ w, numLines, ++ jpixels, 0, w); ++ if ((*env)->ExceptionOccurred(env)) { ++ (*env)->DeleteLocalRef(env, jpixels); + return -1; + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + pixels = (*env)->GetPrimitiveArrayCritical(env, jpixels, NULL); ++ if (pixels == NULL) { ++ (*env)->DeleteLocalRef(env, jpixels); ++ return -1; ++ } ++ + memcpy(dP, pixels, nbytes); + dP += nbytes; ++ + (*env)->ReleasePrimitiveArrayCritical(env, jpixels, pixels, + JNI_ABORT); + } ++ ++ /* Need to release the array */ ++ (*env)->DeleteLocalRef(env, jpixels); ++ + return 0; + } - /** - * Set up error messages. -@@ -452,68 +449,4 @@ - protected Object[][] getContents() { - return _contents; + static int + cvtDefaultToCustom(JNIEnv *env, BufImageS_t *imageP, int component, + unsigned char *dataP) { +- ColorModelS_t *cmP = &imageP->cmodel; +- RasterS_t *rasterP = &imageP->raster; ++ const RasterS_t *rasterP = &imageP->raster; ++ const int w = rasterP->width; ++ const int h = rasterP->height; ++ + int y; ++ jintArray jpixels = NULL; + jint *pixels; + unsigned char *dP = dataP; +-#define NUM_LINES 10 +- int numLines = NUM_LINES; +- int nbytes = rasterP->width*4*NUM_LINES; +- jintArray jpixels; ++ int numLines = h > NUM_LINES ? NUM_LINES : h; ++ ++ /* it is safe to calculate the scan length, because width has been verified ++ * on creation of the mlib image ++ */ ++ const int scanLength = w * 4; ++ ++ int nbytes = 0; ++ if (!SAFE_TO_MULT(numLines, scanLength)) { ++ return -1; ++ } ++ ++ nbytes = numLines * scanLength; + + jpixels = (*env)->NewIntArray(env, nbytes); + if (JNU_IsNull(env, jpixels)) { +@@ -2095,14 +2083,15 @@ + return -1; } -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); + +- for (y=0; y < rasterP->height; y+=NUM_LINES) { +- if (y+numLines > rasterP->height) { +- numLines = rasterP->height - y; +- nbytes = rasterP->width*4*numLines; ++ for (y = 0; y < h; y += numLines) { ++ if (y + numLines > h) { ++ numLines = h - y; ++ nbytes = numLines * scanLength; + } ++ + pixels = (*env)->GetPrimitiveArrayCritical(env, jpixels, NULL); + if (pixels == NULL) { +- /* JNI error */ ++ (*env)->DeleteLocalRef(env, jpixels); + return -1; + } + +@@ -2111,12 +2100,11 @@ + + (*env)->ReleasePrimitiveArrayCritical(env, jpixels, pixels, 0); + +- /* setData, one scanline at a time */ +- /* Fix 4223648, 4184283 */ + (*env)->CallVoidMethod(env, imageP->jimage, g_BImgSetRGBMID, 0, y, +- rasterP->width, numLines, jpixels, 0, +- rasterP->width); ++ w, numLines, jpixels, ++ 0, w); + if ((*env)->ExceptionOccurred(env)) { ++ (*env)->DeleteLocalRef(env, jpixels); + return -1; + } + } +@@ -2298,7 +2286,6 @@ + mlib_image **mlibImagePP, void **dataPP, int isSrc) { + void *dataP; + unsigned char *cDataP; +- unsigned short *sdataP; + int dataType = BYTE_DATA_TYPE; + int width; + int height; +@@ -2484,8 +2471,7 @@ + return -1; + } + if (isSrc) { +- cDataP = (unsigned char *) mlib_ImageGetData(*mlibImagePP); +- if (awt_getPixelByte(env, -1, rasterP, cDataP) < 0) { ++ if (awt_getPixels(env, rasterP, mlib_ImageGetData(*mlibImagePP)) < 0) { + (*sMlibSysFns.deleteImageFP)(*mlibImagePP); + return -1; + } +@@ -2499,8 +2485,7 @@ + return -1; + } + if (isSrc) { +- sdataP = (unsigned short *) mlib_ImageGetData(*mlibImagePP); +- if (awt_getPixelShort(env, -1, rasterP, sdataP) < 0) { ++ if (awt_getPixels(env, rasterP, mlib_ImageGetData(*mlibImagePP)) < 0) { + (*sMlibSysFns.deleteImageFP)(*mlibImagePP); + return -1; + } +@@ -2550,60 +2535,6 @@ + } + } + +-static int +-storeDstArray(JNIEnv *env, BufImageS_t *srcP, BufImageS_t *dstP, +- mlibHintS_t *hintP, mlib_image *mlibImP, void *ddata) { +- RasterS_t *rasterP = &dstP->raster; +- +- /* Nothing to do since it is the same image type */ +- if (srcP->imageType == dstP->imageType +- && srcP->imageType != java_awt_image_BufferedImage_TYPE_CUSTOM +- && srcP->imageType != java_awt_image_BufferedImage_TYPE_BYTE_INDEXED +- && srcP->imageType != java_awt_image_BufferedImage_TYPE_BYTE_BINARY) { +- /* REMIND: Should check the ICM LUTS to see if it is the same */ +- return 0; - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } +- /* These types are compatible with TYPE_INT_RGB */ +- if (srcP->imageType == java_awt_image_BufferedImage_TYPE_INT_RGB +- && (dstP->imageType == java_awt_image_BufferedImage_TYPE_INT_ARGB || +- dstP->imageType == java_awt_image_BufferedImage_TYPE_INT_ARGB_PRE)){ +- return 0; - } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- if (hintP->cvtSrcToDefault && +- (srcP->cmodel.isAlphaPre == dstP->cmodel.isAlphaPre)) { +- if (srcP->cmodel.isAlphaPre) { +- if (dstP->imageType == +- java_awt_image_BufferedImage_TYPE_INT_ARGB_PRE) +- { +- return 0; +- } +- if (!srcP->cmodel.supportsAlpha && +- dstP->imageType == java_awt_image_BufferedImage_TYPE_INT_RGB){ +- return 0; +- } +- } +- else { +- /* REMIND: */ +- } +- } - -- if (country.equals("TW")) -- suffix += "_" + country; +- if (dstP->cmodel.cmType == DIRECT_CM_TYPE) { +- /* Just need to move bits */ +- if (mlibImP->type == MLIB_BYTE) { +- return awt_setPixelByte(env, -1, &dstP->raster, +- (unsigned char *) mlibImP->data); +- } +- else if (mlibImP->type == MLIB_SHORT) { +- return awt_setPixelByte(env, -1, &dstP->raster, +- (unsigned char *) mlibImP->data); +- } +- } - -- return suffix; -- } +- return 0; +-} - - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_tr.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_tr.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ + #define ERR_BAD_IMAGE_LAYOUT (-2) + + #define CHECK_DST_ARRAY(start_offset, elements_per_scan, elements_per_pixel) \ +@@ -2709,8 +2640,7 @@ + } + } + else if (mlibImP->type == MLIB_SHORT) { +- return awt_setPixelShort(env, -1, rasterP, +- (unsigned short *) mlibImP->data); ++ return awt_setPixels(env, rasterP, mlibImP->data); + } + } + else { +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c 2014-01-18 12:16:33.000000000 -0800 +@@ -86,7 +86,7 @@ + #endif /* MLIB_USE_FTOI_CLAMPING */ + /***************************************************************/ +-#if defined(_LITTLE_ENDIAN) && !defined(_NO_LONGLONG) ++#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(_NO_LONGLONG) - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + /* NB: Explicit cast to DTYPE is necessary to avoid warning from Microsoft VC compiler. + And we need to explicitly define cast behavior if source exceeds destination range. +@@ -103,7 +103,7 @@ + dp[0 ] = (DTYPE) ((res0) & DTYPE_MASK); \ + dp[chan1] = (DTYPE) ((res1) & DTYPE_MASK) - /** - * Set up error messages. -@@ -443,67 +440,4 @@ - return _contents; +-#endif /* defined(_LITTLE_ENDIAN) && !defined(_NO_LONGLONG) */ ++#endif /* (BYTE_ORDER == LITTLE_ENDIAN) && !defined(_NO_LONGLONG) */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -114,17 +114,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | ((mlib_s64)sp[0] & 0xffffffff) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | ((mlib_s64)sp[chan1] & 0xffffffff) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + #endif /* _NO_LONGLONG */ + +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c 2014-01-18 12:16:33.000000000 -0800 +@@ -126,7 +126,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -138,7 +138,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -149,17 +149,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c 2014-01-18 12:16:33.000000000 -0800 +@@ -94,7 +94,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -106,7 +106,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -117,17 +117,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c 2014-01-18 12:16:33.000000000 -0800 +@@ -126,7 +126,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -138,7 +138,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -149,17 +149,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c 2014-01-18 12:16:33.000000000 -0800 +@@ -95,7 +95,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -107,7 +107,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -118,17 +118,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c 2014-01-18 12:16:33.000000000 -0800 +@@ -126,7 +126,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -138,7 +138,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -149,17 +149,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c 2014-01-18 12:16:33.000000000 -0800 +@@ -94,7 +94,7 @@ + #define D2I(x) CLAMP_S32((x) SAT_OFF) + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define STORE2(res0, res1) \ + dp[0 ] = res1; \ +@@ -106,7 +106,7 @@ + dp[0 ] = res0; \ + dp[chan1] = res1 + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + #ifdef _NO_LONGLONG +@@ -117,17 +117,17 @@ + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) + +-#else /* _LITTLE_ENDIAN */ ++#else + + #define LOAD_BUFF(buff) \ + *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #endif /* _NO_LONGLONG */ + + /***************************************************************/ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c 2014-01-18 12:16:33.000000000 -0800 +@@ -95,7 +95,7 @@ + dst = dp[0]; + if (ld_offset + size < 32) { + dmask = (mask0 << (32 - size)) >> ld_offset; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src = (src0 >> (ld_offset - ls_offset)); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -104,12 +104,12 @@ + #else + src = (src0 >> (ld_offset - ls_offset)); + dp[0] = (dst & (~dmask)) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + return; + } + + dmask = mask0 >> ld_offset; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src = (src0 >> (ld_offset - ls_offset)); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -118,7 +118,7 @@ + #else + src = (src0 >> (ld_offset - ls_offset)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + j = 32 - ld_offset; + dp++; + ls_offset += j; +@@ -131,7 +131,7 @@ + + if (ld_offset + size < 32) { + dmask = (mask0 << (32 - size)) >> ld_offset; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 << shift) | (src1 >> (32 - shift)); +@@ -141,12 +141,12 @@ + #else + src = (src0 << shift) | (src1 >> (32 - shift)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + return; + } + + dmask = mask0 >> ld_offset; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 << shift) | (src1 >> (32 - shift)); +@@ -156,7 +156,7 @@ + #else + src = (src0 << shift) | (src1 >> (32 - shift)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + j = 32 - ld_offset; + dp++; + sp++; +@@ -164,19 +164,19 @@ } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("tr", "TR")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + if (j < size) src1 = sp[0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + for (; j <= size - 32; j += 32) { + src0 = src1; + src1 = sp[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); + dp[0] = (src << 24) | ((src & 0xFF00) << 8) | ((src >> 8) & 0xFF00) | (src >> 24); + #else + dp[0] = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp++; + dp++; + } +@@ -187,7 +187,7 @@ + if (ls_offset + j > 32) src1 = sp[1]; + dst = dp[0]; + dmask = mask0 << (32 - j); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -196,7 +196,7 @@ + #else + src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + + #else /* _LONGLONG */ +@@ -315,7 +315,7 @@ + dst = dp[0]; + if (ld_offset >= size) { + dmask = (lmask0 << (32 - size)) >> (ld_offset - size); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src = (src0 << (ls_offset - ld_offset)); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -324,12 +324,12 @@ + #else + src = (src0 << (ls_offset - ld_offset)); + dp[0] = (dst & (~dmask)) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + return; + } + + dmask = lmask0 << (32 - ld_offset); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src = (src0 << (ls_offset - ld_offset)); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -338,7 +338,7 @@ + #else + src = (src0 << (ls_offset - ld_offset)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + j = ld_offset; + dp--; + ls_offset -= j; +@@ -351,7 +351,7 @@ + + if (ld_offset >= size) { + dmask = (lmask0 << (32 - size)) >> (ld_offset - size); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 >> shift) | (src1 << (32 - shift)); +@@ -361,12 +361,12 @@ + #else + src = (src0 >> shift) | (src1 << (32 - shift)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + return; + } + + dmask = lmask0 << (32 - ld_offset); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 >> shift) | (src1 << (32 - shift)); +@@ -376,7 +376,7 @@ + #else + src = (src0 >> shift) | (src1 << (32 - shift)); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + j = ld_offset; + dp--; + sp--; +@@ -384,22 +384,22 @@ + } + + if (j < size) src1 = sp[0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + #ifdef __SUNPRO_C + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (; j <= size - 32; j += 32) { + src0 = src1; + src1 = sp[-1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); + dp[0] = (src << 24) | ((src & 0xFF00) << 8) | ((src >> 8) & 0xFF00) | (src >> 24); + #else + dp[0] = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp--; + dp--; + } +@@ -410,7 +410,7 @@ + if (ls_offset < j) src1 = sp[-1]; + dst = dp[0]; + dmask = lmask0 >> (32 - j); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); + src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); + dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); +@@ -419,7 +419,7 @@ + #else + src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); + dp[0] = (dst & ~dmask) | (src & dmask); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + + #else /* _LONGLONG */ +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c 2014-01-18 12:16:33.000000000 -0800 +@@ -168,7 +168,7 @@ } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_CN.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_CN.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define READ_U8_D64(table0, table1, table2, table3) \ + t0 = *(mlib_d64*)((mlib_u8*)table0 + ((s0 << 3) & 0x7F8)); \ +@@ -184,7 +184,7 @@ + t2 = *(mlib_d64*)((mlib_u8*)table2 + ((s0 >> 5) & 0x7F8)); \ + t3 = *(mlib_d64*)((mlib_u8*)table3 + ((s0 << 3) & 0x7F8)) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + void mlib_ImageLookUp_U8_D64(const mlib_u8 *src, +@@ -613,7 +613,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 8, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); +@@ -623,12 +623,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); +@@ -638,7 +638,7 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[4] = t0; + dp[5] = t1; +@@ -646,7 +646,7 @@ + dp[7] = t3; + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); +@@ -656,12 +656,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); +@@ -671,7 +671,7 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; +@@ -719,7 +719,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 12, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +@@ -733,14 +733,14 @@ + t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; + dp[4] = t4; + dp[5] = t5; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +@@ -754,7 +754,7 @@ + t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[6] = t0; + dp[7] = t1; +@@ -764,7 +764,7 @@ + dp[11] = t5; + } - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +@@ -778,14 +778,14 @@ + t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; + dp[4] = t4; + dp[5] = t5; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +@@ -799,7 +799,7 @@ + t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[6] = t0; + dp[7] = t1; + dp[8] = t2; +@@ -852,7 +852,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 16, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +@@ -862,12 +862,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 21) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); +@@ -877,12 +877,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; + dp[7] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +@@ -892,12 +892,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 5) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[8] = t0; + dp[9] = t1; + dp[10] = t2; + dp[11] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); +@@ -907,7 +907,7 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[12] = t0; + dp[13] = t1; +@@ -915,7 +915,7 @@ + dp[15] = t3; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); +@@ -925,12 +925,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 21) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); +@@ -940,12 +940,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 13) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; + dp[7] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); +@@ -955,12 +955,12 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 5) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[8] = t0; + dp[9] = t1; + dp[10] = t2; + dp[11] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); +@@ -970,7 +970,7 @@ + t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); + t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); + t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 << 3) & 0x7F8)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[12] = t0; + dp[13] = t1; + dp[14] = t2; +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c 2014-01-18 12:16:33.000000000 -0800 +@@ -88,7 +88,7 @@ + } d64_2_f32; + + /***************************************************************/ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + static const mlib_u32 mlib_bit_mask[16] = { + 0x00000000u, 0xFF000000u, 0x00FF0000u, 0xFFFF0000u, +@@ -126,7 +126,7 @@ + 0x00000000u, 0x00FFFFFFu, 0xFF000000u, 0xFFFFFFFFu + }; + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + mlib_status mlib_ImageLookUp_Bit_U8_1(const mlib_u8 *src, +@@ -228,13 +228,13 @@ + #endif /* __SUNPRO_C */ + for (; i <= (size - 16); i += 16) { + s0 = *(mlib_u16*)sa; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *da++ = dd_array[s0 & 0xFF]; + *da++ = dd_array[s0 >> 8]; + #else + *da++ = dd_array[s0 >> 8]; + *da++ = dd_array[s0 & 0xFF]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sa += 2; } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- - } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_TW.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_TW.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,9 +24,6 @@ +@@ -258,20 +258,20 @@ + val1 = p_dd[2*val0+1]; + } +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); + #else + emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ((mlib_u32*)da)[0] = (val1 & emask) | (((mlib_u32*)da)[0] &~ emask); + + #else /* _NO_LONGLONG */ + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + mlib_u64 emask = (mlib_u64)((mlib_s64)(-1)) >> ((8 - (size - i)) * 8); + #else + mlib_u64 emask = (mlib_s64)(-1) << ((8 - (size - i)) * 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + ((mlib_u64*)da)[0] = (((mlib_u64*)dd_array)[sa[0]] & emask) | (((mlib_u64*)da)[0] &~ emask); + +@@ -323,13 +323,13 @@ + + val0 = table[0][0]; + val1 = table[0][1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + val0 = val0 | (table[1][0] << 8); + val1 = val1 | (table[1][1] << 8); + #else + val0 = (val0 << 8) | table[1][0]; + val1 = (val1 << 8) | table[1][1]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + val0 |= (val0 << 16); + val1 |= (val1 << 16); + +@@ -394,11 +394,11 @@ + dd1 = dd2; + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); + #else + emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ((mlib_u32*)da)[0] = (dd1 & emask) | (((mlib_u32*)da)[0] &~ emask); + + #else /* _NO_LONGLONG */ +@@ -412,11 +412,11 @@ + dd = ((mlib_u64*)dd_array)[s0 & 0xf]; + } - /** - * Set up error messages. -@@ -453,67 +450,4 @@ - return _contents; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + emask = (mlib_u64)((mlib_s64)(-1)) >> ((8 - (size - i)) * 8); + #else + emask = (mlib_s64)(-1) << ((8 - (size - i)) * 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ((mlib_u64*)da)[0] = (dd & emask) | (((mlib_u64*)da)[0] &~ emask); + + #endif /* _NO_LONGLONG */ +@@ -462,7 +462,7 @@ + + buffs = buff + size; + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + l0 = (table[0][0] << 24) | (table[2][0] << 16) | (table[1][0] << 8) | (table[0][0]); + h0 = (table[0][1] << 24) | (table[2][1] << 16) | (table[1][1] << 8) | (table[0][1]); + l1 = (l0 >> 8); l1 |= (l1 << 24); +@@ -476,7 +476,7 @@ + h1 = (h0 << 8); h1 |= (h1 >> 24); + l2 = (l1 << 8); l2 |= (l2 >> 24); + h2 = (h1 << 8); h2 |= (h2 >> 24); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /* calculate lookup table */ + #ifdef __SUNPRO_C +@@ -564,11 +564,11 @@ + dd = ((mlib_u32*)(d_array12 + (s0 & 0xF)))[1]; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); + #else + emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = (dd & emask) | (da[0] &~ emask); } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XMLErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XMLErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XMLErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- +@@ -611,13 +611,13 @@ + + buffs = buff + size; + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + l = (table[3][0] << 24) | (table[2][0] << 16) | (table[1][0] << 8) | (table[0][0]); + h = (table[3][1] << 24) | (table[2][1] << 16) | (table[1][1] << 8) | (table[0][1]); + #else + l = (table[0][0] << 24) | (table[1][0] << 16) | (table[2][0] << 8) | (table[3][0]); + h = (table[0][1] << 24) | (table[1][1] << 16) | (table[2][1] << 8) | (table[3][1]); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + ((mlib_u32*)lh)[0] = l; ((mlib_u32*)lh)[1] = l; + ((mlib_u32*)lh)[2] = l; ((mlib_u32*)lh)[3] = h; +--- jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c 2014-01-18 12:16:33.000000000 -0800 +@@ -30,7 +30,7 @@ + typedef union { + mlib_d64 db; + struct { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + mlib_s32 int1, int0; + #else + mlib_s32 int0, int1; +--- jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c 2013-09-06 11:29:00.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c 2014-01-18 12:16:33.000000000 -0800 +@@ -275,11 +275,11 @@ + for (i = 0; j <= (b_size - 4); j += 4, i++) { + src0 = src1; + src1 = pws[i + 1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + pwd[i] = (src0 >> lshift) | (src1 << rshift); + #else + pwd[i] = (src0 << lshift) | (src1 >> rshift); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + + sa += i << 2; +@@ -381,11 +381,11 @@ + for (; j <= (src_width - 4); j += 4) { + src0 = src1; + src1 = ps[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *((mlib_s32 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); + #else + *((mlib_s32 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ps++; + } + } +@@ -414,11 +414,11 @@ + for (; j <= (src_width - 8); j += 8) { + src0 = src1; + src1 = ps[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *((mlib_s64 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); + #else + *((mlib_s64 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ps++; + } + } +@@ -484,11 +484,11 @@ + for (; j <= (src_width - 2); j += 2) { + src0 = src1; + src1 = ps[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *((mlib_s32 *) (pdst_row + j)) = (src0 >> 16) | (src1 << 16); + #else + *((mlib_s32 *) (pdst_row + j)) = (src0 << 16) | (src1 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ps++; + } + } +@@ -516,11 +516,11 @@ + for (; j <= (src_width - 4); j += 4) { + src0 = src1; + src1 = ps[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *((mlib_s64 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); + #else + *((mlib_s64 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ps++; + } + } +@@ -585,11 +585,11 @@ + for (; j <= (src_width - 2); j += 2) { + src0 = src1; + src1 = ps[1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *((mlib_s64 *) (pdst_row + j)) = (src0 >> 32) | (src1 << 32); + #else + *((mlib_s64 *) (pdst_row + j)) = (src0 << 32) | (src1 >> 32); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + ps++; + } + } +@@ -687,11 +687,11 @@ + #endif /* __SUNPRO_C */ + for (; n > SIZE; n -= SIZE) { + s1 = *tmp++; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *(TYPE *) dp = (s0 >> shl) | (s1 << shr); + #else + *(TYPE *) dp = (s0 << shl) | (s1 >> shr); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = s1; + dp += SIZE; + sp += SIZE; +--- jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c 2014-01-18 12:16:33.000000000 -0800 +@@ -120,7 +120,7 @@ + } \ } ---- jaxp/src/com/sun/org/apache/xml/internal/res/XMLMessages.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/res/XMLMessages.java 2013-04-28 16:29:20.000000000 -0700 -@@ -22,10 +22,9 @@ - */ - package com.sun.org.apache.xml.internal.res; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.util.ListResourceBundle; - import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + /***************************************************************/ + #define READ_U8_U8_ALIGN(table0, table1, table2, table3) \ +@@ -163,7 +163,7 @@ + t2 = *(mlib_u32*)((mlib_u8*)table2 + ((s0 >> 14) & 0x3FC)); \ + t3 = *(mlib_u32*)((mlib_u8*)table3 + ((s0 >> 22) & 0x3FC)) + +-#else /* _LITTLE_ENDIAN */ ++#else /* BYTE_ORDER == ... */ + + /***********/ + #define READ_U8_U8_ALIGN(table0, table1, table2, table3) \ +@@ -206,7 +206,7 @@ + t2 = *(mlib_u32*)((mlib_u8*)table2 + ((s0 >> 6) & 0x3FC)); \ + t3 = *(mlib_u32*)((mlib_u8*)table3 + ((s0 << 2) & 0x3FC)) + +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + /***************************************************************/ + void mlib_c_ImageLookUp_U8_U8(const mlib_u8 *src, +@@ -297,11 +297,11 @@ + da[0] = t; + da++; + dp = (mlib_u8 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = tab[s2 >> 8]; + #else + *dp++ = tab[s2 & 0xFF]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp = (mlib_u8 *) sa; + i += 5; + for (; i < size; i++, dp++, sp++) +@@ -403,11 +403,11 @@ + da[0] = t; + da++; + dp = (mlib_u8 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = tab0[s2 >> 8]; + #else + *dp++ = tab0[s2 & 0xFF]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp = (mlib_u8 *) sa; + i += 5; + +@@ -544,11 +544,11 @@ + da[0] = t; + da++; + dp = (mlib_u8 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = tab1[s2 >> 8]; + #else + *dp++ = tab1[s2 & 0xFF]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp = (mlib_u8 *) sa; + i += 5; + +@@ -694,11 +694,11 @@ + da[0] = t; + da++; + dp = (mlib_u8 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = tab0[s2 >> 8]; + #else + *dp++ = tab0[s2 & 0xFF]; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sp = (mlib_u8 *) sa; + i += 5; + +@@ -1852,21 +1852,21 @@ + s0 = tab0[0]; + s1 = tab1[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s2 = (s1 << 8) + s0; + #else + s2 = (s0 << 8) + s1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + tab[i - 1] = (mlib_u16) s2; + } - /** - * A utility class for issuing XML error messages. -@@ -82,8 +81,9 @@ +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s2 = (s1 << 8) + s0; + #else + s2 = (s0 << 8) + s1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[255] = (mlib_u16) s2; + + for (j = 0; j < ysize; j++, dst += dlb, src += slb) { +@@ -1897,11 +1897,11 @@ + for (i = 0; i < size - 3; i += 2, da++, sa += 2) { + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t = (t1 << 16) + t0; + #else + t = (t0 << 16) + t1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + da[0] = t; +@@ -1909,11 +1909,11 @@ + + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t = (t1 << 16) + t0; + #else + t = (t0 << 16) + t1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = t; + da++; + +@@ -1927,13 +1927,13 @@ + + if (off > 1) { + t0 = tab[sa[0]]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[1] = (t0 >> 8); + dp[0] = t0; + #else + dp[0] = (t0 >> 8); + dp[1] = t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sa++; + size--; + dp += 2; +@@ -1941,11 +1941,11 @@ + + t0 = tab[sa[0]]; + sa++; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = t0; + #else + *dp++ = (t0 >> 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + da = (mlib_s32 *) dp; + +@@ -1959,11 +1959,11 @@ + for (i = 0; i < size - 4; i += 2, da++, sa += 2) { + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t = (t0 >> 8) + (t1 << 8) + (t2 << 24); + #else + t = (t0 << 24) + (t1 << 8) + (t2 >> 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + t0 = t2; + s0 = sa[0]; + s1 = sa[1]; +@@ -1972,29 +1972,29 @@ + + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t = (t0 >> 8) + (t1 << 8) + (t2 << 24); + #else + t = (t0 << 24) + (t1 << 8) + (t2 >> 8); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = t; + da++; + dp = (mlib_u8 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[0] = (t2 >> 8); + #else + dp[0] = t2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + if ((size & 1) == 0) { + t0 = tab[sa[0]]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[2] = (t0 >> 8); + dp[1] = t0; + #else + dp[1] = (t0 >> 8); + dp[2] = t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -2012,22 +2012,22 @@ + s1 = tab1[0]; + s2 = tab2[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s3 = (s2 << 24) + (s1 << 16) + (s0 << 8); + #else + s3 = (s0 << 16) + (s1 << 8) + s2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + s2 = tab2[i]; + tab[i - 1] = s3; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s3 = (s2 << 24) + (s1 << 16) + (s0 << 8); + #else + s3 = (s0 << 16) + (s1 << 8) + s2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[255] = s3; + + for (j = 0; j < ysize; j++, dst += dlb, src += slb) { +@@ -2064,24 +2064,24 @@ + for (i = 0; i < size - 7; i += 4, da += 3, sa += 4) { + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t0 >> 8) + (t1 << 16); + res2 = (t1 >> 16); + #else + da[0] = (t0 << 8) + (t1 >> 16); + res2 = (t1 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += (t0 << 8); + res1 = (t0 >> 24) + t1; + #else + res2 += (t0 >> 8); + res1 = (t0 << 24) + t1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[2]; + s1 = sa[3]; + da[1] = res2; +@@ -2090,24 +2090,24 @@ + + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t0 >> 8) + (t1 << 16); + res2 = (t1 >> 16); + #else + da[0] = (t0 << 8) + (t1 >> 16); + res2 = (t1 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab[s0]; + t1 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += (t0 << 8); + res1 = (t0 >> 24) + t1; + #else + res2 += (t0 >> 8); + res1 = (t0 << 24) + t1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[1] = res2; + da[2] = res1; + da += 3; +@@ -2143,11 +2143,11 @@ + s2 = tab2[0]; + s3 = tab3[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s4 = (s3 << 24) + (s2 << 16) + (s1 << 8) + s0; + #else + s4 = (s0 << 24) + (s1 << 16) + (s2 << 8) + s3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + s2 = tab2[i]; +@@ -2155,11 +2155,11 @@ + tab[i - 1] = s4; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s4 = (s3 << 24) + (s2 << 16) + (s1 << 8) + s0; + #else + s4 = (s0 << 24) + (s1 << 16) + (s2 << 8) + s3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[255] = s4; + + for (j = 0; j < ysize; j++, dst += dlb, src += slb) { +@@ -2225,13 +2225,13 @@ + for (i = 0; i < size - 4; i += 2, da += 2, sa += 2) { + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> shift) + (t1 << shift1); + res2 = (t1 >> shift) + (t2 << shift1); + #else + res1 = (t0 << shift) + (t1 >> shift1); + res2 = (t1 << shift) + (t2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + t0 = t2; + s0 = sa[0]; + s1 = sa[1]; +@@ -2241,28 +2241,28 @@ + + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> shift) + (t1 << shift1); + res2 = (t1 >> shift) + (t2 << shift1); + #else + res1 = (t0 << shift) + (t1 >> shift1); + res2 = (t1 << shift) + (t2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res1; + da[1] = res2; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = (da[2] >> shift1); + da[2] = (t2 >> shift) + (t0 << shift1); + #else + t0 = (da[2] << shift1); + da[2] = (t2 << shift) + (t0 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da += 2; + dp = (mlib_u8 *) da + (4 - off); + + if ((size & 1) == 0) { + t0 = tab[sa[0]]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[3] = (mlib_u8) (t0 >> 24); + dp[2] = (mlib_u8) (t0 >> 16); + dp[1] = (mlib_u8) (t0 >> 8); +@@ -2272,7 +2272,7 @@ + dp[1] = (mlib_u8) (t0 >> 16); + dp[2] = (mlib_u8) (t0 >> 8); + dp[3] = (mlib_u8) t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -2348,13 +2348,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res2 = (t5 << 8) + t4; + #else + da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res2 = (t4 << 24) + (t5 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab0[s0]; +@@ -2363,13 +2363,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += ((t1 << 24) + (t0 << 16)); + res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; + #else + res2 += ((t0 << 8) + t1); + res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[2]; + s1 = sa[3]; + da[1] = res2; +@@ -2382,13 +2382,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res2 = (t5 << 8) + t4; + #else + da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res2 = (t4 << 24) + (t5 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab0[s0]; +@@ -2397,13 +2397,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += ((t1 << 24) + (t0 << 16)); + res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; + #else + res2 += ((t0 << 8) + t1); + res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[1] = res2; + da[2] = res1; + da += 3; +@@ -2455,11 +2455,11 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + da[0] = res; + } +@@ -2468,11 +2468,11 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res; + + } +@@ -2496,11 +2496,11 @@ + t2 = tab2[s0]; + t3 = tab3[s0]; + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res1 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + s0 = sa[0]; + sa++; +@@ -2513,13 +2513,13 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res = (res1 >> shift) + (res2 << shift1); + #else + res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res = (res1 << shift) + (res2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + res1 = res2; + s0 = sa[0]; + da[0] = res; +@@ -2529,21 +2529,21 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res = (res1 >> shift) + (res2 << shift1); + #else + res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res = (res1 << shift) + (res2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (da[1] >> shift1); + da[1] = (res2 >> shift) + (res1 << shift1); + #else + res1 = (da[1] << shift1); + da[1] = (res2 << shift) + (res1 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -2617,13 +2617,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res2 = (t5 << 8) + t4; + #else + da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res2 = (t4 << 24) + (t5 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab0[s0]; +@@ -2632,13 +2632,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += ((t1 << 24) + (t0 << 16)); + res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; + #else + res2 += ((t0 << 8) + t1); + res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[2]; + s1 = sa[3]; + da[1] = res2; +@@ -2651,13 +2651,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res2 = (t5 << 8) + t4; + #else + da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res2 = (t4 << 24) + (t5 << 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + s1 = sa[1]; + t0 = tab0[s0]; +@@ -2666,13 +2666,13 @@ + t3 = tab0[s1]; + t4 = tab1[s1]; + t5 = tab2[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 += ((t1 << 24) + (t0 << 16)); + res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; + #else + res2 += ((t0 << 8) + t1); + res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[1] = res2; + da[2] = res1; + da += 3; +@@ -2724,11 +2724,11 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + da[0] = res; + } +@@ -2737,11 +2737,11 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res; + + } +@@ -2765,11 +2765,11 @@ + t2 = tab2[s0]; + t3 = tab3[s0]; + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + #else + res1 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + s0 = sa[0]; + sa++; +@@ -2782,13 +2782,13 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res = (res1 >> shift) + (res2 << shift1); + #else + res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res = (res1 << shift) + (res2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + res1 = res2; + s0 = sa[0]; + da[0] = res; +@@ -2798,21 +2798,21 @@ + t1 = tab1[s0]; + t2 = tab2[s0]; + t3 = tab3[s0]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; + res = (res1 >> shift) + (res2 << shift1); + #else + res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; + res = (res1 << shift) + (res2 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (da[1] >> shift1); + da[1] = (res2 >> shift) + (res1 << shift1); + #else + res1 = (da[1] << shift1); + da[1] = (res2 << shift) + (res1 >> shift1); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -2863,21 +2863,21 @@ + s0 = tab0[0]; + s1 = tab1[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s2 = (s1 << 16) + s0; + #else + s2 = (s0 << 16) + s1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + tab[i - 1] = s2; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s2 = (s1 << 16) + s0; + #else + s2 = (s0 << 16) + s1; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[255] = s2; + + for (j = 0; j < ysize; j++, dst += dlb, src += slb) { +@@ -2919,11 +2919,11 @@ + else { + + t0 = tab[*sa++]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = (mlib_u16) (t0); + #else + *dp++ = (mlib_u16) (t0 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da = (mlib_u32 *) dp; + s0 = sa[0]; + s1 = sa[1]; +@@ -2935,13 +2935,13 @@ + for (i = 0; i < size - 4; i += 2, da += 2, sa += 2) { + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> 16) + (t1 << 16); + res2 = (t1 >> 16) + (t2 << 16); + #else + res1 = (t0 << 16) + (t1 >> 16); + res2 = (t1 << 16) + (t2 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + t0 = t2; + s0 = sa[0]; + s1 = sa[1]; +@@ -2951,32 +2951,32 @@ + + t1 = tab[s0]; + t2 = tab[s1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> 16) + (t1 << 16); + res2 = (t1 >> 16) + (t2 << 16); + #else + res1 = (t0 << 16) + (t1 >> 16); + res2 = (t1 << 16) + (t2 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res1; + da[1] = res2; + da += 2; + dp = (mlib_u16 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[0] = (mlib_u16) (t2 >> 16); + #else + dp[0] = (mlib_u16) t2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + if ((size & 1) == 0) { + t0 = tab[sa[0]]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[2] = (mlib_u16) (t0 >> 16); + dp[1] = (mlib_u16) t0; + #else + dp[1] = (mlib_u16) (t0 >> 16); + dp[2] = (mlib_u16) t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -2994,13 +2994,13 @@ + s1 = tab1[0]; + s2 = tab2[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s3 = (s0 << 16); + s4 = (s2 << 16) + s1; + #else + s3 = s0; + s4 = (s1 << 16) + s2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + s2 = tab2[i]; +@@ -3008,13 +3008,13 @@ + tab[2 * i - 1] = s4; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s4 = (s2 << 16) + s1; + tab[510] = s0 << 16; + #else + s4 = (s1 << 16) + s2; + tab[510] = s0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[511] = s4; + + for (j = 0; j < ysize; j++, dst += dlb, src += slb) { +@@ -3050,13 +3050,13 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> 16) + (t1 << 16); + res2 = (t1 >> 16) + t2; + #else + res1 = (t0 << 16) + (t1 >> 16); + res2 = (t1 << 16) + t2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0] << 3; + s1 = sa[1] << 3; + da[0] = res1; +@@ -3068,13 +3068,13 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t0 >> 16) + (t1 << 16); + res2 = (t1 >> 16) + t2; + #else + res1 = (t0 << 16) + (t1 >> 16); + res2 = (t1 << 16) + t2; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res1; + da[1] = res2; + da[2] = t3; +@@ -3105,13 +3105,13 @@ + s2 = tab2[0]; + s3 = tab3[0]; + for (i = 1; i < 256; i++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s4 = (s1 << 16) + s0; + s5 = (s3 << 16) + s2; + #else + s4 = (s0 << 16) + s1; + s5 = (s2 << 16) + s3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = tab0[i]; + s1 = tab1[i]; + s2 = tab2[i]; +@@ -3120,13 +3120,13 @@ + tab[2 * i - 1] = s5; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + s4 = (s1 << 16) + s0; + s5 = (s3 << 16) + s2; + #else + s4 = (s0 << 16) + s1; + s5 = (s2 << 16) + s3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + tab[510] = s4; + tab[511] = s5; + +@@ -3181,18 +3181,18 @@ + + t4 = tab[2 * sa[0]]; + t5 = tab[2 * sa[0] + 1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *dp++ = (mlib_u16) (t4); + #else + *dp++ = (mlib_u16) (t4 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + sa++; + da = (mlib_u32 *) dp; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + *da++ = (t4 >> 16) + (t5 << 16); + #else + *da++ = (t4 << 16) + (t5 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0] << 3; + s1 = sa[1] << 3; + sa += 2; +@@ -3205,7 +3205,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t5 >> 16) + (t0 << 16); + res2 = (t0 >> 16) + (t1 << 16); + res3 = (t1 >> 16) + (t2 << 16); +@@ -3215,7 +3215,7 @@ + res2 = (t0 << 16) + (t1 >> 16); + res3 = (t1 << 16) + (t2 >> 16); + res4 = (t2 << 16) + (t3 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0] << 3; + s1 = sa[1] << 3; + da[0] = res1; +@@ -3229,7 +3229,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + res1 = (t5 >> 16) + (t0 << 16); + res2 = (t0 >> 16) + (t1 << 16); + res3 = (t1 >> 16) + (t2 << 16); +@@ -3239,36 +3239,36 @@ + res2 = (t0 << 16) + (t1 >> 16); + res3 = (t1 << 16) + (t2 >> 16); + res4 = (t2 << 16) + (t3 >> 16); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + da[0] = res1; + da[1] = res2; + da[2] = res3; + da[3] = res4; + da += 4; + dp = (mlib_u16 *) da; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[0] = (mlib_u16) (t3 >> 16); + #else + dp[0] = (mlib_u16) t3; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + + if ((size & 1) == 0) { + t0 = tab[2 * sa[0]]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[2] = (mlib_u16) (t0 >> 16); + dp[1] = (mlib_u16) t0; + #else + dp[1] = (mlib_u16) (t0 >> 16); + dp[2] = (mlib_u16) t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + t0 = tab[2 * sa[0] + 1]; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + dp[4] = (mlib_u16) (t0 >> 16); + dp[3] = (mlib_u16) t0; + #else + dp[3] = (mlib_u16) (t0 >> 16); + dp[4] = (mlib_u16) t0; +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + } + } + } +@@ -3439,7 +3439,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 8, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); +@@ -3449,12 +3449,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); +@@ -3464,7 +3464,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[4] = t0; + dp[5] = t1; +@@ -3472,7 +3472,7 @@ + dp[7] = t3; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); +@@ -3482,12 +3482,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); +@@ -3497,7 +3497,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; +@@ -3545,7 +3545,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 12, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +@@ -3559,14 +3559,14 @@ + t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; + dp[4] = t4; + dp[5] = t5; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +@@ -3580,7 +3580,7 @@ + t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[6] = t0; + dp[7] = t1; +@@ -3590,7 +3590,7 @@ + dp[11] = t5; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +@@ -3604,14 +3604,14 @@ + t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; + dp[4] = t4; + dp[5] = t5; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +@@ -3625,7 +3625,7 @@ + t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[6] = t0; + dp[7] = t1; + dp[8] = t2; +@@ -3678,7 +3678,7 @@ + #pragma pipeloop(0) + #endif /* __SUNPRO_C */ + for (i = 0; i < size - 7; i += 4, dp += 16, sa++) { +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +@@ -3688,12 +3688,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 22) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); +@@ -3703,12 +3703,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; + dp[7] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +@@ -3718,12 +3718,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 6) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[8] = t0; + dp[9] = t1; + dp[10] = t2; + dp[11] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); +@@ -3733,7 +3733,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + s0 = sa[0]; + dp[12] = t0; + dp[13] = t1; +@@ -3741,7 +3741,7 @@ + dp[15] = t3; + } + +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); +@@ -3751,12 +3751,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 22) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[0] = t0; + dp[1] = t1; + dp[2] = t2; + dp[3] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); +@@ -3766,12 +3766,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 14) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[4] = t0; + dp[5] = t1; + dp[6] = t2; + dp[7] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); +@@ -3781,12 +3781,12 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 6) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[8] = t0; + dp[9] = t1; + dp[10] = t2; + dp[11] = t3; +-#ifdef _LITTLE_ENDIAN ++#if (BYTE_ORDER == LITTLE_ENDIAN) + t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); +@@ -3796,7 +3796,7 @@ + t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); + t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); + t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 << 2) & 0x3FC)); +-#endif /* _LITTLE_ENDIAN */ ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ + dp[12] = t0; + dp[13] = t1; + dp[14] = t2; +--- jdk/src/share/native/sun/awt/medialib/mlib_image.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_image.h 2014-01-18 12:16:33.000000000 -0800 +@@ -27,9 +27,21 @@ + #ifndef MLIB_IMAGE_H + #define MLIB_IMAGE_H + +-#ifdef MACOSX ++#ifdef __OpenBSD__ ++#include <sys/types.h> ++#endif ++ ++#ifdef _ALLBSD_SOURCE + #include <machine/endian.h> ++ ++/* BSD's always define both _LITTLE_ENDIAN && _BIG_ENDIAN */ ++#if defined(_LITTLE_ENDIAN) && defined(_BIG_ENDIAN) && \ ++ _BYTE_ORDER == _BIG_ENDIAN ++#undef _LITTLE_ENDIAN + #endif ++ ++#endif /* _ALLBSD_SOURCE */ ++ + #include <mlib_types.h> + #include <mlib_status.h> + #include <mlib_sys.h> +--- jdk/src/share/native/sun/awt/medialib/mlib_sys.c 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_sys.c 2014-01-18 12:16:33.000000000 -0800 +@@ -26,7 +26,7 @@ + + #include <stdlib.h> + #include <string.h> +-#ifdef MACOSX ++#ifdef _ALLBSD_SOURCE + #include <unistd.h> + #include <sys/param.h> + #endif +@@ -90,7 +90,10 @@ + * alignment. -- from stdlib.h of MS VC++5.0. */ - public static final String createXMLMessage(String msgKey, Object args[]) - { -- if (XMLBundle == null) -- XMLBundle = loadResourceBundle(XML_ERROR_RESOURCES); -+ if (XMLBundle == null) { -+ XMLBundle = SecuritySupport.getResourceBundle(XML_ERROR_RESOURCES); + return (void *) malloc(size); +-#elif defined(MACOSX) ++#elif defined(__FreeBSD__) && (__FreeBSD_version >= 700013) ++ void *ret; ++ return posix_memalign(&ret, 8, size) ? NULL : ret; ++#elif defined(_ALLBSD_SOURCE) + return valloc(size); + #else + return (void *) memalign(8, size); +--- jdk/src/share/native/sun/awt/medialib/mlib_types.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/awt/medialib/mlib_types.h 2014-01-18 12:16:33.000000000 -0800 +@@ -59,7 +59,7 @@ + + #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__GNUC__) + +-#if defined(MACOSX) ++#if defined(_ALLBSD_SOURCE) + #include <stddef.h> /* for ptrdiff_t */ + #include <stdint.h> /* for uintptr_t */ + #elif defined(__linux__) +--- jdk/src/share/native/sun/awt/splashscreen/splashscreen_impl.c 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/awt/splashscreen/splashscreen_impl.c 2014-01-18 12:16:22.000000000 -0800 +@@ -111,8 +111,9 @@ + int + SplashIsStillLooping(Splash * splash) + { +- if (splash->currentFrame < 0) ++ if (splash->currentFrame < 0) { + return 0; ++ } + return splash->loopCount != 1 || + splash->currentFrame + 1 < splash->frameCount; + } +@@ -121,17 +122,22 @@ + SplashUpdateScreenData(Splash * splash) + { + ImageRect srcRect, dstRect; ++ if (splash->currentFrame < 0) { ++ return; + } - if (XMLBundle != null) - { -@@ -156,61 +156,4 @@ - return fmsg; - } + initRect(&srcRect, 0, 0, splash->width, splash->height, 1, + splash->width * sizeof(rgbquad_t), + splash->frames[splash->currentFrame].bitmapBits, &splash->imageFormat); +- if (splash->screenData) ++ if (splash->screenData) { + free(splash->screenData); ++ } + splash->screenStride = splash->width * splash->screenFormat.depthBytes; +- if (splash->byteAlignment > 1) ++ if (splash->byteAlignment > 1) { + splash->screenStride = + (splash->screenStride + splash->byteAlignment - 1) & + ~(splash->byteAlignment - 1); ++ } + splash->screenData = malloc(splash->height * splash->screenStride); + initRect(&dstRect, 0, 0, splash->width, splash->height, 1, + splash->screenStride, splash->screenData, &splash->screenFormat); +@@ -146,16 +152,19 @@ + void + SplashNextFrame(Splash * splash) + { +- if (splash->currentFrame < 0) ++ if (splash->currentFrame < 0) { + return; ++ } + do { +- if (!SplashIsStillLooping(splash)) ++ if (!SplashIsStillLooping(splash)) { + return; ++ } + splash->time += splash->frames[splash->currentFrame].delay; + if (++splash->currentFrame >= splash->frameCount) { + splash->currentFrame = 0; +- if (splash->loopCount > 0) ++ if (splash->loopCount > 0) { + splash->loopCount--; ++ } + } + } while (splash->time + splash->frames[splash->currentFrame].delay - + SplashTime() <= 0); +@@ -183,8 +192,9 @@ + pSrc += pSrcRect->depthBytes; + ++i; + } +- if (i >= pSrcRect->numSamples) ++ if (i >= pSrcRect->numSamples) { + break; ++ } + i0 = i; + while (i < pSrcRect->numSamples && + getRGBA(pSrc, pSrcRect->format) >= ALPHA_THRESHOLD) { +--- jdk/src/share/native/sun/font/layout/AlternateSubstSubtables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/AlternateSubstSubtables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -55,7 +55,7 @@ + (const AlternateSetTable *) ((char *) this + alternateSetTableOffset)); + TTGlyphID alternate = SWAPW(alternateSetTable->alternateArray[0]); -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className The class name of the resource bundle. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static ListResourceBundle loadResourceBundle(String className) -- throws MissingResourceException -- { -- Locale locale = Locale.getDefault(); -- -- try -- { -- return (ListResourceBundle)ResourceBundle.getBundle(className, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (ListResourceBundle)ResourceBundle.getBundle( -- className, new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { +- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, alternate))) { ++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, alternate), success)) { + glyphIterator->setCurrGlyphID(SWAPW(alternateSetTable->alternateArray[0])); + } + +--- jdk/src/share/native/sun/font/layout/AnchorTables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/AnchorTables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -37,55 +37,54 @@ + + U_NAMESPACE_BEGIN + +-void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, +- LEPoint &anchor) const ++void AnchorTable::getAnchor(const LETableReference &base, LEGlyphID glyphID, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const + { + switch(SWAPW(anchorFormat)) { + case 1: + { +- const Format1AnchorTable *f1 = (const Format1AnchorTable *) this; - -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles." + className, className, ""); -- } -- } -- } +- f1->getAnchor(fontInstance, anchor); ++ LEReferenceTo<Format1AnchorTable> f1(base, success); ++ f1->getAnchor(f1, fontInstance, anchor, success); + break; + } + + case 2: + { +- const Format2AnchorTable *f2 = (const Format2AnchorTable *) this; - -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which can be appended to a resource name -- */ -- protected static String getResourceSuffix(Locale locale) -- { +- f2->getAnchor(glyphID, fontInstance, anchor); ++ LEReferenceTo<Format2AnchorTable> f2(base, success); ++ f2->getAnchor(f2, glyphID, fontInstance, anchor, success); + break; + } + + case 3: + { +- const Format3AnchorTable *f3 = (const Format3AnchorTable *) this; - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +- f3->getAnchor(fontInstance, anchor); ++ LEReferenceTo<Format3AnchorTable> f3(base, success); ++ f3->getAnchor(f3, fontInstance, anchor, success); + break; + } + + default: ++ { + // unknown format: just use x, y coordinate, like format 1... +- const Format1AnchorTable *f1 = (const Format1AnchorTable *) this; - -- if (country.equals("TW")) -- suffix += "_" + country; +- f1->getAnchor(fontInstance, anchor); ++ LEReferenceTo<Format1AnchorTable> f1(base, success); ++ f1->getAnchor(f1, fontInstance, anchor, success); + break; + } + } ++} + +-void Format1AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const ++void Format1AnchorTable::getAnchor(const LEReferenceTo<Format1AnchorTable>& base, const LEFontInstance *fontInstance, LEPoint &anchor, LEErrorCode &success) const + { + le_int16 x = SWAPW(xCoordinate); + le_int16 y = SWAPW(yCoordinate); + LEPoint pixels; + + fontInstance->transformFunits(x, y, pixels); - -- return suffix; -- } + fontInstance->pixelsToUnits(pixels, anchor); } ---- jaxp/src/com/sun/org/apache/xml/internal/resolver/Catalog.java 2012-08-10 09:37:41.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/resolver/Catalog.java 2013-04-28 16:29:20.000000000 -0700 -@@ -24,6 +24,7 @@ - package com.sun.org.apache.xml.internal.resolver; - import com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.io.IOException; - import java.io.FileNotFoundException; - import java.io.InputStream; -@@ -821,7 +822,7 @@ - // tack on a basename because URLs point to files not dirs - catalogCwd = FileURL.makeURL("basename"); - } catch (MalformedURLException e) { -- String userdir = System.getProperty("user.dir"); -+ String userdir = SecuritySupport.getSystemProperty("user.dir"); - userdir.replace('\\', '/'); - catalogManager.debug.message(1, "Malformed URL on cwd", userdir); - catalogCwd = null; -@@ -1717,7 +1718,7 @@ - protected String resolveLocalSystem(String systemId) - throws MalformedURLException, IOException { - -- String osname = System.getProperty("os.name"); -+ String osname = SecuritySupport.getSystemProperty("os.name"); - boolean windows = (osname.indexOf("Windows") >= 0); - Enumeration en = catalogEntries.elements(); - while (en.hasMoreElements()) { ---- jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java 2012-08-10 09:37:42.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/resolver/CatalogManager.java 2013-04-28 16:29:20.000000000 -0700 -@@ -23,6 +23,7 @@ +-void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const ++void Format2AnchorTable::getAnchor(const LEReferenceTo<Format2AnchorTable>& base, ++ LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor ++ , LEErrorCode &success) const + { + LEPoint point; - package com.sun.org.apache.xml.internal.resolver; +@@ -100,7 +99,8 @@ + fontInstance->pixelsToUnits(point, anchor); + } -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.io.InputStream; +-void Format3AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const ++void Format3AnchorTable::getAnchor(const LEReferenceTo<Format3AnchorTable> &base, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const + { + le_int16 x = SWAPW(xCoordinate); + le_int16 y = SWAPW(yCoordinate); +@@ -111,15 +111,15 @@ + fontInstance->transformFunits(x, y, pixels); + + if (dtxOffset != 0) { +- const DeviceTable *dtx = (const DeviceTable *) ((char *) this + dtxOffset); +- le_int16 adjx = dtx->getAdjustment((le_int16) fontInstance->getXPixelsPerEm()); ++ LEReferenceTo<DeviceTable> dt(base, success, dtxOffset); ++ le_int16 adjx = dt->getAdjustment(dt, (le_int16) fontInstance->getXPixelsPerEm(), success); + + pixels.fX += adjx; + } - import java.net.URL; -@@ -142,8 +143,8 @@ - - /** Flag to ignore missing property files and/or properties */ - private boolean ignoreMissingProperties -- = (System.getProperty(pIgnoreMissing) != null -- || System.getProperty(pFiles) != null); -+ = (SecuritySupport.getSystemProperty(pIgnoreMissing) != null -+ || SecuritySupport.getSystemProperty(pFiles) != null); - - /** Holds the resources after they are loaded from the file. */ - private ResourceBundle resources; -@@ -338,7 +339,7 @@ - private int queryVerbosity () { - String defaultVerbStr = Integer.toString(defaultVerbosity); - -- String verbStr = System.getProperty(pVerbosity); -+ String verbStr = SecuritySupport.getSystemProperty(pVerbosity); - - if (verbStr == null) { - if (resources==null) readProperties(); -@@ -473,7 +474,7 @@ - * @return A semicolon delimited list of catlog file URIs - */ - private String queryCatalogFiles () { -- String catalogList = System.getProperty(pFiles); -+ String catalogList = SecuritySupport.getSystemProperty(pFiles); - fromPropertiesFile = false; - - if (catalogList == null) { -@@ -558,7 +559,7 @@ - * defaultPreferSetting. - */ - private boolean queryPreferPublic () { -- String prefer = System.getProperty(pPrefer); -+ String prefer = SecuritySupport.getSystemProperty(pPrefer); - - if (prefer == null) { - if (resources==null) readProperties(); -@@ -617,7 +618,7 @@ - * defaultUseStaticCatalog. - */ - private boolean queryUseStaticCatalog () { -- String staticCatalog = System.getProperty(pStatic); -+ String staticCatalog = SecuritySupport.getSystemProperty(pStatic); - - if (staticCatalog == null) { - if (resources==null) readProperties(); -@@ -748,7 +749,7 @@ - * defaultOasisXMLCatalogPI. - */ - public boolean queryAllowOasisXMLCatalogPI () { -- String allow = System.getProperty(pAllowPI); -+ String allow = SecuritySupport.getSystemProperty(pAllowPI); + if (dtyOffset != 0) { +- const DeviceTable *dty = (const DeviceTable *) ((char *) this + dtyOffset); +- le_int16 adjy = dty->getAdjustment((le_int16) fontInstance->getYPixelsPerEm()); ++ LEReferenceTo<DeviceTable> dt(base, success, dtyOffset); ++ le_int16 adjy = dt->getAdjustment(dt, (le_int16) fontInstance->getYPixelsPerEm(), success); - if (allow == null) { - if (resources==null) readProperties(); -@@ -804,7 +805,7 @@ - * - */ - public String queryCatalogClassName () { -- String className = System.getProperty(pClassname); -+ String className = SecuritySupport.getSystemProperty(pClassname); - - if (className == null) { - if (resources==null) readProperties(); ---- jaxp/src/com/sun/org/apache/xml/internal/resolver/Resolver.java 2012-08-10 09:37:42.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/resolver/Resolver.java 2013-04-28 16:29:20.000000000 -0700 -@@ -33,6 +33,7 @@ - import java.net.MalformedURLException; - import javax.xml.parsers.SAXParserFactory; - import com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import com.sun.org.apache.xml.internal.resolver.readers.SAXCatalogReader; - import com.sun.org.apache.xml.internal.resolver.readers.OASISXMLCatalogReader; - import com.sun.org.apache.xml.internal.resolver.readers.TR9401CatalogReader; -@@ -524,7 +525,7 @@ - */ - private Vector resolveAllLocalSystem(String systemId) { - Vector map = new Vector(); -- String osname = System.getProperty("os.name"); -+ String osname = SecuritySupport.getSystemProperty("os.name"); - boolean windows = (osname.indexOf("Windows") >= 0); - Enumeration en = catalogEntries.elements(); - while (en.hasMoreElements()) { -@@ -552,7 +553,7 @@ - */ - private Vector resolveLocalSystemReverse(String systemId) { - Vector map = new Vector(); -- String osname = System.getProperty("os.name"); -+ String osname = SecuritySupport.getSystemProperty("os.name"); - boolean windows = (osname.indexOf("Windows") >= 0); - Enumeration en = catalogEntries.elements(); - while (en.hasMoreElements()) { ---- jaxp/src/com/sun/org/apache/xml/internal/serialize/SerializerFactory.java 2012-08-10 09:37:47.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serialize/SerializerFactory.java 2013-04-28 16:29:20.000000000 -0700 -@@ -22,6 +22,7 @@ - package com.sun.org.apache.xml.internal.serialize; + pixels.fY += adjy; + } +--- jdk/src/share/native/sun/font/layout/AnchorTables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/AnchorTables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -49,20 +49,23 @@ + le_int16 xCoordinate; + le_int16 yCoordinate; + +- void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, +- LEPoint &anchor) const; ++ void getAnchor(const LETableReference &base, LEGlyphID glyphID, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const; + }; - import com.sun.org.apache.xerces.internal.utils.ObjectFactory; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.io.OutputStream; - import java.io.Writer; - import java.io.UnsupportedEncodingException; -@@ -64,7 +65,7 @@ - factory = new SerializerFactoryImpl( Method.TEXT ); - registerSerializerFactory( factory ); - -- list = System.getProperty( FactoriesProperty ); -+ list = SecuritySupport.getSystemProperty( FactoriesProperty ); - if ( list != null ) { - token = new StringTokenizer( list, " ;,:" ); - while ( token.hasMoreTokens() ) { ---- jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2012-08-10 09:37:52.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2013-04-28 16:29:20.000000000 -0700 -@@ -219,7 +219,7 @@ - // Get the default system character encoding. This may be - // incorrect if they passed in a writer, but right now there - // seems to be no way to get the encoding from a writer. -- encoding = System.getProperty("file.encoding", "UTF8"); -+ encoding = SecuritySupport.getSystemProperty("file.encoding", "UTF8"); - - if (null != encoding) - { -@@ -313,7 +313,7 @@ - - try - { -- urlString = System.getProperty(ENCODINGS_PROP, ""); -+ urlString = SecuritySupport.getSystemProperty(ENCODINGS_PROP, ""); - } - catch (SecurityException e) - { ---- jaxp/src/com/sun/org/apache/xml/internal/serializer/OutputPropertiesFactory.java 2012-08-10 09:37:56.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serializer/OutputPropertiesFactory.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,7 @@ - */ - package com.sun.org.apache.xml.internal.serializer; + struct Format1AnchorTable : AnchorTable + { +- void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const; ++ void getAnchor(const LEReferenceTo<Format1AnchorTable>& base, ++ const LEFontInstance *fontInstance, LEPoint &anchor, LEErrorCode &success) const; + }; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.io.BufferedInputStream; - import java.io.IOException; - import java.io.InputStream; -@@ -471,7 +472,7 @@ - String value = null; - try - { -- value = System.getProperty(key); -+ value = SecuritySupport.getSystemProperty(key); - } - catch (SecurityException se) - { -@@ -484,7 +485,7 @@ - String newValue = null; - try - { -- newValue = System.getProperty(newKey); -+ newValue = SecuritySupport.getSystemProperty(newKey); - } - catch (SecurityException se) - { ---- jaxp/src/com/sun/org/apache/xml/internal/serializer/ToStream.java 2012-08-10 09:38:02.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serializer/ToStream.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,7 @@ - */ - package com.sun.org.apache.xml.internal.serializer; + struct Format2AnchorTable : AnchorTable + { + le_uint16 anchorPoint; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.io.IOException; - import java.io.OutputStream; - import java.io.UnsupportedEncodingException; -@@ -140,7 +141,7 @@ - * extension attribute xalan:line-separator. - */ - protected char[] m_lineSep = -- System.getProperty("line.separator").toCharArray(); -+ SecuritySupport.getSystemProperty("line.separator").toCharArray(); +- void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const; ++ void getAnchor(const LEReferenceTo<Format2AnchorTable>& base, ++ LEGlyphID glyphID, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const; + }; - /** - * True if the the system line separator is to be used. ---- jaxp/src/com/sun/org/apache/xml/internal/serializer/TreeWalker.java 2012-08-10 09:38:02.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serializer/TreeWalker.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,7 @@ - */ - package com.sun.org.apache.xml.internal.serializer; + struct Format3AnchorTable : AnchorTable +@@ -70,7 +73,9 @@ + Offset xDeviceTableOffset; + Offset yDeviceTableOffset; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.io.File; +- void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const; ++ void getAnchor(const LEReferenceTo<Format3AnchorTable>& base, ++ const LEFontInstance *fontInstance, LEPoint &anchor, ++ LEErrorCode &success) const; + }; - import com.sun.org.apache.xml.internal.serializer.utils.AttList; -@@ -104,7 +105,7 @@ - else { - try { - // Bug see Bugzilla 26741 -- m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl"); -+ m_locator.setSystemId(SecuritySupport.getSystemProperty("user.dir") + File.separator + "dummy.xsl"); - } - catch (SecurityException se) {// user.dir not accessible from applet - } -@@ -115,7 +116,7 @@ - m_contentHandler.setDocumentLocator(m_locator); - try { - // Bug see Bugzilla 26741 -- m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl"); -+ m_locator.setSystemId(SecuritySupport.getSystemProperty("user.dir") + File.separator + "dummy.xsl"); - } - catch (SecurityException se){// user.dir not accessible from applet + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/ArabicLayoutEngine.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ArabicLayoutEngine.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -51,7 +51,7 @@ ---- jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/Messages.java 2012-08-10 09:38:06.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/Messages.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,7 @@ - */ - package com.sun.org.apache.xml.internal.serializer.utils; + U_NAMESPACE_BEGIN -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.util.ListResourceBundle; - import java.util.Locale; - import java.util.MissingResourceException; -@@ -87,9 +88,6 @@ - * can have the Message strings translated in an alternate language - * in a errorResourceClass with a language suffix. - * -- * More sophisticated use of this class would be to pass null -- * when contructing it, but then call loadResourceBundle() -- * before creating any messages. +-le_bool CharSubstitutionFilter::accept(LEGlyphID glyph) const ++le_bool CharSubstitutionFilter::accept(LEGlyphID glyph, LEErrorCode &/*success*/) const + { + return fFontInstance->canDisplay((LEUnicode) glyph); + } +@@ -147,7 +147,9 @@ + GDEFMarkFilter filter(fGDEFTable, success); + adjustMarkGlyphs(glyphStorage, &filter, success); + } else { +- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen); ++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, ++ CanonShaping::glyphDefinitionTable, ++ CanonShaping::glyphDefinitionTableLen); + GDEFMarkFilter filter(gdefTable, success); + + adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); +@@ -157,8 +159,8 @@ + UnicodeArabicOpenTypeLayoutEngine::UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success) + : ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags | LE_CHAR_FILTER_FEATURE_FLAG, success) + { +- fGSUBTable = (const GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable; +- fGDEFTable = (const GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable; ++ fGSUBTable.setTo(LETableReference::kStaticData, (const GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable, CanonShaping::glyphSubstitutionTableLen); ++ fGDEFTable.setTo(LETableReference::kStaticData, (const GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen); + /* OpenTypeLayoutEngine will allocate a substitution filter */ + } + +--- jdk/src/share/native/sun/font/layout/ArabicShaping.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ArabicShaping.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -59,7 +59,8 @@ + ArabicShaping::ShapeType ArabicShaping::getShapeType(LEUnicode c) + { + LEErrorCode success = LE_NO_ERROR; +- const LEReferenceTo<ClassDefinitionTable> joiningTypes((const ClassDefinitionTable *) ArabicShaping::shapingTypeTable, ++ const LEReferenceTo<ClassDefinitionTable> joiningTypes(LETableReference::kStaticData, ++ (const ClassDefinitionTable *) ArabicShaping::shapingTypeTable, + ArabicShaping::shapingTypeTableLen); + le_int32 joiningType = joiningTypes->getGlyphClass(joiningTypes, c, success); + +--- jdk/src/share/native/sun/font/layout/CanonShaping.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/CanonShaping.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -60,7 +60,7 @@ + LEUnicode *outChars, LEGlyphStorage &glyphStorage) + { + LEErrorCode success = LE_NO_ERROR; +- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen); ++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen); + LEReferenceTo<ClassDefinitionTable> classTable = gdefTable->getMarkAttachClassDefinitionTable(gdefTable, success); + le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount); + le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); +--- jdk/src/share/native/sun/font/layout/CharSubstitutionFilter.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/CharSubstitutionFilter.h 2014-01-18 12:16:22.000000000 -0800 +@@ -43,6 +43,8 @@ + * This filter is used by character-based GSUB processors. It + * accepts only those characters which the given font can display. * - * This class is not a public API, it is only public because it is - * used in com.sun.org.apache.xml.internal.serializer. -@@ -126,18 +124,6 @@ - m_resourceBundleName = resourceBundle; ++ * Note: Implementation is in ArabicLayoutEngine.cpp ++ * + * @internal + */ + class CharSubstitutionFilter : public UMemory, public LEGlyphFilter +@@ -97,7 +99,7 @@ + * + * @internal + */ +- le_bool accept(LEGlyphID glyph) const; ++ le_bool accept(LEGlyphID glyph, LEErrorCode &success) const; + }; + + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/ClassDefinitionTables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ClassDefinitionTables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -49,6 +49,7 @@ + le_int32 getGlyphClass(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const; + le_bool hasGlyphClass(const LETableReference &base, le_int32 glyphClass, LEErrorCode &success) const; + ++#if LE_ENABLE_RAW + le_int32 getGlyphClass(LEGlyphID glyphID) const { + LETableReference base((const le_uint8*)this); + LEErrorCode ignored = LE_NO_ERROR; +@@ -60,6 +61,7 @@ + LEErrorCode ignored = LE_NO_ERROR; + return hasGlyphClass(base,glyphClass,ignored); + } ++#endif + }; + + struct ClassDefFormat1Table : ClassDefinitionTable +--- jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -48,7 +48,7 @@ + */ + void ContextualSubstitutionBase::applySubstitutionLookups( + const LookupProcessor *lookupProcessor, +- const SubstitutionLookupRecord *substLookupRecordArray, ++ const LEReferenceToArrayOf<SubstitutionLookupRecord>& substLookupRecordArray, + le_uint16 substCount, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, +@@ -60,10 +60,11 @@ } -- /* -- * Set the Locale object to use. If this method is not called the -- * default locale is used. This method needs to be called before -- * loadResourceBundle(). -- * -- * @param locale non-null reference to Locale object. -- * @xsl.usage internal -- */ --// public void setLocale(Locale locale) --// { --// m_locale = locale; --// } + GlyphIterator tempIterator(*glyphIterator); ++ const SubstitutionLookupRecord *substLookupRecordArrayPtr = substLookupRecordArray.getAlias(); // OK to dereference, range checked against substCount below. - /** - * Get the Locale object that is being used. -@@ -151,16 +137,6 @@ + for (le_int16 subst = 0; subst < substCount && LE_SUCCESS(success); subst += 1) { +- le_uint16 sequenceIndex = SWAPW(substLookupRecordArray[subst].sequenceIndex); +- le_uint16 lookupListIndex = SWAPW(substLookupRecordArray[subst].lookupListIndex); ++ le_uint16 sequenceIndex = SWAPW(substLookupRecordArrayPtr[subst].sequenceIndex); ++ le_uint16 lookupListIndex = SWAPW(substLookupRecordArrayPtr[subst].lookupListIndex); + + tempIterator.setCurrStreamPosition(position); + tempIterator.next(sequenceIndex); +@@ -72,7 +73,7 @@ } + } - /** -- * Get the ListResourceBundle being used by this Messages instance which was -- * previously set by a call to loadResourceBundle(className) -- * @xsl.usage internal -- */ -- private ListResourceBundle getResourceBundle() -- { -- return m_resourceBundle; -- } -- -- /** - * Creates a message from the specified key and replacement - * arguments, localized to the given locale. - * -@@ -174,7 +150,7 @@ - public final String createMessage(String msgKey, Object args[]) +-le_bool ContextualSubstitutionBase::matchGlyphIDs(const TTGlyphID *glyphArray, le_uint16 glyphCount, ++le_bool ContextualSubstitutionBase::matchGlyphIDs(const LEReferenceToArrayOf<TTGlyphID>& glyphArray, le_uint16 glyphCount, + GlyphIterator *glyphIterator, le_bool backtrack) + { + le_int32 direction = 1; +@@ -101,9 +102,12 @@ + return TRUE; + } + +-le_bool ContextualSubstitutionBase::matchGlyphClasses(const le_uint16 *classArray, le_uint16 glyphCount, ++le_bool ContextualSubstitutionBase::matchGlyphClasses( ++ const LEReferenceToArrayOf<le_uint16> &classArray, ++ le_uint16 glyphCount, + GlyphIterator *glyphIterator, +- const ClassDefinitionTable *classDefinitionTable, ++ const LEReferenceTo<ClassDefinitionTable> &classDefinitionTable, ++ LEErrorCode &success, + le_bool backtrack) + { + le_int32 direction = 1; +@@ -120,7 +124,7 @@ + } + + LEGlyphID glyph = glyphIterator->getCurrGlyphID(); +- le_int32 glyphClass = classDefinitionTable->getGlyphClass(glyph); ++ le_int32 glyphClass = classDefinitionTable->getGlyphClass(classDefinitionTable, glyph, success); + le_int32 matchClass = SWAPW(classArray[match]); + + if (glyphClass != matchClass) { +@@ -128,7 +132,7 @@ + // in the class array which aren't in the class definition + // table. If we're looking for such a class, pretend that + // we found it. +- if (classDefinitionTable->hasGlyphClass(matchClass)) { ++ if (classDefinitionTable->hasGlyphClass(classDefinitionTable, matchClass, success)) { + return FALSE; + } + } +@@ -140,8 +144,8 @@ + return TRUE; + } + +-le_bool ContextualSubstitutionBase::matchGlyphCoverages(const Offset *coverageTableOffsetArray, le_uint16 glyphCount, +- GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack) ++le_bool ContextualSubstitutionBase::matchGlyphCoverages(const LEReferenceToArrayOf<Offset> &coverageTableOffsetArray, le_uint16 glyphCount, ++GlyphIterator *glyphIterator, const LETableReference &offsetBase, LEErrorCode &success, le_bool backtrack) + { + le_int32 direction = 1; + le_int32 glyph = 0; +@@ -153,13 +157,15 @@ + + while (glyphCount > 0) { + Offset coverageTableOffset = SWAPW(coverageTableOffsetArray[glyph]); +- const CoverageTable *coverageTable = (const CoverageTable *) (offsetBase + coverageTableOffset); ++ LEReferenceTo<CoverageTable> coverageTable(offsetBase, success, coverageTableOffset); + +- if (! glyphIterator->next()) { ++ if (LE_FAILURE(success) || ! glyphIterator->next()) { + return FALSE; + } + +- if (coverageTable->getGlyphCoverage((LEGlyphID) glyphIterator->getCurrGlyphID()) < 0) { ++ if (coverageTable->getGlyphCoverage(coverageTable, ++ (LEGlyphID) glyphIterator->getCurrGlyphID(), ++ success) < 0) { + return FALSE; + } + +@@ -170,7 +176,7 @@ + return TRUE; + } + +-le_uint32 ContextualSubstitutionSubtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ContextualSubstitutionSubtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -186,20 +192,29 @@ + + case 1: { - if (m_resourceBundle == null) -- m_resourceBundle = loadResourceBundle(m_resourceBundleName); -+ m_resourceBundle = SecuritySupport.getResourceBundle(m_resourceBundleName); +- const ContextualSubstitutionFormat1Subtable *subtable = (const ContextualSubstitutionFormat1Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ContextualSubstitutionFormat1Subtable> subtable(base, success, (const ContextualSubstitutionFormat1Subtable *) this); ++ if( LE_FAILURE(success) ) { ++ return 0; ++ } ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); + } - if (m_resourceBundle != null) - { -@@ -293,76 +269,4 @@ - return fmsg; + case 2: + { +- const ContextualSubstitutionFormat2Subtable *subtable = (const ContextualSubstitutionFormat2Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ContextualSubstitutionFormat2Subtable> subtable(base, success, (const ContextualSubstitutionFormat2Subtable *) this); ++ if( LE_FAILURE(success) ) { ++ return 0; ++ } ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); } -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className the name of the class that implements ListResourceBundle, -- * without language suffix. -- * @return the ResourceBundle -- * @throws MissingResourceException -- * @xsl.usage internal -- */ -- private ListResourceBundle loadResourceBundle(String resourceBundle) -- throws MissingResourceException -- { -- m_resourceBundleName = resourceBundle; -- Locale locale = getLocale(); -- -- ListResourceBundle lrb; -- -- try -- { -- -- ResourceBundle rb = -- ResourceBundle.getBundle(m_resourceBundleName, locale); -- lrb = (ListResourceBundle) rb; -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- lrb = -- (ListResourceBundle) ResourceBundle.getBundle( -- m_resourceBundleName, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles." + m_resourceBundleName, -- m_resourceBundleName, -- ""); -- } -- } -- m_resourceBundle = lrb; -- return lrb; -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which can be appended to a resource name -- * @xsl.usage internal -- */ -- private static String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } + case 3: + { +- const ContextualSubstitutionFormat3Subtable *subtable = (const ContextualSubstitutionFormat3Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ContextualSubstitutionFormat3Subtable> subtable(base, success, (const ContextualSubstitutionFormat3Subtable *) this); ++ if( LE_FAILURE(success) ) { ++ return 0; ++ } ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); + } + + default: +@@ -207,7 +222,7 @@ + } } ---- jaxp/src/com/sun/org/apache/xml/internal/utils/TreeWalker.java 2012-08-10 09:38:11.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/utils/TreeWalker.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,7 @@ - */ - package com.sun.org.apache.xml.internal.utils; -+import com.sun.org.apache.xalan.internal.utils.SecuritySupport; - import java.io.File; +-le_uint32 ContextualSubstitutionFormat1Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ContextualSubstitutionFormat1Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -227,22 +242,22 @@ + + if (coverageIndex < srSetCount) { + Offset subRuleSetTableOffset = SWAPW(subRuleSetTableOffsetArray[coverageIndex]); +- const SubRuleSetTable *subRuleSetTable = +- (const SubRuleSetTable *) ((char *) this + subRuleSetTableOffset); ++ LEReferenceTo<SubRuleSetTable> ++ subRuleSetTable(base, success, (const SubRuleSetTable *) ((char *) this + subRuleSetTableOffset)); + le_uint16 subRuleCount = SWAPW(subRuleSetTable->subRuleCount); + le_int32 position = glyphIterator->getCurrStreamPosition(); + + for (le_uint16 subRule = 0; subRule < subRuleCount; subRule += 1) { + Offset subRuleTableOffset = + SWAPW(subRuleSetTable->subRuleTableOffsetArray[subRule]); +- const SubRuleTable *subRuleTable = +- (const SubRuleTable *) ((char *) subRuleSetTable + subRuleTableOffset); ++ LEReferenceTo<SubRuleTable> ++ subRuleTable(subRuleSetTable, success, subRuleTableOffset); + le_uint16 matchCount = SWAPW(subRuleTable->glyphCount) - 1; + le_uint16 substCount = SWAPW(subRuleTable->substCount); +- +- if (matchGlyphIDs(subRuleTable->inputGlyphArray, matchCount, glyphIterator)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &subRuleTable->inputGlyphArray[matchCount]; ++ LEReferenceToArrayOf<TTGlyphID> inputGlyphArray(base, success, subRuleTable->inputGlyphArray, matchCount+2); ++ if (matchGlyphIDs(inputGlyphArray, matchCount, glyphIterator)) { ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &subRuleTable->inputGlyphArray[matchCount], substCount); + + applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success); + +@@ -259,7 +274,8 @@ + return 0; + } - import org.w3c.dom.Comment; -@@ -93,7 +94,7 @@ - else { - try { - // Bug see Bugzilla 26741 -- m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl"); -+ m_locator.setSystemId(SecuritySupport.getSystemProperty("user.dir") + File.separator + "dummy.xsl"); - } - catch (SecurityException se) {// user.dir not accessible from applet - } -@@ -112,7 +113,7 @@ - m_contentHandler.setDocumentLocator(m_locator); - try { - // Bug see Bugzilla 26741 -- m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl"); -+ m_locator.setSystemId(SecuritySupport.getSystemProperty("user.dir") + File.separator + "dummy.xsl"); +-le_uint32 ContextualSubstitutionFormat2Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ContextualSubstitutionFormat2Subtable::process(const LETableReference &base, ++ const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -275,29 +291,33 @@ } - catch (SecurityException se){// user.dir not accessible from applet + + if (coverageIndex >= 0) { +- const ClassDefinitionTable *classDefinitionTable = +- (const ClassDefinitionTable *) ((char *) this + SWAPW(classDefTableOffset)); ++ LEReferenceTo<ClassDefinitionTable> classDefinitionTable(base, success, ++ (const ClassDefinitionTable *) ((char *) this + SWAPW(classDefTableOffset))); + le_uint16 scSetCount = SWAPW(subClassSetCount); +- le_int32 setClass = classDefinitionTable->getGlyphClass(glyphIterator->getCurrGlyphID()); ++ le_int32 setClass = classDefinitionTable->getGlyphClass(classDefinitionTable, ++ glyphIterator->getCurrGlyphID(), ++ success); + + if (setClass < scSetCount && subClassSetTableOffsetArray[setClass] != 0) { + Offset subClassSetTableOffset = SWAPW(subClassSetTableOffsetArray[setClass]); +- const SubClassSetTable *subClassSetTable = +- (const SubClassSetTable *) ((char *) this + subClassSetTableOffset); ++ LEReferenceTo<SubClassSetTable> ++ subClassSetTable(base, success, (const SubClassSetTable *) ((char *) this + subClassSetTableOffset)); + le_uint16 subClassRuleCount = SWAPW(subClassSetTable->subClassRuleCount); + le_int32 position = glyphIterator->getCurrStreamPosition(); + + for (le_uint16 scRule = 0; scRule < subClassRuleCount; scRule += 1) { + Offset subClassRuleTableOffset = + SWAPW(subClassSetTable->subClassRuleTableOffsetArray[scRule]); +- const SubClassRuleTable *subClassRuleTable = +- (const SubClassRuleTable *) ((char *) subClassSetTable + subClassRuleTableOffset); ++ LEReferenceTo<SubClassRuleTable> ++ subClassRuleTable(subClassSetTable, success, subClassRuleTableOffset); + le_uint16 matchCount = SWAPW(subClassRuleTable->glyphCount) - 1; + le_uint16 substCount = SWAPW(subClassRuleTable->substCount); + +- if (matchGlyphClasses(subClassRuleTable->classArray, matchCount, glyphIterator, classDefinitionTable)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &subClassRuleTable->classArray[matchCount]; ++ LEReferenceToArrayOf<le_uint16> classArray(base, success, subClassRuleTable->classArray, matchCount+1); ++ ++ if (matchGlyphClasses(classArray, matchCount, glyphIterator, classDefinitionTable, success)) { ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &subClassRuleTable->classArray[matchCount], substCount); + + applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success); + +@@ -314,7 +334,8 @@ + return 0; + } + +-le_uint32 ContextualSubstitutionFormat3Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ContextualSubstitutionFormat3Subtable::process(const LETableReference &base, ++ const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success)const +@@ -333,9 +354,13 @@ + // that matched when we're done. + glyphIterator->prev(); + +- if (ContextualSubstitutionBase::matchGlyphCoverages(coverageTableOffsetArray, gCount, glyphIterator, (const char *) this)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &coverageTableOffsetArray[gCount]; ++ LEReferenceToArrayOf<Offset> covTableOffsetArray(base, success, coverageTableOffsetArray, gCount); ++ ++ if( LE_FAILURE(success) ) { return 0; } ++ ++ if (ContextualSubstitutionBase::matchGlyphCoverages(covTableOffsetArray, gCount, glyphIterator, base, success)) { ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) &coverageTableOffsetArray[gCount], subCount); + + ContextualSubstitutionBase::applySubstitutionLookups(lookupProcessor, substLookupRecordArray, subCount, glyphIterator, fontInstance, position, success); + +@@ -347,7 +372,8 @@ + return 0; + } + +-le_uint32 ChainingContextualSubstitutionSubtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ChainingContextualSubstitutionSubtable::process(const LEReferenceTo<ChainingContextualSubstitutionSubtable> &base, ++ const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -363,20 +389,23 @@ + + case 1: + { +- const ChainingContextualSubstitutionFormat1Subtable *subtable = (const ChainingContextualSubstitutionFormat1Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ChainingContextualSubstitutionFormat1Subtable> subtable(base, success, (ChainingContextualSubstitutionFormat1Subtable *) this); ++ if(LE_FAILURE(success)) return 0; ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); } -@@ -131,7 +132,7 @@ - m_contentHandler.setDocumentLocator(m_locator); - try { - // Bug see Bugzilla 26741 -- m_locator.setSystemId(System.getProperty("user.dir") + File.separator + "dummy.xsl"); -+ m_locator.setSystemId(SecuritySupport.getSystemProperty("user.dir") + File.separator + "dummy.xsl"); + + case 2: + { +- const ChainingContextualSubstitutionFormat2Subtable *subtable = (const ChainingContextualSubstitutionFormat2Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ChainingContextualSubstitutionFormat2Subtable> subtable(base, success, (const ChainingContextualSubstitutionFormat2Subtable *) this); ++ if( LE_FAILURE(success) ) { return 0; } ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); + } + + case 3: + { +- const ChainingContextualSubstitutionFormat3Subtable *subtable = (const ChainingContextualSubstitutionFormat3Subtable *) this; +- return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); ++ LEReferenceTo<ChainingContextualSubstitutionFormat3Subtable> subtable(base, success, (const ChainingContextualSubstitutionFormat3Subtable *) this); ++ if( LE_FAILURE(success) ) { return 0; } ++ return subtable->process(subtable, lookupProcessor, glyphIterator, fontInstance, success); + } + + default: +@@ -390,7 +419,7 @@ + // emptyFeatureList matches an le_uint32 or an le_uint16... + static const FeatureMask emptyFeatureList = 0x00000000UL; + +-le_uint32 ChainingContextualSubstitutionFormat1Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ChainingContextualSubstitutionFormat1Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -410,8 +439,8 @@ + + if (coverageIndex < srSetCount) { + Offset chainSubRuleSetTableOffset = SWAPW(chainSubRuleSetTableOffsetArray[coverageIndex]); +- const ChainSubRuleSetTable *chainSubRuleSetTable = +- (const ChainSubRuleSetTable *) ((char *) this + chainSubRuleSetTableOffset); ++ LEReferenceTo<ChainSubRuleSetTable> ++ chainSubRuleSetTable(base, success, (const ChainSubRuleSetTable *) ((char *) this + chainSubRuleSetTableOffset)); + le_uint16 chainSubRuleCount = SWAPW(chainSubRuleSetTable->chainSubRuleCount); + le_int32 position = glyphIterator->getCurrStreamPosition(); + GlyphIterator tempIterator(*glyphIterator, emptyFeatureList); +@@ -419,13 +448,19 @@ + for (le_uint16 subRule = 0; subRule < chainSubRuleCount; subRule += 1) { + Offset chainSubRuleTableOffset = + SWAPW(chainSubRuleSetTable->chainSubRuleTableOffsetArray[subRule]); +- const ChainSubRuleTable *chainSubRuleTable = +- (const ChainSubRuleTable *) ((char *) chainSubRuleSetTable + chainSubRuleTableOffset); ++ LEReferenceTo<ChainSubRuleTable> ++ chainSubRuleTable = LEReferenceTo<ChainSubRuleTable>(chainSubRuleSetTable, success, chainSubRuleTableOffset); ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 backtrackGlyphCount = SWAPW(chainSubRuleTable->backtrackGlyphCount); ++ LEReferenceToArrayOf<TTGlyphID> backtrackGlyphArray(base, success, chainSubRuleTable->backtrackGlyphArray, backtrackGlyphCount); ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 inputGlyphCount = (le_uint16) SWAPW(chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount]) - 1; +- const TTGlyphID *inputGlyphArray = &chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount + 1]; ++ LEReferenceToArrayOf<TTGlyphID> inputGlyphArray(base, success, &chainSubRuleTable->backtrackGlyphArray[backtrackGlyphCount + 1], inputGlyphCount+2); ++ ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 lookaheadGlyphCount = (le_uint16) SWAPW(inputGlyphArray[inputGlyphCount]); +- const TTGlyphID *lookaheadGlyphArray = &inputGlyphArray[inputGlyphCount + 1]; ++ LEReferenceToArrayOf<TTGlyphID> lookaheadGlyphArray(base, success, inputGlyphArray.getAlias(inputGlyphCount + 1,success), lookaheadGlyphCount+2); ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 substCount = (le_uint16) SWAPW(lookaheadGlyphArray[lookaheadGlyphCount]); + + tempIterator.setCurrStreamPosition(position); +@@ -435,7 +470,8 @@ } - catch (SecurityException se){// user.dir not accessible from applet ---- jaxp/src/com/sun/org/apache/xml/internal/utils/res/XResourceBundle.java 2012-08-10 09:38:12.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xml/internal/utils/res/XResourceBundle.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,6 +22,8 @@ - */ - package com.sun.org.apache.xml.internal.utils.res; + tempIterator.prev(); +- if (! matchGlyphIDs(chainSubRuleTable->backtrackGlyphArray, backtrackGlyphCount, &tempIterator, TRUE)) { ++ ++ if (! matchGlyphIDs(backtrackGlyphArray, backtrackGlyphCount, &tempIterator, TRUE)) { + continue; + } -+import java.security.AccessController; -+import java.security.PrivilegedAction; - import java.util.ListResourceBundle; - import java.util.Locale; - import java.util.MissingResourceException; -@@ -29,114 +31,45 @@ +@@ -446,8 +482,8 @@ + } - /** - * The default (english) resource bundle. -+ * - * @xsl.usage internal - */ --public class XResourceBundle extends ListResourceBundle --{ -+public class XResourceBundle extends ListResourceBundle { - -- /** Error resource constants */ -- public static final String ERROR_RESOURCES = -- "com.sun.org.apache.xalan.internal.res.XSLTErrorResources", XSLT_RESOURCE = -- "com.sun.org.apache.xml.internal.utils.res.XResourceBundle", LANG_BUNDLE_NAME = -- "com.sun.org.apache.xml.internal.utils.res.XResources", MULT_ORDER = -- "multiplierOrder", MULT_PRECEDES = "precedes", MULT_FOLLOWS = -- "follows", LANG_ORIENTATION = "orientation", LANG_RIGHTTOLEFT = -- "rightToLeft", LANG_LEFTTORIGHT = "leftToRight", LANG_NUMBERING = -- "numbering", LANG_ADDITIVE = "additive", LANG_MULT_ADD = -- "multiplicative-additive", LANG_MULTIPLIER = -- "multiplier", LANG_MULTIPLIER_CHAR = -- "multiplierChar", LANG_NUMBERGROUPS = "numberGroups", LANG_NUM_TABLES = -- "tables", LANG_ALPHABET = "alphabet", LANG_TRAD_ALPHABET = "tradAlphabet"; -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @param locale the locale to prefer when searching for the bundle -- */ -- public static final XResourceBundle loadResourceBundle( -- String className, Locale locale) throws MissingResourceException -- { -- -- String suffix = getResourceSuffix(locale); -- -- //System.out.println("resource " + className + suffix); -- try -- { -- -- // first try with the given locale -- String resourceName = className + suffix; -- return (XResourceBundle) ResourceBundle.getBundle(resourceName, locale); -+ /** -+ * Error resource constants -+ */ -+ public static final String ERROR_RESOURCES = -+ "com.sun.org.apache.xalan.internal.res.XSLTErrorResources", XSLT_RESOURCE = -+ "com.sun.org.apache.xml.internal.utils.res.XResourceBundle", LANG_BUNDLE_NAME = -+ "com.sun.org.apache.xml.internal.utils.res.XResources", MULT_ORDER = -+ "multiplierOrder", MULT_PRECEDES = "precedes", MULT_FOLLOWS = -+ "follows", LANG_ORIENTATION = "orientation", LANG_RIGHTTOLEFT = -+ "rightToLeft", LANG_LEFTTORIGHT = "leftToRight", LANG_NUMBERING = -+ "numbering", LANG_ADDITIVE = "additive", LANG_MULT_ADD = -+ "multiplicative-additive", LANG_MULTIPLIER = -+ "multiplier", LANG_MULTIPLIER_CHAR = -+ "multiplierChar", LANG_NUMBERGROUPS = "numberGroups", LANG_NUM_TABLES = -+ "tables", LANG_ALPHABET = "alphabet", LANG_TRAD_ALPHABET = "tradAlphabet"; + if (matchGlyphIDs(inputGlyphArray, inputGlyphCount, glyphIterator)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &lookaheadGlyphArray[lookaheadGlyphCount + 1]; ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) lookaheadGlyphArray.getAlias(lookaheadGlyphCount + 1,success), substCount); + + applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success); + +@@ -464,7 +500,7 @@ + return 0; + } + +-le_uint32 ChainingContextualSubstitutionFormat2Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ChainingContextualSubstitutionFormat2Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode& success) const +@@ -480,19 +516,21 @@ + } + + if (coverageIndex >= 0) { +- const ClassDefinitionTable *backtrackClassDefinitionTable = +- (const ClassDefinitionTable *) ((char *) this + SWAPW(backtrackClassDefTableOffset)); +- const ClassDefinitionTable *inputClassDefinitionTable = +- (const ClassDefinitionTable *) ((char *) this + SWAPW(inputClassDefTableOffset)); +- const ClassDefinitionTable *lookaheadClassDefinitionTable = +- (const ClassDefinitionTable *) ((char *) this + SWAPW(lookaheadClassDefTableOffset)); ++ LEReferenceTo<ClassDefinitionTable> ++ backtrackClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(backtrackClassDefTableOffset))); ++ LEReferenceTo<ClassDefinitionTable> ++ inputClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(inputClassDefTableOffset))); ++ LEReferenceTo<ClassDefinitionTable> ++ lookaheadClassDefinitionTable(base, success, (const ClassDefinitionTable *) ((char *) this + SWAPW(lookaheadClassDefTableOffset))); + le_uint16 scSetCount = SWAPW(chainSubClassSetCount); +- le_int32 setClass = inputClassDefinitionTable->getGlyphClass(glyphIterator->getCurrGlyphID()); ++ le_int32 setClass = inputClassDefinitionTable->getGlyphClass(inputClassDefinitionTable, ++ glyphIterator->getCurrGlyphID(), ++ success); + + if (setClass < scSetCount && chainSubClassSetTableOffsetArray[setClass] != 0) { + Offset chainSubClassSetTableOffset = SWAPW(chainSubClassSetTableOffsetArray[setClass]); +- const ChainSubClassSetTable *chainSubClassSetTable = +- (const ChainSubClassSetTable *) ((char *) this + chainSubClassSetTableOffset); ++ LEReferenceTo<ChainSubClassSetTable> ++ chainSubClassSetTable(base, success, (const ChainSubClassSetTable *) ((char *) this + chainSubClassSetTableOffset)); + le_uint16 chainSubClassRuleCount = SWAPW(chainSubClassSetTable->chainSubClassRuleCount); + le_int32 position = glyphIterator->getCurrStreamPosition(); + GlyphIterator tempIterator(*glyphIterator, emptyFeatureList); +@@ -500,13 +538,15 @@ + for (le_uint16 scRule = 0; scRule < chainSubClassRuleCount; scRule += 1) { + Offset chainSubClassRuleTableOffset = + SWAPW(chainSubClassSetTable->chainSubClassRuleTableOffsetArray[scRule]); +- const ChainSubClassRuleTable *chainSubClassRuleTable = +- (const ChainSubClassRuleTable *) ((char *) chainSubClassSetTable + chainSubClassRuleTableOffset); ++ LEReferenceTo<ChainSubClassRuleTable> ++ chainSubClassRuleTable(chainSubClassSetTable, success, chainSubClassRuleTableOffset); + le_uint16 backtrackGlyphCount = SWAPW(chainSubClassRuleTable->backtrackGlyphCount); + le_uint16 inputGlyphCount = SWAPW(chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount]) - 1; +- const le_uint16 *inputClassArray = &chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount + 1]; +- le_uint16 lookaheadGlyphCount = SWAPW(inputClassArray[inputGlyphCount]); +- const le_uint16 *lookaheadClassArray = &inputClassArray[inputGlyphCount + 1]; ++ LEReferenceToArrayOf<le_uint16> inputClassArray(base, success, &chainSubClassRuleTable->backtrackClassArray[backtrackGlyphCount + 1],inputGlyphCount+2); // +2 for the lookaheadGlyphCount count ++ le_uint16 lookaheadGlyphCount = SWAPW(inputClassArray.getObject(inputGlyphCount, success)); ++ LEReferenceToArrayOf<le_uint16> lookaheadClassArray(base, success, inputClassArray.getAlias(inputGlyphCount + 1,success), lookaheadGlyphCount+2); // +2 for the substCount + ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 substCount = SWAPW(lookaheadClassArray[lookaheadGlyphCount]); + + +@@ -517,20 +557,22 @@ + } + + tempIterator.prev(); +- if (! matchGlyphClasses(chainSubClassRuleTable->backtrackClassArray, backtrackGlyphCount, +- &tempIterator, backtrackClassDefinitionTable, TRUE)) { ++ LEReferenceToArrayOf<le_uint16> backtrackClassArray(base, success, chainSubClassRuleTable->backtrackClassArray, backtrackGlyphCount); ++ if( LE_FAILURE(success) ) { return 0; } ++ if (! matchGlyphClasses(backtrackClassArray, backtrackGlyphCount, ++ &tempIterator, backtrackClassDefinitionTable, success, TRUE)) { + continue; + } + + tempIterator.setCurrStreamPosition(position); + tempIterator.next(inputGlyphCount); +- if (! matchGlyphClasses(lookaheadClassArray, lookaheadGlyphCount, &tempIterator, lookaheadClassDefinitionTable)) { ++ if (! matchGlyphClasses(lookaheadClassArray, lookaheadGlyphCount, &tempIterator, lookaheadClassDefinitionTable, success)) { + continue; + } + +- if (matchGlyphClasses(inputClassArray, inputGlyphCount, glyphIterator, inputClassDefinitionTable)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &lookaheadClassArray[lookaheadGlyphCount + 1]; ++ if (matchGlyphClasses(inputClassArray, inputGlyphCount, glyphIterator, inputClassDefinitionTable, success)) { ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, (const SubstitutionLookupRecord *) lookaheadClassArray.getAlias(lookaheadGlyphCount + 1, success), substCount); + + applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success); + +@@ -547,7 +589,7 @@ + return 0; + } + +-le_uint32 ChainingContextualSubstitutionFormat3Subtable::process(const LookupProcessor *lookupProcessor, ++le_uint32 ChainingContextualSubstitutionFormat3Subtable::process(const LETableReference &base, const LookupProcessor *lookupProcessor, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, + LEErrorCode & success) const +@@ -558,9 +600,13 @@ + + le_uint16 backtrkGlyphCount = SWAPW(backtrackGlyphCount); + le_uint16 inputGlyphCount = (le_uint16) SWAPW(backtrackCoverageTableOffsetArray[backtrkGlyphCount]); +- const Offset *inputCoverageTableOffsetArray = &backtrackCoverageTableOffsetArray[backtrkGlyphCount + 1]; ++ LEReferenceToArrayOf<Offset> inputCoverageTableOffsetArray(base, success, &backtrackCoverageTableOffsetArray[backtrkGlyphCount + 1], inputGlyphCount+2); // offset + const le_uint16 lookaheadGlyphCount = (le_uint16) SWAPW(inputCoverageTableOffsetArray[inputGlyphCount]); +- const Offset *lookaheadCoverageTableOffsetArray = &inputCoverageTableOffsetArray[inputGlyphCount + 1]; ++ ++ if( LE_FAILURE(success) ) { return 0; } ++ LEReferenceToArrayOf<Offset> lookaheadCoverageTableOffsetArray(base, success, inputCoverageTableOffsetArray.getAlias(inputGlyphCount + 1, success), lookaheadGlyphCount+2); ++ ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 substCount = (le_uint16) SWAPW(lookaheadCoverageTableOffsetArray[lookaheadGlyphCount]); + le_int32 position = glyphIterator->getCurrStreamPosition(); + GlyphIterator tempIterator(*glyphIterator, emptyFeatureList); +@@ -571,14 +617,14 @@ + + tempIterator.prev(); + if (! ContextualSubstitutionBase::matchGlyphCoverages(backtrackCoverageTableOffsetArray, +- backtrkGlyphCount, &tempIterator, (const char *) this, TRUE)) { ++ backtrkGlyphCount, &tempIterator, base, success, TRUE)) { + return 0; + } + + tempIterator.setCurrStreamPosition(position); + tempIterator.next(inputGlyphCount - 1); + if (! ContextualSubstitutionBase::matchGlyphCoverages(lookaheadCoverageTableOffsetArray, +- lookaheadGlyphCount, &tempIterator, (const char *) this)) { ++ lookaheadGlyphCount, &tempIterator, base, success)) { + return 0; + } + +@@ -589,9 +635,10 @@ + glyphIterator->prev(); + + if (ContextualSubstitutionBase::matchGlyphCoverages(inputCoverageTableOffsetArray, +- inputGlyphCount, glyphIterator, (const char *) this)) { +- const SubstitutionLookupRecord *substLookupRecordArray = +- (const SubstitutionLookupRecord *) &lookaheadCoverageTableOffsetArray[lookaheadGlyphCount + 1]; ++ inputGlyphCount, glyphIterator, base, success)) { ++ LEReferenceToArrayOf<SubstitutionLookupRecord> ++ substLookupRecordArray(base, success, ++ (const SubstitutionLookupRecord *) lookaheadCoverageTableOffsetArray.getAlias(lookaheadGlyphCount + 1,success), substCount); + + ContextualSubstitutionBase::applySubstitutionLookups(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, success); + +--- jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ContextualSubstSubtables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -56,20 +56,32 @@ + struct ContextualSubstitutionBase : GlyphSubstitutionSubtable + { + static le_bool matchGlyphIDs( +- const TTGlyphID *glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, ++ const LEReferenceToArrayOf<TTGlyphID> &glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, + le_bool backtrack = FALSE); + + static le_bool matchGlyphClasses( +- const le_uint16 *classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, +- const ClassDefinitionTable *classDefinitionTable, le_bool backtrack = FALSE); ++ const LEReferenceToArrayOf<le_uint16> &classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, ++ const LEReferenceTo<ClassDefinitionTable> &classDefinitionTable, LEErrorCode &success, le_bool backtrack = FALSE); + + static le_bool matchGlyphCoverages( ++ const LEReferenceToArrayOf<Offset> &coverageTableOffsetArray, le_uint16 glyphCount, ++ GlyphIterator *glyphIterator, const LETableReference& offsetBase, LEErrorCode &success, le_bool backtrack = FALSE); + + /** -+ * Get the association list. -+ * -+ * @return The association list. ++ * little shim to wrap the Offset array in range checking ++ * @private + */ -+ public Object[][] getContents() { -+ return new Object[][]{ -+ {"ui_language", "en"}, {"help_language", "en"}, {"language", "en"}, -+ {"alphabet", new CharArrayWrapper(new char[]{'A', 'B', 'C', 'D', 'E', 'F', 'G', -+ 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', -+ 'V', 'W', 'X', 'Y', 'Z'})}, -+ {"tradAlphabet", new CharArrayWrapper(new char[]{'A', 'B', 'C', 'D', 'E', 'F', -+ 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', -+ 'U', 'V', 'W', 'X', 'Y', 'Z'})}, -+ //language orientation -+ {"orientation", "LeftToRight"}, -+ //language numbering -+ {"numbering", "additive"},}; - } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XResourceBundle) ResourceBundle.getBundle( -- XSLT_RESOURCE, new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String lang = locale.getLanguage(); -- String country = locale.getCountry(); -- String variant = locale.getVariant(); -- String suffix = "_" + locale.getLanguage(); -- -- if (lang.equals("zh")) -- suffix += "_" + country; -- -- if (country.equals("JP")) -- suffix += "_" + country + "_" + variant; -- -- return suffix; -- } -- -- /** -- * Get the association list. -- * -- * @return The association list. -- */ -- public Object[][] getContents() -- { -- return new Object[][] -- { -- { "ui_language", "en" }, { "help_language", "en" }, { "language", "en" }, -- { "alphabet", new CharArrayWrapper(new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', -- 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', -- 'V', 'W', 'X', 'Y', 'Z' })}, -- { "tradAlphabet", new CharArrayWrapper(new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', -- 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', -- 'U', 'V', 'W', 'X', 'Y', 'Z' }) }, -- -- //language orientation -- { "orientation", "LeftToRight" }, -- -- //language numbering -- { "numbering", "additive" }, -- }; -- } - } ---- jaxp/src/com/sun/org/apache/xpath/internal/functions/FuncSystemProperty.java 2012-08-10 09:38:25.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/functions/FuncSystemProperty.java 2013-04-28 16:29:21.000000000 -0700 -@@ -102,7 +102,7 @@ ++ static le_bool matchGlyphCoverages( + const Offset *coverageTableOffsetArray, le_uint16 glyphCount, +- GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack = FALSE); ++ GlyphIterator *glyphIterator, const LETableReference& offsetBase, LEErrorCode &success, le_bool backtrack = FALSE) { ++ LEReferenceToArrayOf<Offset> ref(offsetBase, success, coverageTableOffsetArray, glyphCount); ++ if( LE_FAILURE(success) ) { return FALSE; } ++ return matchGlyphCoverages(ref, glyphCount, glyphIterator, offsetBase, success, backtrack); ++ } - try - { -- result = System.getProperty(propName); -+ result = SecuritySupport.getSystemProperty(propName); + static void applySubstitutionLookups( + const LookupProcessor *lookupProcessor, +- const SubstitutionLookupRecord *substLookupRecordArray, ++ const LEReferenceToArrayOf<SubstitutionLookupRecord>& substLookupRecordArray, + le_uint16 substCount, + GlyphIterator *glyphIterator, + const LEFontInstance *fontInstance, +@@ -79,7 +91,8 @@ + + struct ContextualSubstitutionSubtable : ContextualSubstitutionBase + { +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, ++ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + + struct ContextualSubstitutionFormat1Subtable : ContextualSubstitutionSubtable +@@ -87,7 +100,8 @@ + le_uint16 subRuleSetCount; + Offset subRuleSetTableOffsetArray[ANY_NUMBER]; + +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ContextualSubstitutionFormat1Subtable, subRuleSetTableOffsetArray) + +@@ -116,7 +130,7 @@ + le_uint16 subClassSetCount; + Offset subClassSetTableOffsetArray[ANY_NUMBER]; + +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ContextualSubstitutionFormat2Subtable, subClassSetTableOffsetArray) + +@@ -152,13 +166,15 @@ + Offset coverageTableOffsetArray[ANY_NUMBER]; + //SubstitutionLookupRecord substLookupRecord[ANY_NUMBER]; + +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ContextualSubstitutionFormat3Subtable, coverageTableOffsetArray) + + struct ChainingContextualSubstitutionSubtable : ContextualSubstitutionBase + { +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LEReferenceTo<ChainingContextualSubstitutionSubtable> &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + + struct ChainingContextualSubstitutionFormat1Subtable : ChainingContextualSubstitutionSubtable +@@ -166,7 +182,8 @@ + le_uint16 chainSubRuleSetCount; + Offset chainSubRuleSetTableOffsetArray[ANY_NUMBER]; - if (null == result) - { -@@ -124,7 +124,7 @@ +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ChainingContextualSubstitutionFormat1Subtable, chainSubRuleSetTableOffsetArray) + +@@ -201,7 +218,8 @@ + le_uint16 chainSubClassSetCount; + Offset chainSubClassSetTableOffsetArray[ANY_NUMBER]; + +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ChainingContextualSubstitutionFormat2Subtable, chainSubClassSetTableOffsetArray) + +@@ -243,7 +261,8 @@ + //le_uint16 substCount; + //SubstitutionLookupRecord substLookupRecord[ANY_NUMBER]; + +- le_uint32 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; ++ le_uint32 process(const LETableReference &base, const LookupProcessor *lookupProcessor, ++ GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + LE_VAR_ARRAY(ChainingContextualSubstitutionFormat3Subtable, backtrackCoverageTableOffsetArray) + +--- jdk/src/share/native/sun/font/layout/CoverageTables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/CoverageTables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -37,8 +37,10 @@ + + U_NAMESPACE_BEGIN + +-le_int32 CoverageTable::getGlyphCoverage(LEGlyphID glyphID) const ++le_int32 CoverageTable::getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const + { ++ if(LE_FAILURE(success)) return -1; ++ + switch(SWAPW(coverageFormat)) { - try - { -- result = System.getProperty(fullName); -+ result = SecuritySupport.getSystemProperty(fullName); + case 0: +@@ -46,16 +48,16 @@ - if (null == result) - { -@@ -170,7 +170,6 @@ - try + case 1: { - // Use SecuritySupport class to provide priveleged access to property file -- - InputStream is = SecuritySupport.getResourceAsStream(ObjectFactory.findClassLoader(), - file); +- const CoverageFormat1Table *f1Table = (const CoverageFormat1Table *) this; ++ LEReferenceTo<CoverageFormat1Table> f1Table(base, success); ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; +- return f1Table->getGlyphCoverage(glyphID); ++ return f1Table->getGlyphCoverage(f1Table, glyphID, success); + } - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + case 2: + { +- const CoverageFormat2Table *f2Table = (const CoverageFormat2Table *) this; ++ LEReferenceTo<CoverageFormat2Table> f2Table(base, success); - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; +- return f2Table->getGlyphCoverage(glyphID); ++ return f2Table->getGlyphCoverage(f2Table, glyphID, success); + } -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + default: +@@ -63,8 +65,10 @@ + } } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_de.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_de.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; +-le_int32 CoverageFormat1Table::getGlyphCoverage(LEGlyphID glyphID) const ++le_int32 CoverageFormat1Table::getGlyphCoverage(LEReferenceTo<CoverageFormat1Table> &base, LEGlyphID glyphID, LEErrorCode &success) const + { ++ if(LE_FAILURE(success)) return -1; ++ + TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); + le_uint16 count = SWAPW(glyphCount); + le_uint8 bit = OpenTypeUtilities::highBit(count); +@@ -77,6 +81,10 @@ + return -1; + } -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- ++ LEReferenceToArrayOf<TTGlyphID>(base, success, glyphArray, count); ++ if(LE_FAILURE(success)) return -1; // range checks array ++ ++ + if (SWAPW(glyphArray[extra]) <= ttGlyphID) { + index = extra; + } +@@ -96,14 +104,18 @@ + return -1; } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_es.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_es.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +-le_int32 CoverageFormat2Table::getGlyphCoverage(LEGlyphID glyphID) const ++le_int32 CoverageFormat2Table::getGlyphCoverage(LEReferenceTo<CoverageFormat2Table> &base, LEGlyphID glyphID, LEErrorCode &success) const + { ++ if(LE_FAILURE(success)) return -1; ++ + TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); + le_uint16 count = SWAPW(rangeCount); ++ ++ LEReferenceToArrayOf<GlyphRangeRecord> rangeRecordArrayRef(base, success, rangeRecordArray, count); + le_int32 rangeIndex = +- OpenTypeUtilities::getGlyphRangeIndex(ttGlyphID, rangeRecordArray, count); ++ OpenTypeUtilities::getGlyphRangeIndex(ttGlyphID, rangeRecordArrayRef, success); + +- if (rangeIndex < 0) { ++ if (rangeIndex < 0 || LE_FAILURE(success)) { // could fail if array out of bounds + return -1; + } - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; +--- jdk/src/share/native/sun/font/layout/CoverageTables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/CoverageTables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -46,7 +46,7 @@ + { + le_uint16 coverageFormat; +- le_int32 getGlyphCoverage(LEGlyphID glyphID) const; ++ le_int32 getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) const; + }; + + struct CoverageFormat1Table : CoverageTable +@@ -54,7 +54,7 @@ + le_uint16 glyphCount; + TTGlyphID glyphArray[ANY_NUMBER]; + +- le_int32 getGlyphCoverage(LEGlyphID glyphID) const; ++ le_int32 getGlyphCoverage(LEReferenceTo<CoverageFormat1Table> &base, LEGlyphID glyphID, LEErrorCode &success) const; + }; + LE_VAR_ARRAY(CoverageFormat1Table, glyphArray) + +@@ -64,7 +64,7 @@ + le_uint16 rangeCount; + GlyphRangeRecord rangeRecordArray[ANY_NUMBER]; + +- le_int32 getGlyphCoverage(LEGlyphID glyphID) const; ++ le_int32 getGlyphCoverage(LEReferenceTo<CoverageFormat2Table> &base, LEGlyphID glyphID, LEErrorCode &success) const; + }; + LE_VAR_ARRAY(CoverageFormat2Table, rangeRecordArray) + +--- jdk/src/share/native/sun/font/layout/CursiveAttachmentSubtables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/CursiveAttachmentSubtables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -51,23 +51,27 @@ + } + + LEPoint entryAnchor, exitAnchor; +- Offset entryOffset = SWAPW(entryExitRecords[coverageIndex].entryAnchor); // TODO ++ Offset entryOffset = SWAPW(entryExitRecords[coverageIndex].entryAnchor); + Offset exitOffset = SWAPW(entryExitRecords[coverageIndex].exitAnchor); + + if (entryOffset != 0) { +- const AnchorTable *entryAnchorTable = (const AnchorTable *) ((char *) this + entryOffset); ++ LEReferenceTo<AnchorTable> entryAnchorTable(base, success, entryOffset); + +- entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); ++ if( LE_SUCCESS(success) ) { ++ entryAnchorTable->getAnchor(entryAnchorTable, glyphID, fontInstance, entryAnchor, success); + glyphIterator->setCursiveEntryPoint(entryAnchor); ++ } + } else { + //glyphIterator->clearCursiveEntryPoint(); + } + + if (exitOffset != 0) { +- const AnchorTable *exitAnchorTable = (const AnchorTable *) ((char *) this + exitOffset); ++ LEReferenceTo<AnchorTable> exitAnchorTable(base, success, exitOffset); + +- exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor); ++ if( LE_SUCCESS(success) ) { ++ exitAnchorTable->getAnchor(exitAnchorTable, glyphID, fontInstance, exitAnchor, success); + glyphIterator->setCursiveExitPoint(exitAnchor); ++ } + } else { + //glyphIterator->clearCursiveExitPoint(); + } +--- jdk/src/share/native/sun/font/layout/DeviceTables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/DeviceTables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -43,7 +43,7 @@ + + #define FORMAT_COUNT LE_ARRAY_SIZE(fieldBits) + +-le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const ++le_int16 DeviceTable::getAdjustment(const LEReferenceTo<DeviceTable>&base, le_uint16 ppem, LEErrorCode &success) const + { + le_uint16 start = SWAPW(startSize); + le_uint16 format = SWAPW(deltaFormat) - 1; +@@ -53,6 +53,13 @@ + le_uint16 sizeIndex = ppem - start; + le_uint16 bits = fieldBits[format]; + le_uint16 count = 16 / bits; ++ ++ LEReferenceToArrayOf<le_uint16> deltaValuesRef(base, success, deltaValues, (sizeIndex / count)); ++ ++ if(LE_FAILURE(success)) { ++ return result; ++ } ++ + le_uint16 word = SWAPW(deltaValues[sizeIndex / count]); + le_uint16 fieldIndex = sizeIndex % count; + le_uint16 shift = 16 - (bits * (fieldIndex + 1)); +--- jdk/src/share/native/sun/font/layout/DeviceTables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/DeviceTables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -50,7 +50,7 @@ + le_uint16 deltaFormat; + le_uint16 deltaValues[ANY_NUMBER]; + +- le_int16 getAdjustment(le_uint16 ppem) const; ++ le_int16 getAdjustment(const LEReferenceTo<DeviceTable> &base, le_uint16 ppem, LEErrorCode &success) const; + + private: + static const le_uint16 fieldMasks[]; +--- jdk/src/share/native/sun/font/layout/ExtensionSubtables.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ExtensionSubtables.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -48,7 +48,6 @@ + const LookupProcessor *lookupProcessor, le_uint16 lookupType, + GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const + { - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + if (LE_FAILURE(success)) { + return 0; + } +--- jdk/src/share/native/sun/font/layout/ExtensionSubtables.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ExtensionSubtables.h 2014-01-18 12:16:22.000000000 -0800 +@@ -52,8 +52,7 @@ + le_uint16 extensionLookupType; + le_uint32 extensionOffset; + +- le_uint32 process(const LEReferenceTo<ExtensionSubtable> &extRef, +- const LookupProcessor *lookupProcessor, le_uint16 lookupType, ++ le_uint32 process(const LEReferenceTo<ExtensionSubtable> &base, const LookupProcessor *lookupProcessor, le_uint16 lookupType, + GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const; + }; + +--- jdk/src/share/native/sun/font/layout/GDEFMarkFilter.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GDEFMarkFilter.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -49,9 +49,9 @@ + // nothing to do? } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_fr.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_fr.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +-le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const ++le_bool GDEFMarkFilter::accept(LEGlyphID glyph, LEErrorCode &success) const + { +- le_int32 glyphClass = classDefTable->getGlyphClass(glyph); ++ le_int32 glyphClass = classDefTable->getGlyphClass(classDefTable, glyph, success); - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + return glyphClass == gcdMarkGlyph; + } +--- jdk/src/share/native/sun/font/layout/GDEFMarkFilter.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GDEFMarkFilter.h 2014-01-18 12:16:22.000000000 -0800 +@@ -55,7 +55,7 @@ + GDEFMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success); + virtual ~GDEFMarkFilter(); -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- +- virtual le_bool accept(LEGlyphID glyph) const; ++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const; + }; + + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/GlyphIterator.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GlyphIterator.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -41,14 +41,13 @@ + U_NAMESPACE_BEGIN + + GlyphIterator::GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments, le_bool rightToLeft, le_uint16 theLookupFlags, +- FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader) ++ FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader, LEErrorCode &success) + : direction(1), position(-1), nextLimit(-1), prevLimit(-1), + glyphStorage(theGlyphStorage), glyphPositionAdjustments(theGlyphPositionAdjustments), + srcIndex(-1), destIndex(-1), lookupFlags(theLookupFlags), featureMask(theFeatureMask), glyphGroup(0), + glyphClassDefinitionTable(), markAttachClassDefinitionTable() + + { +- LEErrorCode success = LE_NO_ERROR; // TODO + le_int32 glyphCount = glyphStorage.getGlyphCount(); + + if (theGlyphDefinitionTableHeader.isValid()) { +@@ -66,6 +65,7 @@ + nextLimit = -1; + prevLimit = glyphCount; + } ++ filterResetCache(); } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_it.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_it.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + GlyphIterator::GlyphIterator(GlyphIterator &that) +@@ -84,6 +84,7 @@ + glyphGroup = that.glyphGroup; + glyphClassDefinitionTable = that.glyphClassDefinitionTable; + markAttachClassDefinitionTable = that.markAttachClassDefinitionTable; ++ filterResetCache(); + } - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + GlyphIterator::GlyphIterator(GlyphIterator &that, FeatureMask newFeatureMask) +@@ -102,6 +103,7 @@ + glyphGroup = 0; + glyphClassDefinitionTable = that.glyphClassDefinitionTable; + markAttachClassDefinitionTable = that.markAttachClassDefinitionTable; ++ filterResetCache(); + } -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + GlyphIterator::GlyphIterator(GlyphIterator &that, le_uint16 newLookupFlags) +@@ -120,6 +122,7 @@ + glyphGroup = that.glyphGroup; + glyphClassDefinitionTable = that.glyphClassDefinitionTable; + markAttachClassDefinitionTable = that.markAttachClassDefinitionTable; ++ filterResetCache(); } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ja.java 2012-08-10 09:38:31.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ja.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + GlyphIterator::~GlyphIterator() +@@ -133,6 +136,7 @@ + featureMask = newFeatureMask; + glyphGroup = 0; + lookupFlags = newLookupFlags; ++ filterResetCache(); + } - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + LEGlyphID *GlyphIterator::insertGlyphs(le_int32 count, LEErrorCode& success) +@@ -381,53 +385,68 @@ + glyphPositionAdjustments->setCursiveGlyph(position, baselineIsLogicalEnd()); + } +-le_bool GlyphIterator::filterGlyph(le_uint32 index) const ++void GlyphIterator::filterResetCache(void) { ++ filterCacheValid = FALSE; ++ } ++ ++le_bool GlyphIterator::filterGlyph(le_uint32 index) + { +- LEErrorCode success = LE_NO_ERROR; + LEGlyphID glyphID = glyphStorage[index]; +- le_int32 glyphClass = gcdNoGlyphClass; + +- if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { +- return TRUE; +- } ++ if (!filterCacheValid || filterCache.id != glyphID) { ++ filterCache.id = glyphID; + ++ le_bool &filterResult = filterCache.result; // NB: Making this a reference to accept the updated value, in case ++ // we want more fancy cacheing in the future. ++ if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { ++ filterResult = TRUE; ++ } else { ++ LEErrorCode success = LE_NO_ERROR; ++ le_int32 glyphClass = gcdNoGlyphClass; + if (glyphClassDefinitionTable.isValid()) { + glyphClass = glyphClassDefinitionTable->getGlyphClass(glyphClassDefinitionTable, glyphID, success); + } - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try +- switch (glyphClass) - { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) ++ switch (glyphClass) { + case gcdNoGlyphClass: +- return FALSE; ++ filterResult = FALSE; ++ break; + + case gcdSimpleGlyph: +- return (lookupFlags & lfIgnoreBaseGlyphs) != 0; ++ filterResult = (lookupFlags & lfIgnoreBaseGlyphs) != 0; ++ break; + + case gcdLigatureGlyph: +- return (lookupFlags & lfIgnoreLigatures) != 0; ++ filterResult = (lookupFlags & lfIgnoreLigatures) != 0; ++ break; + + case gcdMarkGlyph: - { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; + if ((lookupFlags & lfIgnoreMarks) != 0) { +- return TRUE; +- } - -- return suffix; -- } ++ filterResult = TRUE; ++ } else { + le_uint16 markAttachType = (lookupFlags & lfMarkAttachTypeMask) >> lfMarkAttachTypeShift; + + if ((markAttachType != 0) && (markAttachClassDefinitionTable.isValid())) { +- return markAttachClassDefinitionTable +- -> getGlyphClass(markAttachClassDefinitionTable, glyphID, success) != markAttachType; ++ filterResult = (markAttachClassDefinitionTable ++ -> getGlyphClass(markAttachClassDefinitionTable, glyphID, success) != markAttachType); ++ } else { ++ filterResult = FALSE; + } - +- return FALSE; + } ++ break; + + case gcdComponentGlyph: +- return (lookupFlags & lfIgnoreBaseGlyphs) != 0; ++ filterResult = ((lookupFlags & lfIgnoreBaseGlyphs) != 0); ++ break; + + default: +- return FALSE; ++ filterResult = FALSE; ++ break; + } ++ } ++ filterCacheValid = TRUE; ++ } ++ ++ return filterCache.result; } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ko.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ko.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + le_bool GlyphIterator::hasFeatureTag(le_bool matchGroup) const +--- jdk/src/share/native/sun/font/layout/GlyphIterator.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GlyphIterator.h 2014-01-18 12:16:22.000000000 -0800 +@@ -49,7 +49,7 @@ + class GlyphIterator : public UMemory { + public: + GlyphIterator(LEGlyphStorage &theGlyphStorage, GlyphPositionAdjustments *theGlyphPositionAdjustments, le_bool rightToLeft, le_uint16 theLookupFlags, +- FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader); ++ FeatureMask theFeatureMask, const LEReferenceTo<GlyphDefinitionTableHeader> &theGlyphDefinitionTableHeader, LEErrorCode &success); + + GlyphIterator(GlyphIterator &that); + +@@ -98,7 +98,7 @@ + le_int32 applyInsertions(); + + private: +- le_bool filterGlyph(le_uint32 index) const; ++ le_bool filterGlyph(le_uint32 index); + le_bool hasFeatureTag(le_bool matchGroup) const; + le_bool nextInternal(le_uint32 delta = 1); + le_bool prevInternal(le_uint32 delta = 1); +@@ -121,6 +121,14 @@ + LEReferenceTo<MarkAttachClassDefinitionTable> markAttachClassDefinitionTable; + + GlyphIterator &operator=(const GlyphIterator &other); // forbid copying of this class ++ ++ struct { ++ LEGlyphID id; ++ le_bool result; ++ } filterCache; ++ le_bool filterCacheValid; ++ ++ void filterResetCache(void); + }; - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/GlyphPosnLookupProc.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GlyphPosnLookupProc.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -95,6 +95,8 @@ -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- + le_uint32 delta = 0; + ++ //_LETRACE("attempting lookupType #%d", lookupType); ++ + switch(lookupType) + { + case 0: +@@ -152,21 +154,21 @@ + { + LEReferenceTo<ContextualPositioningSubtable> subtable(lookupSubtable, success); + +- delta = subtable->process(this, glyphIterator, fontInstance, success); ++ delta = subtable->process(subtable, this , glyphIterator, fontInstance, success); + break; + } + + case gpstChainedContext: + { +- LEReferenceTo<ChainingContextualPositioningSubtable> subtable(lookupSubtable, success); ++ const LEReferenceTo<ChainingContextualPositioningSubtable> subtable(lookupSubtable, success); + +- delta = subtable->process(this, glyphIterator, fontInstance, success); ++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success); + break; + } + + case gpstExtension: + { +- LEReferenceTo<ExtensionSubtable> subtable(lookupSubtable, success); ++ const LEReferenceTo<ExtensionSubtable> subtable(lookupSubtable, success); + + delta = subtable->process(subtable, this, lookupType, glyphIterator, fontInstance, success); + break; +@@ -176,6 +178,12 @@ + break; + } + ++#if LE_TRACE ++ if(delta != 0) { ++ _LETRACE("GlyphPositioningLookupProcessor applied #%d -> delta %d @ %d", lookupType, delta, glyphIterator->getCurrStreamPosition()); ++ } ++#endif ++ + return delta; } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_pt_BR.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_pt_BR.java 2013-04-28 16:29:21.000000000 -0700 -@@ -24,9 +24,6 @@ - package com.sun.org.apache.xpath.internal.res; - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; +--- jdk/src/share/native/sun/font/layout/GlyphSubstLookupProc.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/GlyphSubstLookupProc.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -123,7 +123,7 @@ + { + const LEReferenceTo<ContextualSubstitutionSubtable> subtable(lookupSubtable, success); - /** - * Set up error messages. -@@ -940,68 +937,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; +- delta = subtable->process(this, glyphIterator, fontInstance, success); ++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success); + break; + } +@@ -131,7 +131,7 @@ + { + const LEReferenceTo<ChainingContextualSubstitutionSubtable> subtable(lookupSubtable, success); + +- delta = subtable->process(this, glyphIterator, fontInstance, success); ++ delta = subtable->process(subtable, this, glyphIterator, fontInstance, success); + break; + } + +--- jdk/src/share/native/sun/font/layout/IndicLayoutEngine.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/IndicLayoutEngine.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -44,7 +44,7 @@ + #include "LEGlyphStorage.h" + + #include "IndicReordering.h" +-#include <stdio.h> ++ + U_NAMESPACE_BEGIN + + UOBJECT_DEFINE_RTTI_IMPLEMENTATION(IndicOpenTypeLayoutEngine) +@@ -90,6 +90,7 @@ + return 0; + } + ++ _LETRACE("IOTLE::gp, calling parent"); + le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success); + + if (LE_FAILURE(success)) { +@@ -97,10 +98,14 @@ + } + + if (fVersion2) { ++ _LETRACE("IOTLE::gp, v2 final,"); + IndicReordering::finalReordering(glyphStorage,retCount); ++ _LETRACE("IOTLE::gp, v2 pres"); + IndicReordering::applyPresentationForms(glyphStorage,retCount); ++ _LETRACE("IOTLE::gp, parent gsub"); + OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success); + } else { ++ _LETRACE("IOTLE::gp, adjust mpres"); + IndicReordering::adjustMPres(fMPreFixups, glyphStorage, success); + } + return retCount; +@@ -116,6 +121,8 @@ + return 0; + } + ++ _LETRACE("IOTLE: charProc"); ++ + if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { + success = LE_ILLEGAL_ARGUMENT_ERROR; + return 0; +@@ -143,8 +150,10 @@ + + le_int32 outCharCount; + if (fVersion2) { ++ _LETRACE("v2process"); + outCharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage); + } else { ++ _LETRACE("reorder"); + outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage, &fMPreFixups, success); + } + +--- jdk/src/share/native/sun/font/layout/KernTable.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/KernTable.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -39,7 +39,7 @@ + + #include <stdio.h> + +-#define DEBUG 0 ++#define DEBUG_KERN_TABLE 0 + + U_NAMESPACE_BEGIN + +@@ -99,14 +99,14 @@ + : pairsSwapped(NULL), fTable(base) + { + if(LE_FAILURE(success) || (fTable.isEmpty())) { +-#if DEBUG ++#if DEBUG_KERN_TABLE + fprintf(stderr, "no kern data\n"); + #endif + return; + } + LEReferenceTo<KernTableHeader> header(fTable, success); + +-#if DEBUG ++#if DEBUG_KERN_TABLE + // dump first 32 bytes of header + for (int i = 0; i < 64; ++i) { + fprintf(stderr, "%0.2x ", ((const char*)header.getAlias())[i]&0xff); +@@ -171,13 +171,13 @@ + fprintf(stderr, " searchRange: %d entrySelector: %d rangeShift: %d\n", searchRange, entrySelector, rangeShift); + fprintf(stderr, "[[ ignored font table entries: range %d selector %d shift %d ]]\n", SWAPW(table->searchRange), SWAPW(table->entrySelector), SWAPW(table->rangeShift)); + #endif +-#if DEBUG ++#if DEBUG_KERN_TABLE + fprintf(stderr, "coverage: %0.4x nPairs: %d pairs 0x%x\n", coverage, nPairs, pairsSwapped); + fprintf(stderr, + " searchRange(pairs): %d entrySelector: %d rangeShift(pairs): %d\n", + searchRange, entrySelector, rangeShift); + +- { ++ if (LE_SUCCESS(success)) { + // dump part of the pair list + char ids[256]; + for (int i = 256; --i >= 0;) { +@@ -242,7 +242,7 @@ + p = tp; + } + +-#if DEBUG ++#if DEBUG_KERN_TABLE + fprintf(stderr, "binary search for %0.8x\n", key); + #endif + +@@ -251,13 +251,13 @@ + probe >>= 1; + tp = (const PairInfo*)(p + (probe/KERN_PAIRINFO_SIZE)); + le_uint32 tkey = tp->key; +-#if DEBUG ++#if DEBUG_KERN_TABLE + fprintf(stdout, " %.3d (%0.8x)\n", (tp - pairsSwapped), tkey); + #endif + if (tkey <= key) { + if (tkey == key) { + le_int16 value = SWAPW(tp->value); +-#if DEBUG ++#if DEBUG_KERN_TABLE + fprintf(stdout, "binary found kerning pair %x:%x at %d, value: 0x%x (%g)\n", + storage[i-1], storage[i], i, value & 0xffff, font->xUnitsToPoints(value)); + fflush(stdout); +--- jdk/src/share/native/sun/font/layout/LEFontInstance.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEFontInstance.h 2014-01-18 12:16:22.000000000 -0800 +@@ -181,6 +181,10 @@ + * + * Subclasses which represent composite fonts should always return <code>NULL</code>. + * ++ * Note that implementing this function does not allow for range checking. ++ * Subclasses that desire the safety of range checking must implement the ++ * variation which has a length parameter. ++ * + * @param tableTag - the four byte table tag. (e.g. 'cmap') + * + * @return the address of the table in memory, or <code>NULL</code> +@@ -200,6 +204,8 @@ + * Subclasses which represent composite fonts should always return <code>NULL</code>. + * + * This version sets a length, for range checking. ++ * Note that range checking can only be accomplished if this function is ++ * implemented in subclasses. + * + * @param tableTag - the four byte table tag. (e.g. 'cmap') + * @param length - ignored on entry, on exit will be the length of the table if known, or -1 if unknown. +@@ -572,5 +578,3 @@ + + U_NAMESPACE_END + #endif - -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { - -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); +--- jdk/src/share/native/sun/font/layout/LEGlyphFilter.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEGlyphFilter.h 2014-01-18 12:16:22.000000000 -0800 +@@ -62,7 +62,7 @@ + * + * @internal + */ +- virtual le_bool accept(LEGlyphID glyph) const = 0; ++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const = 0; + }; + #endif /* U_HIDE_INTERNAL_API */ + +--- jdk/src/share/native/sun/font/layout/LEGlyphStorage.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEGlyphStorage.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -458,7 +458,7 @@ + success = LE_INDEX_OUT_OF_BOUNDS_ERROR; + return; + } - -- if (country.equals("TW")) -- suffix += "_" + country; ++ _LETRACE("set%-4d\t(%.2f, %.2f)", glyphIndex, x, y); + fPositions[glyphIndex * 2] = x; + fPositions[glyphIndex * 2 + 1] = y; + } +@@ -694,4 +694,3 @@ + } + + U_NAMESPACE_END - -- return suffix; -- } +--- jdk/src/share/native/sun/font/layout/LEGlyphStorage.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEGlyphStorage.h 2014-01-18 12:16:22.000000000 -0800 +@@ -568,4 +568,3 @@ + + U_NAMESPACE_END + #endif - - } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_sv.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_sv.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; +--- jdk/src/share/native/sun/font/layout/LEScripts.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEScripts.h 2014-01-18 12:16:22.000000000 -0800 +@@ -30,7 +30,7 @@ + * WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS + * YOU REALLY KNOW WHAT YOU'RE DOING. + * +- * Generated on: 10/26/2010 02:53:33 PM PDT ++ * Generated on: 11/01/2011 04:08:09 PM PDT + */ - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + #ifndef __LESCRIPTS_H +@@ -262,7 +262,16 @@ + khojScriptCode = 157, + tirhScriptCode = 158, + +- scriptCodeCount = 159 ++/** ++ * @stable ICU 52 ++ */ ++ aghbScriptCode = 159, ++ mahjScriptCode = 160, ++ ++/** ++ * @stable ICU 2.2 ++ */ ++ scriptCodeCount + }; + + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/LEStandalone.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LEStandalone.h 2014-01-18 12:16:22.000000000 -0800 +@@ -132,6 +132,9 @@ + #define uprv_memcpy memcpy + #define uprv_realloc realloc + ++#define U_EXPORT2 ++#define U_CAPI extern "C" ++ + #if !defined(U_IS_BIG_ENDIAN) + #ifdef _LITTLE_ENDIAN + #define U_IS_BIG_ENDIAN 0 +--- jdk/src/share/native/sun/font/layout/LETableReference.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LETableReference.h 2014-01-18 12:16:22.000000000 -0800 +@@ -38,34 +38,47 @@ + #include "LETypes.h" + #include "LEFontInstance.h" + ++/** ++ * \def LE_ENABLE_RAW ++ * If this is 1, enables old non-safe raw access ++ */ ++#ifndef LE_ENABLE_RAW ++#define LE_ENABLE_RAW 0 ++#endif + +-#define kQuestionmarkTableTag 0x3F3F3F3FUL +-#define kTildeTableTag 0x7e7e7e7eUL ++#define kQuestionmarkTableTag 0x3F3F3F3FUL /* ???? */ ++#define kStaticTableTag 0x30303030UL /* 0000 */ ++#define kTildeTableTag 0x7e7e7e7eUL /* ~~~~ */ + #ifdef __cplusplus + // internal - interface for range checking + U_NAMESPACE_BEGIN + + #if LE_ASSERT_BAD_FONT ++ ++#ifndef LE_TRACE_TR ++#define LE_TRACE_TR 0 ++#endif ++ + class LETableReference; // fwd /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + * defined in OpenTypeUtilities.cpp + * @internal + */ +-extern void _debug_LETableReference(const char *f, int l, const char *msg, const LETableReference *what, const void *ptr, size_t len); ++U_CAPI void U_EXPORT2 _debug_LETableReference(const char *f, int l, const char *msg, const LETableReference *what, const void *ptr, size_t len); + + #define LE_DEBUG_TR(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0); + #define LE_DEBUG_TR3(x,y,z) _debug_LETableReference(__FILE__, __LINE__, x, this, (const void*)y, (size_t)z); +-#if 0 +-#define LE_TRACE_TR(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0); ++#if LE_TRACE_TR ++#define _TRTRACE(x) _debug_LETableReference(__FILE__, __LINE__, x, this, NULL, 0); + #else +-#define LE_TRACE_TR(x) ++#define _TRTRACE(x) + #endif -- -- /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException -- */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } -- } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; -- } -- - } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_CN.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_CN.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; + #else + #define LE_DEBUG_TR(x) + #define LE_DEBUG_TR3(x,y,z) +-#define LE_TRACE_TR(x) ++#define _TRTRACE(x) + #endif - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; + /** +@@ -73,6 +86,13 @@ + */ + class LETableReference { + public: ++ ++ /** ++ * Dummy enum asserting that a value is actually static data ++ * and does not need to be range checked ++ */ ++ enum EStaticData { kStaticData = 0 }; ++ + /** + * @internal + * Construct from a specific tag +@@ -80,28 +100,42 @@ + LETableReference(const LEFontInstance* font, LETag tableTag, LEErrorCode &success) : + fFont(font), fTag(tableTag), fParent(NULL), fStart(NULL),fLength(LE_UINTPTR_MAX) { + loadTable(success); +- LE_TRACE_TR("INFO: new table load") ++ _TRTRACE("INFO: new table load") + } + LETableReference(const LETableReference &parent, LEErrorCode &success) : fFont(parent.fFont), fTag(parent.fTag), fParent(&parent), fStart(parent.fStart), fLength(parent.fLength) { + if(LE_FAILURE(success)) { + clear(); + } +- LE_TRACE_TR("INFO: new clone") ++ _TRTRACE("INFO: new clone") + } + ++#if LE_ENABLE_RAW ++ /** ++ * Construct without a parent LETR. ++ */ + LETableReference(const le_uint8* data, size_t length = LE_UINTPTR_MAX) : + fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) { +- LE_TRACE_TR("INFO: new raw") ++ _TRTRACE("INFO: new raw") + } ++#endif ++ ++ /** ++ * Construct without a parent LETR. ++ */ ++ LETableReference(EStaticData /* NOTUSED */, const le_uint8* data, size_t length) : ++ fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) { ++ _TRTRACE("INFO: new EStaticData") ++ } ++ + LETableReference() : + fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(NULL), fLength(0) { +- LE_TRACE_TR("INFO: new empty") ++ _TRTRACE("INFO: new empty") + } + + ~LETableReference() { +- fTag=kTildeTableTag; +- LE_TRACE_TR("INFO: new dtor") ++ fTag= (LETag)kTildeTableTag; ++ _TRTRACE("INFO: new dtor") + } + + /** +@@ -127,7 +161,7 @@ + fLength = (fParent->fLength) - offset; // decrement length as base address is incremented + } + if(fLength != LE_UINTPTR_MAX) { // if we have bounds: +- if(offset+fLength > fParent->fLength) { ++ if((offset+fLength < offset) || (offset+fLength > fParent->fLength)) { + LE_DEBUG_TR3("offset+fLength out of range: (%p) +%d", NULL, offset+fLength); + err = LE_INDEX_OUT_OF_BOUNDS_ERROR; // exceeded + clear(); +@@ -137,11 +171,13 @@ + } else { + clear(); + } +- LE_TRACE_TR("INFO: new subset") ++ _TRTRACE("INFO: new subset") + } + + const void* getAlias() const { return (const void*)fStart; } +- const void* getAliasTODO() const { LE_DEBUG_TR("getAliasTODO()"); return (const void*)fStart; } ++#ifndef LE_ENABLE_RAW ++ const void* getAliasRAW() const { LE_DEBUG_TR("getAliasRAW()"); return (const void*)fStart; } ++#endif + le_bool isEmpty() const { return fStart==NULL || fLength==0; } + le_bool isValid() const { return !isEmpty(); } + le_bool hasBounds() const { return fLength!=LE_UINTPTR_MAX; } +@@ -234,7 +270,18 @@ + + void setRaw(const void *data, size_t length = LE_UINTPTR_MAX) { + fFont = NULL; +- fTag = kQuestionmarkTableTag; ++ fTag = (LETag)kQuestionmarkTableTag; ++ fParent = NULL; ++ fStart = (const le_uint8*)data; ++ fLength = length; ++ } ++ ++ /** ++ * set this object pointing to static data ++ */ ++ void setTo(EStaticData /*notused*/, const void *data, size_t length) { ++ fFont = NULL; ++ fTag = (LETag)kStaticTableTag; + fParent = NULL; + fStart = (const le_uint8*)data; + fLength = length; +@@ -277,6 +324,90 @@ + * Open a new entry based on an existing table + */ + ++template<class T> ++class LEReferenceTo : public LETableReference { ++public: ++ /** ++ * open a sub reference. ++ * @param parent parent reference ++ * @param success error status ++ * @param atPtr location of reference - if NULL, will be at offset zero (i.e. downcast of parent). Otherwise must be a pointer within parent's bounds. ++ */ ++ inline LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr) ++ : LETableReference(parent, parent.ptrToOffset(atPtr, success), LE_UINTPTR_MAX, success) { ++ verifyLength(0, LETableVarSizer<T>::getSize(), success); ++ if(LE_FAILURE(success)) clear(); ++ } ++ /** ++ * ptr plus offset ++ */ ++ inline LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr, size_t offset) ++ : LETableReference(parent, parent.ptrToOffset(atPtr, success)+offset, LE_UINTPTR_MAX, success) { ++ verifyLength(0, LETableVarSizer<T>::getSize(), success); ++ if(LE_FAILURE(success)) clear(); ++ } ++ inline LEReferenceTo(const LETableReference &parent, LEErrorCode &success, size_t offset) ++ : LETableReference(parent, offset, LE_UINTPTR_MAX, success) { ++ verifyLength(0, LETableVarSizer<T>::getSize(), success); ++ if(LE_FAILURE(success)) clear(); ++ } ++ inline LEReferenceTo(const LETableReference &parent, LEErrorCode &success) ++ : LETableReference(parent, 0, LE_UINTPTR_MAX, success) { ++ verifyLength(0, LETableVarSizer<T>::getSize(), success); ++ if(LE_FAILURE(success)) clear(); ++ } ++ inline LEReferenceTo(const LEFontInstance *font, LETag tableTag, LEErrorCode &success) ++ : LETableReference(font, tableTag, success) { ++ verifyLength(0, LETableVarSizer<T>::getSize(), success); ++ if(LE_FAILURE(success)) clear(); ++ } ++#if LE_ENABLE_RAW ++ inline LEReferenceTo(const le_uint8 *data, size_t length = LE_UINTPTR_MAX) : LETableReference(data, length) {} ++ inline LEReferenceTo(const T *data, size_t length = LE_UINTPTR_MAX) : LETableReference((const le_uint8*)data, length) {} ++#endif ++ inline LEReferenceTo(EStaticData staticData, const le_uint8 *data, size_t length) : LETableReference(staticData, data, length) {} ++ inline LEReferenceTo(EStaticData staticData, const T *data, size_t length) : LETableReference(staticData, (const le_uint8*)data, length) {} ++ ++ inline LEReferenceTo() : LETableReference() {} ++ ++#if LE_ENABLE_RAW ++ inline LEReferenceTo<T>& operator=(const T* other) { ++ setRaw(other); ++ return *this; ++ } ++#endif ++ ++ LEReferenceTo<T>& setTo(LETableReference::EStaticData staticData, const T* other, size_t length) { ++ LETableReference::setTo(staticData, other, length); ++ return *this; ++ } ++ ++ LEReferenceTo<T> &reparent(const LETableReference &base) { ++ fParent = &base; ++ return *this; ++ } ++ ++ /** ++ * roll forward by one <T> size. ++ * same as addOffset(LETableVarSizer<T>::getSize(),success) ++ */ ++ void addObject(LEErrorCode &success) { ++ addOffset(LETableVarSizer<T>::getSize(), success); ++ } ++ void addObject(size_t count, LEErrorCode &success) { ++ addOffset(LETableVarSizer<T>::getSize()*count, success); ++ } ++ ++ const T *operator->() const { return getAlias(); } ++ const T *operator*() const { return getAlias(); } ++ const T *getAlias() const { return (const T*)fStart; } ++#if LE_ENABLE_RAW ++ const T *getAliasRAW() const { LE_DEBUG_TR("getAliasRAW<>"); return (const T*)fStart; } ++#endif ++ ++}; ++ ++ /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; + * \def LE_UNBOUNDED_ARRAY + * define an array with no *known* bound. Will trim to available size. +@@ -289,12 +420,12 @@ + public: + LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, size_t offset, le_uint32 count) + : LETableReference(parent, offset, LE_UINTPTR_MAX, success), fCount(count) { +- LE_TRACE_TR("INFO: new RTAO by offset") ++ _TRTRACE("INFO: new RTAO by offset") + if(LE_SUCCESS(success)) { +- if(count == LE_UNBOUNDED_ARRAY) { // not a known length +- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size ++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length ++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size + } +- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success); ++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success); + } + if(LE_FAILURE(success)) { + fCount=0; +@@ -304,23 +435,23 @@ + + LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, le_uint32 count) + : LETableReference(parent, parent.ptrToOffset(array, success), LE_UINTPTR_MAX, success), fCount(count) { +-LE_TRACE_TR("INFO: new RTAO") ++_TRTRACE("INFO: new RTAO") + if(LE_SUCCESS(success)) { +- if(count == LE_UNBOUNDED_ARRAY) { // not a known length +- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size ++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length ++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size + } +- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success); ++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success); + } + if(LE_FAILURE(success)) clear(); + } + LEReferenceToArrayOf(const LETableReference &parent, LEErrorCode &success, const T* array, size_t offset, le_uint32 count) + : LETableReference(parent, parent.ptrToOffset(array, success)+offset, LE_UINTPTR_MAX, success), fCount(count) { +-LE_TRACE_TR("INFO: new RTAO") ++_TRTRACE("INFO: new RTAO") + if(LE_SUCCESS(success)) { +- if(count == LE_UNBOUNDED_ARRAY) { // not a known length +- count = getLength()/LETableVarSizer<T>::getSize(); // fit to max size ++ if(fCount == LE_UNBOUNDED_ARRAY) { // not a known length ++ fCount = getLength()/LETableVarSizer<T>::getSize(); // fit to max size + } +- LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*count, success); ++ LETableReference::verifyLength(0, LETableVarSizer<T>::getSize()*fCount, success); + } + if(LE_FAILURE(success)) clear(); + } +@@ -329,18 +460,40 @@ -- + le_uint32 getCount() const { return fCount; } + +- using LETableReference::getAlias; ++ const T *getAlias() const { return (const T*)fStart; } + + const T *getAlias(le_uint32 i, LEErrorCode &success) const { + return ((const T*)(((const char*)getAlias())+getOffsetFor(i, success))); + } + +- const T *getAliasTODO() const { LE_DEBUG_TR("getAliasTODO<>"); return (const T*)fStart; } ++#ifndef LE_ENABLE_RAW ++ const T *getAliasRAW() const { LE_DEBUG_TR("getAliasRAW<>"); return (const T*)fStart; } ++#endif + + const T& getObject(le_uint32 i, LEErrorCode &success) const { + return *getAlias(i,success); + } + ++ /** ++ * by-value array accessor for integral types. ++ */ ++ const T operator[](le_uint32 i) const { ++ LEErrorCode success = LE_NO_ERROR; ++ const T *ret = getAlias(i, success); ++ if(LE_FAILURE(success) || ret==NULL) { ++#if LE_ASSERT_BAD_FONT ++ LE_DEBUG_TR3("Range error, out of bounds? (%p) #%d", NULL, i); ++#endif ++ return T(0); // will not work for all types. ++ } ++ return *ret; ++ } ++ ++ const LEReferenceTo<T> getReference(le_uint32 i, LEErrorCode &success) const { ++ if(LE_FAILURE(success)) return LEReferenceTo<T>(); ++ return LEReferenceTo<T>(*this, success, getAlias(i,success)); ++ } ++ + const T& operator()(le_uint32 i, LEErrorCode &success) const { + return *getAlias(i,success); + } +@@ -349,6 +502,7 @@ + if(LE_SUCCESS(success)&&i<getCount()) { + return LETableVarSizer<T>::getSize()*i; + } else { ++ LE_DEBUG_TR3("getOffsetFor failed (%p) index=%d",NULL, i); + success = LE_INDEX_OUT_OF_BOUNDS_ERROR; + } + return 0; +@@ -360,7 +514,7 @@ + } + + LEReferenceToArrayOf(const LETableReference& parent, LEErrorCode & success) : LETableReference(parent,0, LE_UINTPTR_MAX, success), fCount(0) { +- LE_TRACE_TR("INFO: null RTAO") ++ _TRTRACE("INFO: null RTAO") + } + + private: +@@ -368,73 +522,11 @@ + }; + + +-template<class T> +-class LEReferenceTo : public LETableReference { +-public: - /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException +- * open a sub reference. +- * @param parent parent reference +- * @param success error status +- * @param atPtr location of reference - if NULL, will be at offset zero (i.e. downcast of parent). Otherwise must be a pointer within parent's bounds. - */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } +- LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr) +- : LETableReference(parent, parent.ptrToOffset(atPtr, success), LE_UINTPTR_MAX, success) { +- verifyLength(0, LETableVarSizer<T>::getSize(), success); +- if(LE_FAILURE(success)) clear(); - } -- - /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name +- * ptr plus offset - */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; +- LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr, size_t offset) +- : LETableReference(parent, parent.ptrToOffset(atPtr, success)+offset, LE_UINTPTR_MAX, success) { +- verifyLength(0, LETableVarSizer<T>::getSize(), success); +- if(LE_FAILURE(success)) clear(); +- } +- LEReferenceTo(const LETableReference &parent, LEErrorCode &success, size_t offset) +- : LETableReference(parent, offset, LE_UINTPTR_MAX, success) { +- verifyLength(0, LETableVarSizer<T>::getSize(), success); +- if(LE_FAILURE(success)) clear(); +- } +- LEReferenceTo(const LETableReference &parent, LEErrorCode &success) +- : LETableReference(parent, 0, LE_UINTPTR_MAX, success) { +- verifyLength(0, LETableVarSizer<T>::getSize(), success); +- if(LE_FAILURE(success)) clear(); +- } +- LEReferenceTo(const LEFontInstance *font, LETag tableTag, LEErrorCode &success) +- : LETableReference(font, tableTag, success) { +- verifyLength(0, LETableVarSizer<T>::getSize(), success); +- if(LE_FAILURE(success)) clear(); +- } +- LEReferenceTo(const le_uint8 *data, size_t length = LE_UINTPTR_MAX) : LETableReference(data, length) {} +- LEReferenceTo(const T *data, size_t length = LE_UINTPTR_MAX) : LETableReference((const le_uint8*)data, length) {} +- LEReferenceTo() : LETableReference(NULL) {} - -- return suffix; +- LEReferenceTo<T>& operator=(const T* other) { +- setRaw(other); +- return *this; - } - - } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_TW.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_TW.java 2013-04-28 16:29:21.000000000 -0700 -@@ -23,9 +23,6 @@ - package com.sun.org.apache.xpath.internal.res; - - import java.util.ListResourceBundle; --import java.util.Locale; --import java.util.MissingResourceException; --import java.util.ResourceBundle; - - /** - * Set up error messages. -@@ -939,68 +936,4 @@ - /** Field QUERY_HEADER */ - public static final String QUERY_HEADER = "PATTERN "; +- LEReferenceTo<T> &reparent(const LETableReference &base) { +- fParent = &base; +- return *this; +- } -- - /** -- * Return a named ResourceBundle for a particular locale. This method mimics the behavior -- * of ResourceBundle.getBundle(). -- * -- * @param className Name of local-specific subclass. -- * @return the ResourceBundle -- * @throws MissingResourceException +- * roll forward by one <T> size. +- * same as addOffset(LETableVarSizer<T>::getSize(),success) - */ -- public static final XPATHErrorResources loadResourceBundle(String className) -- throws MissingResourceException -- { -- -- Locale locale = Locale.getDefault(); -- String suffix = getResourceSuffix(locale); -- -- try -- { -- -- // first try with the given locale -- return (XPATHErrorResources) ResourceBundle.getBundle(className -- + suffix, locale); -- } -- catch (MissingResourceException e) -- { -- try // try to fall back to en_US if we can't load -- { -- -- // Since we can't find the localized property file, -- // fall back to en_US. -- return (XPATHErrorResources) ResourceBundle.getBundle(className, -- new Locale("en", "US")); -- } -- catch (MissingResourceException e2) -- { -- -- // Now we are really in trouble. -- // very bad, definitely very bad...not going to get very far -- throw new MissingResourceException( -- "Could not load any resource bundles.", className, ""); -- } -- } +- void addObject(LEErrorCode &success) { +- addOffset(LETableVarSizer<T>::getSize(), success); - } -- -- /** -- * Return the resource file suffic for the indicated locale -- * For most locales, this will be based the language code. However -- * for Chinese, we do distinguish between Taiwan and PRC -- * -- * @param locale the locale -- * @return an String suffix which canbe appended to a resource name -- */ -- private static final String getResourceSuffix(Locale locale) -- { -- -- String suffix = "_" + locale.getLanguage(); -- String country = locale.getCountry(); -- -- if (country.equals("TW")) -- suffix += "_" + country; -- -- return suffix; +- void addObject(size_t count, LEErrorCode &success) { +- addOffset(LETableVarSizer<T>::getSize()*count, success); - } - - } ---- jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHMessages.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/org/apache/xpath/internal/res/XPATHMessages.java 2013-04-28 16:29:21.000000000 -0700 -@@ -22,130 +22,128 @@ - */ - package com.sun.org.apache.xpath.internal.res; +- const T *operator->() const { return getAlias(); } +- const T *getAlias() const { return (const T*)fStart; } +- const T *getAliasTODO() const { LE_DEBUG_TR("getAliasTODO<>"); return (const T*)fStart; } +-}; --import java.util.ListResourceBundle; -- -+import com.sun.org.apache.bcel.internal.util.SecuritySupport; - import com.sun.org.apache.xml.internal.res.XMLMessages; -+import java.util.ListResourceBundle; ++#ifdef _TRTRACE ++#undef _TRTRACE ++#endif - /** - * A utility class for issuing XPath error messages. -+ * - * @xsl.usage internal - */ --public class XPATHMessages extends XMLMessages --{ -- /** The language specific resource object for XPath messages. */ -- private static ListResourceBundle XPATHBundle = null; -- -- /** The class name of the XPath error message string table. */ -- private static final String XPATH_ERROR_RESOURCES = -- "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; -- -- /** -- * Creates a message from the specified key and replacement -- * arguments, localized to the given locale. -- * -- * @param msgKey The key for the message text. -- * @param args The arguments to be used as replacement text -- * in the message created. -- * -- * @return The formatted message string. -- */ -- public static final String createXPATHMessage(String msgKey, Object args[]) //throws Exception -- { -- if (XPATHBundle == null) -- XPATHBundle = loadResourceBundle(XPATH_ERROR_RESOURCES); -+public class XPATHMessages extends XMLMessages { + U_NAMESPACE_END -- if (XPATHBundle != null) -+ /** -+ * The language specific resource object for XPath messages. -+ */ -+ private static ListResourceBundle XPATHBundle = null; -+ /** -+ * The class name of the XPath error message string table. -+ */ -+ private static final String XPATH_ERROR_RESOURCES = -+ "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; +--- jdk/src/share/native/sun/font/layout/LETypes.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LETypes.h 2014-01-18 12:16:22.000000000 -0800 +@@ -337,6 +337,20 @@ + typedef struct LEPoint LEPoint; + #endif + ++/** ++ * \def LE_TRACE ++ * @internal ++ */ ++#ifndef LE_TRACE ++# define LE_TRACE 0 ++#endif + -+ /** -+ * Creates a message from the specified key and replacement arguments, -+ * localized to the given locale. -+ * -+ * @param msgKey The key for the message text. -+ * @param args The arguments to be used as replacement text in the message -+ * created. -+ * -+ * @return The formatted message string. -+ */ -+ public static final String createXPATHMessage(String msgKey, Object args[]) //throws Exception - { -- return createXPATHMsg(XPATHBundle, msgKey, args); -- } -- else -- return "Could not load any resource bundles."; -- } -- -- /** -- * Creates a message from the specified key and replacement -- * arguments, localized to the given locale. -- * -- * @param msgKey The key for the message text. -- * @param args The arguments to be used as replacement text -- * in the message created. -- * -- * @return The formatted warning string. -- */ -- public static final String createXPATHWarning(String msgKey, Object args[]) //throws Exception -- { -- if (XPATHBundle == null) -- XPATHBundle = loadResourceBundle(XPATH_ERROR_RESOURCES); -+ if (XPATHBundle == null) { -+ XPATHBundle = SecuritySupport.getResourceBundle(XPATH_ERROR_RESOURCES); -+ } ++#if LE_TRACE ++# include <stdio.h> ++# define _LETRACE printf("\n%s:%d: LE: ", __FILE__, __LINE__),printf ++#else ++# define _LETRACE 0&& ++#endif -- if (XPATHBundle != null) -- { -- return createXPATHMsg(XPATHBundle, msgKey, args); -+ if (XPATHBundle != null) { -+ return createXPATHMsg(XPATHBundle, msgKey, args); -+ } else { -+ return "Could not load any resource bundles."; -+ } - } -- else -- return "Could not load any resource bundles."; -- } -- -- /** -- * Creates a message from the specified key and replacement -- * arguments, localized to the given locale. -- * -- * @param fResourceBundle The resource bundle to use. -- * @param msgKey The message key to use. -- * @param args The arguments to be used as replacement text -- * in the message created. -- * -- * @return The formatted message string. -- */ -- public static final String createXPATHMsg(ListResourceBundle fResourceBundle, -- String msgKey, Object args[]) //throws Exception -- { -- -- String fmsg = null; -- boolean throwex = false; -- String msg = null; -- -- if (msgKey != null) -- msg = fResourceBundle.getString(msgKey); + #ifndef U_HIDE_INTERNAL_API + +@@ -701,6 +715,12 @@ + LE_FEATURE_ENUM_MAX = LE_CHAR_FILTER_FEATURE_ENUM + }; -- if (msg == null) -+ /** -+ * Creates a message from the specified key and replacement arguments, -+ * localized to the given locale. -+ * -+ * @param msgKey The key for the message text. -+ * @param args The arguments to be used as replacement text in the message -+ * created. -+ * -+ * @return The formatted warning string. -+ */ -+ public static final String createXPATHWarning(String msgKey, Object args[]) //throws Exception - { -- msg = fResourceBundle.getString(XPATHErrorResources.BAD_CODE); -- throwex = true; -+ if (XPATHBundle == null) { -+ XPATHBundle = SecuritySupport.getResourceBundle(XPATH_ERROR_RESOURCES); -+ } + -+ if (XPATHBundle != null) { -+ return createXPATHMsg(XPATHBundle, msgKey, args); -+ } else { -+ return "Could not load any resource bundles."; -+ } ++/** ++ * Flags for typographic features. ++ * @internal ++ * @{ ++ */ + #define LE_Kerning_FEATURE_FLAG (1 << LE_Kerning_FEATURE_ENUM) + #define LE_Ligatures_FEATURE_FLAG (1 << LE_Ligatures_FEATURE_ENUM) + #define LE_NoCanon_FEATURE_FLAG (1 << LE_NoCanon_FEATURE_ENUM) +@@ -727,6 +747,9 @@ + #define LE_SS07_FEATURE_FLAG (1 << LE_SS07_FEATURE_ENUM) + + #define LE_CHAR_FILTER_FEATURE_FLAG (1 << LE_CHAR_FILTER_FEATURE_ENUM) ++/** ++ * @} ++ */ + + #define LE_DEFAULT_FEATURE_FLAG (LE_Kerning_FEATURE_FLAG | LE_Ligatures_FEATURE_FLAG) /**< default features */ + +@@ -768,7 +791,7 @@ + * + * @stable ICU 2.4 + */ +-#ifndef LE_FAILURE ++#ifndef LE_SUCCESS + #define LE_SUCCESS(code) (U_SUCCESS((UErrorCode)code)) + #endif + +@@ -781,4 +804,4 @@ + #define LE_FAILURE(code) (U_FAILURE((UErrorCode)code)) + #endif + +-#endif /* __LETYPES_H */ ++#endif +--- jdk/src/share/native/sun/font/layout/LayoutEngine.cpp 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LayoutEngine.cpp 2014-01-18 12:16:22.000000000 -0800 +@@ -156,7 +156,7 @@ + CanonMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success); + virtual ~CanonMarkFilter(); + +- virtual le_bool accept(LEGlyphID glyph) const; ++ virtual le_bool accept(LEGlyphID glyph, LEErrorCode &success) const; + }; + + CanonMarkFilter::CanonMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success) +@@ -169,9 +169,8 @@ + // nothing to do? + } + +-le_bool CanonMarkFilter::accept(LEGlyphID glyph) const ++le_bool CanonMarkFilter::accept(LEGlyphID glyph, LEErrorCode &success) const + { +- LEErrorCode success = LE_NO_ERROR; + le_int32 glyphClass = classDefTable->getGlyphClass(classDefTable, glyph, success); + if(LE_FAILURE(success)) return false; + return glyphClass != 0; +@@ -263,7 +262,9 @@ + return count; } -- if (args != null) -+ /** -+ * Creates a message from the specified key and replacement arguments, -+ * localized to the given locale. -+ * -+ * @param fResourceBundle The resource bundle to use. -+ * @param msgKey The message key to use. -+ * @param args The arguments to be used as replacement text in the message -+ * created. -+ * -+ * @return The formatted message string. -+ */ -+ public static final String createXPATHMsg(ListResourceBundle fResourceBundle, -+ String msgKey, Object args[]) //throws Exception - { -- try -- { +- LEReferenceTo<GlyphSubstitutionTableHeader> canonGSUBTable((GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable); ++ LEReferenceTo<GlyphSubstitutionTableHeader> canonGSUBTable(LETableReference::kStaticData, ++ (GlyphSubstitutionTableHeader *) CanonShaping::glyphSubstitutionTable, ++ CanonShaping::glyphSubstitutionTableLen); + LETag scriptTag = OpenTypeLayoutEngine::getScriptTag(fScriptCode); + LETag langSysTag = OpenTypeLayoutEngine::getLangSysTag(fLanguageCode); + le_int32 i, dir = 1, out = 0, outCharCount = count; +@@ -323,7 +324,8 @@ + LE_DELETE_ARRAY(reordered); + } -- // Do this to keep format from crying. -- // This is better than making a bunch of conditional -- // code all over the place. -- int n = args.length; -- -- for (int i = 0; i < n; i++) -- { -- if (null == args[i]) -- args[i] = ""; -- } -- -- fmsg = java.text.MessageFormat.format(msg, args); -- } -- catch (Exception e) -- { -- fmsg = fResourceBundle.getString(XPATHErrorResources.FORMAT_FAILED); -- fmsg += " " + msg; -- } -- } -- else -- fmsg = msg; -+ String fmsg = null; -+ boolean throwex = false; -+ String msg = null; +- outCharCount = canonGSUBTable->process(canonGSUBTable, fakeGlyphStorage, rightToLeft, scriptTag, langSysTag, (const GlyphDefinitionTableHeader*)NULL, substitutionFilter, canonFeatureMap, canonFeatureMapCount, FALSE, success); ++ const LEReferenceTo<GlyphDefinitionTableHeader> noGDEF; // empty gdef header ++ outCharCount = canonGSUBTable->process(canonGSUBTable, fakeGlyphStorage, rightToLeft, scriptTag, langSysTag, noGDEF, substitutionFilter, canonFeatureMap, canonFeatureMapCount, FALSE, success); -- if (throwex) -- { -- throw new RuntimeException(fmsg); -- } -+ if (msgKey != null) { -+ msg = fResourceBundle.getString(msgKey); -+ } -+ -+ if (msg == null) { -+ msg = fResourceBundle.getString(XPATHErrorResources.BAD_CODE); -+ throwex = true; -+ } + if (LE_FAILURE(success)) { + delete substitutionFilter; +@@ -403,10 +405,13 @@ + LEPoint advance; -- return fmsg; -- } -+ if (args != null) { -+ try { + glyphStorage.setPosition(i, x, y, success); ++ _LETRACE("g#%-4d (%.2f, %.2f)", i, x, y); -+ // Do this to keep format from crying. -+ // This is better than making a bunch of conditional -+ // code all over the place. -+ int n = args.length; + fFontInstance->getGlyphAdvance(glyphStorage[i], advance); + x += advance.fX; + y += advance.fY; + -+ for (int i = 0; i < n; i++) { -+ if (null == args[i]) { -+ args[i] = ""; -+ } -+ } + -+ fmsg = java.text.MessageFormat.format(msg, args); -+ } catch (Exception e) { -+ fmsg = fResourceBundle.getString(XPATHErrorResources.FORMAT_FAILED); -+ fmsg += " " + msg; -+ } -+ } else { -+ fmsg = msg; -+ } + } + + glyphStorage.setPosition(glyphCount, x, y, success); +@@ -424,7 +429,7 @@ + return; + } + +- LEReferenceTo<GlyphDefinitionTableHeader> gdefTable((GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable, ++ LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, (GlyphDefinitionTableHeader *) CanonShaping::glyphDefinitionTable, + CanonShaping::glyphDefinitionTableLen); + CanonMarkFilter filter(gdefTable, success); + +@@ -464,9 +469,10 @@ + glyphStorage.getGlyphPosition(p + 1, next, ignore, success); + + xAdvance = next - prev; ++ _LETRACE("p#%d (%.2f,%.2f)", p, xAdvance, 0); + glyphStorage.adjustPosition(p, xAdjust, 0, success); + +- if (markFilter->accept(glyphStorage[p])) { ++ if (markFilter->accept(glyphStorage[p], success)) { + xAdjust -= xAdvance; + } + +@@ -506,9 +512,13 @@ + glyphStorage.getGlyphPosition(p + 1, next, ignore, success); + + xAdvance = next - prev; + -+ if (throwex) { -+ throw new RuntimeException(fmsg); -+ } ++ _LETRACE("p#%d (%.2f,%.2f)", p, xAdvance, 0); + -+ return fmsg; -+ } - } ---- jaxp/src/com/sun/xml/internal/stream/XMLEntityStorage.java 2012-08-10 09:38:32.000000000 -0700 -+++ jaxp/src/com/sun/xml/internal/stream/XMLEntityStorage.java 2013-04-28 16:29:21.000000000 -0700 -@@ -36,6 +36,7 @@ - import com.sun.org.apache.xerces.internal.impl.PropertyManager; - import com.sun.org.apache.xerces.internal.impl.XMLErrorReporter; - import com.sun.org.apache.xerces.internal.impl.Constants; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import java.util.Enumeration; ++ + glyphStorage.adjustPosition(p, xAdjust, 0, success); - /** -@@ -414,7 +415,7 @@ - // get the user.dir property - String userDir = ""; - try { -- userDir = System.getProperty("user.dir"); -+ userDir = SecuritySupport.getSystemProperty("user.dir"); +- if (markFilter->accept(chars[c])) { ++ if (markFilter->accept(chars[c], success)) { + xAdjust -= xAdvance; } - catch (SecurityException se) { - } ---- jaxp/src/com/sun/xml/internal/stream/writers/WriterUtility.java 2012-08-10 09:38:35.000000000 -0700 -+++ jaxp/src/com/sun/xml/internal/stream/writers/WriterUtility.java 2013-04-28 16:29:21.000000000 -0700 -@@ -32,6 +32,7 @@ - import java.nio.charset.Charset; - import java.nio.charset.CharsetEncoder; - import com.sun.org.apache.xerces.internal.util.XMLChar; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - - /** - * Implements common xml writer functions. -@@ -240,7 +241,7 @@ - - private CharsetEncoder getDefaultEncoder(){ - try{ -- String encoding = System.getProperty("file.encoding"); -+ String encoding = SecuritySupport.getSystemProperty("file.encoding"); - if(encoding != null){ - return Charset.forName(encoding).newEncoder(); - } ---- jaxp/src/com/sun/xml/internal/stream/writers/XMLStreamWriterImpl.java 2012-08-10 09:38:36.000000000 -0700 -+++ jaxp/src/com/sun/xml/internal/stream/writers/XMLStreamWriterImpl.java 2013-04-28 16:29:21.000000000 -0700 -@@ -53,6 +53,7 @@ - import com.sun.org.apache.xerces.internal.impl.PropertyManager; - import com.sun.org.apache.xerces.internal.util.NamespaceSupport; - import com.sun.org.apache.xerces.internal.util.SymbolTable; -+import com.sun.org.apache.xerces.internal.utils.SecuritySupport; - import com.sun.org.apache.xerces.internal.xni.QName; - import com.sun.xml.internal.stream.util.ReadOnlyIterator; -@@ -340,7 +341,7 @@ - fEncoder = Charset.forName(encoding).newEncoder(); - } +@@ -662,8 +672,10 @@ + break; + } + } else { +- MorphTableHeader2 *morxTable = (MorphTableHeader2 *)fontInstance->getFontTable(morxTableTag); +- if (morxTable != NULL && SWAPL(morxTable->version)==0x00020000) { ++ LEReferenceTo<MorphTableHeader2> morxTable(fontInstance, morxTableTag, success); ++ if (LE_SUCCESS(success) && ++ morxTable.isValid() && ++ SWAPL(morxTable->version)==0x00020000) { + result = new GXLayoutEngine2(fontInstance, scriptCode, languageCode, morxTable, typoFlags, success); } else { -- encoding = System.getProperty("file.encoding"); -+ encoding = SecuritySupport.getSystemProperty("file.encoding"); - if (encoding != null && encoding.equalsIgnoreCase("utf-8")) { - fWriter = new UTF8OutputStreamWriter(os); - } else { ---- jaxp/src/javax/xml/datatype/FactoryFinder.java 2012-08-10 09:38:38.000000000 -0700 -+++ jaxp/src/javax/xml/datatype/FactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -44,6 +44,7 @@ - * @author Santiago.PericasGeertsen@sun.com - */ - class FactoryFinder { -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xerces.internal"; + LEReferenceTo<MorphTableHeader> mortTable(fontInstance, mortTableTag, success); +@@ -687,7 +699,6 @@ + } - /** - * Internal debug flag. -@@ -95,18 +96,24 @@ - * If the class loader supplied is <code>null</code>, first try using the - * context class loader followed by the current (i.e. bootstrap) class - * loader. -+ * -+ * Use bootstrap classLoader if cl = null and useBSClsLoader is true - */ - static private Class getProviderClass(String className, ClassLoader cl, -- boolean doFallback) throws ClassNotFoundException -+ boolean doFallback, boolean useBSClsLoader) throws ClassNotFoundException - { - try { - if (cl == null) { -- cl = ss.getContextClassLoader(); -- if (cl == null) { -- throw new ClassNotFoundException(); -- } -- else { -- return cl.loadClass(className); -+ if (useBSClsLoader) { -+ return Class.forName(className, true, FactoryFinder.class.getClassLoader()); -+ } else { -+ cl = ss.getContextClassLoader(); -+ if (cl == null) { -+ throw new ClassNotFoundException(); -+ } -+ else { -+ return cl.loadClass(className); -+ } - } - } - else { -@@ -131,17 +138,47 @@ - * @param className Name of the concrete class corresponding to the - * service provider + case arabScriptCode: +- //case hebrScriptCode: + result = new UnicodeArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success); + break; + +--- jdk/src/share/native/sun/font/layout/LayoutEngine.h 2013-09-06 11:29:01.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LayoutEngine.h 2014-01-18 12:16:23.000000000 -0800 +@@ -156,8 +156,8 @@ + * @param fontInstance - the font for the text + * @param scriptCode - the script for the text + * @param languageCode - the language for the text +- * @param typoFlags - the typographic control flags for the text. Set bit 1 if kerning +- * is desired, set bit 2 if ligature formation is desired. Others are reserved. ++ * @param typoFlags - the typographic control flags for the text (a bitfield). Use kTypoFlagKern ++ * if kerning is desired, kTypoFlagLiga if ligature formation is desired. Others are reserved. + * @param success - set to an error code if the operation fails * -+ * @param cl <code>ClassLoader</code> used to load the factory class. If <code>null</code> -+ * current <code>Thread</code>'s context classLoader is used to load the factory class. -+ * -+ * @param doFallback True if the current ClassLoader should be tried as -+ * a fallback if the class is not found using cl -+ */ -+ static Object newInstance(String className, ClassLoader cl, boolean doFallback) -+ throws ConfigurationError -+ { -+ return newInstance(className, cl, doFallback, false); -+ } + * @see LEFontInstance +--- jdk/src/share/native/sun/font/layout/LigatureSubstSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LigatureSubstSubtables.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -49,14 +49,20 @@ + return 0; + } + +- if (coverageIndex >= 0) { ++ LEReferenceToArrayOf<Offset> ligSetTableOffsetArrayRef(base, success, ligSetTableOffsetArray, SWAPW(ligSetCount)); + -+ /** -+ * Create an instance of a class. Delegates to method -+ * <code>getProviderClass()</code> in order to load the class. -+ * -+ * @param className Name of the concrete class corresponding to the -+ * service provider -+ * - * @param cl ClassLoader to use to load the class, null means to use - * the bootstrap ClassLoader - * - * @param doFallback True if the current ClassLoader should be tried as - * a fallback if the class is not found using cl -+ * -+ * @param useBSClsLoader True if cl=null actually meant bootstrap classLoader. This parameter -+ * is needed since DocumentBuilderFactory/SAXParserFactory defined null as context classLoader. - */ -- static Object newInstance(String className, ClassLoader cl, boolean doFallback) -+ static Object newInstance(String className, ClassLoader cl, boolean doFallback, boolean useBSClsLoader) - throws ConfigurationError - { -+ // make sure we have access to restricted packages -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ cl = null; -+ useBSClsLoader = true; -+ } -+ } ++ if (coverageIndex >= 0 && LE_SUCCESS(success) && (le_uint32)coverageIndex < ligSetTableOffsetArrayRef.getCount()) { + Offset ligSetTableOffset = SWAPW(ligSetTableOffsetArray[coverageIndex]); +- const LigatureSetTable *ligSetTable = (const LigatureSetTable *) ((char *) this + ligSetTableOffset); ++ LEReferenceTo<LigatureSetTable> ligSetTable(base, success, ligSetTableOffset); + - try { -- Class providerClass = getProviderClass(className, cl, doFallback); -+ Class providerClass = getProviderClass(className, cl, doFallback, useBSClsLoader); - Object instance = providerClass.newInstance(); - if (debug) { // Extra check to avoid computing cl strings - dPrint("created new instance of " + providerClass + -@@ -244,6 +281,7 @@ - - // First try the Context ClassLoader - ClassLoader cl = ss.getContextClassLoader(); -+ boolean useBSClsLoader = false; - if (cl != null) { - is = ss.getResourceAsStream(cl, serviceId); - -@@ -251,11 +289,13 @@ - if (is == null) { - cl = FactoryFinder.class.getClassLoader(); - is = ss.getResourceAsStream(cl, serviceId); -+ useBSClsLoader = true; ++ if( LE_FAILURE(success) ) { return 0; } + le_uint16 ligCount = SWAPW(ligSetTable->ligatureCount); + +- for (le_uint16 lig = 0; lig < ligCount; lig += 1) { ++ LEReferenceTo<Offset> ligatureTableOffsetArray(base, success, ligSetTable->ligatureTableOffsetArray, ligCount); ++ for (le_uint16 lig = 0; LE_SUCCESS(success) && lig < ligCount; lig += 1) { + Offset ligTableOffset = SWAPW(ligSetTable->ligatureTableOffsetArray[lig]); +- const LigatureTable *ligTable = (const LigatureTable *) ((char *)ligSetTable + ligTableOffset); ++ LEReferenceTo<LigatureTable> ligTable(ligSetTable, success, ligTableOffset); ++ if(LE_FAILURE(success)) { return 0; } + le_uint16 compCount = SWAPW(ligTable->compCount) - 1; + le_int32 startPosition = glyphIterator->getCurrStreamPosition(); + TTGlyphID ligGlyph = SWAPW(ligTable->ligGlyph); +@@ -72,7 +78,7 @@ + } } - } else { - // No Context ClassLoader, try the current ClassLoader - cl = FactoryFinder.class.getClassLoader(); - is = ss.getResourceAsStream(cl, serviceId); -+ useBSClsLoader = true; - } - if (is == null) { -@@ -293,7 +333,7 @@ - // ClassLoader because we want to avoid the case where the - // resource file was found using one ClassLoader and the - // provider class was instantiated using a different one. -- return newInstance(factoryClassName, cl, false); -+ return newInstance(factoryClassName, cl, false, useBSClsLoader); +- if (comp == compCount && (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, ligGlyph)))) { ++ if (comp == compCount && (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, ligGlyph), success))) { + GlyphIterator tempIterator(*glyphIterator); + TTGlyphID deletedGlyph = tempIterator.ignoresMarks()? 0xFFFE : 0xFFFF; + +--- jdk/src/share/native/sun/font/layout/LookupProcessor.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/LookupProcessor.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -60,8 +60,10 @@ + LEReferenceTo<LookupSubtable> lookupSubtable = lookupTable->getLookupSubtable(lookupTable, subtable, success); + + delta = applySubtable(lookupSubtable, lookupType, glyphIterator, fontInstance, success); +- +- if (delta > 0 || LE_FAILURE(success)) { ++ if (delta > 0 && LE_FAILURE(success)) { ++#if LE_TRACE ++ _LETRACE("Posn #%d, type %X, applied subtable #%d/%d - %s\n", startPosition, lookupType, subtable, subtableCount, u_errorName((UErrorCode)success)); ++#endif + return 1; } - // No provider found ---- jaxp/src/javax/xml/parsers/FactoryFinder.java 2012-08-10 09:38:39.000000000 -0700 -+++ jaxp/src/javax/xml/parsers/FactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -42,7 +42,7 @@ - * @author Huizhe.Wang@oracle.com - */ - class FactoryFinder { +@@ -86,7 +88,7 @@ + } + + GlyphIterator glyphIterator(glyphStorage, glyphPositionAdjustments, +- rightToLeft, 0, 0, glyphDefinitionTableHeader); ++ rightToLeft, 0, 0, glyphDefinitionTableHeader, success); + le_int32 newGlyphCount = glyphCount; + + for (le_uint16 order = 0; order < lookupOrderCount && LE_SUCCESS(success); order += 1) { +@@ -94,6 +96,7 @@ + FeatureMask selectMask = lookupSelectArray[lookup]; + + if (selectMask != 0) { ++ _LETRACE("Processing order#%d/%d", order, lookupOrderCount); + const LEReferenceTo<LookupTable> lookupTable = lookupListTable->getLookupTable(lookupListTable, lookup, success); + if (!lookupTable.isValid() ||LE_FAILURE(success) ) { + continue; +@@ -103,8 +106,11 @@ + glyphIterator.reset(lookupFlags, selectMask); + + while (glyphIterator.findFeatureTag()) { +- applyLookupTable(lookupTable, &glyphIterator, fontInstance, success); // TODO ++ applyLookupTable(lookupTable, &glyphIterator, fontInstance, success); + if (LE_FAILURE(success)) { ++#if LE_TRACE ++ _LETRACE("Failure for lookup 0x%x - %s\n", lookup, u_errorName((UErrorCode)success)); ++#endif + return 0; + } + } +@@ -138,7 +144,7 @@ + le_int32 LookupProcessor::selectLookups(const LEReferenceTo<FeatureTable> &featureTable, FeatureMask featureMask, le_int32 order, LEErrorCode &success) + { + le_uint16 lookupCount = featureTable.isValid()? SWAPW(featureTable->lookupCount) : 0; +- le_int32 store = order; ++ le_uint32 store = (le_uint32)order; + + LEReferenceToArrayOf<le_uint16> lookupListIndexArray(featureTable, success, featureTable->lookupListIndexArray, lookupCount); + +@@ -147,6 +153,9 @@ + if (lookupListIndex >= lookupSelectCount) { + continue; + } ++ if (store >= lookupOrderCount) { ++ continue; ++ } + + lookupSelectArray[lookupListIndex] |= featureMask; + lookupOrderArray[store++] = lookupListIndex; +@@ -246,7 +255,7 @@ + + if (requiredFeatureIndex != 0xFFFF) { + requiredFeatureTable = featureListTable->getFeatureTable(featureListTable, requiredFeatureIndex, &requiredFeatureTag, success); +- featureReferences += SWAPW(featureTable->lookupCount); ++ featureReferences += SWAPW(requiredFeatureTable->lookupCount); + } + + lookupOrderArray = LE_NEW_ARRAY(le_uint16, featureReferences); +@@ -254,6 +263,7 @@ + success = LE_MEMORY_ALLOCATION_ERROR; + return; + } ++ lookupOrderCount = featureReferences; + + for (le_int32 f = 0; f < featureMapCount; f += 1) { + FeatureMap fm = featureMap[f]; +--- jdk/src/share/native/sun/font/layout/Lookups.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/Lookups.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -65,7 +65,7 @@ + + if(LE_FAILURE(success)) return 0; + +- return coverageTable->getGlyphCoverage(glyphID); ++ return coverageTable->getGlyphCoverage(coverageTable, glyphID, success); + } + + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/MarkArrays.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MarkArrays.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -38,20 +38,28 @@ + + U_NAMESPACE_BEGIN + +-le_int32 MarkArray::getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance, +- LEPoint &anchor) const ++le_int32 MarkArray::getMarkClass(const LETableReference &base, LEGlyphID glyphID, ++ le_int32 coverageIndex, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const + { + le_int32 markClass = -1; + +- if (coverageIndex >= 0) { ++ if ( coverageIndex >= 0 && LE_SUCCESS(success) ) { + le_uint16 mCount = SWAPW(markCount); - -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xerces.internal"; - /** - * Internal debug flag. - */ -@@ -166,6 +166,14 @@ - static Object newInstance(String className, ClassLoader cl, boolean doFallback, boolean useBSClsLoader) - throws ConfigurationError - { -+ // make sure we have access to restricted packages -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ cl = null; -+ useBSClsLoader = true; + if (coverageIndex < mCount) { ++ LEReferenceToArrayOf<MarkRecord> markRecordArrayRef(base, success, markRecordArray, mCount); ++ if(LE_FAILURE(success)) { ++ return markClass; + } -+ } + const MarkRecord *markRecord = &markRecordArray[coverageIndex]; + Offset anchorTableOffset = SWAPW(markRecord->markAnchorTableOffset); +- const AnchorTable *anchorTable = (AnchorTable *) ((char *) this + anchorTableOffset); ++ LEReferenceTo<AnchorTable> anchorTable(base, success, anchorTableOffset); + - try { - Class providerClass = getProviderClass(className, cl, doFallback, useBSClsLoader); - Object instance = providerClass.newInstance(); ---- jaxp/src/javax/xml/stream/FactoryFinder.java 2012-08-10 09:38:41.000000000 -0700 -+++ jaxp/src/javax/xml/stream/FactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -25,14 +25,12 @@ ++ if(LE_FAILURE(success)) { ++ return markClass; ++ } - package javax.xml.stream; +- anchorTable->getAnchor(glyphID, fontInstance, anchor); ++ anchorTable->getAnchor(anchorTable, glyphID, fontInstance, anchor, success); + markClass = SWAPW(markRecord->markClass); + } --import java.io.InputStream; --import java.io.IOException; --import java.io.File; --import java.io.FileInputStream; -- --import java.util.Properties; - import java.io.BufferedReader; -+import java.io.File; -+import java.io.IOException; -+import java.io.InputStream; - import java.io.InputStreamReader; -+import java.util.Properties; +--- jdk/src/share/native/sun/font/layout/MarkArrays.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MarkArrays.h 2014-01-18 12:16:23.000000000 -0800 +@@ -54,8 +54,9 @@ + le_uint16 markCount; + MarkRecord markRecordArray[ANY_NUMBER]; + +- le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance, +- LEPoint &anchor) const; ++ le_int32 getMarkClass(const LETableReference &base, LEGlyphID glyphID, ++ le_int32 coverageIndex, const LEFontInstance *fontInstance, ++ LEPoint &anchor, LEErrorCode &success) const; + }; + LE_VAR_ARRAY(MarkArray, markRecordArray) - /** - * <p>Implements pluggable Datatypes.</p> -@@ -43,6 +41,8 @@ - * @author Santiago.PericasGeertsen@sun.com - */ - class FactoryFinder { -+ // Check we have access to package. -+ private static final String DEFAULT_PACKAGE = "com.sun.xml.internal."; +--- jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -66,11 +66,11 @@ + } - /** - * Internal debug flag. -@@ -94,18 +94,24 @@ - * If the class loader supplied is <code>null</code>, first try using the - * context class loader followed by the current (i.e. bootstrap) class - * loader. -+ * -+ * Use bootstrap classLoader if cl = null and useBSClsLoader is true - */ - static private Class getProviderClass(String className, ClassLoader cl, -- boolean doFallback) throws ClassNotFoundException -+ boolean doFallback, boolean useBSClsLoader) throws ClassNotFoundException - { - try { - if (cl == null) { -- cl = ss.getContextClassLoader(); -- if (cl == null) { -- throw new ClassNotFoundException(); -- } -- else { -- return cl.loadClass(className); -+ if (useBSClsLoader) { -+ return Class.forName(className, true, FactoryFinder.class.getClassLoader()); -+ } else { -+ cl = ss.getContextClassLoader(); -+ if (cl == null) { -+ throw new ClassNotFoundException(); -+ } -+ else { -+ return cl.loadClass(className); -+ } - } - } - else { -@@ -130,8 +136,8 @@ - * @param className Name of the concrete class corresponding to the - * service provider - * -- * @param cl ClassLoader to use to load the class, null means to use -- * the bootstrap ClassLoader -+ * @param cl <code>ClassLoader</code> used to load the factory class. If <code>null</code> -+ * current <code>Thread</code>'s context classLoader is used to load the factory class. - * - * @param doFallback True if the current ClassLoader should be tried as - * a fallback if the class is not found using cl -@@ -139,8 +145,38 @@ - static Object newInstance(String className, ClassLoader cl, boolean doFallback) - throws ConfigurationError - { -+ return newInstance(className, cl, doFallback, false); -+ } + LEPoint markAnchor; +- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)); +- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); ++ LEReferenceTo<MarkArray> markArray(base, success, (const MarkArray *) ((char *) this + SWAPW(markArrayOffset))); ++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success); + le_uint16 mcCount = SWAPW(classCount); + +- if (markClass < 0 || markClass >= mcCount) { ++ if (markClass < 0 || markClass >= mcCount || LE_FAILURE(success)) { + // markGlyph isn't in the mark array or its + // mark class is too big. The table is mal-formed! + return 0; +@@ -80,7 +80,8 @@ + GlyphIterator baseIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreLigatures*/)); + LEGlyphID baseGlyph = findBaseGlyph(&baseIterator); + le_int32 baseCoverage = getBaseCoverage(base, (LEGlyphID) baseGlyph, success); +- const BaseArray *baseArray = (const BaseArray *) ((char *) this + SWAPW(baseArrayOffset)); ++ LEReferenceTo<BaseArray> baseArray(base, success, (const BaseArray *) ((char *) this + SWAPW(baseArrayOffset))); ++ if(LE_FAILURE(success)) return 0; + le_uint16 baseCount = SWAPW(baseArray->baseRecordCount); + + if (baseCoverage < 0 || baseCoverage >= baseCount) { +@@ -89,19 +90,23 @@ + // table is mal-formed... + return 0; + } ++ LEReferenceTo<BaseRecord> baseRecord(base, success, &baseArray->baseRecordArray[baseCoverage * mcCount]); ++ if( LE_FAILURE(success) ) { return 0; } ++ LEReferenceToArrayOf<Offset> baseAnchorTableOffsetArray(base, success, &(baseRecord->baseAnchorTableOffsetArray[0]), markClass+1); + +- const BaseRecord *baseRecord = &baseArray->baseRecordArray[baseCoverage * mcCount]; ++ if( LE_FAILURE(success) ) { return 0; } + Offset anchorTableOffset = SWAPW(baseRecord->baseAnchorTableOffsetArray[markClass]); +- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) baseArray + anchorTableOffset); +- LEPoint baseAnchor, markAdvance, pixels; +- +- if (anchorTableOffset == 0) { ++ if (anchorTableOffset <= 0) { + // this means the table is mal-formed... + glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition()); + return 0; + } + +- anchorTable->getAnchor(baseGlyph, fontInstance, baseAnchor); ++ LEReferenceTo<AnchorTable> anchorTable(baseArray, success, anchorTableOffset); ++ LEPoint baseAnchor, markAdvance, pixels; + -+ /** -+ * Create an instance of a class. Delegates to method -+ * <code>getProviderClass()</code> in order to load the class. -+ * -+ * @param className Name of the concrete class corresponding to the -+ * service provider -+ * -+ * @param cl <code>ClassLoader</code> used to load the factory class. If <code>null</code> -+ * current <code>Thread</code>'s context classLoader is used to load the factory class. -+ * -+ * @param doFallback True if the current ClassLoader should be tried as -+ * a fallback if the class is not found using cl -+ * -+ * @param useBSClsLoader True if cl=null actually meant bootstrap classLoader. This parameter -+ * is needed since DocumentBuilderFactory/SAXParserFactory defined null as context classLoader. -+ */ -+ static Object newInstance(String className, ClassLoader cl, boolean doFallback, boolean useBSClsLoader) -+ throws ConfigurationError -+ { -+ // make sure we have access to restricted packages -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ cl = null; -+ useBSClsLoader = true; -+ } -+ } + - try { -- Class providerClass = getProviderClass(className, cl, doFallback); -+ Class providerClass = getProviderClass(className, cl, doFallback, useBSClsLoader); - Object instance = providerClass.newInstance(); - if (debug) { // Extra check to avoid computing cl strings - dPrint("created new instance of " + providerClass + -@@ -233,11 +269,11 @@ - if (ss.doesFileExist(f)) { - dPrint("Read properties file "+f); - cacheProps.load(ss.getFileInputStream(f)); -- } -- } - } - } - } -+ } -+ } - factoryClassName = cacheProps.getProperty(factoryId); - - if (factoryClassName != null) { -@@ -276,6 +312,7 @@ - - // First try the Context ClassLoader - ClassLoader cl = ss.getContextClassLoader(); -+ boolean useBSClsLoader = false; - if (cl != null) { - is = ss.getResourceAsStream(cl, serviceId); - -@@ -283,11 +320,13 @@ - if (is == null) { - cl = FactoryFinder.class.getClassLoader(); - is = ss.getResourceAsStream(cl, serviceId); -+ useBSClsLoader = true; - } - } else { - // No Context ClassLoader, try the current ClassLoader - cl = FactoryFinder.class.getClassLoader(); - is = ss.getResourceAsStream(cl, serviceId); -+ useBSClsLoader = true; - } - - if (is == null) { -@@ -325,7 +364,7 @@ - // ClassLoader because we want to avoid the case where the - // resource file was found using one ClassLoader and the - // provider class was instantiated using a different one. -- return newInstance(factoryClassName, cl, false); -+ return newInstance(factoryClassName, cl, false, useBSClsLoader); - } - - // No provider found ---- jaxp/src/javax/xml/transform/FactoryFinder.java 2012-08-10 09:38:44.000000000 -0700 -+++ jaxp/src/javax/xml/transform/FactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -43,6 +43,7 @@ - * @author Huizhe.Wang@oracle.com - */ - class FactoryFinder { -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xalan.internal."; ++ anchorTable->getAnchor(anchorTable, baseGlyph, fontInstance, baseAnchor, success); - /** - * Internal debug flag. -@@ -169,6 +170,14 @@ - static Object newInstance(String className, ClassLoader cl, boolean doFallback, boolean useBSClsLoader, boolean useServicesMechanism) - throws ConfigurationError - { -+ // make sure we have access to restricted packages -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ cl = null; -+ useBSClsLoader = true; -+ } -+ } + fontInstance->getGlyphAdvance(markGlyph, pixels); + fontInstance->pixelsToUnits(pixels, markAdvance); +@@ -109,6 +114,8 @@ + float anchorDiffX = baseAnchor.fX - markAnchor.fX; + float anchorDiffY = baseAnchor.fY - markAnchor.fY; + ++ _LETRACE("Offset: (%.2f, %.2f) glyph 0x%X", anchorDiffX, anchorDiffY, markGlyph); + - try { - Class providerClass = getProviderClass(className, cl, doFallback, useBSClsLoader); - Object instance = null; -@@ -210,7 +219,7 @@ - providerClass.getDeclaredMethod( - "newTransformerFactoryNoServiceLoader" - ); -- return creationMethod.invoke(null, null); -+ return creationMethod.invoke(null, (Object[])null); - } catch (NoSuchMethodException exc) { - return null; - } catch (Exception exc) { ---- jaxp/src/javax/xml/validation/SchemaFactoryFinder.java 2012-08-10 09:38:49.000000000 -0700 -+++ jaxp/src/javax/xml/validation/SchemaFactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -54,6 +54,7 @@ - *<p> Take care of restrictions imposed by java security model </p> - */ - private static SecuritySupport ss = new SecuritySupport(); -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xerces.internal"; - /** - * <p>Cache properties for performance.</p> - */ -@@ -213,28 +214,6 @@ - } - } + glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition()); -- /** -- // try to read from $java.home/lib/jaxp.properties -- try { -- String javah = ss.getSystemProperty( "java.home" ); -- String configFile = javah + File.separator + -- "lib" + File.separator + "jaxp.properties"; -- File f = new File( configFile ); -- if( ss.doesFileExist(f)) { -- sf = loadFromProperty( -- propertyName,f.getAbsolutePath(), new FileInputStream(f)); -- if(sf!=null) return sf; -- } else { -- debugPrintln("Tried to read "+ f.getAbsolutePath()+", but it doesn't exist."); -- } -- } catch(Throwable e) { -- if( debug ) { -- debugPrintln("failed to read $java.home/lib/jaxp.properties"); -- e.printStackTrace(); -- } -- } -- */ + if (glyphIterator->isRightToLeft()) { +@@ -132,7 +139,6 @@ + gi.next(); + } + // end of JK patch - - // try META-INF/services files - Iterator sitr = createServiceFileIterator(); - while(sitr.hasNext()) { -@@ -269,14 +248,20 @@ - */ - private Class createClass(String className) { - Class clazz; -+ // make sure we have access to restricted packages -+ boolean internal = false; -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ internal = true; -+ } -+ } + fontInstance->pixelsToUnits(pixels, baseAdvance); -- // use approprite ClassLoader - try { -- if (classLoader != null) { -- clazz = classLoader.loadClass(className); -- } else { -- clazz = Class.forName(className); -- } -+ if (classLoader != null && !internal) { -+ clazz = classLoader.loadClass(className); -+ } else { -+ clazz = Class.forName(className); -+ } - } catch (Throwable t) { - if(debug) t.printStackTrace(); - return null; -@@ -357,7 +342,7 @@ - providerClass.getDeclaredMethod( - "newXMLSchemaFactoryNoServiceLoader" - ); -- return creationMethod.invoke(null, null); -+ return creationMethod.invoke(null, (Object[])null); - } catch (NoSuchMethodException exc) { - return null; - } catch (Exception exc) { ---- jaxp/src/javax/xml/xpath/XPathFactoryFinder.java 2012-08-10 09:38:54.000000000 -0700 -+++ jaxp/src/javax/xml/xpath/XPathFactoryFinder.java 2013-04-28 16:29:21.000000000 -0700 -@@ -48,6 +48,7 @@ - * @since 1.5 - */ - class XPathFactoryFinder { -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xpath.internal"; + glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX - baseAdvance.fX, anchorDiffY - baseAdvance.fY, -markAdvance.fX, -markAdvance.fY); +--- jdk/src/share/native/sun/font/layout/MarkToLigaturePosnSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MarkToLigaturePosnSubtables.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -65,8 +65,11 @@ + } - private static SecuritySupport ss = new SecuritySupport() ; - /** debug support code. */ -@@ -246,18 +247,25 @@ - */ - private Class createClass(String className) { - Class clazz; -+ // make sure we have access to restricted packages -+ boolean internal = false; -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ internal = true; -+ } -+ } + LEPoint markAnchor; +- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)); +- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); ++ LEReferenceTo<MarkArray> markArray(base, success, SWAPW(markArrayOffset)); ++ if( LE_FAILURE(success) ) { ++ return 0; ++ } ++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success); + le_uint16 mcCount = SWAPW(classCount); + + if (markClass < 0 || markClass >= mcCount) { +@@ -79,7 +82,7 @@ + GlyphIterator ligatureIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreBaseGlyphs*/)); + LEGlyphID ligatureGlyph = findLigatureGlyph(&ligatureIterator); + le_int32 ligatureCoverage = getBaseCoverage(base, (LEGlyphID) ligatureGlyph, success); +- const LigatureArray *ligatureArray = (const LigatureArray *) ((char *) this + SWAPW(baseArrayOffset)); ++ LEReferenceTo<LigatureArray> ligatureArray(base, success, SWAPW(baseArrayOffset)); + le_uint16 ligatureCount = SWAPW(ligatureArray->ligatureCount); + + if (ligatureCoverage < 0 || ligatureCoverage >= ligatureCount) { +@@ -91,7 +94,7 @@ + + le_int32 markPosition = glyphIterator->getCurrStreamPosition(); + Offset ligatureAttachOffset = SWAPW(ligatureArray->ligatureAttachTableOffsetArray[ligatureCoverage]); +- const LigatureAttachTable *ligatureAttachTable = (const LigatureAttachTable *) ((char *) ligatureArray + ligatureAttachOffset); ++ LEReferenceTo<LigatureAttachTable> ligatureAttachTable(ligatureArray, success, ligatureAttachOffset); + le_int32 componentCount = SWAPW(ligatureAttachTable->componentCount); + le_int32 component = ligatureIterator.getMarkComponent(markPosition); + +@@ -100,12 +103,14 @@ + component = componentCount - 1; + } -- // use approprite ClassLoader -- try { -- if (classLoader != null) { -- clazz = classLoader.loadClass(className); -- } else { -- clazz = Class.forName(className); -- } -- } catch (Throwable t) { -- if(debug) t.printStackTrace(); -- return null; -+ // use approprite ClassLoader -+ try { -+ if (classLoader != null && !internal) { -+ clazz = classLoader.loadClass(className); -+ } else { -+ clazz = Class.forName(className); - } -+ } catch (Throwable t) { -+ if(debug) t.printStackTrace(); -+ return null; -+ } +- const ComponentRecord *componentRecord = &ligatureAttachTable->componentRecordArray[component * mcCount]; ++ LEReferenceTo<ComponentRecord> componentRecord(base, success, &ligatureAttachTable->componentRecordArray[component * mcCount]); ++ LEReferenceToArrayOf<Offset> ligatureAnchorTableOffsetArray(base, success, &(componentRecord->ligatureAnchorTableOffsetArray[0]), markClass+1); ++ if( LE_FAILURE(success) ) { return 0; } + Offset anchorTableOffset = SWAPW(componentRecord->ligatureAnchorTableOffsetArray[markClass]); +- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) ligatureAttachTable + anchorTableOffset); ++ LEReferenceTo<AnchorTable> anchorTable(ligatureAttachTable, success, anchorTableOffset); + LEPoint ligatureAnchor, markAdvance, pixels; + +- anchorTable->getAnchor(ligatureGlyph, fontInstance, ligatureAnchor); ++ anchorTable->getAnchor(anchorTable, ligatureGlyph, fontInstance, ligatureAnchor, success); + + fontInstance->getGlyphAdvance(markGlyph, pixels); + fontInstance->pixelsToUnits(pixels, markAdvance); +--- jdk/src/share/native/sun/font/layout/MarkToMarkPosnSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MarkToMarkPosnSubtables.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -66,8 +66,11 @@ + } - return clazz; - } -@@ -333,7 +341,7 @@ - providerClass.getDeclaredMethod( - "newXPathFactoryNoServiceLoader" - ); -- return creationMethod.invoke(null, null); -+ return creationMethod.invoke(null, (Object[])null); - } catch (NoSuchMethodException exc) { - return null; - } catch (Exception exc) { ---- jaxp/src/org/w3c/dom/bootstrap/DOMImplementationRegistry.java 2012-08-10 09:38:59.000000000 -0700 -+++ jaxp/src/org/w3c/dom/bootstrap/DOMImplementationRegistry.java 2013-04-28 16:29:21.000000000 -0700 -@@ -104,6 +104,8 @@ - */ - private static final String FALLBACK_CLASS = - "com.sun.org.apache.xerces.internal.dom.DOMXSImplementationSourceImpl"; -+ private static final String DEFAULT_PACKAGE = -+ "com.sun.org.apache.xerces.internal.dom"; - /** - * Private constructor. - * @param srcs Vector List of DOMImplementationSources -@@ -168,10 +170,15 @@ - StringTokenizer st = new StringTokenizer(p); - while (st.hasMoreTokens()) { - String sourceName = st.nextToken(); -- // Use context class loader, falling back to Class.forName -- // if and only if this fails... -+ // make sure we have access to restricted packages -+ boolean internal = false; -+ if (System.getSecurityManager() != null) { -+ if (sourceName != null && sourceName.startsWith(DEFAULT_PACKAGE)) { -+ internal = true; -+ } -+ } - Class sourceClass = null; -- if (classLoader != null) { -+ if (classLoader != null && !internal) { - sourceClass = classLoader.loadClass(sourceName); - } else { - sourceClass = Class.forName(sourceName); ---- jaxp/src/org/xml/sax/helpers/NewInstance.java 2012-08-10 09:39:17.000000000 -0700 -+++ jaxp/src/org/xml/sax/helpers/NewInstance.java 2013-04-28 16:29:21.000000000 -0700 + LEPoint markAnchor; +- const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)); +- le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); ++ LEReferenceTo<MarkArray> markArray(base, success, SWAPW(markArrayOffset)); ++ if(LE_FAILURE(success)) { ++ return 0; ++ } ++ le_int32 markClass = markArray->getMarkClass(markArray, markGlyph, markCoverage, fontInstance, markAnchor, success); + le_uint16 mcCount = SWAPW(classCount); + + if (markClass < 0 || markClass >= mcCount) { +@@ -79,7 +82,8 @@ + GlyphIterator mark2Iterator(*glyphIterator); + LEGlyphID mark2Glyph = findMark2Glyph(&mark2Iterator); + le_int32 mark2Coverage = getBaseCoverage(base, (LEGlyphID) mark2Glyph, success); +- const Mark2Array *mark2Array = (const Mark2Array *) ((char *) this + SWAPW(baseArrayOffset)); ++ LEReferenceTo<Mark2Array> mark2Array(base, success, (const Mark2Array *) ((char *) this + SWAPW(baseArrayOffset))); ++ if(LE_FAILURE(success)) return 0; + le_uint16 mark2Count = SWAPW(mark2Array->mark2RecordCount); + + if (mark2Coverage < 0 || mark2Coverage >= mark2Count) { +@@ -89,9 +93,11 @@ + return 0; + } + +- const Mark2Record *mark2Record = &mark2Array->mark2RecordArray[mark2Coverage * mcCount]; ++ LEReferenceTo<Mark2Record> mark2Record(base, success, &mark2Array->mark2RecordArray[mark2Coverage * mcCount]); ++ if(LE_FAILURE(success)) return 0; + Offset anchorTableOffset = SWAPW(mark2Record->mark2AnchorTableOffsetArray[markClass]); +- const AnchorTable *anchorTable = (const AnchorTable *) ((char *) mark2Array + anchorTableOffset); ++ LEReferenceTo<AnchorTable> anchorTable(mark2Array, success, anchorTableOffset); ++ if(LE_FAILURE(success)) return 0; + LEPoint mark2Anchor, markAdvance, pixels; + + if (anchorTableOffset == 0) { +@@ -99,7 +105,7 @@ + return 0; + } + +- anchorTable->getAnchor(mark2Glyph, fontInstance, mark2Anchor); ++ anchorTable->getAnchor(anchorTable, mark2Glyph, fontInstance, mark2Anchor, success); + + fontInstance->getGlyphAdvance(markGlyph, pixels); + fontInstance->pixelsToUnits(pixels, markAdvance); +@@ -107,6 +113,8 @@ + float anchorDiffX = mark2Anchor.fX - markAnchor.fX; + float anchorDiffY = mark2Anchor.fY - markAnchor.fY; + ++ _LETRACE("Offset: (%.2f, %.2f) glyph 0x%X mark2 0x%X", anchorDiffX, anchorDiffY, markGlyph, mark2Glyph); ++ + glyphIterator->setCurrGlyphBaseOffset(mark2Iterator.getCurrStreamPosition()); + + if (glyphIterator->isRightToLeft()) { +--- jdk/src/share/native/sun/font/layout/MultipleSubstSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/MultipleSubstSubtables.cpp 2014-01-18 12:16:23.000000000 -0800 @@ -54,9 +54,10 @@ - * including versions of Java 2.</p> - * - * @author Edwin Goei, David Brownell -+ * @version 2.0.1 (sax2r2) - */ - class NewInstance { -- -+ private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xerces.internal"; - /** - * Creates a new instance of the specified class name - * -@@ -66,8 +67,16 @@ - throws ClassNotFoundException, IllegalAccessException, - InstantiationException + // FIXME: is this always the right thing to do? + // FIXME: should this only be done for a non-zero + // glyphCount? +- if (filter != NULL && filter->accept(glyph)) { ++ if (filter != NULL && filter->accept(glyph, success)) { + return 0; + } ++ if(LE_FAILURE(success)) return 0; + + le_int32 coverageIndex = getGlyphCoverage(base, glyph, success); + le_uint16 seqCount = SWAPW(sequenceCount); +@@ -67,7 +68,7 @@ + + if (coverageIndex >= 0 && coverageIndex < seqCount) { + Offset sequenceTableOffset = SWAPW(sequenceTableOffsetArray[coverageIndex]); +- const SequenceTable *sequenceTable = (const SequenceTable *) ((char *) this + sequenceTableOffset); ++ LEReferenceTo<SequenceTable> sequenceTable(base, success, sequenceTableOffset); + le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount); + + if (glyphCount == 0) { +@@ -76,7 +77,7 @@ + } else if (glyphCount == 1) { + TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[0]); + +- if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute))) { ++ if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute), success)) { + return 0; + } + +@@ -89,7 +90,7 @@ + for (le_int32 i = 0; i < glyphCount; i += 1) { + TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); + +- if (! filter->accept(substitute)) { ++ if (! filter->accept(substitute, success)) { + return 0; + } + } +--- jdk/src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp 2014-01-18 12:16:23.000000000 -0800 +@@ -470,6 +470,7 @@ + void OpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, + LEGlyphStorage &glyphStorage, LEErrorCode &success) + { ++ _LETRACE("OTLE::adjustGPOS"); + if (LE_FAILURE(success)) { + return; + } +@@ -510,14 +511,17 @@ + if (!fGPOSTable.isEmpty()) { + if (fScriptTagV2 != nullScriptTag && + fGPOSTable->coversScriptAndLanguage(fGPOSTable, fScriptTagV2,fLangSysTag,success)) { ++ _LETRACE("OTLE::process [0]"); + fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, reverse, fScriptTagV2, fLangSysTag, + fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder); + + } else { ++ _LETRACE("OTLE::process [1]"); + fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, reverse, fScriptTag, fLangSysTag, + fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder); + } + } else if (fTypoFlags & LE_Kerning_FEATURE_FLAG) { /* kerning enabled */ ++ _LETRACE("OTLE::kerning"); + LETableReference kernTable(fFontInstance, LE_KERN_TABLE_TAG, success); + KernTable kt(kernTable, success); + kt.process(glyphStorage, success); +@@ -546,6 +550,7 @@ + + xPlacement = fFontInstance->xUnitsToPoints(xPlacement); + yPlacement = fFontInstance->yUnitsToPoints(yPlacement); ++ _LETRACE("OTLE GPOS: #%d, (%.2f,%.2f)", i, xPlacement, yPlacement); + glyphStorage.adjustPosition(i, xAdjust + xPlacement, -(yAdjust + yPlacement), success); + + xAdjust += fFontInstance->xUnitsToPoints(xAdvance); +--- jdk/src/share/native/sun/font/layout/OpenTypeUtilities.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/OpenTypeUtilities.cpp 2013-12-01 11:14:30.000000000 -0800 +@@ -79,6 +79,7 @@ + + Offset OpenTypeUtilities::getTagOffset(LETag tag, const LEReferenceToArrayOf<TagAndOffsetRecord> &records, LEErrorCode &success) + { ++ const TagAndOffsetRecord *r0 = (const TagAndOffsetRecord*)records.getAlias(); + if(LE_FAILURE(success)) return 0; + + le_uint32 recordCount = records.getCount(); +@@ -89,17 +90,17 @@ + le_int32 index = 0; + + { +- const ATag &aTag = records.getAlias(extra,success)->tag; ++ const ATag &aTag = (r0+extra)->tag; + if (SWAPT(aTag) <= tag) { + index = extra; + } + } + +- while (probe > (1 << 0) && LE_SUCCESS(success)) { ++ while (probe > (1 << 0)) { + probe >>= 1; + { -+ // make sure we have access to restricted packages -+ boolean internal = false; -+ if (System.getSecurityManager() != null) { -+ if (className != null && className.startsWith(DEFAULT_PACKAGE)) { -+ internal = true; -+ } -+ } -+ - Class driverClass; -- if (classLoader == null) { -+ if (classLoader == null || internal) { - driverClass = Class.forName(className); - } else { - driverClass = classLoader.loadClass(className); -@@ -75,29 +84,4 @@ - return driverClass.newInstance(); +- const ATag &aTag = records.getAlias(index+probe,success)->tag; ++ const ATag &aTag = (r0+index+probe)->tag; + if (SWAPT(aTag) <= tag) { + index += probe; + } +@@ -107,9 +108,9 @@ + } + + { +- const ATag &aTag = records.getAlias(index,success)->tag; ++ const ATag &aTag = (r0+index)->tag; + if (SWAPT(aTag) == tag) { +- return SWAPW(records.getAlias(index,success)->offset); ++ return SWAPW((r0+index)->offset); } + } +--- jdk/src/share/native/sun/font/layout/OpenTypeUtilities.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/OpenTypeUtilities.h 2014-01-18 12:16:24.000000000 -0800 +@@ -46,15 +46,14 @@ + public: + static le_int8 highBit(le_int32 value); + static Offset getTagOffset(LETag tag, const LEReferenceToArrayOf<TagAndOffsetRecord> &records, LEErrorCode &success); - /** -- * Figure out which ClassLoader to use. For JDK 1.2 and later use -- * the context ClassLoader. +- * @deprecated TODO remove - */ -- static ClassLoader getClassLoader () -- { -- Method m = null; ++#if LE_ENABLE_RAW + static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount) { + LEErrorCode success = LE_NO_ERROR; + LETableReference recordRef0((const le_uint8*)records); + LEReferenceToArrayOf<GlyphRangeRecord> recordRef(recordRef0, success, (size_t)0, recordCount); + return getGlyphRangeIndex(glyphID, recordRef, success); + } ++#endif + static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphRangeRecord> &records, LEErrorCode &success); + static le_int32 search(le_uint16 value, const le_uint16 array[], le_int32 count); + static le_int32 search(le_uint32 value, const le_uint32 array[], le_int32 count); +--- jdk/src/share/native/sun/font/layout/PairPositioningSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/PairPositioningSubtables.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -76,19 +76,17 @@ + { + LEGlyphID firstGlyph = glyphIterator->getCurrGlyphID(); + le_int32 coverageIndex = getGlyphCoverage(base, firstGlyph, success); - -- try { -- m = Thread.class.getMethod("getContextClassLoader", (Class[]) null); -- } catch (NoSuchMethodException e) { -- // Assume that we are running JDK 1.1, use the current ClassLoader -- return NewInstance.class.getClassLoader(); +- if (LE_FAILURE(success)) { +- return 0; +- } + GlyphIterator tempIterator(*glyphIterator); + +- if (coverageIndex >= 0 && glyphIterator->next()) { ++ LEReferenceToArrayOf<Offset> pairSetTableOffsetArrayRef(base, success, pairSetTableOffsetArray, SWAPW(pairSetCount)); ++ ++ if (LE_SUCCESS(success) && coverageIndex >= 0 && glyphIterator->next() && (le_uint32)coverageIndex < pairSetTableOffsetArrayRef.getCount()) { + Offset pairSetTableOffset = SWAPW(pairSetTableOffsetArray[coverageIndex]); +- LEReferenceTo<PairSetTable> pairSetTable(base, success, ((char *) this + pairSetTableOffset)); +- if (LE_FAILURE(success)) { +- return 0; - } ++ LEReferenceTo<PairSetTable> pairSetTable(base, success, pairSetTableOffset); ++ if( LE_FAILURE(success) ) return 0; + le_uint16 pairValueCount = SWAPW(pairSetTable->pairValueCount); ++ LEReferenceTo<PairValueRecord> pairValueRecordArray(pairSetTable, success, pairSetTable->pairValueRecordArray); ++ if( LE_FAILURE(success) ) return 0; + le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat1)); + le_int16 valueRecord2Size = ValueRecord::getSize(SWAPW(valueFormat2)); + le_int16 recordSize = sizeof(PairValueRecord) - sizeof(ValueRecord) + valueRecord1Size + valueRecord2Size; +@@ -96,21 +94,22 @@ + LEReferenceTo<PairValueRecord> pairValueRecord; + + if (pairValueCount != 0) { +- pairValueRecord = findPairValueRecord(base, (TTGlyphID) LE_GET_GLYPH(secondGlyph), pairSetTable->pairValueRecordArray, pairValueCount, recordSize, success); ++ pairValueRecord = findPairValueRecord((TTGlyphID) LE_GET_GLYPH(secondGlyph), pairValueRecordArray, pairValueCount, recordSize, success); + } + +- if (pairValueRecord.isEmpty()) { ++ if (pairValueRecord.isEmpty() || LE_FAILURE(success)) { + return 0; + } + + if (valueFormat1 != 0) { +- pairValueRecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); ++ pairValueRecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), base, tempIterator, fontInstance, success); + } + + if (valueFormat2 != 0) { +- const ValueRecord *valueRecord2 = (const ValueRecord *) ((char *) &pairValueRecord->valueRecord1 + valueRecord1Size); - -- try { -- return (ClassLoader) m.invoke(Thread.currentThread(), (Object[]) null); -- } catch (IllegalAccessException e) { -- // assert(false) -- throw new UnknownError(e.getMessage()); -- } catch (InvocationTargetException e) { -- // assert(e.getTargetException() instanceof SecurityException) -- throw new UnknownError(e.getMessage()); -- } -- } +- valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); ++ LEReferenceTo<ValueRecord> valueRecord2(base, success, ((char *) &pairValueRecord->valueRecord1 + valueRecord1Size)); ++ if(LE_SUCCESS(success)) { ++ valueRecord2->adjustPosition(SWAPW(valueFormat2), base, *glyphIterator, fontInstance, success); ++ } + } + + // back up glyphIterator so second glyph can be +@@ -135,26 +134,28 @@ + + if (coverageIndex >= 0 && glyphIterator->next()) { + LEGlyphID secondGlyph = glyphIterator->getCurrGlyphID(); +- const ClassDefinitionTable *classDef1 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef1Offset)); +- const ClassDefinitionTable *classDef2 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef2Offset)); +- le_int32 class1 = classDef1->getGlyphClass(firstGlyph); +- le_int32 class2 = classDef2->getGlyphClass(secondGlyph); ++ const LEReferenceTo<ClassDefinitionTable> classDef1(base, success, SWAPW(classDef1Offset)); ++ const LEReferenceTo<ClassDefinitionTable> classDef2(base, success, SWAPW(classDef2Offset)); ++ le_int32 class1 = classDef1->getGlyphClass(classDef1, firstGlyph, success); ++ le_int32 class2 = classDef2->getGlyphClass(classDef2, secondGlyph, success); + le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat1)); + le_int16 valueRecord2Size = ValueRecord::getSize(SWAPW(valueFormat2)); + le_int16 class2RecordSize = valueRecord1Size + valueRecord2Size; + le_int16 class1RecordSize = class2RecordSize * SWAPW(class2Count); +- const Class1Record *class1Record = (const Class1Record *) ((char *) class1RecordArray + (class1RecordSize * class1)); +- const Class2Record *class2Record = (const Class2Record *) ((char *) class1Record->class2RecordArray + (class2RecordSize * class2)); +- ++ const LEReferenceTo<Class1Record> class1Record(base, success, (const Class1Record *) ((char *) class1RecordArray + (class1RecordSize * class1))); ++ const LEReferenceTo<Class2Record> class2Record(base, success, (const Class2Record *) ((char *) class1Record->class2RecordArray + (class2RecordSize * class2))); + ++ if( LE_SUCCESS(success) ) { + if (valueFormat1 != 0) { +- class2Record->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); ++ class2Record->valueRecord1.adjustPosition(SWAPW(valueFormat1), base, tempIterator, fontInstance, success); + } +- + if (valueFormat2 != 0) { +- const ValueRecord *valueRecord2 = (const ValueRecord *) ((char *) &class2Record->valueRecord1 + valueRecord1Size); +- +- valueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance); ++ const LEReferenceTo<ValueRecord> valueRecord2(base, success, ((char *) &class2Record->valueRecord1) + valueRecord1Size); ++ LEReferenceTo<PairPositioningFormat2Subtable> thisRef(base, success, this); ++ if(LE_SUCCESS(success)) { ++ valueRecord2->adjustPosition(SWAPW(valueFormat2), thisRef, *glyphIterator, fontInstance, success); ++ } ++ } + } + + // back up glyphIterator so second glyph can be +@@ -166,23 +167,24 @@ + return 0; } ---- jaxp/src/org/xml/sax/helpers/ParserAdapter.java 2012-08-10 09:39:17.000000000 -0700 -+++ jaxp/src/org/xml/sax/helpers/ParserAdapter.java 2013-04-28 16:29:21.000000000 -0700 -@@ -74,13 +74,14 @@ - * - * @since SAX 2.0 - * @author David Megginson -+ * @version 2.0.1 (sax2r2) - * @see org.xml.sax.helpers.XMLReaderAdapter - * @see org.xml.sax.XMLReader - * @see org.xml.sax.Parser - */ - public class ParserAdapter implements XMLReader, DocumentHandler + +-LEReferenceTo<PairValueRecord> PairPositioningFormat1Subtable::findPairValueRecord(const LETableReference &base, TTGlyphID glyphID, const PairValueRecord *records, le_uint16 recordCount, le_uint16 recordSize, LEErrorCode &success) const ++LEReferenceTo<PairValueRecord> ++PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, LEReferenceTo<PairValueRecord>& records, ++ le_uint16 recordCount, ++ le_uint16 recordSize, LEErrorCode &success) const { + #if 1 + // The OpenType spec. says that the ValueRecord table is + // sorted by secondGlyph. Unfortunately, there are fonts + // around that have an unsorted ValueRecord table. +- LEReferenceTo<PairValueRecord> record(base, success, records); +- record.verifyLength(0, recordSize, success); ++ LEReferenceTo<PairValueRecord> record(records); + + for(le_int32 r = 0; r < recordCount; r += 1) { +- if (LE_FAILURE(success)) return (const PairValueRecord*)NULL; ++ if(LE_FAILURE(success)) return LEReferenceTo<PairValueRecord>(); + if (SWAPW(record->secondGlyph) == glyphID) { + return record; + } + +- record = LEReferenceTo<PairValueRecord>(base, success, ((const char*)record.getAlias())+ recordSize); +- record.verifyLength(0, recordSize, success); ++ record.addOffset(recordSize, success); + } + #else + #error dead code - not updated. +@@ -211,7 +213,7 @@ + } + #endif + +- return (const PairValueRecord*)NULL; ++ return LEReferenceTo<PairValueRecord>(); + } + + U_NAMESPACE_END +--- jdk/src/share/native/sun/font/layout/PairPositioningSubtables.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/PairPositioningSubtables.h 2014-01-18 12:16:24.000000000 -0800 +@@ -77,9 +77,8 @@ + le_uint32 process(const LEReferenceTo<PairPositioningFormat1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const; + + private: +- LEReferenceTo<PairValueRecord> findPairValueRecord(const LETableReference &base, TTGlyphID glyphID, const PairValueRecord *records, ++ LEReferenceTo<PairValueRecord> findPairValueRecord(TTGlyphID glyphID, LEReferenceTo<PairValueRecord> &records, + le_uint16 recordCount, le_uint16 recordSize, LEErrorCode &success) const; - -+ private static SecuritySupport ss = new SecuritySupport(); + }; + LE_VAR_ARRAY(PairPositioningFormat1Subtable, pairSetTableOffsetArray) - //////////////////////////////////////////////////////////////////// - // Constructors. -@@ -102,7 +103,7 @@ - { - super(); +--- jdk/src/share/native/sun/font/layout/ScriptAndLanguage.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ScriptAndLanguage.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -106,7 +106,8 @@ + } + } else { + LEReferenceToArrayOf<ScriptRecord> scriptRecordArrayRef(base, success, &scriptRecordArray[0], count); +- scriptTableOffset = OpenTypeUtilities::getTagOffset(scriptTag, scriptRecordArrayRef, success); // TODO ++ ++ scriptTableOffset = OpenTypeUtilities::getTagOffset(scriptTag, scriptRecordArrayRef, success); + } -- String driver = System.getProperty("org.xml.sax.parser"); -+ String driver = ss.getSystemProperty("org.xml.sax.parser"); + if (scriptTableOffset != 0) { +--- jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -126,13 +126,13 @@ + linaScriptTag, /* 'lina' (LINA) */ + mandScriptTag, /* 'mand' (MANDAIC) */ + mayaScriptTag, /* 'maya' (MAYA) */ +- meroScriptTag, /* 'mero' (MERO) */ ++ meroScriptTag, /* 'mero' (MEROITIC_HIEROGLYPHS) */ + nkooScriptTag, /* 'nko ' (NKO) */ + orkhScriptTag, /* 'orkh' (OLD_TURKIC) */ + permScriptTag, /* 'perm' (PERM) */ + phagScriptTag, /* 'phag' (PHAGS_PA) */ + phnxScriptTag, /* 'phnx' (PHOENICIAN) */ +- plrdScriptTag, /* 'plrd' (PLRD) */ ++ plrdScriptTag, /* 'plrd' (MIAO/POLLARD) */ + roroScriptTag, /* 'roro' (RORO) */ + saraScriptTag, /* 'sara' (SARA) */ + syreScriptTag, /* 'syre' (SYRE) */ +@@ -158,7 +158,7 @@ + mteiScriptTag, /* 'mtei' (MEETEI_MAYEK) */ + armiScriptTag, /* 'armi' (IMPERIAL_ARAMAIC) */ + avstScriptTag, /* 'avst' (AVESTAN) */ +- cakmScriptTag, /* 'cakm' (CAKM) */ ++ cakmScriptTag, /* 'cakm' (CHAKMA) */ + koreScriptTag, /* 'kore' (KORE) */ + kthiScriptTag, /* 'kthi' (KAITHI) */ + maniScriptTag, /* 'mani' (MANI) */ +@@ -181,7 +181,7 @@ + kpelScriptTag, /* 'kpel' (KPEL) */ + lomaScriptTag, /* 'loma' (LOMA) */ + mendScriptTag, /* 'mend' (MEND) */ +- mercScriptTag, /* 'merc' (MERC) */ ++ mercScriptTag, /* 'merc' (MEROITIC_CURSIVE) */ + narbScriptTag, /* 'narb' (NARB) */ + nbatScriptTag, /* 'nbat' (NBAT) */ + palmScriptTag, /* 'palm' (PALM) */ +--- jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ScriptAndLanguageTags.h 2014-01-18 12:16:24.000000000 -0800 +@@ -140,13 +140,13 @@ + const LETag linaScriptTag = 0x6C696E61; /* 'lina' (LINA) */ + const LETag mandScriptTag = 0x6D616E64; /* 'mand' (MANDAIC) */ + const LETag mayaScriptTag = 0x6D617961; /* 'maya' (MAYA) */ +-const LETag meroScriptTag = 0x6D65726F; /* 'mero' (MERO) */ ++const LETag meroScriptTag = 0x6D65726F; /* 'mero' (MEROITIC_HIEROGLYPHS) */ + const LETag nkooScriptTag = 0x6E6B6F20; /* 'nko ' (NKO) */ + const LETag orkhScriptTag = 0x6F726B68; /* 'orkh' (OLD_TURKIC) */ + const LETag permScriptTag = 0x7065726D; /* 'perm' (PERM) */ + const LETag phagScriptTag = 0x70686167; /* 'phag' (PHAGS_PA) */ + const LETag phnxScriptTag = 0x70686E78; /* 'phnx' (PHOENICIAN) */ +-const LETag plrdScriptTag = 0x706C7264; /* 'plrd' (PLRD) */ ++const LETag plrdScriptTag = 0x706C7264; /* 'plrd' (MIAO) */ + const LETag roroScriptTag = 0x726F726F; /* 'roro' (RORO) */ + const LETag saraScriptTag = 0x73617261; /* 'sara' (SARA) */ + const LETag syreScriptTag = 0x73797265; /* 'syre' (SYRE) */ +@@ -172,7 +172,7 @@ + const LETag mteiScriptTag = 0x6D746569; /* 'mtei' (MEETEI_MAYEK) */ + const LETag armiScriptTag = 0x61726D69; /* 'armi' (IMPERIAL_ARAMAIC) */ + const LETag avstScriptTag = 0x61767374; /* 'avst' (AVESTAN) */ +-const LETag cakmScriptTag = 0x63616B6D; /* 'cakm' (CAKM) */ ++const LETag cakmScriptTag = 0x63616B6D; /* 'cakm' (CHAKMA) */ + const LETag koreScriptTag = 0x6B6F7265; /* 'kore' (KORE) */ + const LETag kthiScriptTag = 0x6B746869; /* 'kthi' (KAITHI) */ + const LETag maniScriptTag = 0x6D616E69; /* 'mani' (MANI) */ +@@ -195,7 +195,7 @@ + const LETag kpelScriptTag = 0x6B70656C; /* 'kpel' (KPEL) */ + const LETag lomaScriptTag = 0x6C6F6D61; /* 'loma' (LOMA) */ + const LETag mendScriptTag = 0x6D656E64; /* 'mend' (MEND) */ +-const LETag mercScriptTag = 0x6D657263; /* 'merc' (MERC) */ ++const LETag mercScriptTag = 0x6D657263; /* 'merc' (MEROITIC_CURSIVE) */ + const LETag narbScriptTag = 0x6E617262; /* 'narb' (NARB) */ + const LETag nbatScriptTag = 0x6E626174; /* 'nbat' (NBAT) */ + const LETag palmScriptTag = 0x70616C6D; /* 'palm' (PALM) */ +--- jdk/src/share/native/sun/font/layout/SegmentArrayProcessor2.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/SegmentArrayProcessor2.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -65,16 +65,17 @@ + + for (glyph = 0; glyph < glyphCount; glyph += 1) { + LEGlyphID thisGlyph = glyphStorage[glyph]; ++ // lookupSegment already range checked by lookupSegment() function. + const LookupSegment *lookupSegment = segmentArrayLookupTable->lookupSegment(segmentArrayLookupTable, segments, thisGlyph, success); + +- if (lookupSegment != NULL) { ++ if (lookupSegment != NULL&& LE_SUCCESS(success)) { + TTGlyphID firstGlyph = SWAPW(lookupSegment->firstGlyph); ++ TTGlyphID lastGlyph = SWAPW(lookupSegment->lastGlyph); + le_int16 offset = SWAPW(lookupSegment->value); +- +- if (offset != 0) { +- TTGlyphID *glyphArray = (TTGlyphID *) ((char *) subtableHeader.getAliasTODO() + offset); +- TTGlyphID newGlyph = SWAPW(glyphArray[LE_GET_GLYPH(thisGlyph) - firstGlyph]); +- ++ TTGlyphID thisGlyphId= LE_GET_GLYPH(thisGlyph); ++ LEReferenceToArrayOf<TTGlyphID> glyphArray(subtableHeader, success, offset, lastGlyph - firstGlyph + 1); ++ if (offset != 0 && thisGlyphId <= lastGlyph && thisGlyphId >= firstGlyph && LE_SUCCESS(success) ) { ++ TTGlyphID newGlyph = SWAPW(glyphArray[thisGlyphId]); + glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); + } + } +--- jdk/src/share/native/sun/font/layout/SinglePositioningSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/SinglePositioningSubtables.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -75,7 +75,7 @@ + } - try { - setup(ParserFactory.makeParser()); ---- jaxp/src/org/xml/sax/helpers/ParserFactory.java 2012-08-10 09:39:17.000000000 -0700 -+++ jaxp/src/org/xml/sax/helpers/ParserFactory.java 2013-04-28 16:29:21.000000000 -0700 -@@ -30,12 +30,6 @@ + if (coverageIndex >= 0) { +- valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); ++ valueRecord.adjustPosition(SWAPW(valueFormat), base, *glyphIterator, fontInstance, success); - package org.xml.sax.helpers; + return 1; + } +@@ -92,7 +92,7 @@ + } --import java.lang.ClassNotFoundException; --import java.lang.IllegalAccessException; --import java.lang.InstantiationException; --import java.lang.SecurityException; --import java.lang.ClassCastException; -- - import org.xml.sax.Parser; + if (coverageIndex >= 0) { +- valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); ++ valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), base, *glyphIterator, fontInstance, success); + + return 1; + } +--- jdk/src/share/native/sun/font/layout/SingleSubstitutionSubtables.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/SingleSubstitutionSubtables.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -76,7 +76,7 @@ + if (coverageIndex >= 0) { + TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID); + +- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { ++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute), success)) { + glyphIterator->setCurrGlyphID(substitute); + } + +@@ -97,7 +97,7 @@ + if (coverageIndex >= 0) { + TTGlyphID substitute = SWAPW(substituteArray[coverageIndex]); +- if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { ++ if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute), success)) { + glyphIterator->setCurrGlyphID(substitute); + } + +--- jdk/src/share/native/sun/font/layout/SunLayoutEngine.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/SunLayoutEngine.cpp 2013-12-01 11:14:30.000000000 -0800 +@@ -104,6 +104,10 @@ + + int putGV(JNIEnv* env, jint gmask, jint baseIndex, jobject gvdata, const LayoutEngine* engine, int glyphCount) { + int count = env->GetIntField(gvdata, gvdCountFID); ++ if (count < 0) { ++ JNU_ThrowInternalError(env, "count negative"); ++ return 0; ++ } -@@ -69,9 +63,10 @@ - * interface. - * @since SAX 1.0 - * @author David Megginson -+ * @version 2.0.1 (sax2r2) + jarray glyphArray = (jarray)env->GetObjectField(gvdata, gvdGlyphsFID); + if (IS_NULL(glyphArray)) { +--- jdk/src/share/native/sun/font/layout/TibetanReordering.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/TibetanReordering.h 2014-01-18 12:16:24.000000000 -0800 +@@ -39,7 +39,7 @@ */ - public class ParserFactory { -- -+ private static SecuritySupport ss = new SecuritySupport(); - /** - * Private null constructor. -@@ -109,7 +104,7 @@ - NullPointerException, - ClassCastException - { -- String className = System.getProperty("org.xml.sax.parser"); -+ String className = ss.getSystemProperty("org.xml.sax.parser"); - if (className == null) { - throw new NullPointerException("No value for sax.parser property"); - } else { -@@ -146,7 +141,7 @@ - ClassCastException - { - return (Parser) NewInstance.newInstance ( -- NewInstance.getClassLoader (), className); -+ ss.getContextClassLoader(), className); + #ifndef __TIBETANREORDERING_H +-#define __TIBETANORDERING_H ++#define __TIBETANREORDERING_H + + /** + * \file +--- jdk/src/share/native/sun/font/layout/ValueRecords.cpp 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ValueRecords.cpp 2014-01-18 12:16:24.000000000 -0800 +@@ -59,8 +59,8 @@ + return SWAPW(value); + } + +-void ValueRecord::adjustPosition(ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, +- const LEFontInstance *fontInstance) const ++void ValueRecord::adjustPosition(ValueFormat valueFormat, const LETableReference& base, GlyphIterator &glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode &success) const + { + float xPlacementAdjustment = 0; + float yPlacementAdjustment = 0; +@@ -118,8 +118,8 @@ + Offset dtOffset = getFieldValue(valueFormat, vrfXPlaDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 xAdj = dt->getAdjustment(xppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success); + + xPlacementAdjustment += fontInstance->xPixelsToUnits(xAdj); + } +@@ -129,8 +129,8 @@ + Offset dtOffset = getFieldValue(valueFormat, vrfYPlaDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 yAdj = dt->getAdjustment(yppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success); + + yPlacementAdjustment += fontInstance->yPixelsToUnits(yAdj); + } +@@ -140,8 +140,8 @@ + Offset dtOffset = getFieldValue(valueFormat, vrfXAdvDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 xAdj = dt->getAdjustment(xppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success); + + xAdvanceAdjustment += fontInstance->xPixelsToUnits(xAdj); + } +@@ -151,8 +151,8 @@ + Offset dtOffset = getFieldValue(valueFormat, vrfYAdvDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 yAdj = dt->getAdjustment(yppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success); + + yAdvanceAdjustment += fontInstance->yPixelsToUnits(yAdj); + } +@@ -163,8 +163,8 @@ + xPlacementAdjustment, yPlacementAdjustment, xAdvanceAdjustment, yAdvanceAdjustment); + } + +-void ValueRecord::adjustPosition(le_int16 index, ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, +- const LEFontInstance *fontInstance) const ++void ValueRecord::adjustPosition(le_int16 index, ValueFormat valueFormat, const LETableReference& base, GlyphIterator &glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode &success) const + { + float xPlacementAdjustment = 0; + float yPlacementAdjustment = 0; +@@ -222,8 +222,8 @@ + Offset dtOffset = getFieldValue(index, valueFormat, vrfXPlaDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 xAdj = dt->getAdjustment(xppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success); + + xPlacementAdjustment += fontInstance->xPixelsToUnits(xAdj); + } +@@ -233,8 +233,8 @@ + Offset dtOffset = getFieldValue(index, valueFormat, vrfYPlaDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 yAdj = dt->getAdjustment(yppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success); + + yPlacementAdjustment += fontInstance->yPixelsToUnits(yAdj); + } +@@ -244,8 +244,8 @@ + Offset dtOffset = getFieldValue(index, valueFormat, vrfXAdvDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 xAdj = dt->getAdjustment(xppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 xAdj = dt->getAdjustment(dt, xppem, success); + + xAdvanceAdjustment += fontInstance->xPixelsToUnits(xAdj); + } +@@ -255,8 +255,8 @@ + Offset dtOffset = getFieldValue(index, valueFormat, vrfYAdvDevice); + + if (dtOffset != 0) { +- const DeviceTable *dt = (const DeviceTable *) (base + dtOffset); +- le_int16 yAdj = dt->getAdjustment(yppem); ++ LEReferenceTo<DeviceTable> dt(base, success, dtOffset); ++ le_int16 yAdj = dt->getAdjustment(dt, yppem, success); + + yAdvanceAdjustment += fontInstance->yPixelsToUnits(yAdj); + } +--- jdk/src/share/native/sun/font/layout/ValueRecords.h 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/font/layout/ValueRecords.h 2014-01-18 12:16:24.000000000 -0800 +@@ -53,10 +53,10 @@ + + le_int16 getFieldValue(ValueFormat valueFormat, ValueRecordField field) const; + le_int16 getFieldValue(le_int16 index, ValueFormat valueFormat, ValueRecordField field) const; +- void adjustPosition(ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, +- const LEFontInstance *fontInstance) const; +- void adjustPosition(le_int16 index, ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, +- const LEFontInstance *fontInstance) const; ++ void adjustPosition(ValueFormat valueFormat, const LETableReference &base, GlyphIterator &glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode &success) const; ++ void adjustPosition(le_int16 index, ValueFormat valueFormat, const LETableReference &base, GlyphIterator &glyphIterator, ++ const LEFontInstance *fontInstance, LEErrorCode &success) const; + + static le_int16 getSize(ValueFormat valueFormat); + +--- jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c 2013-09-06 11:29:02.000000000 -0700 ++++ jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c 2013-12-01 11:14:30.000000000 -0800 +@@ -1074,6 +1074,27 @@ + } + + ++static ++cmsBool SanityCheck(_cmsICCPROFILE* profile) ++{ ++ cmsIOHANDLER* io = profile->IOhandler; ++ if (!io) { ++ return FALSE; ++ } ++ ++ if (!io->Seek || ++ !(io->Seek==NULLSeek || io->Seek==MemorySeek || io->Seek==FileSeek)) ++ { ++ return FALSE; ++ } ++ if (!io->Read || ++ !(io->Read==NULLRead || io->Read==MemoryRead || io->Read==FileRead)) ++ { ++ return FALSE; ++ } ++ ++ return TRUE; ++} + + // Dump tag contents. If the profile is being modified, untouched tags are copied from FileOrig + static +@@ -1087,6 +1108,7 @@ + cmsTagTypeSignature TypeBase; + cmsTagTypeHandler* TypeHandler; + ++ if (!SanityCheck(FileOrig)) return FALSE; + + for (i=0; i < Icc -> TagCount; i++) { + +@@ -1292,8 +1314,8 @@ + // Should we just calculate the needed space? + if (MemPtr == NULL) { + +- *BytesNeeded = cmsSaveProfileToIOhandler(hProfile, NULL); +- return TRUE; ++ *BytesNeeded = cmsSaveProfileToIOhandler(hProfile, NULL); ++ return (*BytesNeeded == 0 ? FALSE : TRUE); + } + + // That is a real write operation +--- jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c 2013-09-06 11:29:03.000000000 -0700 ++++ jdk/src/share/native/sun/java2d/opengl/OGLBlitLoops.c 2014-01-18 12:16:24.000000000 -0800 +@@ -661,7 +661,12 @@ + (sy2-sy1) != (jint)(dy2-dy1) || + oglc->extraAlpha != 1.0f; + break; +- ++#ifdef MACOSX ++ case OGLC_VENDOR_ATI: ++ // see 8024461 ++ viaTexture = JNI_TRUE; ++ break; ++#endif + default: + // just use the glDrawPixels() codepath + viaTexture = JNI_FALSE; +--- jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h 2013-09-06 11:29:03.000000000 -0700 ++++ jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h 2014-01-18 12:16:33.000000000 -0800 +@@ -26,7 +26,7 @@ + #ifndef OGLFuncs_h_Included + #define OGLFuncs_h_Included + +-#ifdef MACOSX ++#ifdef _ALLBSD_SOURCE + #include <dlfcn.h> + #endif + #include "jni.h" +--- jdk/src/share/native/sun/management/HotSpotDiagnostic.c 2013-09-06 11:29:03.000000000 -0700 ++++ jdk/src/share/native/sun/management/HotSpotDiagnostic.c 2013-12-01 11:14:31.000000000 -0800 +@@ -29,7 +29,7 @@ + #include "sun_management_HotSpotDiagnostic.h" + + JNIEXPORT void JNICALL +-Java_sun_management_HotSpotDiagnostic_dumpHeap ++Java_sun_management_HotSpotDiagnostic_dumpHeap0 + (JNIEnv *env, jobject dummy, jstring outputfile, jboolean live) + { + jmm_interface->DumpHeap0(env, outputfile, live); +--- jdk/src/solaris/back/util_md.h 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/back/util_md.h 2014-01-18 12:16:32.000000000 -0800 +@@ -51,7 +51,7 @@ + + /* On little endian machines, convert java big endian numbers. */ + +-#if defined(_LITTLE_ENDIAN) ++#if (BYTE_ORDER == LITTLE_ENDIAN) + + #define HOST_TO_JAVA_CHAR(x) (((x & 0xff) << 8) | ((x >> 8) & (0xff))) + #define HOST_TO_JAVA_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & (0xff))) +--- jdk/src/solaris/bin/ergo.c 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/bin/ergo.c 2014-01-18 12:16:32.000000000 -0800 +@@ -100,6 +100,27 @@ + /* Compute physical memory by asking the OS */ + uint64_t + physical_memory(void) { ++#if !defined(MACOSX) && defined(_ALLBSD_SOURCE) ++ uint64_t result; ++#ifdef HW_PHYSMEM64 ++ int64_t physmem; ++ int name[2] = { CTL_HW, HW_PHYSMEM64 }; ++#else ++ unsigned long physmem; ++ int name[2] = { CTL_HW, HW_PHYSMEM }; ++#endif ++ size_t physmem_len = sizeof(physmem); ++# define UINT64_FORMAT "%" PRIu64 ++ ++ if (sysctl(name, 2, &physmem, &physmem_len, NULL, 0) == -1) ++ physmem = 256 * MB; ++ ++ result = (uint64_t)physmem; ++ ++ JLI_TraceLauncher("physical memory: " UINT64_FORMAT " (%.3fGB)\n", ++ result, result / (double) GB); ++ return result; ++#else /* !_ALLBSD_SOURCE */ + const uint64_t pages = (uint64_t) sysconf(_SC_PHYS_PAGES); + const uint64_t page_size = (uint64_t) sysconf(_SC_PAGESIZE); + const uint64_t result = pages * page_size; +@@ -110,4 +131,5 @@ + " physical memory: " UINT64_FORMAT " (%.3fGB)\n", + pages, page_size, result, result / (double) GB); + return result; ++#endif + } +--- jdk/src/solaris/bin/ergo.h 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/bin/ergo.h 2014-01-18 12:16:32.000000000 -0800 +@@ -33,6 +33,10 @@ + #include <sys/stat.h> + #include <unistd.h> + #include <sys/types.h> ++#ifdef _ALLBSD_SOURCE ++#include <sys/param.h> ++#include <sys/sysctl.h> ++#endif + + #include "java.h" + +--- jdk/src/solaris/bin/ergo_i586.c 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/bin/ergo_i586.c 2014-01-18 12:16:32.000000000 -0800 +@@ -106,7 +106,7 @@ + + #endif /* __solaris__ */ + +-#ifdef __linux__ ++#if !defined(MACOSX) && (defined(__linux__) || defined(_ALLBSD_SOURCE)) + + /* + * A utility method for asking the CPU about itself. +@@ -171,6 +171,12 @@ + #endif /* _LP64 */ + } + ++#ifdef __linux__ ++#define OSNAMEPREFIX "linux_" ++#else ++#define OSNAMEPREFIX "bsd_" ++#endif ++ + /* The definition of a server-class machine for linux-i586 */ + jboolean + ServerClassMachineImpl(void) { +@@ -193,11 +199,11 @@ + result = JNI_TRUE; } + } +- JLI_TraceLauncher("linux_" LIBARCHNAME "_ServerClassMachine: %s\n", ++ JLI_TraceLauncher(OSNAMEPREFIX LIBARCHNAME "_ServerClassMachine: %s\n", + (result == JNI_TRUE ? "true" : "false")); + return result; + } +-#endif /* __linux__ */ ++#endif /* !MACOSX && (__linux__ || _ALLBSD_SOURCE) */ + /* + * Routines shared by solaris-i586 and linux-i586. +@@ -308,6 +314,15 @@ + /* Compute the number of physical processors, not logical processors */ + static unsigned long + physical_processors(void) { ++#if !defined(MACOSX) && defined(_ALLBSD_SOURCE) ++ unsigned long result; ++ int name[2] = { CTL_HW, HW_NCPU }; ++ size_t rlen = sizeof(result); ++ ++ if (sysctl(name, 2, &result, &rlen, NULL, 0) == -1) ++ result = 1; ++ return result; ++#else + const long sys_processors = sysconf(_SC_NPROCESSORS_CONF); + unsigned long result = sys_processors; + +@@ -320,4 +335,5 @@ + } + JLI_TraceLauncher("physical processors: %lu\n", result); + return result; ++#endif + } +--- jdk/src/solaris/bin/java_md_solinux.c 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/bin/java_md_solinux.c 2014-01-18 12:16:32.000000000 -0800 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 +@@ -950,15 +950,46 @@ + return exec_path; } ---- jaxp/src/org/xml/sax/helpers/SecuritySupport.java 1969-12-31 16:00:00.000000000 -0800 -+++ jaxp/src/org/xml/sax/helpers/SecuritySupport.java 2013-04-28 16:29:21.000000000 -0700 -@@ -0,0 +1,108 @@ + ++#if !defined(MACOSX) && defined(_ALLBSD_SOURCE) +/* -+ * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. ++ * BSD's implementation of CounterGet() ++ */ ++int64_t ++CounterGet() ++{ ++ struct timeval tv; ++ gettimeofday(&tv, NULL); ++ return (tv.tv_sec * 1000) + tv.tv_usec; ++} ++#endif ++ + /* --- Splash Screen shared library support --- */ + static const char* SPLASHSCREEN_SO = JNI_LIB_NAME("splashscreen"); + static void* hSplashLib = NULL; + + void* SplashProcAddress(const char* name) { + if (!hSplashLib) { +- const char * splashLibPath; +- splashLibPath = SPLASHSCREEN_SO; +- hSplashLib = dlopen(splashLibPath, RTLD_LAZY | RTLD_GLOBAL); ++ int ret; ++ char jrePath[MAXPATHLEN]; ++ char splashPath[MAXPATHLEN]; ++ ++ if (!GetJREPath(jrePath, sizeof(jrePath), GetArch(), JNI_FALSE)) { ++ JLI_ReportErrorMessage(JRE_ERROR1); ++ return NULL; ++ } ++ ret = JLI_Snprintf(splashPath, sizeof(splashPath), "%s/lib/%s/%s", ++ jrePath, GetArch(), SPLASHSCREEN_SO); ++ ++ if (ret >= (int) sizeof(splashPath)) { ++ JLI_ReportErrorMessage(JRE_ERROR11); ++ return NULL; ++ } ++ if (ret < 0) { ++ JLI_ReportErrorMessage(JRE_ERROR13); ++ return NULL; ++ } ++ hSplashLib = dlopen(splashPath, RTLD_LAZY | RTLD_GLOBAL); ++ JLI_TraceLauncher("Info: loaded %s\n", splashPath); + } + if (hSplashLib) { + void* sym = dlsym(hSplashLib, name); +--- jdk/src/solaris/bin/java_md_solinux.h 2013-09-06 11:29:05.000000000 -0700 ++++ jdk/src/solaris/bin/java_md_solinux.h 2014-01-18 12:16:32.000000000 -0800 +@@ -33,6 +33,10 @@ + #include <sys/time.h> + #define CounterGet() (gethrtime()/1000) + #define Counter2Micros(counts) (counts) ++#elif !defined(MACOSX) && defined(_ALLBSD_SOURCE) ++/* CounterGet() is implemented in java_md_solinux.c */ ++int64_t CounterGet(void); ++#define Counter2Micros(counts) (counts) + #else /* ! HAVE_GETHRTIME */ + #define CounterGet() (0) + #define Counter2Micros(counts) (1) +@@ -48,6 +52,9 @@ + #ifdef __linux__ + static const char *system_dir = "/usr/java"; + static const char *user_dir = "/java"; ++#elif !defined(MACOSX) && defined(_ALLBSD_SOURCE) ++static const char *system_dir = PACKAGE_PATH "/openjdk7"; ++static const char *user_dir = "/java"; + #else /* Solaris */ + static const char *system_dir = "/usr/jdk"; + static const char *user_dir = "/jdk"; +--- jdk/src/solaris/classes/sun/awt/X11FontManager.java 2013-09-06 11:29:07.000000000 -0700 ++++ jdk/src/solaris/classes/sun/awt/X11FontManager.java 2014-01-18 12:16:33.000000000 -0800 +@@ -213,7 +213,7 @@ + if (fontID != null) { + fileName = (String)fontNameMap.get(fontID); + /* On Linux check for the Lucida Oblique fonts */ +- if (fileName == null && FontUtilities.isLinux && !isOpenJDK()) { ++ if (fileName == null && (FontUtilities.isLinux || FontUtilities.isBSD) && !isOpenJDK()) { + if (oblmap == null) { + initObliqueLucidaFontMap(); + } +@@ -712,7 +712,7 @@ + if (fontConfigDirs == null) { + return; + } +- if (FontUtilities.isLinux) { ++ if (FontUtilities.isLinux || FontUtilities.isBSD) { + fontConfigDirs.add(jreLibDirName+File.separator+"oblique-fonts"); + } + fontdirs = (String[])fontConfigDirs.toArray(new String[0]); +@@ -740,7 +740,7 @@ + */ + FontConfiguration mFontConfig = new MFontConfiguration(this); + if (FontUtilities.isOpenSolaris || +- (FontUtilities.isLinux && ++ ((FontUtilities.isLinux || FontUtilities.isBSD) && + (!mFontConfig.foundOsSpecificFile() || + !mFontConfig.fontFilesArePresent()) || + (FontUtilities.isSolaris && !mFontConfig.fontFilesArePresent()))) { +--- jdk/src/solaris/classes/sun/net/PortConfig.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/src/solaris/classes/sun/net/PortConfig.java 2014-01-18 12:16:26.000000000 -0800 +@@ -0,0 +1,89 @@ ++/* ++ * 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 @@ -15909,673 +63613,7325 @@ + * questions. + */ + -+package org.xml.sax.helpers; ++package sun.net; + -+import java.io.*; -+import java.security.*; ++import java.security.AccessController; + +/** -+ * This class is duplicated for each JAXP subpackage so keep it in sync. -+ * It is package private and therefore is not exposed as part of the JAXP -+ * API. -+ * -+ * Security related methods that only work on J2SE 1.2 and newer. ++ * Determines the ephemeral port range in use on this system. ++ * If this cannot be determined, then the default settings ++ * of the OS are returned. + */ -+class SecuritySupport { + ++public final class PortConfig { + -+ ClassLoader getContextClassLoader() throws SecurityException{ -+ return (ClassLoader) -+ AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ ClassLoader cl = null; -+ //try { -+ cl = Thread.currentThread().getContextClassLoader(); -+ //} catch (SecurityException ex) { } ++ private static int defaultUpper, defaultLower; ++ private final static int upper, lower; + -+ if (cl == null) -+ cl = ClassLoader.getSystemClassLoader(); ++ private PortConfig() {} + -+ return cl; -+ } -+ }); -+ } -+ -+ String getSystemProperty(final String propName) { -+ return (String) -+ AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return System.getProperty(propName); ++ static { ++ AccessController.doPrivileged( ++ new java.security.PrivilegedAction<Void>() { ++ public Void run() { ++ System.loadLibrary("net"); ++ String os = System.getProperty("os.name"); ++ if (os.startsWith("Linux")) { ++ defaultLower = 32768; ++ defaultUpper = 61000; ++ } else if (os.startsWith("SunOS")) { ++ defaultLower = 32768; ++ defaultUpper = 65535; ++ } else if (os.contains("OS X")) { ++ defaultLower = 49152; ++ defaultUpper = 65535; ++ } else { ++ throw new InternalError( ++ "sun.net.PortConfig: unknown OS"); ++ } ++ return null; + } + }); -+ } + -+ FileInputStream getFileInputStream(final File file) -+ throws FileNotFoundException -+ { -+ try { -+ return (FileInputStream) -+ AccessController.doPrivileged(new PrivilegedExceptionAction() { -+ public Object run() throws FileNotFoundException { -+ return new FileInputStream(file); -+ } -+ }); -+ } catch (PrivilegedActionException e) { -+ throw (FileNotFoundException)e.getException(); ++ int v = getLower0(); ++ if (v == -1) { ++ v = defaultLower; + } -+ } ++ lower = v; + -+ InputStream getResourceAsStream(final ClassLoader cl, -+ final String name) -+ { -+ return (InputStream) -+ AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ InputStream ris; -+ if (cl == null) { -+ ris = Object.class.getResourceAsStream(name); -+ } else { -+ ris = cl.getResourceAsStream(name); -+ } -+ return ris; -+ } -+ }); ++ v = getUpper0(); ++ if (v == -1) { ++ v = defaultUpper; ++ } ++ upper = v; + } + -+ boolean doesFileExist(final File f) { -+ return ((Boolean) -+ AccessController.doPrivileged(new PrivilegedAction() { -+ public Object run() { -+ return new Boolean(f.exists()); -+ } -+ })).booleanValue(); ++ static native int getLower0(); ++ static native int getUpper0(); ++ ++ public static int getLower() { ++ return lower; + } + ++ public static int getUpper() { ++ return upper; ++ } +} ---- jaxp/src/org/xml/sax/helpers/XMLReaderFactory.java 2012-08-10 09:39:17.000000000 -0700 -+++ jaxp/src/org/xml/sax/helpers/XMLReaderFactory.java 2013-04-28 16:29:21.000000000 -0700 -@@ -34,8 +34,6 @@ - import java.io.BufferedReader; - import java.io.InputStream; - import java.io.InputStreamReader; --import java.security.AccessController; --import java.security.PrivilegedAction; - import org.xml.sax.XMLReader; - import org.xml.sax.SAXException; +--- jdk/src/solaris/classes/sun/nio/ch/DevPollArrayWrapper.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/nio/ch/DevPollArrayWrapper.java 2013-12-01 11:14:32.000000000 -0800 +@@ -26,9 +26,11 @@ + package sun.nio.ch; -@@ -85,8 +83,8 @@ - } + import java.io.IOException; ++import java.security.AccessController; + import java.util.BitSet; + import java.util.Map; + import java.util.HashMap; ++import sun.security.action.GetIntegerAction; - private static final String property = "org.xml.sax.driver"; -+ private static SecuritySupport ss = new SecuritySupport(); -- private static String _clsFromJar = null; - private static boolean _jarread = false; - /** - * Attempt to create an XMLReader from system defaults. -@@ -134,43 +132,45 @@ - throws SAXException - { - String className = null; -- ClassLoader loader = NewInstance.getClassLoader (); -+ ClassLoader cl = ss.getContextClassLoader(); + /** +@@ -78,10 +80,11 @@ + static final int NUM_POLLFDS = Math.min(OPEN_MAX-1, 8192); - // 1. try the JVM-instance-wide system property -- try { className = System.getProperty (property); } -- catch (RuntimeException e) { /* normally fails for applets */ } -+ try { -+ className = ss.getSystemProperty(property); -+ } -+ catch (RuntimeException e) { /* continue searching */ } + // Initial size of arrays for fd registration changes +- private final int INITIAL_PENDING_UPDATE_SIZE = 64; ++ private static final int INITIAL_PENDING_UPDATE_SIZE = 64; - // 2. if that fails, try META-INF/services/ - if (className == null) { - if (!_jarread) { -- final ClassLoader loader1 = loader; - _jarread = true; -- _clsFromJar = (String) -- AccessController.doPrivileged(new PrivilegedAction() { -- public Object run() { -- String clsName = null; -- try { -- String service = "META-INF/services/" + property; -- InputStream in; -- BufferedReader reader; -- if (loader1 == null) -- in = ClassLoader.getSystemResourceAsStream (service); -- else -- in = loader1.getResourceAsStream (service); -- -- if (in != null) { -- reader = new BufferedReader ( -- new InputStreamReader (in, "UTF8")); -- clsName = reader.readLine (); -- in.close (); -- } -- } catch (Exception e) { -+ String service = "META-INF/services/" + property; -+ InputStream in; -+ BufferedReader reader; -+ -+ try { -+ if (cl != null) { -+ in = ss.getResourceAsStream(cl, service); -+ -+ // If no provider found then try the current ClassLoader -+ if (in == null) { -+ cl = null; -+ in = ss.getResourceAsStream(cl, service); - } -- return clsName; -+ } else { -+ // No Context ClassLoader, try the current ClassLoader -+ in = ss.getResourceAsStream(cl, service); -+ } + // maximum size of updatesLow +- private final int MAX_UPDATE_ARRAY_SIZE = Math.min(OPEN_MAX, 64*1024); ++ private static final int MAX_UPDATE_ARRAY_SIZE = AccessController.doPrivileged( ++ new GetIntegerAction("sun.nio.ch.maxUpdateArraySize", Math.min(OPEN_MAX, 64*1024))); + + // The pollfd array for results from devpoll driver + private final AllocatedNativeObject pollArray; +--- jdk/src/solaris/classes/sun/nio/ch/EPollArrayWrapper.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/nio/ch/EPollArrayWrapper.java 2013-12-01 11:14:32.000000000 -0800 +@@ -26,9 +26,11 @@ + package sun.nio.ch; + + import java.io.IOException; ++import java.security.AccessController; + import java.util.BitSet; + import java.util.HashMap; + import java.util.Map; ++import sun.security.action.GetIntegerAction; + + /** + * Manipulates a native array of epoll_event structs on Linux: +@@ -78,8 +80,8 @@ + private static final int INITIAL_PENDING_UPDATE_SIZE = 64; + + // maximum size of updatesLow +- private static final int MAX_UPDATE_ARRAY_SIZE = Math.min(OPEN_MAX, 64*1024); +- ++ private static final int MAX_UPDATE_ARRAY_SIZE = AccessController.doPrivileged( ++ new GetIntegerAction("sun.nio.ch.maxUpdateArraySize", Math.min(OPEN_MAX, 64*1024))); + + // The fd of the epoll driver + private final int epfd; +@@ -164,6 +166,16 @@ + } + + /** ++ * Returns {@code true} if updates for the given key (file ++ * descriptor) are killed. ++ */ ++ private boolean isEventsHighKilled(Integer key) { ++ assert key >= MAX_UPDATE_ARRAY_SIZE; ++ Byte value = eventsHigh.get(key); ++ return (value != null && value == KILLED); ++ } + -+ if (in != null) { -+ reader = new BufferedReader ( -+ new InputStreamReader (in, "UTF8")); -+ className = reader.readLine (); -+ in.close (); - } -- }); -+ } catch (Exception e) { -+ } ++ /** + * Sets the pending update events for the given file descriptor. This + * method has no effect if the update events is already set to KILLED, + * unless {@code force} is {@code true}. +@@ -175,7 +187,7 @@ + } + } else { + Integer key = Integer.valueOf(fd); +- if ((eventsHigh.get(key) != KILLED) || force) { ++ if (!isEventsHighKilled(key) || force) { + eventsHigh.put(key, Byte.valueOf(events)); } -- className = _clsFromJar; } +--- jdk/src/solaris/classes/sun/nio/ch/EventPortWrapper.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/nio/ch/EventPortWrapper.java 2013-12-01 11:14:32.000000000 -0800 +@@ -25,9 +25,14 @@ - // 3. Distro-specific fallback -@@ -187,7 +187,7 @@ + package sun.nio.ch; - // do we know the XMLReader implementation class yet? - if (className != null) -- return loadClass (loader, className); -+ return loadClass (cl, className); +-import sun.misc.Unsafe; + import java.io.IOException; +-import java.util.*; ++import java.security.AccessController; ++import java.util.BitSet; ++import java.util.HashMap; ++import java.util.Map; ++ ++import sun.misc.Unsafe; ++import sun.security.action.GetIntegerAction; + import static sun.nio.ch.SolarisEventPort.*; - // 4. panic -- adapt any SAX1 parser - try { -@@ -217,7 +217,7 @@ - public static XMLReader createXMLReader (String className) - throws SAXException - { -- return loadClass (NewInstance.getClassLoader (), className); -+ return loadClass (ss.getContextClassLoader(), className); + /** +@@ -49,7 +54,8 @@ + private final int INITIAL_PENDING_UPDATE_SIZE = 256; + + // maximum size of updateArray +- private final int MAX_UPDATE_ARRAY_SIZE = Math.min(OPEN_MAX, 64*1024); ++ private static final int MAX_UPDATE_ARRAY_SIZE = AccessController.doPrivileged( ++ new GetIntegerAction("sun.nio.ch.maxUpdateArraySize", Math.min(OPEN_MAX, 64*1024))); + + // special update status to indicate that it should be ignored + private static final byte IGNORE = -1; +--- jdk/src/solaris/classes/sun/nio/ch/SctpChannelImpl.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/nio/ch/SctpChannelImpl.java 2014-01-18 12:16:27.000000000 -0800 +@@ -180,6 +180,10 @@ + SctpNet.throwAlreadyBoundException(); + InetSocketAddress isa = (local == null) ? + new InetSocketAddress(0) : Net.checkAddress(local); ++ SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkListen(isa.getPort()); ++ } + Net.bind(fd, isa.getAddress(), isa.getPort()); + InetSocketAddress boundIsa = Net.localAddress(fd); + port = boundIsa.getPort(); +--- jdk/src/solaris/classes/sun/nio/fs/DefaultFileSystemProvider.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/nio/fs/DefaultFileSystemProvider.java 2014-01-18 12:16:33.000000000 -0800 +@@ -70,6 +70,8 @@ + return createProvider("sun.nio.fs.LinuxFileSystemProvider"); + if (osname.equals("Darwin") || osname.contains("OS X")) + return createProvider("sun.nio.fs.MacOSXFileSystemProvider"); ++ if (osname.endsWith("BSD")) ++ return createProvider("sun.nio.fs.BsdFileSystemProvider"); + throw new AssertionError("Platform not recognized"); + } + } +--- jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java 2013-09-06 11:29:08.000000000 -0700 ++++ jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java 2014-01-18 12:16:33.000000000 -0800 +@@ -129,6 +129,7 @@ + + static boolean isBSD() { + return (osname.equals("Linux") || ++ osname.endsWith("BSD") || + osname.contains("OS X")); } - private static XMLReader loadClass (ClassLoader loader, String className) ---- jaxws/.hgtags 2012-08-10 09:46:32.000000000 -0700 -+++ jaxws/.hgtags 2013-06-22 09:41:40.000000000 -0700 -@@ -123,6 +123,7 @@ - 05469dd4c3662c454f8a019e492543add60795cc jdk7-b146 - c01bfd68d0528bc88348813c4d75d7f5c62bc4e2 jdk7u1-b01 - d13b1f877bb5ed8dceb2f7ec10365d1db5f70b2d jdk7-b147 -+ce6378e3c791c56b98cbf161804a07d0225b41c0 7u0 - 4c24f7019ce939a452154a83151294ad7da66a9d jdk7u1-b02 - 272778f529d11081f548f37fcd6a7aec0b11a8dd jdk7u1-b03 - 48b06a6e6f46e5bcd610f4bed57cd5067cf31f8c jdk7u1-b04 -@@ -197,5 +198,81 @@ - 55dcda93e8c8b5c3170def946de35dd0407eab59 jdk7u6-b21 - 0fec2efe2452aed9736da39add4c7f71be561838 jdk7u6-b22 - afb6d773328fa76cea65dc024a448cd931d111f2 jdk7u6-b23 --55dcda93e8c8b5c3170def946de35dd0407eab59 jdk7u8-b01 --c025e953f655b375f27f8f94493ceeb43ef1d979 jdk7u8-b02 -+b8b85e62d2c5347df8cf2e825e51e3de178508ea jdk7u6-b24 -+fb03d08f73e98f0dd67cb81632eb9b685de49b7e jdk7u6-b30 -+739ffa9dffad4cc2febe66ca1c2d86496e80741a jdk7u6-b31 -+739ffa9dffad4cc2febe66ca1c2d86496e80741a jdk7u7-b10 -+e9a5a78329d0518efafd9f6f6149f359a7db4e2e jdk7u7-b30 -+ed6262e7bb0db4cd116c31f3c88cbd7c0288de40 jdk7u7-b11 -+538c248de3ef0fcb34c28295c1eab61269708137 jdk7u7-b31 -+dc2e6882056c2d400d4cf3c78d67da8e20fc37cc jdk7u7-b01 -+45cf55bc1732e8495425dceb385740c6852c0fc8 jdk7u7-b02 -+0289894a64a628133bb63f1dc48b45593f96a14d jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+dc2e6882056c2d400d4cf3c78d67da8e20fc37cc jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+45cf55bc1732e8495425dceb385740c6852c0fc8 jdk7u9-b02 -+66a2e01550a9e84e907a7f7b96e64ee90a4ec0e4 jdk7u9-b04 -+f3e42e044584b1b21de29eef1b82974d273c77dc jdk7u9-b05 -+5e5703e9d18d66d7388057040d3c36e978488dc5 jdk7u9-b31 -+987bb65e7b73ad94fb0edecce80d84ee5f8bda6e jdk7u9-b32 -+dd8e4098681aa581d0398ad7d2d1e2547517c7e5 jdk7u10-b10 -+1784290b63bcf021334b0accdb3868fdc4ca854e jdk7u10-b11 -+fde9a060a04d9f9b54f36d645e91ec9a2b40cb81 jdk7u10-b12 -+d7bf349cf0c60bc41a33c1f70969f11668deddb3 jdk7u10-b13 -+17ec7a59002695c35dbd83a120b705e21d982d68 jdk7u10-b14 -+75ecadd1f8fc5a218b1ed71b3c3df776d76e048e jdk7u10-b15 -+ed609545e38c2e499437292c1541e4d1c2b8b992 jdk7u10-b16 -+e63292c59ed8481864302cc3f53b498cbdea3470 jdk7u10-b17 -+6a372e9b4ae978cdaf0b95277db31827794e2c1f jdk7u10-b18 -+df3e4c85e26c651d098cddd546916a625fd777cd jdk7u10-b30 -+29d469fac9106ce7c2f8656ee125e792908aca98 jdk7u10-b31 -+846f4e01218ffe37b2dbceaf89c222c0aea43180 jdk7u11-b20 -+1f06394ca182cb392e472ba7b63b28a40725629d jdk7u11-b21 -+ac21be8046e06e5460d041b7e4f8140d635887fb jdk7u11-b32 -+41abf18b24e9483de775bf938f8d5e673c08209d jdk7u11-b33 -+ed609545e38c2e499437292c1541e4d1c2b8b992 jdk7u11-b03 -+4e1dd1192649575e80d893bcab411077b77c9a0c jdk7u11-b04 -+0e1eefefc2d0c8f0d0cd9e7fb7d78ae026aa8ba0 jdk7u11-b05 -+7365410bb417d6a40996920bb4dbb44bdb1225a9 jdk7u11-b06 -+66786f9d73c479ce70a306e14dd7f653f5b3a4f9 jdk7u11-b07 -+a3cadd00459f1146fdcfa8702bbb29efdcd58960 jdk7u11-b08 -+c7ea4220ad61b125bd7c4b7f112dd9ff18e9be33 jdk7u13-b09 -+1d2eb88cadaf29bf577a71c69b04afe2468d8ff6 jdk7u13-b10 -+21dbdd72a46a29c148ea3519268447c467540637 jdk7u13-b30 -+1d2eb88cadaf29bf577a71c69b04afe2468d8ff6 jdk7u13-b20 -+abcaebcead605f89cd0919add20d8ac16637ddc2 jdk7u15-b01 -+62f9e7f5eb644fedd93dd93bd36bcf817a8d9c8a jdk7u15-b02 -+ed9f270009f2b8606e9e0f58aeedbed36e13963e jdk7u15-b30 -+297240e69d8ffcf85fc68b12af6523f7ea16397e jdk7u15-b31 -+4fda3b01c75ecd80dba505f6152c21f3e1db5cce jdk7u15-b33 -+eaf9b299067069826a5acdc88e15402e5a22cb5d jdk7u15-b03 -+c7ea4220ad61b125bd7c4b7f112dd9ff18e9be33 jdk7u15-b32 -+b8496d1dc0058341da1790bc2e7d2dbba6d4f90e jdk7u17-b01 -+defde3ef03605b1660a246ea85d2e810e3fe4f6e jdk7u17-b02 -+ae4272d61bc738e2d9265a68aefdc20ec648f22c jdk7u17-b30 -+52c4fbd4f58f336dfdf4f680b7e7d7361ec0c3f8 jdk7u17-b31 -+52810f8d2dc09ef2b5e6089435f7050c9f7def11 jdk7u17-b32 -+e07c518282bad3b315d8064da5fad222a5e3f7ed jdk7u21-b01 -+0c1365d2fefb652aea34775749d68774c171ba1a jdk7u21-b02 -+017171d6bc217f26e230503dd38bcf4473f339d2 jdk7u21-b03 -+68e8364feffcc98b57d59675994dcb12e170ddf0 jdk7u21-b04 -+8c43fd5d8cfef4d97bddc4fee7747f23a3c2bffa jdk7u21-b05 -+dab51e98ee7d0f3a30b9e18b0d3591b944346868 jdk7u21-b06 -+4a9533495068359d574da1060bc5a8fa6946cbc6 jdk7u21-b07 -+ab11cef1dfaaec32281dc3d24a366f6691b51b7a jdk7u21-b08 -+53c87e8a2ac494b57f6220bd7e25c7380aa7f418 jdk7u21-b09 -+29c03ced9215a0bb63a4527dc5858b486cc4099d jdk7u21-b10 -+fe6f5b57b9e67a7c6f52a5f926ac17e5c337d4a4 jdk7u21-b11 -+12183763c6205c5cfe27924ccc4ca5480106c3b4 jdk7u21-b30 -+d4eba65d0f776b77ef137022cd7bf49dc3b88a3e jdk7u21-b12 -+238b59ffddce3b1d7d19114006ae3be0e72b5eed jdk7u25-b01 -+8797b25cbeb3005336483063cef2377849bc2088 jdk7u25-b02 -+4635a58db6b028f78a30c972ac47f9c5577bedfd jdk7u25-b03 -+57d4548795c39e19099fc0a760d7887f83b1564f jdk7u25-b04 -+35882693ee358e3a8b92d632dafa98e05fe72437 jdk7u25-b05 -+c141079e609653ec700d2e71f16be4a5859e9a42 jdk7u25-b06 -+f8e4e84e2dc4dcdaa360a7e9a4d2e0268558d84d jdk7u25-b07 -+7ff0c910fb96680d0570b3d29492e15ffb5b279b jdk7u25-b08 -+0cd0d4e7331f7fc9f9ee77f2275113571bcf67cf jdk7u25-b09 -+105cdfd4f40837917d0065e3e58052d2854df7da jdk7u25-b10 ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2009, 2010, 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 -@@ -27,7 +27,6 @@ +--- jdk/src/solaris/doc/sun/man/man1/ja/jarsigner.1 2013-09-06 11:29:09.000000000 -0700 ++++ jdk/src/solaris/doc/sun/man/man1/ja/jarsigner.1 2014-01-18 12:16:27.000000000 -0800 +@@ -1,1673 +1,1403 @@ +-." Copyright (c) 1998, 2011, 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. +-." +-.TH jarsigner 1 "05 Jul 2012" +- +-.LP +-.SH "̾Á°" +-jarsigner \- JAR½ð̾¤ª¤è¤Ó¸¡¾Ú¥Ä¡¼¥ë +-.LP +-.LP +-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Î½ð̾¤òÀ¸À®¤·¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ +-.LP ++'\" t ++.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. ++.\" Title: jarsigner ++.\" Language: English ++.\" Date: 2013ǯ8·î6Æü ++.\" SectDesc: ¥»¥¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë ++.\" Software: JDK 7 ++.\" Arch: ÈÆÍÑ ++.\" ++.\" 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. ++.\" ++.pl 99999 ++.TH "jarsigner" "1" "2013ǯ8·î6Æü" "JDK 7" "¥»¥¥å¥ê¥Æ¥£¡¦¥Ä¡¼¥ë" ++.\" ----------------------------------------------------------------- ++.\" * Define some portability stuff ++.\" ----------------------------------------------------------------- ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.\" http://bugs.debian.org/507673 ++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ----------------------------------------------------------------- ++.\" * set default formatting ++.\" ----------------------------------------------------------------- ++.\" disable hyphenation ++.nh ++.\" disable justification (adjust text to left margin only) ++.ad l ++.\" ----------------------------------------------------------------- ++.\" * MAIN CONTENT STARTS HERE * ++.\" ----------------------------------------------------------------- ++.SH "NAME" ++jarsigner \- Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ½ð̾¤ª¤è¤Ó¸¡¾Ú¤ò¹Ô¤¤¤Þ¤¹¡£ + .SH "·Á¼°" +-.LP ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +-\fP\f3jarsigner\fP [ options ] jar\-file alias +-.fl +-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...] +-.fl +-.fi +- +-.LP +-.LP +-jarsigner¤Î\-verify¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢ÊÌ̾¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢jarsigner¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\-keystore¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ +-.LP ++\fIjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\fIjarsigner\fR \fI\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fIoptions\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥ª¥×¥·¥ç¥ó¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verify ++.RS 4 ++\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë̾¤Î¸å¤Ë0¸Ä°Ê¾å¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ½ð̾ÉÕ¤¥¨¥ó¥Æ¥£¥Æ¥£¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¡¢¤¤¤º¤ì¤«¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤Ë°ìÃפ¹¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¸¡½Ð¤µ¤ì¤ë¤È¡¢¥á¥Ã¥»¡¼¥¸¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£½ð̾¼Ô¥¨¥é¡¼¡×¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\fIjar\-file\fR ++.RS 4 ++½ð̾¤µ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¡£ ++.RE ++.PP ++\fIalias\fR ++.RS 4 ++ÊÌ̾¤Ï¡¢\fI\-keystore\fR¤Ç»ØÄꤵ¤ì¤¿¥¡¼¥¹¥È¥¢Æâ¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢Æâ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ++.RE + .SH "ÀâÌÀ" +-.LP +-.LP +-\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤Ç»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 3 +-1. +-Java ARchive(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ +-.TP 3 +-2. +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ¤ò¸¡¾Ú¤¹¤ëÌÜŪ +-.RE +- +-.LP +-.LP +-JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ¤Þ¤¹¡£³«È¯¼Ô¤Ï¡¢jar(1)¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f3jar\fP¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\f3jarsigner\fP¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢META\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£) +-.LP +-.LP +-\f2¥Ç¥¸¥¿¥ë½ð̾\fP¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(¡Ö½ð̾¡×¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¤È¡¢¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤È¤Ë´ð¤Å¤¤¤Æ·×»»¤µ¤ì¤ë¥Ó¥Ã¥ÈÎó¤Ç¤¹¡£¼ê½ñ¤¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ÈÂÐ¤Ë¤Ê¤ë¸ø³«¸°¤ò»ÈÍѤ·¤Æ·×»»¤ò¹Ô¤¦¤³¤È¤Ç¡¢¥Ç¥¸¥¿¥ë½ð̾¤¬ËÜʪ¤«¤É¤¦¤«¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£ +-.TP 2 +-o +-¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤½¤Î½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Î¤ß¤òÂоݤȤ¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤·¤Æµ¡Ç½¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ +-.TP 2 +-o +-½ð̾ÉÕ¤¤Î¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤Î½ð̾¤Ë¤è¤Ã¤Æ¥Ç¡¼¥¿¤¬ËÜʪ¤Ç¤Ï¤Ê¤¤¤³¤È¤¬¸¡¾Ú¤µ¤ì¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°¤ÈÈëÌ©¸°¤Î¥Ú¥¢¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¾ÚÌÀ½ñ¤âɬÍפǤ¹¡£\f2¾ÚÌÀ½ñ\fP¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤¬È¯¹Ô¤·¤¿¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤¤Îʸ½ñ¤Ç¡¢Ê̤ʥ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤǤ¢¤ë¤³¤È¤ò¾ÚÌÀ¤·¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¡¢\f2¥¡¼¥¹¥È¥¢\fP¤Ë´Þ¤Þ¤ì¤ë¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¤¿¤á¤ÎX.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬¼ý¤á¤é¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£¥¡¼¥¹¥È¥¢¤ÎºîÀ®¤È´ÉÍý¤Ë¤Ï¡¢keytool(1)¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ËÂФ¹¤ë¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤Ê¤É¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£\f3jarsigner\fP¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ëÆâ(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Ë¤¢¤ë¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¤½¤Î¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤¹¤ë¤Î¤Ç¡¢¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤ÏJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¾ÚÌÀ½ñ¤Î͸ú´ü´ÖÃæ¤Ë½ð̾¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¸½»þÅÀ¤Ç¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤Ç¤¤ë¤Î¤Ï¡¢SDK¤Îjar(1)¥Ä¡¼¥ë¤ÇºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Î¤ß¤Ç¤¹¡£(JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤ÏMETA\-INF/MANIFEST.MF¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤¬ZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ë¼«Æ°Åª¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£) +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢\f3jarsigner\fP¤ÏJAR(¤Þ¤¿¤ÏZIP)¥Õ¥¡¥¤¥ë¤Ë\f2½ð̾¤·¤Þ¤¹\fP¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò\f2¸¡¾Ú\fP¤¹¤ë¾ì¹ç¤Ï¡¢\f2\-verify\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤ÎÊÌ̾ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ï¡¢°ì°Õ¤Î\f2ÊÌ̾\fP¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤ÎÎã¤Ï¡¢working¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾duke¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢MyJARFile.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢MyJARFile.jar¤Ï½ð̾ÉÕ¤¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤È°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤Î¾ì½ê +-.LP +-.LP +-\f3jarsigner\fP¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\f2user.home\fP¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\f2.keystore\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\f2user.home\fP¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¥æ¡¼¥¶¡¼¤Îhome¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-keystore\fP¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\f2NONE\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\f2KeyStore.load\fP¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\f2NONE\fP¤Ï¡¢\f2KeyStore\fP¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¾å¤Ë¸ºß¤·¤Æ¤¤¤ë¾ì¹ç¤Ê¤É¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ +-.LP +-.LP +-\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\f2KeyStore\fP¥¯¥é¥¹¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¸ÇÄê¼ÂÁõ¤È¤·¤Æ¤Ï¡¢¤½¤ì¤¾¤ì¤¬ÆÃÄê¤Î\f2¥¿¥¤¥×\fP¤Î¥¡¼¥¹¥È¥¢¤òÂоݤȤ¹¤ëÊ£¿ô¤Î°Û¤Ê¤ë¼ÂÁõ¤¬Â¸ºß²Äǽ¤Ç¤¹¡£ +-.LP +-.LP +-¸½ºß¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤â¤Î¤È¤·¤Æ¡¢\f3keytool\fP¤È\f3jarsigner\fP¤Î2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë¤È¡¢\f3Policy Tool\fP¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\f2KeyStore\fP¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢Java 2 SDK¥æ¡¼¥¶¡¼¤ÏKeyStore¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤âºîÀ®¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Ë¤Ï¡¢Sun Microsystems¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢JKS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤òÍøÍѤ¹¤ë¤â¤Î¤Ç¡¢¥¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢¸Ä¡¹¤ÎÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ¤â(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¡¢¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢\f2KeyStore\fP¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬¡Ö¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡×(SPI)¤Ë´ð¤Å¤¤¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Âбþ¤¹¤ë\f2KeystoreSpi\fPÃê¾Ý¥¯¥é¥¹(¤³¤ì¤â\f2java.security\fP¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹)¤¬¤¢¤ê¡¢¤³¤Î¥¯¥é¥¹¤¬¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ëService Provider Interface¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£(¤³¤³¤Ç¡¢¡Ö¥×¥í¥Ð¥¤¥À¡×¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£)¤·¤¿¤¬¤Ã¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢ +-.na +-\f2Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ãÍÑ¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¡Ö¥×¥í¥Ð¥¤¥À¡×¤ò¼ÂÁõ¤·¡¢KeystoreSpi¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\f2KeyStore\fP¥¯¥é¥¹¤¬Ä󶡤¹¤ëgetInstance¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë\f2¥¿¥¤¥×\fP¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£ +-.LP +-.LP +-\f3keytool\fP¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£(¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÅϤµ¤ì¤¿¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤òFileInputStream¤ËÊÑ´¹¤·¤Æ¡¢FileInputStream¤«¤é¥¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£)°ìÊý¡¢\f3jarsigner\fP¥Ä¡¼¥ë¤È\f3policytool\fP¥Ä¡¼¥ë¤Ï¡¢URL¤Ç»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥¡¼¥¹¥È¥¢¤òÆÉ¤ß¹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-\f3jarsigner\fP¤È\f3keytool\fP¤Î¾ì¹ç¡¢\f2\-storetype\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\f3Policy Tool\fP¤Î¾ì¹ç¤Ï¡¢¡ÖEdit¡×¥á¥Ë¥å¡¼¤Î¡ÖChange Keystore¡×¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£ +-.LP +-.LP +-¥æ¡¼¥¶¡¼¤¬¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢Ã±½ã¤Ë¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\f2java.security\fP¤È¸Æ¤Ð¤ì¡¢SDK¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\f2java.home\fP/lib/securityÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢\f2java.home\fP¤Ï¼Â¹Ô»þ´Ä¶¤Î¥Ç¥£¥ì¥¯¥È¥ê(SDK¤Î\f2jre\fP¥Ç¥£¥ì¥¯¥È¥ê¤Þ¤¿¤ÏJava 2 Runtime Environment¤Î¥È¥Ã¥×¥ì¥Ù¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê)¤Ç¤¹¡£ +-.LP +-.LP +-³Æ¥Ä¡¼¥ë¤Ï¡¢\f2keystore.type\fP¤ÎÃͤò¼èÆÀ¤·¡¢¤³¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¸½ºß¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.LP +-.LP +-\f2KeyStore\fP¥¯¥é¥¹¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ëstatic¥á¥½¥Ã¥É\f2getDefaultType\fP¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥¢¥×¥ì¥Ã¥È¤«¤é\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤ÎÃͤò¼èÆÀ¤Ç¤¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(\f2keystore.type\fP¥×¥í¥Ñ¥Æ¥£¤Ç»ØÄꤵ¤ì¤¿¥¿¥¤¥×)¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ïjks(Sun¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- keystore.type=jks +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Ãí°Õ: ¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢JKS¤Èjks¤ÏƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.LP +-.LP +-³Æ¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢pkcs12¤È¸Æ¤Ð¤ì¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¾å¤Î¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- keystore.type=pkcs12 +-.fl +-\fP +-.fi +- +-.LP +-.LP +-PKCS#11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Î¾ÜºÙ¤Ï¡¢Java PKCS#11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Ë¤¢¤ë +-.na +-\f2KeyTool¤ÈJarSigner\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à +-.LP +-.LP +-\f3jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¼¡¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿DSA(¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à) +-.TP 2 +-o +-SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à +-.TP 2 +-o +-SHA256¤ÈECDSA(Âʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à)¤ò»ÈÍѤ·¤¿EC(Âʱ߶ÊÀþ)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à +-.RE +- +-.LP +-.LP +-¶ñÂÎŪ¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA1withDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\f3jarsigner\fP¤ÏSHA256withECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Þ¤¹¡£ +-.LP +-.LP +-¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\f2\-sigalg\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤¤Þ¤¹¡£ +-.LP +-.SS +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë +-.LP +-.LP +-\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤¿¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-.SF³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë +-.TP 2 +-o +-.DSA¡¢.RSA¤Þ¤¿¤Ï.EC¤ò³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë +-.RE +- +-.LP +-.LP +-¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\f2\-sigFile\fP¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¤È¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +-\-sigFile MKSIGN +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤Ï¤½¤ì¤¾¤ìMKSIGN.SF¤ÈMKSIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£»ÈÍѤǤ¤ëʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ(_)¡¢¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£ +-.LP +-\f3½ð̾(.SF)¥Õ¥¡¥¤¥ë\fP +-.LP +-.LP +-½ð̾¥Õ¥¡¥¤¥ë(.SF¥Õ¥¡¥¤¥ë)¤Ï¡¢\f3jarsigner\fP¤Ç½ð̾¤òÉÕ¤±¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëƱÍÍ¡¢.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢¼¡¤Î3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-¥Õ¥¡¥¤¥ë̾ +-.TP 2 +-o +-»ÈÍѤµ¤ì¤Æ¤¤¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á° +-.TP 2 +-o +-SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ +-.RE +- +-.LP +-.LP +-¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÊý¡¢.SF¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤³¤ì¤é3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ÇÀâÌÀ¤¹¤ë¤è¤¦¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤Î¸ºß¤Ë¤è¤Ã¤Æ¸¡¾Ú¤ÎºÇŬ²½¤¬²Äǽ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ +-.LP +-\f3½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fP +-.LP +-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤âÉ乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ.DSA¡¢.RSA¡¢.EC¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.SS +-½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥× +-.LP +-.LP +-\f2jarsigner\fP¥Ä¡¼¥ë¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤·¤ÆÊݸ¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢\f2jarsigner\fP¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-\f2\-tsa url\fP +-.TP 2 +-o +-\f2\-tsacert alias\fP +-.TP 2 +-o +-\f2\-altsigner class\fP +-.TP 2 +-o +-\f2\-altsignerpath classpathlist\fP +-.RE +- +-.LP +-.LP +-¤³¤ì¤é¤Î³Æ¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.LP +-.SS +-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¸å¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ +-.LP +-.RS 3 +-.TP 3 +-1. +-.SF¥Õ¥¡¥¤¥ë¼«ÂΤνð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ +-.br +-.br +-¤³¤Î¼ê½ç¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(.DSA)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë½ð̾¤¬¡¢¼ÂºÝ¤Ë¡¢¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤â¤Î¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£.DSA¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¸ø³«¸°¤Î¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢¤³¤Î¼ê½ç¤Ç¤Ï¡¢ÌÜŪ¤Î½ð̾¤¬¡¢Âбþ¤¹¤ë½ð̾(.SF)¥Õ¥¡¥¤¥ëÆâ¤Î͸ú¤Ê½ð̾¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¡¢.SF¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-2. +-.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Î¥À¥¤¥¸¥§¥¹¥È¤ò¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£ +-.br +-.br +-.SF¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¼ÂºÝ¤Ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò¸¡¾Ú¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¼ê½ç¤Ë¸¡¾Ú¤¬¿Ê¤ß¤Þ¤¹¡£ +-.br +-.br +-¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤¿¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹(½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È)¡£ +-.br ++.PP ++\fIjarsigner\fR¥Ä¡¼¥ë¤Ë¤Ï¡¢¼¡¤Î2¤Ä¤ÎÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++Java¥¢¡¼¥«¥¤¥Ö(JAR)¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëÌÜŪ¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ÈÀ°¹çÀ¤ò¸¡¾Ú¤¹¤ëÌÜŪ¡£ ++.RE ++.PP ++JARµ¡Ç½¤ò»ÈÍѤ¹¤ë¤È¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¡¢¥¤¥á¡¼¥¸¡¢¥µ¥¦¥ó¥É¤ª¤è¤Ó¤½¤Î¾¤Î¥Ç¥¸¥¿¥ë¡¦¥Ç¡¼¥¿¤òñ°ì¤Î¥Õ¥¡¥¤¥ë¤Ë¥Ñ¥Ã¥±¡¼¥¸²½¤Ç¤¤ë¤Î¤Ç¡¢¥Õ¥¡¥¤¥ë¤ò¿×®¤«¤ÄÍÆ°×¤ËÇÛÉۤǤ¤Þ¤¹¡£\fIjar\fR¤È¤¤¤¦Ì¾Á°¤Î¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¡¢³«È¯¼Ô¤ÏJAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£(µ»½ÑŪ¤Ê´ÑÅÀ¤«¤é¸À¤¨¤Ð¡¢¤¹¤Ù¤Æ¤ÎZIP¥Õ¥¡¥¤¥ë¤âJAR¥Õ¥¡¥¤¥ë¤È¤ß¤Ê¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤À¤·¡¢jar¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï\fIjarsigner\fR¤Ë¤è¤Ã¤Æ½èÍý¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£) ++.PP ++¥Ç¥¸¥¿¥ë½ð̾¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ç¡¼¥¿(½ð̾¤ÎÂоݤȤʤë¥Ç¡¼¥¿)¡¢¤ª¤è¤Ó¥¨¥ó¥Æ¥£¥Æ¥£(¿Í¡¢²ñ¼Ò¤Ê¤É)¤ÎÈëÌ©¸°¤«¤é·×»»¤µ¤ì¤ë¥Ó¥Ã¥È¤Îʸ»úÎó¤Ç¤¹¡£¼ê½ñ¤¤Î½ð̾ƱÍÍ¡¢¥Ç¥¸¥¿¥ë½ð̾¤Ë¤Ï¿¤¯¤ÎÍøÅÀ¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾¤ÎÀ¸À®¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤ò»ÈÍѤ¹¤ë·×»»¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤¬ËÜʪ¤Ç¤¢¤ë¤³¤È¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++ÈëÌ©¸°¤¬Â¾¿Í¤ËÃΤé¤ì¤Ê¤¤¸Â¤ê¡¢¥Ç¥¸¥¿¥ë½ð̾¤Îµ¶Â¤¤ÏÉÔ²Äǽ¤Ç¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¤³¤ì¤Ï¡¢½ð̾¤¬ÉÕ¤¤¤¿¥Ç¡¼¥¿¤Îµ¡Ç½¤Ç¤¢¤ê¡¢Â¾¤Î¥Ç¡¼¥¿¤Î½ð̾¤È¤Ê¤ë¤è¤¦¤ËÍ×µá¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++½ð̾ÉÕ¤¥Ç¡¼¥¿¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£¥Ç¡¼¥¿¤¬Êѹ¹¤µ¤ì¤¿¾ì¹ç¡¢½ð̾¤Ë¤è¤Ã¤ÆËÜʪ¤Ç¤¢¤ë¤È¸¡¾Ú¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.PP ++¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¥¨¥ó¥Æ¥£¥Æ¥£¤Î½ð̾¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢¤½¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ë´ØÏ¢¤¹¤ë¸ø³«¸°/ÈëÌ©¸°¤Î¥Ú¥¢¤È¡¢¸ø³«¸°¤òǧ¾Ú¤¹¤ë1¤Ä°Ê¾å¤Î¾ÚÌÀ½ñ¤ò»ý¤ÄɬÍפ¬¤¢¤ê¤Þ¤¹¡£¾ÚÌÀ½ñ¤È¤Ï¡¢¤¢¤ë¥¨¥ó¥Æ¥£¥Æ¥£¤«¤é¤Î¥Ç¥¸¥¿¥ë½ð̾ÉÕ¤¤Îʸ½ñ¤Ç¡¢Ê̤Υ¨¥ó¥Æ¥£¥Æ¥£¤Î¸ø³«¸°¤¬ÆÃÄê¤ÎÃͤò»ý¤Ä¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¡¼¥¹¥È¥¢¤«¤é¤Î¸°¤È¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¡¢ÈëÌ©¸°¡¢¤ª¤è¤ÓÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¡¢ÈëÌ©¸°¤Ë´ØÏ¢¤·¤¿X\&.509¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¹¡£\fIkeytool\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢¤òºîÀ®¤ª¤è¤Ó´ÉÍý¤·¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥¨¥ó¥Æ¥£¥Æ¥£¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ½ð̾¤òÀ¸À®¤·¤Þ¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢ÆÃ¤Ë¡¢¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤Î¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢ÆâÉô(½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ëÆâ)¤Î¾ÚÌÀ½ñ¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¥Ç¥¸¥¿¥ë½ð̾¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢½ð̾¾ÚÌÀ½ñ¤Î͸ú´ü´ÖÃæ¤ËJAR¥Õ¥¡¥¤¥ë¤¬½ð̾¤µ¤ì¤¿¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥·¥¹¥Æ¥à¤ä¥Ç¥×¥í¥¤¥ä(Java Plug\-in¤ò´Þ¤à)¤¬¥Á¥§¥Ã¥¯¤Ç¤¤ë¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤à½ð̾¤òÀ¸À®¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢API¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£ ++.PP ++¸½»þÅÀ¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjar\fR¥³¥Þ¥ó¥É¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î¤ß¤Ë½ð̾¤Ç¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤ÏZIP¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢JAR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Æ¤¤¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£\fIMETA\-INF/MANIFEST\&.MF\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËºîÀ®¤µ¤ì¤Þ¤¹¡£ ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Î\fIjarsigner\fR¥³¥Þ¥ó¥É¤Îưºî¤Ç¤Ï¡¢JAR¤Þ¤¿¤ÏZIP¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£\fI\-verify\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¸å¤Ë½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤Î¸¡¾Ú¤â»î¹Ô¤·¤Þ¤¹¡£¸¡¾Ú¥¨¥é¡¼¤Þ¤¿¤Ï¤½¤Î¾¤ÎÌäÂ꤬ȯÀ¸¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê½ÅÂç¤Ê·Ù¹ð¤¬¥¨¥é¡¼¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.SS "¥¡¼¥¹¥È¥¢¤ÎÊÌ̾" ++.PP ++¥¡¼¥¹¥È¥¢¤Î¤¹¤Ù¤Æ¤Î¥¨¥ó¥Æ¥£¥Æ¥£¤Ï¡¢°ì°Õ¤ÎÊÌ̾¤ò»ÈÍѤ·¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®¤ËɬÍפÊÈëÌ©¸°¤ò´Þ¤à¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë´Þ¤Þ¤ì¤ëÊÌ̾\fIduke\fR¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢\fIMyJARFile\&.jar\fR¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢\fIMyJARFile\&.jar\fR¤Ï½ð̾ÉÕ¤¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-storepass <keystore password> ++ \-keypass <private key password> MyJARFile\&.jar duke ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢ÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£Æ±Íͤˡ¢ÈëÌ©¸°¤â¥¡¼¥¹¥È¥¢Æâ¤Ç¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Æ¤¤¤ë¤¿¤á¡¢ÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï»ØÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥È¤¬Êݸ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥¹¥ï¡¼¥É¤ÈƱ¤¸¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.SS "¥¡¼¥¹¥È¥¢¤Î¾ì½ê" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤Ï¡¢»ÈÍѤ¹¤ë¥¡¼¥¹¥È¥¢¤ÎURL¤ò»ØÄꤹ¤ë\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·è¤Þ¤ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Î\fI\&.keystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ëÆâ¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£Oracle Solaris¥·¥¹¥Æ¥à¤Î¾ì¹ç¡¢\fIuser\&.home\fR¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£ ++.PP ++\fI\-keystore\fR¥ª¥×¥·¥ç¥ó¤«¤é¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ï¡¢\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£URL¤È¤·¤Æ\fINONE\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢null¤Î¥¹¥È¥ê¡¼¥à¤¬\fIKeyStore\&.load\fR¥á¥½¥Ã¥É¤ËÅϤµ¤ì¤Þ¤¹¡£\fINONE\fR¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤¬¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤¿¤È¤¨¤Ð¡¢¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¡¦¥Ç¥Ð¥¤¥¹¤ËÃÖ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë»ØÄꤷ¤Þ¤¹¡£ ++.SS "¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ" ++.PP ++\fIjava\&.security package\fR¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë\fIKeyStore\fR¥¯¥é¥¹¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¾ðÊó¤Ø¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó¾ðÊó¤ÎÊѹ¹¤ò¹Ô¤¦¤¿¤á¤Î¡¢ÌÀ³Î¤ËÄêµÁ¤µ¤ì¤¿Â¿¤¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£Ê£¿ô¤Î°Û¤Ê¤ë¸ÇÄê¼ÂÁõ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¡¢³Æ¼ÂÁõ¤ÏÆÃÄê¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤òÂоݤȤ·¤Þ¤¹¡£ ++.PP ++¸½ºß¡¢¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë2¤Ä¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¡¦¥Ä¡¼¥ë(\fIkeytool\fR¤È\fIjarsigner\fR)¡¢¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤È¤¤¤¦Ì¾Á°¤Î1¤Ä¤ÎGUI¥Ù¡¼¥¹¤Î¥Ä¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£\fIKeyStore\fR¥¯¥é¥¹¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¿¤á¡¢JDK¥æ¡¼¥¶¡¼¤Ï¡¢¤½¤ì¤ò»ÈÍѤ¹¤ë¾¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.PP ++Oracle¤¬Ä󶡤¹¤ëÁȹþ¤ß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢KS¤È¤¤¤¦Ì¾Á°¤ÎÆÈ¼«¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×(·Á¼°)¤ò»ÈÍѤ¹¤ë¤â¤Î¤Ç¡¢¥¡¼¥¹¥È¥¢¤ò¥Õ¥¡¥¤¥ë¤È¤·¤Æ¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£Áȹþ¤ß¤Î¼ÂÁõ¤Ç¤Ï¡¢³ÆÈëÌ©¸°¤Ï¸ÄÊ̤Υѥ¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¡¢¥¡¼¥¹¥È¥¢Á´ÂΤÎÀ°¹çÀ¤Ï(ÈëÌ©¸°¤È¤ÏÊ̤Î)¥Ñ¥¹¥ï¡¼¥É¤Ë¤è¤Ã¤ÆÊݸ¤ì¤Þ¤¹¡£ ++.PP ++¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ï¥×¥í¥Ð¥¤¥À¥Ù¡¼¥¹¤Ç¡¢¤Ä¤Þ¤ê¡¢\fIKeyStore\fR¥¯¥é¥¹¤Ë¤è¤êÄ󶡤µ¤ì¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¡¢¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹(SPI)¤Ë´Ø¤·¤Æ¼ÂÁõ¤µ¤ì¤Þ¤¹¡£Âбþ¤¹¤ë\fIKeystoreSpi\fRÃê¾Ý¥¯¥é¥¹¤¬¤¢¤ê¡¢¤³¤ì¤â\fIjava\&.security package\fR¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤¬¡¢¥×¥í¥Ð¥¤¥À¤¬¼ÂÁõ¤¹¤ëɬÍפΤ¢¤ë¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢¥×¥í¥Ð¥¤¥À¤È¤Ï¡¢Java Security API¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Î¥µ¥Ö¥»¥Ã¥È¤ËÂФ·¡¢¤½¤Î¸ÇÄê¼ÂÁõ¤òÄ󶡤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î½¸¹ç¤Î¤³¤È¤Ç¤¹¡£¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¤Ë¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html¤Ë¤¢¤ë ++Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î¥×¥í¥Ð¥¤¥À¤Î¼ÂÁõÊýË¡¤ÇÀâÌÀ¤·¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥×¥í¥Ð¥¤¥À¤ò¼ÂÁõ¤·¡¢\fIKeystoreSpi\fR¥µ¥Ö¥¯¥é¥¹¤Î¼ÂÁõ¤òÄ󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.PP ++¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢\fIKeyStore\fR¥¯¥é¥¹¤Î\fIgetInstance\fR¥Õ¥¡¥¯¥È¥ê¡¦¥á¥½¥Ã¥É¤ò»ÈÍѤ·¤Æ¡¢ÍÍ¡¹¤Ê¥×¥í¥Ð¥¤¥À¤«¤é°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÁªÂò¤Ç¤¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Ï¡¢¥¡¼¥¹¥È¥¢¾ðÊó¤Î³ÊǼ·Á¼°¤È¥Ç¡¼¥¿·Á¼°¤òÄêµÁ¤¹¤ë¤È¤È¤â¤Ë¡¢¥¡¼¥¹¥È¥¢Æâ¤ÎÈëÌ©¸°¤È¥¡¼¥¹¥È¥¢¼«ÂΤÎÀ°¹çÀ¤òÊݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤òÄêµÁ¤·¤Þ¤¹¡£°Û¤Ê¤ë¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤Ë¤Ï¡¢¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ++.PP ++\fIkeytool\fR¥³¥Þ¥ó¥É¤Ï¡¢Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ù¡¼¥¹¤Î¥¡¼¥¹¥È¥¢¼ÂÁõ¤Çưºî¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÅϤµ¤ì¤¿¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ°·¤¤¡¢¤³¤ì¤ò\fIFileInputStream\fR¤ËÊÑ´¹¤·¤Æ¡¢¤½¤³¤«¤é¥¡¼¥¹¥È¥¢¤Î¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤¹¡£\fIjarsigner\fR¥Ä¡¼¥ë¤ª¤è¤Ó\fIpolicytool\fR¥Ä¡¼¥ë¤Ï¡¢URL¤ò»ÈÍѤ·¤Æ»ØÄê²Äǽ¤ÊǤ°Õ¤Î¾ì½ê¤«¤é¥¡¼¥¹¥È¥¢¤òÆÉ¤ß¼è¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ª¤è¤Ó\fIkeytool\fR¥³¥Þ¥ó¥É¤Î¾ì¹ç¡¢\fI\-storetype\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥Ý¥ê¥·¡¼¡¦¥Ä¡¼¥ë¤Î¾ì¹ç¡¢¡ÖÊÔ½¸¡×¥á¥Ë¥å¡¼¤ÎChange Keystore¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄê¤Ç¤¤Þ¤¹¡£ ++.PP ++¥æ¡¼¥¶¡¼¤¬¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤ˴ð¤Å¤¤¤Æ¡¢¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ï\fIjava\&.security\fR¤È¸Æ¤Ð¤ì¡¢JDK¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Ç¥£¥ì¥¯¥È¥ê\fIjava\&.home/lib/security\fRÆâ¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç¡¢java\&.home¤Ï¼Â¹Ô»þ´Ä¶¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£\fIjre\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢JDK¤Þ¤¿¤ÏJava Runtime Environment (JRE)¤ÎºÇ¾å°Ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£ ++.PP ++³Æ¥Ä¡¼¥ë¤Ï¡¢\fIkeystore\&.type\fR¤ÎÃͤò¼èÆÀ¤·¡¢¤½¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥Ð¥¤¥À¤òÄ´¤Ù¤Þ¤¹¡£ÌÜŪ¤Î¥×¥í¥Ð¥¤¥À¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤Î¥×¥í¥Ð¥¤¥À¤«¤é¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.PP ++\fIKeyStore\fR¥¯¥é¥¹¤Ç¤Ï¡¢\fIgetDefaultType\fR¤È¤¤¤¦Ì¾Á°¤Îstatic¥á¥½¥Ã¥É¤òÄêµÁ¤·¡¢¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ª¤è¤Ó¥¢¥×¥ì¥Ã¥È¤«¤é\fIkeystore\&.type property\fR¤ÎÃͤò¼èÆÀ¤Ç¤¤Þ¤¹¡£¼¡¤Î¥³¡¼¥É¤Î¹Ô¤Ç¤Ï¡¢\fIkeystore\&.type property\fR¤Ç»ØÄꤵ¤ì¤¿¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òºîÀ®¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType()); ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢\fIjks\fR ++(Oracle¤¬Ä󶡤¹¤ëÆÈ¼«¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ)¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¼¡¤Î¹Ô¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++keystore\&.type=jks ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î»ØÄê¤Ç¤Ï¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£¤¿¤È¤¨¤Ð¡¢\fIJKS\fR¤Ï\fIjks\fR¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++¥Ä¡¼¥ë¤Ç¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢¤½¤Î¹Ô¤òÊѹ¹¤·¤ÆÊ̤Υ¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\fIpkcs12\fR¤È¸Æ¤Ð¤ì¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤Î¥¡¼¥¹¥È¥¢¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ë¾ì¹ç¡¢¹Ô¤ò¼¡¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++keystore\&.type=pkcs12 ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fBÃí°Õ: \fRPKCS 11¥×¥í¥Ð¥¤¥À¡¦¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html¤Ë¤¢¤ë ++Java PKCS #11¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖKeyTool¡×¤ª¤è¤Ó¡ÖJarSigner¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.SS "¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥¢¥ë¥´¥ê¥º¥à" ++.PP ++¥Ç¥Õ¥©¥ë¥È¤Ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¼¡¤Î¤¤¤º¤ì¤«¤Î¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA1¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(DSA) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA256¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤¿RSA¥¢¥ë¥´¥ê¥º¥à¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA256¤ÈÂʱ߶ÊÀþ¥Ç¥¸¥¿¥ë½ð̾¥¢¥ë¥´¥ê¥º¥à(ECDSA)¤ò»ÈÍѤ·¤¿Âʱ߶ÊÀþ(EC)°Å¹æÊý¼°¥¢¥ë¥´¥ê¥º¥à ++.RE ++.PP ++½ð̾¼Ô¤Î¸ø³«¸°¤ÈÈëÌ©¸°¤¬DSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA¤ÈDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬RSA¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈRSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤è¤¦¤È¤·¤Þ¤¹¡£½ð̾¼Ô¤Î¸°¤¬EC¸°¤Ç¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¤ÏSHA256¤ÈECDSA¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤·¤Þ¤¹¡£ ++.PP ++¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢\fI\-sigalg\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¥ª¡¼¥Ð¡¼¥é¥¤¥É¤Ç¤¤Þ¤¹¡£ ++.SS "½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¡¢½ÐÎϤµ¤ì¤ë½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÏÆþÎÏJAR¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¼¡¤Î2¤Ä¤ÎÄɲåե¡¥¤¥ë¤¬META\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\&.SF\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Õ¥¡¥¤¥ë ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR³ÈÄ¥»Ò¤ÎÉÕ¤¤¤¿½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë ++.RE ++.PP ++¤³¤ì¤é2¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢\fI\-sigFile\fR¥ª¥×¥·¥ç¥ó¤ÎÃͤ«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥ª¥×¥·¥ç¥ó¤¬\fI\-sigFile MKSIGN\fR¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë¤Ï\fIMKSIGN\&.SF\fR¤ª¤è¤Ó\fIMKSIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤ÎºîÀ®»þ¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£Í¸ú¤Êʸ»ú¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Ç¤¹¡£ ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB½ð̾¥Õ¥¡¥¤¥ë\fR ++.RS 4 ++.PP ++½ð̾¥Õ¥¡¥¤¥ë(\fI\&.SF\fR¥Õ¥¡¥¤¥ë)¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ëºÝ¤ËJAR¥Õ¥¡¥¤¥ë¤Ë¾ï¤Ë´Þ¤Þ¤ì¤ë¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤È»÷¤Æ¤¤¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤´¤È¤Ë¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë¤è¤¦¤Ê¡¢¼¡¤Ë¼¨¤¹3¤Ä¤Î¹Ô¤¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥Õ¥¡¥¤¥ë̾ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à(SHA)¤Î̾Á° ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++SHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃÍ ++.RE ++.PP ++¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎSHA¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¡¦¥Ç¡¼¥¿¤Î¥À¥¤¥¸¥§¥¹¥È(¥Ï¥Ã¥·¥å)¤Ë¤Ê¤ê¤Þ¤¹¡£\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÎÃͤϡ¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤Î¤½¤Î3¹Ô¤Î¥Ï¥Ã¥·¥å¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.PP ++½ð̾¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¤È¡¢¸¡¾Ú¤ÎºÇŬ²½¤¬Í¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë\fR ++.RS 4 ++.PP ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï½ð̾¤¬ÉÕ¤±¤é¤ì¡¢½ð̾¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢½ð̾¤Ë»ÈÍѤµ¤ì¤¿ÈëÌ©¸°¤ËÂбþ¤¹¤ë¸ø³«¸°¤òǧ¾Ú¤¹¤ë¥¡¼¥¹¥È¥¢¤«¤é¤Î¾ÚÌÀ½ñ¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤â¡¢ÆâÉô¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¡¢»ÈÍѤµ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Ë±þ¤¸¤Æ¡¢\fI\&.DSA\fR¡¢\fI\&.RSA\fR¤Þ¤¿¤Ï\fI\&.EC\fR¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.RE ++.SS "½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×" ++.PP ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë½ð̾¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤ª¤è¤ÓÊݸ¤Ç¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢\fIjarsigner\fR¤ÏÂåÂØ½ð̾µ¡¹½¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îưºî¤Ï¾Êά²Äǽ¤Ç¡¢½ð̾»þ¤Ë¼¡¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-tsa \fIurl\fR ++\-tsacert \fIalias\fR ++\-altsigner \fIclass\fR ++\-altsignerpath \fIclasspathlist\fR ++\-tsapolicyid \fIpolicyid\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú" ++.PP ++JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤¬À®¸ù¤¹¤ë¤Î¤Ï¡¢½ð̾¤¬Í¸ú¤Ç¤¢¤ê¡¢¤«¤Ä½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ï¡¢¼¡¤Î¼ê½ç¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 1.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 1." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î½ð̾¤ò¸¡¾Ú¤·¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¤Ç¤Ï¡¢³Æ½ð̾¥Ö¥í¥Ã¥¯(\fI\&.DSA\fR)¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿½ð̾¤¬¡¢¾ÚÌÀ½ñ(¤Þ¤¿¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó)¤â\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¼¨¤µ¤ì¤ë¸ø³«¸°¤ËÂбþ¤¹¤ëÈëÌ©¸°¤ò»ÈÍѤ·¤ÆÀ¸À®¤µ¤ì¤¿¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£¤Þ¤¿¡¢½ð̾¤¬Âбþ¤¹¤ë½ð̾(\fI\&.SF\fR)¥Õ¥¡¥¤¥ë¤Î͸ú¤Ê½ð̾¤Ç¤¢¤ë¤³¤È¤¬³Îǧ¤µ¤ì¡¢¤½¤ì¤Ë¤è¤ê¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤â³Îǧ¤µ¤ì¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 2.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 2." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥¨¥ó¥È¥ê¤Ë¼¨¤µ¤ì¤ë¥À¥¤¥¸¥§¥¹¥È¤ò¡¢¥Þ¥Ë¥Õ¥§¥¹¥ÈÆâ¤ÎÂбþ¤¹¤ë³Æ¥»¥¯¥·¥ç¥ó¤ÈÆÍ¤¤¢¤ï¤»¤Æ¸¡¾Ú¤·¤Þ¤¹¡£ ++.sp ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥ工夬³ÊǼ¤µ¤ì¤¿¥Ø¥Ã¥À¡¼¤¬¥Ç¥Õ¥©¥ë¥È¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ç¤Ï¡¢¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£ ++.sp ++°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤¬É¬Íפˤʤê¤Þ¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤¬¡¢¸½ºß¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤Ë°ìÃפ·¤Ê¤¤Íýͳ¤Î1¤Ä¤Ï¡¢½ð̾¤ª¤è¤Ó\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¸å¤Ë¡¢(\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ë¤ËÄɲ䵤줿¤³¤È¤Ç¤¹¡£\fIjar\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤ë¤³¤È¤Ë¤è¤ê¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹¤¬¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¸¡¾Ú¤¬¤Þ¤ÀÀ®¸ù¤·¤Æ¤¤¤ë¤È¤ß¤Ê¤µ¤ì¤ë¤Î¤Ï¡¢½ð̾¤ÎÀ¸À®°Ê¹ß¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Î¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤¹¡£¤³¤ì¤¬È¯À¸¤¹¤ë¤Î¤Ï¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¾ì¹ç¤Ç¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 3.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 3." 4.2 ++.\} ++\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤ÄJAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¼è¤ê¤Þ¤¹¡£ÆÉ¼è¤êÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î¤³¤Î¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¤½¤Î¥×¥í¥»¥¹¤ÏÄä»ß¤µ¤ì¡¢¥»¥¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢Îã³°¤òÊ᪤ª¤è¤Óɽ¼¨¤·¤Þ¤¹¡£ ++.RE ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 + .br +-.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼¤Ë³ÊǼ¤µ¤ì¤¿¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¡¢¼ÂºÝ¤Î¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤Î¥Ï¥Ã¥·¥å¤È¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢½ð̾(¤Ä¤Þ¤ê.SF¥Õ¥¡¥¤¥ë)¤ÎÀ¸À®¸å¤Ë¡¢JAR¥Õ¥¡¥¤¥ë¤Ë1¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤¬(\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ)Äɲ䵤줿²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£\f2jar\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Õ¥¡¥¤¥ë¤òÄɲä·¤¿¾ì¹ç¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤¹(¿·¤·¤¤¥Õ¥¡¥¤¥ëÍѤΥ»¥¯¥·¥ç¥ó¤¬Äɲ䵤ì¤Þ¤¹)¤¬¡¢.SF¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Î¥Ø¥Ã¥À¡¼°Ê³°¤Î¥»¥¯¥·¥ç¥ó¤Ë³ÊǼ¤µ¤ì¤¿¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤Ï¡¢½ð̾¤ÎÀ¸À®»þ¤ËJAR¥Õ¥¡¥¤¥ëÆâ¤Ë¸ºß¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢¤É¤Î¥Õ¥¡¥¤¥ë¤âÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¡¢¸¡¾Ú¤ÏÀ®¸ù¤·¤¿¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.TP 3 +-3. +-JAR¥Õ¥¡¥¤¥ëÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¤¦¤Á¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Ë¥¨¥ó¥È¥ê¤ò»ý¤Ä³Æ¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£ÆÉ¹þ¤ßÃæ¤Ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ò·×»»¤·¡¢·ë²Ì¤ò¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥»¥¯¥·¥ç¥óÆâ¤Î³ºÅö¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¸¥§¥¹¥È¤ÈÈæ³Ó¤·¤Þ¤¹¡£2¤Ä¤Î¥À¥¤¥¸¥§¥¹¥È¤ÏƱ¤¸¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¸¡¾Ú¥×¥í¥»¥¹¤ÎÅÓÃæ¤Ç¤Ê¤ó¤é¤«¤Î½ÅÂç¤Ê¸¡¾Ú¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¸¡¾Ú¥×¥í¥»¥¹¤ÏÃæ»ß¤µ¤ì¡¢¥»¥¥å¥ê¥Æ¥£Îã³°¤¬¥¹¥í¡¼¤µ¤ì¤Þ¤¹¡£Îã³°¤Ï¡¢\f3jarsigner\fP¤¬¥¥ã¥Ã¥Á¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡£ +-.LP +-.SS +-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾ +-.LP +-.LP +-1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ\f3jarsigner\fP¥Ä¡¼¥ë¤òÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë¡¢°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ì¤Ð¡¢JAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner myBundle.jar susan +-.fl +- jarsigner myBundle.jar kevin +-.fl +-\fP +-.fi +- +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤¬Ê£¿ô´Þ¤Þ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ú¥¢¤Ï¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤ÄºîÀ®¤µ¤ì¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢¾å¤ÎÎã¤Ç½ÐÎϤµ¤ì¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- SUSAN.SF +-.fl +- SUSAN.DSA +-.fl +- KEVIN.SF +-.fl +- KEVIN.DSA +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Ãí°Õ: JAR¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤È\f3jarsigner\fP¤ÇÀ¸À®¤µ¤ì¤¿½ð̾¤¬º®ºß¤Ç¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤¹¤Ç¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë¡¢\f3jarsigner\fP¤ò»ÈÍѤ·¤Æ½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.LP ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++Äɲäηٹð(¤Þ¤¿¤Ï¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¥¨¥é¡¼)¤Ï¤¹¤Ù¤ÆÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£Æ±Íͤˡ¢¾ÚÌÀ¤¬¿®Íê¤Ç¤¤ë¤«¤ò·èÄꤹ¤ë¤¿¤á¤Ë¡¢(\fI\-verbose\fR¤ª¤è¤Ó\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ)¾ÚÌÀ½ñ¤ÎÆâÍÆ¤âÆÉ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.SS "1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤òÂоݤȤ¹¤ëÊ£¿ô¤Î½ð̾" ++.PP ++¼¡¤Î¤è¤¦¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò¥Õ¥¡¥¤¥ë¤ÇÊ£¿ô²ó¼Â¹Ô¤·¡¢¼Â¹Ô¤Î¤¿¤Ó¤Ë°Û¤Ê¤ë¥æ¡¼¥¶¡¼¤ÎÊÌ̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢1¤Ä¤ÎJAR¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤Î½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner myBundle\&.jar susan ++jarsigner myBundle\&.jar kevin ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++JAR¥Õ¥¡¥¤¥ë¤¬Ê£¿ô²ó½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Ê£¿ô¤Î\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤ª¤ê¡¢1²ó¤Î½ð̾¤ËÂФ·¤Æ1¤Ä¤Î¥Ú¥¢¤È¤Ê¤ê¤Þ¤¹¡£Á°½Ò¤ÎÎã¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¼¡¤Î̾Á°¤Î¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++SUSAN\&.SF ++SUSAN\&.DSA ++KEVIN\&.SF ++KEVIN\&.DSA ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++\fBÃí°Õ: \fRJAR¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢JDK 1\&.1¤Î\fIjavakey\fR¥³¥Þ¥ó¥É¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤È¡¢\fIjarsigner\fR¤Ë¤è¤êÀ¸À®¤µ¤ì¤¿½ð̾¤òº®ºß¤µ¤»¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç¤¹¤Ç¤Ë½ð̾¤µ¤ì¤Æ¤¤¤ëJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤¤Þ¤¹¡£ + .SH "¥ª¥×¥·¥ç¥ó" +-.LP +-.LP +-¼¡¤Ë¡¢\f3jarsigner\fP¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£Ãí°Õ: +-.LP +-.RS 3 +-.TP 2 +-o +-¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ¹æ(\-)¤¬ÉÕ¤¤Þ¤¹¡£ +-.TP 2 +-o +-¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 2 +-o +-\f2\-keystore\fP¡¢\f2\-storepass\fP¡¢\f2\-keypass\fP¡¢\f2\-sigfile\fP¡¢\f2\-sigalg\fP¡¢\f2\-digestalg\fP¤ª¤è¤Ó\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ¤ë¤Î¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¾ì¹ç¤Ç¤Ï¤Ê¤¯¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£ +-.RE +- +-.LP +-.RS 3 +-.TP 3 +-\-keystore url +-¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\f2.keystore\fP¤Ç¤¹¡£¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢user.home¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£ +-.br +-.br +-½ð̾¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤¬É¬ÍפǤ¹¡£¤³¤Î¤¿¤á¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç(¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç)¤Ï¡¢¥¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.br +-.br +-¸¡¾Ú¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤Ï\f2ɬÍפ¢¤ê¤Þ¤»¤ó\fP¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£ +-.br +-.br +-Ãí°Õ: \f2\-keystore\fP¤Î°ú¿ô¤Ë¤Ï¡¢URL¤Î¤«¤ï¤ê¤Ë¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄê¤Ç¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾(¤È¥Ñ¥¹)¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¡Öfile:¡×URL¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.PP ++¼¡¤Î³Æ¹à¤Ç¤Ï¡¢ÍÍ¡¹¤Ê\fIjarsigner\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¼¡¤Îɸ½à¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¤É¤Î¥ª¥×¥·¥ç¥ó̾¤Ë¤âÀèÆ¬¤Ë¥Þ¥¤¥Ê¥¹µ¹æ(\-)¤¬ÉÕ¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç½ø¤Ç»ØÄê¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++¥¤¥¿¥ê¥Ã¥¯ÂΤιàÌܤμºݤÎÃÍ(¥ª¥×¥·¥ç¥ó¤ÎÃÍ)¤Ï¡¢»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fI\-keystore\fR¡¢\fI\-storepass\fR¡¢\fI\-keypass\fR¡¢\fI\-sigfile\fR¡¢\fI\-sigalg\fR¡¢\fI\-digestalg\fR¤ª¤è¤Ó\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤǤ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¾ì¹ç¤Î¤ß¤Ç¤¹¡£½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Ï´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£Æ±Íͤˡ¢ÊÌ̾¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î½ð̾»þ¤Î¤ß¤Ç¤¹¡£ ++.RE ++.PP ++\-keystore \fIurl\fR ++.RS 4 ++¥¡¼¥¹¥È¥¢¤Î¾ì½ê¤ò¼¨¤¹URL¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢\fIuser\&.home\fR¥·¥¹¥Æ¥à¡¦¥×¥í¥Ñ¥Æ¥£¤Ç·èÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë\fI\&.keystore\fR¤Ë¥Ç¥Õ¥©¥ë¥ÈÀßÄꤵ¤ì¤Þ¤¹¡£ ++.sp ++¥¡¼¥¹¥È¥¢¤Ï½ð̾»þ¤Ë¤ÏɬÍפǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¥¡¼¥¹¥È¥¢¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¥¡¼¥¹¥È¥¢¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.sp ++¸¡¾Ú¤¹¤ë¤È¤¤Ï¥¡¼¥¹¥È¥¢¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¤¬Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤µ¤é¤Ë\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬¤½¤Î¥¡¼¥¹¥È¥¢¤Ë1¤Ä¤Ç¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤¹¤ëÄɲþðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-keystore\fR°ú¿ô¤Ë¤Ï¡¢URL¤Ç¤Ï¤Ê¤¯¥Õ¥¡¥¤¥ë̾¤È¥Ñ¥¹¤ò»ØÄê¤Ç¤¡¢¤³¤Î¾ì¹ç¡¢¥Õ¥¡¥¤¥ë: URL¤ÈƱ¤¸¤è¤¦¤Ë½èÍý¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Ë¤è¤¦¤Ë»ØÄꤹ¤ë¤ÈƱÅù¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +- \-keystore \fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-¤³¤ì¤Ï¡¢¼¡¤Î»ØÄê¤ÈƱ¤¸¤â¤Î¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- \-keystore file:\fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-JRE¤Î\f2$JAVA_HOME/lib/security\fP¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤¿\f2java.security\fP¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢keytool¤Èjarsigner¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2\-keystore NONE\fP +-.TP 2 +-o +-\f2\-storetype PKCS11\fP +-.RE +-¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- jarsigner \-keystore NONE \-storetype PKCS11 \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-storetype storetype +-¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Îkeystore.type¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¤¹¡£¤³¤ÎÃͤϡ¢\f2java.security.KeyStore\fP¤Îstatic \f2getDefaultType\fP¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆPCKS#11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢keytool¤Èjarsigner¤Ï¥æ¡¼¥¶¡¼¤Ë¥È¡¼¥¯¥óPIN¤ÎÆþÎϤòµá¤á¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\f2\-protected\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤¤Þ¤»¤ó¡£ +-.TP 3 +-\-storepass[:env | :file] argument +-¥¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\f2\-storepass\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.br +-.br +-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.TP 2 +-o +-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.RE +-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-keypass[:env | :file] argument +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\f3jarsigner\fP¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ +-.br +-.br +-½¤¾þ»Ò\f2env\fP¤Þ¤¿¤Ï\f2file\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\f2argument\fP¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-\f2env\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.TP 2 +-o +-\f2file\fP: \f2argument\fP¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ +-.RE +-Ãí°Õ: ¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¡¢¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-sigfile file +-.SF¥Õ¥¡¥¤¥ë¤È .DSA¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢\f2file\fP¤ËDUKESIGN¤ò»ØÄꤹ¤ë¤È¡¢À¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¤½¤ì¤¾¤ìDUKESIGN.SF¤ÈDUKESIGN.DSA¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ÎMETA\-INF¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2file\fP¤Ë»ÈÍѤǤ¤ëʸ»ú¤Ï¡Öa\-zA\-Z0\-9_\-¡×¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢Ê¸»ú¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥ó¤Î¤ß¤ò»ÈÍѤǤ¤Þ¤¹¡£Ãí°Õ: .SF¤ª¤è¤Ó.DSA¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2\-sigfile\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤ÎÃæ¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ë»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³ºÅö¤¹¤ëʸ»ú¤ò²¼Àþ(_)¤ËÃÖ¤´¹¤¨¤Æ¥Õ¥¡¥¤¥ë̾¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-sigalg algorithm ++\-keystore \fIfilePathAndName\fR ++.fi ++.if n \{\ ++.RE ++.\} ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-keystore file:\fIfilePathAndName\fR ++.fi ++.if n \{\ ++.RE ++.\} ++(JRE¤Î\fI$JAVA_HOME/lib/security directory\fR¤Ë¤¢¤ë) ++\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS #11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤ÏPKCS#11¥È¡¼¥¯¥ó¤Ë´ð¤Å¤¤¤ÆÆ°ºî¤Ç¤¤Þ¤¹¡£¼¡¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++\-keystore NONE ++\-storetype PKCS11 ++.fi ++.if n \{\ ++.RE ++.\} ++¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢¹½À®¤µ¤ì¤¿PKCS#11¥È¡¼¥¯¥ó¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \-list ++.fi ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-storetype \fIstoretype\fR ++.RS 4 ++¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤ë¥¡¼¥¹¥È¥¢¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥¿¥¤¥×¤Ï¡¢¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Î\fIkeystore\&.type\fR¥×¥í¥Ñ¥Æ¥£¤ÎÃͤǻØÄꤵ¤ì¤¿¥¿¥¤¥×¤Ç¡¢¤³¤ÎÃͤϡ¢\fIjava\&.security\&.KeyStore\fR¤Îstatic ++\fIgetDefaultType\fR¥á¥½¥Ã¥É¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢PCKS #11¥È¡¼¥¯¥ó¤ÎPIN¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢¥È¡¼¥¯¥óPIN¤Î»ØÄê¤òµá¤á¤é¤ì¤Þ¤¹¡£¥È¡¼¥¯¥ó¤ËÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹(ÀìÍѤÎPIN¥Ñ¥Ã¥É¤äÀ¸ÂÎÆÉ¼è¤êµ¡¤Ê¤É)¤¬¤¢¤ë¾ì¹ç¡¢\fI\-protected\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¥¹¥ï¡¼¥É¡¦¥ª¥×¥·¥ç¥ó¤Ï»ØÄê¤Ç¤¤Þ¤»¤ó¡£ ++.RE ++.PP ++\-storepass[:env | :file} \fIargument\fR ++.RS 4 ++¥¡¼¥¹¥È¥¢¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤¬É¬ÍפʤΤϡ¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Î¤ß¤Ç¤¹(¸¡¾Ú¤¹¤ë¤È¤¤Ë¤ÏÉÔÍפǤ¹)¡£¤½¤Î¾ì¹ç¡¢\fI\-storepass\fR¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤¤¤È¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.sp ++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIenv\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIfile\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++\fBÃí°Õ:\fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-keypass [:env | :file] \fIargument\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ËÂбþ¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤òÊݸ¤ë¤Î¤Ë»ÈÍѤ¹¤ë¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£\fIjarsigner\fR¤ò»ÈÍѤ·¤ÆJAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤È¤¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤¬É¬ÍפǤ¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤ª¤é¤º¡¢É¬Íפʥѥ¹¥ï¡¼¥É¤¬¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤È°Û¤Ê¤ë¾ì¹ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤é¤ì¤Þ¤¹¡£ ++.sp ++½¤¾þ»Ò\fIenv\fR¤Þ¤¿¤Ï\fIfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÎÃͤÏ\fIargument\fR¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æ¼èÆÀ¤µ¤ì¤Þ¤¹¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIenv\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î´Ä¶ÊÑ¿ô¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIfile\fR: ++\fIargument\fR¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.RE ++.sp ++\fBÃí°Õ: \fR¥Æ¥¹¥È¤òÌÜŪ¤È¤¹¤ë¾ì¹ç¤Þ¤¿¤Ï¥»¥¥å¥ê¥Æ¥£Êݸ¤ì¤¿¥·¥¹¥Æ¥à¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç°Ê³°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä¥¹¥¯¥ê¥×¥È¤Ç¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-sigfile \fIfile\fR ++.RS 4 ++À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë»ÈÍѤ¹¤ë¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥Õ¥¡¥¤¥ë¤¬\fIDUKESIGN\fR¤Î¾ì¹ç¡¢À¸À®¤µ¤ì¤ë\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ï¡¢\fIDUKESIGN\&.SF\fR¤ª¤è¤Ó\fIDUKESIGN\&.DSA\fR¤È¤¤¤¦Ì¾Á°¤Ç¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î\fIMETA\-INF\fR¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤µ¤ì¤Þ¤¹¡£ ++.sp ++¥Õ¥¡¥¤¥ëÆâ¤Îʸ»ú¤Ï¡¢¥»¥Ã¥È\fIa\-zA\-Z0\-9_\-\fR¤«¤é»ØÄꤵ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢²¼Àþ¤ª¤è¤Ó¥Ï¥¤¥Õ¥óʸ»ú¤Î¤ß¤ò»ÈÍѤǤ¤Þ¤¹¡£\fI\&.SF\fR¤ª¤è¤Ó\fI\&.DSA\fR¤Î¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¡¢¾®Ê¸»ú¤Ï¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ ++.sp ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sigfile\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤È\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ÊÌ̾¤ÎÀèÆ¬¤Î8ʸ»ú¤ò¤¹¤Ù¤ÆÂçʸ»ú¤ËÊÑ´¹¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÌ̾¤¬8ʸ»ṳ́Ëþ¤Î¾ì¹ç¤Ï¡¢ÊÌ̾¤¬¤½¤Î¤Þ¤Þ»ÈÍѤµ¤ì¤Þ¤¹¡£ÊÌ̾¤Ë¡¢½ð̾¥Õ¥¡¥¤¥ë̾¤Ç̵¸ú¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤¹¤ë¤¿¤á¤Ë¡¢³ºÅö¤¹¤ëʸ»ú¤¬²¼Àþ(_)ʸ»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-sigalg \fIalgorithm\fR ++.RS 4 + JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë½ð̾¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-ɸ½à½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î +-.na +-\f2ÉÕÏ¿A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤ÆSHA1withDSA¡¢SHA256withRSA¡¢SHA256withECDSA¤Î¤¤¤º¤ì¤«¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.TP 3 +-\-digestalg algorithm ++.sp ++ɸ½àŪ¤Ê½ð̾¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë ++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ëÈëÌ©¸°¤È¤Î¸ß´¹À¤¬É¬ÍפǤ¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ÈëÌ©¸°¤Î¥¿¥¤¥×¤Ë±þ¤¸¤Æ¡¢\fISHA1withDSA\fR¡¢\fISHA256withRSA\fR¤Þ¤¿¤Ï\fISHA256withECDSA\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.PP ++\-digestalg \fIalgorithm\fR ++.RS 4 + JAR¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤ò¥À¥¤¥¸¥§¥¹¥È¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î°ìÍ÷¤Ï¡¢Java°Å¹æ²½¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î +-.na +-\f2ÉÕÏ¿A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢SHA256¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\f2\-providerClass\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬¼ºÇÔ¤·¤Þ¤¹¡£ +-.TP 3 +-\-signedjar file +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£ +-.br +-.br +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç̾Á°¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(½ð̾¤ÎÂоݤȤʤëJAR¥Õ¥¡¥¤¥ë)¤Î̾Á°¤ÈƱ¤¸Ì¾Á°¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤Æ¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-verify +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢»ØÄꤵ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ç¤Ï¤Ê¤¯¸¡¾Ú¤¬¹Ô¤ï¤ì¤Þ¤¹¡£¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢¡Öjar¤¬¸¡¾Ú¤µ¤ì¤Þ¤·¤¿¡£¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤JAR¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥¢¥ë¥´¥ê¥º¥à(RSA¥×¥í¥Ð¥¤¥À¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò½ªÎ»¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÎRSA¤Ê¤É)¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤è¤¦¤È¤¹¤ë¤È¡¢¡Öjar¤Ï½ð̾¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£(½ð̾¤¬¸«¤Ä¤«¤é¤Ê¤¤¤«¡¢¹½Ê¸²òÀϤǤ¤Þ¤»¤ó)¡×¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ï¡¢\f3jarsigner\fP¤Þ¤¿¤ÏJDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤Î¤É¤Á¤é¤«¤Þ¤¿¤ÏξÊý¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤Ç¤¤Þ¤¹¡£ +-.br +-.br +-¸¡¾Ú¤Î¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-certs +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\f2\-verify\fP¤ª¤è¤Ó\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¼¡¤Î¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë(.DSA¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤¿)¾ÚÌÀ½ñ¥¿¥¤¥×¤Î̾Á° +-.TP 2 +-o +-¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ(¤Ä¤Þ¤ê¡¢\f2java.security.cert.X509Certificate\fP¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢½ð̾¼Ô¤Î¼±ÊÌ̾ +-.RE +-¥¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¢¸¡ºº¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ·¤¿¾ì¹ç¤Ï¡¢¼¡¤Î¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£ +-.RS 3 +-.TP 2 +-o +-½ð̾¼Ô¤Ë³ºÅö¤¹¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÊÌ̾¡£¤³¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¤Ï¡¢³ç¸Ì¤Ç¤Ï¤Ê¤¯Âç³ç¸Ì¤Ç°Ï¤Þ¤ì¤Þ¤¹¡£ +-.RE +-.TP 3 +-\-certchain file +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ç·è¤Þ¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾õÂ֤ˤʤë²ÄǽÀ¤¬¤¢¤ë¤Î¤Ï¡¢¥¡¼¥¹¥È¥¢¤¬¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤³¤Ë¤Ï¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ÎÁ´ÂΤòÊÝ»ý¤Ç¤¤ëÎΰ褬¸ºß¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎX.509¾ÚÌÀ½ñ¤¬½ç¤ËÏ¢·ë¤µ¤ì¤¿¤â¤Î¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(BASE64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.TP 3 +-\-verbose +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f3jarsigner\fP¤Ï¡Ö¾éĹ¡×¥â¡¼¥É¤Çưºî¤·¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£ +-.TP 3 +-\-internalsf +-°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿.DSA(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢À¸À®¤µ¤ì¤¿.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î´°Á´¤Ê¥³¥Ô¡¼¤¬É乿²½¤µ¤ì¤¿·Á¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£¸½ºß¤Ç¤Ï¡¢½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï.SF¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬.DSA¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤¿¤À¤·¡¢\f2\-internalsf\fP¥ª¥×¥·¥ç¥ó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ë¤È¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP +-.TP 3 +-\-sectionsonly +-¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï\f2´Þ¤Þ¤ì¤Þ¤»¤ó\fP¡£¤³¤Î¾ì¹ç¡¢.SF¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£¾ÜºÙ¤Ï¡¢½ð̾(.SF)¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú»þ¤Ë¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È¼ÂºÝ¤Ë°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£¥Ï¥Ã¥·¥å¤¬°ìÃפ·¤Ê¤¤¾ì¹ç¤Ï¡¢¸úΨŪ¤Ë¤ÏÎô¤ëÊýË¡¤ò»ÈÍѤ·¤Æ¸¡¾Ú¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¶ñÂÎŪ¤Ë¤Ï¡¢.SF¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-¾ÜºÙ¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-\f3¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤Ë¤ÏÊØÍø¤Ç¤¹¤¬¡¢¤½¤ì°Ê³°¤Ë¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢Í±×¤ÊºÇŬ²½¤¬¹Ô¤ï¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£\fP +-.TP 3 +-\-protected +-\f2true\fP¤Þ¤¿¤Ï\f2false\fP¤Î¤¤¤º¤ì¤«¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤ò²ð¤·¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÃͤË\f2true\fP¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-providerClass provider\-class\-name +-¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë(\f2java.security\fP)¤Î¥ê¥¹¥È¤ËÆþ¤Ã¤Æ¤¤¤Ê¤¤¤È¤¤Ë¡¢°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£ +-.br +-.br +-\f2\-providerArg\fP \f2ConfigFilePath\fP¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹礻¤Æ»ÈÍѤ·¤Þ¤¹¡£keytool¤Èjarsigner¤Ï¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹(¤³¤³¤Ç¡¢\f2ConfigFilePath\fP¤Ï¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ç¤¹)¡£¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇSun PKCS#11¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ËPKCS#11¥¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã¤ò¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerClass sun.security.pkcs11.SunPKCS11 \\ +-.fl +- \-providerArg /foo/bar/token.config \\ +-.fl ++.sp ++ɸ½àŪ¤Ê¥á¥Ã¥»¡¼¥¸¡¦¥À¥¤¥¸¥§¥¹¥È¡¦¥¢¥ë¥´¥ê¥º¥à̾¤Î¥ê¥¹¥È¤Ï¡¢http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA¤Ë¤¢¤ë ++Java Cryptography Architecture (JCA)¥ê¥Õ¥¡¥ì¥ó¥¹¡¦¥¬¥¤¥É¤Î¡ÖÉÕÏ¿A: ɸ½à̾¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢\fISHA256\fR¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£»ØÄꤵ¤ì¤¿¥¢¥ë¥´¥ê¥º¥à¤Î¼ÂÁõ¤òÄ󶡤¹¤ë¥×¥í¥Ð¥¤¥À¤¬ÀÅŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¡¢\fI\-providerClass\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤½¤Î¤è¤¦¤Ê¥×¥í¥Ð¥¤¥À¤ò¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.PP ++\-certs ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢½ð̾¼Ô¤Î¸ø³«¸°¤ò¾ÚÌÀ¤¹¤ë¾ÚÌÀ½ñ(\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ)¤Î¥¿¥¤¥×¤Î̾Á°¤¬´Þ¤Þ¤ì¡¢¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ(\fIjava\&.security\&.cert\&.X509Certificate\fR¤Î¥¤¥ó¥¹¥¿¥ó¥¹)¤Î¾ì¹ç¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ++.sp ++¥¡¼¥¹¥È¥¢¤Î³Îǧ¤â¹Ô¤ï¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥¡¼¥¹¥È¥¢¤ÎÃͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢¡¦¥Õ¥¡¥¤¥ë(¤¢¤ë¾ì¹ç)¤¬¥Á¥§¥Ã¥¯¤µ¤ì¤Þ¤¹¡£½ð̾¼Ô¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢Æâ¤Î¥¨¥ó¥È¥ê¤È°ìÃפ¹¤ë¾ì¹ç¡¢¤½¤Î½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢¤Î¥¨¥ó¥È¥ê¤ÎÊÌ̾¤¬´Ý¥«¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËͳÍ褹¤ë½ð̾¼Ô¤Î¾ì¹ç¡¢ÊÌ̾¤Ï´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯Â祫¥Ã¥³Æâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-certchain \fIfile\fR ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ÊÌ̾¤Ë¤è¤Ã¤ÆÉ½¤µ¤ì¤ë¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤ÎÈëÌ©¸°¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬´°Á´¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¡¢»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥óÁ´ÂΤòÊÝ»ý¤¹¤ë¤Î¤Ë½½Ê¬¤ÊÎΰ褬¤Ê¤¤¥Ï¡¼¥É¥¦¥§¥¢¡¦¥È¡¼¥¯¥ó¾å¤Ë¥¡¼¥¹¥È¥¢¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤ËȯÀ¸¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÏ¢¤ÎÏ¢·ë¤µ¤ì¤¿X\&.509¾ÚÌÀ½ñ¡¢PKCS#7·Á¼°¤Îñ°ì¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤È¤Ê¤ê¡¢¤½¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¤Ï¥Ð¥¤¥Ê¥ê¡¦¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°¡¢Internet RFC 1421ɸ½à¤Çµ¬Äꤵ¤ì¤ë°õºþ²Äǽ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°·Á¼°(Base64¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤È¤â¸Æ¤Ð¤ì¤ë)¤Î¤¤¤º¤ì¤«¤Ë¤Ê¤ê¤Þ¤¹¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈRFC 1421¾ÚÌÀ½ñÉ乿²½µ¬³Ê¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verbose ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¾éĹ¥â¡¼¥É¤Çưºî¤·¡¢¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢\fIjarsigner\fR¤Ï¡¢JAR¤Î½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤Î¿Ê¹Ô¾õ¶·¤Ë´Ø¤¹¤ëÄɲþðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£ ++.RE ++.PP ++\-internalsf ++.RS 4 ++°ÊÁ°¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤¿\fI\&.DSA\fR ++(½ð̾¥Ö¥í¥Ã¥¯)¥Õ¥¡¥¤¥ë¤Ë¡¢À¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Î¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿´°Á´¤Ê¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ ¤³¤Îưºî¤ÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£½ÐÎÏJAR¥Õ¥¡¥¤¥ëÁ´ÂΤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Ë¤Ï\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬´Þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-internalsf\fR¤ò»ØÄꤷ¤¿¾ì¹ç¡¢°ÊÁ°¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Æ¥¹¥È¤ò¹Ô¤¦¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£¼ÂºÝ¤Ë¤Ï¡¢\fI\-internalsf\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礤¯¤Ê¤ë¤¿¤á¡¢»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-sectionsonly ++.RS 4 ++¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤ËÀ¸À®¤µ¤ì¤ë\fI\&.SF\fR¥Õ¥¡¥¤¥ë(½ð̾¥Õ¥¡¥¤¥ë)¤Ë¤Ï¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤ò´Þ¤à¥Ø¥Ã¥À¡¼¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ë´Þ¤Þ¤ì¤ë¤Î¤Ï¡¢JAR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤¹¤ë¾ðÊ󤪤è¤Ó¥Ï¥Ã¥·¥å¤Î¤ß¤Ç¤¹¡£½ð̾¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇŬ²½¤Î¤¿¤á¤Ë¡¢¤³¤Î¥Ø¥Ã¥À¡¼¤¬Äɲ䵤ì¤Þ¤¹¡£¥Ø¥Ã¥À¡¼¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¤¿¤Ó¤Ë¡¢¸¡¾Ú¤Ç¤Ï¡¢¤Þ¤º¥Ø¥Ã¥À¡¼Æâ¤Î¥Ï¥Ã¥·¥å¤¬¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÁ´ÂΤΥϥå·¥å¤È°ìÃפ¹¤ë¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ç¤¤Þ¤¹¡£°ìÃפ¹¤ë¾ì¹ç¡¢¸¡¾Ú¤Ï¼¡¤Î¼ê½ç¤Ë¿Ê¤ß¤Þ¤¹¡£°ìÃפ·¤Ê¤¤¾ì¹ç¡¢\fI\&.SF\fR¥Õ¥¡¥¤¥ëÆâ¤Î³Æ¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¾ðÊ󥻥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤¬¡¢¥Þ¥Ë¥Õ¥§¥¹¥È¡¦¥Õ¥¡¥¤¥ëÆâ¤ÎÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤Î¥Ï¥Ã¥·¥å¤È°ìÃפ¹¤ë¤È¤¤¤¦¡¢¤¢¤Þ¤êºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¸¡¾Ú¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++\fI\-sectionsonly\fR¥ª¥×¥·¥ç¥ó¤Ï¡¢¼ç¤Ë¥Æ¥¹¥ÈÍѤ˻ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤ò»ÈÍѤ¹¤ë¤È¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Â礤¯¤Ê¤ë¤¿¤á¡¢¥Æ¥¹¥ÈÍѰʳ°¤Ç¤Ï»ÈÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-protected ++.RS 4 ++\fItrue\fR¤Þ¤¿¤Ï\fIfalse\fR¤Î¤¤¤º¤ì¤«¤ÎÃͤò»ØÄê¤Ç¤¤Þ¤¹¡£ÀìÍÑPIN¥ê¡¼¥À¡¼¤Ê¤É¤ÎÊݸ¤ì¤¿Ç§¾Ú¥Ñ¥¹¤Ë¤è¤Ã¤Æ¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¾ì¹ç¡¢\fItrue\fR¤ò»ØÄꤷ¤Þ¤¹¡£ ++.RE ++.PP ++\-providerClass \fIprovider\-class\-name\fR ++.RS 4 ++°Å¹æ²½¥µ¡¼¥Ó¥¹¡¦¥×¥í¥Ð¥¤¥À¤¬\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ï¡¢¤½¤Î¥Þ¥¹¥¿¡¼¡¦¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¤È¤¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-providerArg \fR\fIConfigFilePath\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ·¡¢\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢¥×¥í¥Ð¥¤¥À¤òưŪ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¥È¡¼¥¯¥ó¹½À®¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ë\fIConfigFilePath\fR¤ò»ÈÍѤ·¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤¬¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ë¤Ë¹½À®¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë\fIPKCS #11\fR¥¡¼¥¹¥È¥¢¤ò°ìÍ÷ɽ¼¨¤¹¤ë¥³¥Þ¥ó¥É¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \e ++ \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e ++ \-providerArg /mydir1/mydir2/token\&.config \e + \-list +-.fl +-\fP + .fi +-.TP 3 +-\-providerName providerName +-\f2java.security\fP¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢\f2\-providerName\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤ÆÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÁªÂò¤Ç¤¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£ +-.br +-.br +-Sun PKCS#11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\f2providerName\fP¤Ï\f2SunPKCS11\-\fP\f2TokenName\fP¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç\f2TokenName\fP¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼¤Ç¤¹¡£¾ÜºÙ¤Ï +-.na +-\f2¹½À®Â°À¤Îɽ\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼\f2SmartCard\fP¤ÎPKCS#11¥¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò¥ê¥¹¥È¤·¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerName SunPKCS11\-SmartCard \\ +-.fl ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-providerName \fIproviderName\fR ++.RS 4 ++\fIjava\&.security\fR¥»¥¥å¥ê¥Æ¥£¡¦¥×¥í¥Ñ¥Æ¥£¡¦¥Õ¥¡¥¤¥ëÆâ¤Ç2¤Ä°Ê¾å¤Î¥×¥í¥Ð¥¤¥À¤¬¹½À®¤µ¤ì¤¿¾ì¹ç¡¢\fI\-providerName\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢ÆÃÄê¤Î¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤òÂоݤˤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ï¡¢¥×¥í¥Ð¥¤¥À¤Î̾Á°¤Ç¤¹¡£ ++.sp ++Oracle PKCS #11¥×¥í¥Ð¥¤¥À¤Î¾ì¹ç¡¢\fIproviderName\fR¤Ï\fISunPKCS11\-\fR\fITokenName\fR¤È¤¤¤¦·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç¡¢¹½À®Â°À¤Îɽ¤Ç¾ÜºÙ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢\fITokenName\fR¤Ï¡¢¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤¬¹½À®¤µ¤ì¤¿Ì¾Á°¤ÎÀÜÈø¼¤Ç¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¥³¥Þ¥ó¥É¤Ï¡¢Ì¾Á°ÀÜÈø¼\fISmartCard\fR¤Î\fIPKCS #11\fR¥¡¼¥¹¥È¥¢¡¦¥×¥í¥Ð¥¤¥À¡¦¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÆâÍÆ¤ò°ìÍ÷ɽ¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore NONE \-storetype PKCS11 \e ++ \-providerName SunPKCS11\-SmartCard \e + \-list +-.fl +-\fP + .fi +-.TP 3 +-\-Jjavaoption +-»ØÄꤵ¤ì¤¿\f2javaoption\fPʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£(\f3jarsigner\fP¤Ï¡¢¼ÂºÝ¤Ë¤ÏJava¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¡Ö¥é¥Ã¥Ñ¡¼¡×¤Ç¤¹¡£)¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\f2java \-h\fP¤Þ¤¿¤Ï\f2java \-X\fP¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-tsa url +-\f2¡Ö\-tsa http://example.tsa.url¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL\f2http://example.tsa.url\fP¤Ï¡¢TSA(Time Stamping Authority)¤Î¾ì½ê¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢\f2\-tsacert\fP¥ª¥×¥·¥ç¥ó¤Ç¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\f2\-tsa\fP¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ +-.br +-.br +-¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\f2jarsigner\fP¤Ï¡¢ +-.na +-\f2RFC 3161\fP @ +-.fi +-http://www.ietf.org/rfc/rfc3161.txt¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤«¤éÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-\-tsacert alias +-\f2¡Ö\-tsacert alias¡×\fP¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£\f2alias\fP¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î¸½ºß͸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ +-.br +-.br +-\f2\-tsacert\fP¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 3 +-\-altsigner class +-ÂåÂØ½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ç¡¢\f2com.sun.jarsigner.ContentSigner\fPÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\f2\-altsignerpath\fP¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤµ¤ì¤ë¤È¡¢\f2jarsigner\fP¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\f2jarsigner\fP¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾µ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.br +-.br +-¤¿¤È¤¨¤Ð¡¢\f2com.sun.sun.jarsigner.AuthSigner\fP¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾µ¡¹½¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢\f2jarsigner\fP¤Ç\f2¡Ö\-altsigner com.sun.jarsigner.AuthSigner¡×\fP¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Þ¤¹¡£ +-.TP 3 +-\-altsignerpath classpathlist +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë(¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ÏÁ°½Ò¤Î\f2\-altsigner\fP¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤Þ¤¹)¤ª¤è¤Ó¤½¤Î¥¯¥é¥¹¤¬°Í¸¤¹¤ë¤¹¤Ù¤Æ¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤ËJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤¬»ØÄꤵ¤ì¤Þ¤¹¡£ +-.br +-.br +-ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\f2classpathlist\fP¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤ì¤é¤òSolaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(\f2:\fP)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(\f2;\fP)¤Ç¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£ +-.br +-.br +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤à¡¢JAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-J\fIjavaoption\fR ++.RS 4 ++»ØÄꤵ¤ì¤¿\fIjavaoption\fRʸ»úÎó¤òJava¥¤¥ó¥¿¥×¥ê¥¿¤ËľÀÜÅϤ·¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¡¢¥¤¥ó¥¿¥×¥ê¥¿¤ËÂФ¹¤ë¥é¥Ã¥Ñ¡¼¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢¶õÇò¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼Â¹Ô´Ä¶¤Þ¤¿¤Ï¥á¥â¥ê¡¼»ÈÍѤòÄ´À°¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£»ØÄê¤Ç¤¤ë¥¤¥ó¥¿¥×¥ê¥¿¡¦¥ª¥×¥·¥ç¥ó¤ò°ìÍ÷ɽ¼¨¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç\fIjava \-h\fR¤Þ¤¿¤Ï\fIjava \-X\fR¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-tsa \fIurl\fR ++.RS 4 ++\fI\-tsa http://example\&.tsa\&.url\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£URL ++\fIhttp://example\&.tsa\&.url\fR¤Ï¡¢Time Stamping Authority (TSA)¤Î¾ì½ê¤òÆÃÄꤷ¡¢\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¸¡½Ð¤µ¤ì¤¿URL¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤¹¡£\fI\-tsa\fR¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤ò¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ++.sp ++¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢\fIjarsigner\fR¤Ï¡¢RFC 3161¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥×¥í¥È¥³¥ë(TSP)¤ò»ÈÍѤ·¤ÆTSA¤ÈÄÌ¿®¤·¤Þ¤¹¡£À®¸ù¤¹¤ë¤È¡¢TSA¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤¿¥¿¥¤¥à¥¹¥¿¥ó¥×¡¦¥È¡¼¥¯¥ó¤Ï¡¢½ð̾¥Ö¥í¥Ã¥¯¡¦¥Õ¥¡¥¤¥ë¤Î½ð̾¤È¤È¤â¤ËÊݸ¤µ¤ì¤Þ¤¹¡£ ++.RE ++.PP ++\-tsacert \fIalias\fR ++.RS 4 ++\fI\-tsacert\fR ++\fIalias\fR¤¬JAR¥Õ¥¡¥¤¥ë¤Î½ð̾»þ¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤¢¤ë¾ì¹ç¡¢½ð̾¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬À¸À®¤µ¤ì¤Þ¤¹¡£ÊÌ̾¤Ï¡¢¥¡¼¥¹¥È¥¢Æâ¤Î͸ú¤ÊTSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤òÆÃÄꤷ¤Þ¤¹¡£¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ç¡¢TSA¤Î¾ì½ê¤òÆÃÄꤹ¤ëURL¤ò´Þ¤àSubject Information Access³ÈÄ¥µ¡Ç½¤¬³Îǧ¤µ¤ì¤Þ¤¹¡£ ++.sp ++\fI\-tsacert\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢TSA¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¤ËÇÛÃÖ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.PP ++\-tsapolicyid \fIpolicyid\fR ++.RS 4 ++TSA¥µ¡¼¥Ð¡¼¤ËÁ÷¿®¤¹¤ë¥Ý¥ê¥·¡¼ID¤ò¼±Ê̤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¼±ÊÌ»Ò(OID)¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢¥Ý¥ê¥·¡¼ID¤ÏÁ÷¿®¤µ¤ì¤º¡¢TSA¥µ¡¼¥Ð¡¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¥ê¥·¡¼ID¤òÁªÂò¤·¤Þ¤¹¡£ ++.sp ++¥ª¥Ö¥¸¥§¥¯¥È¼±Ê̻Ҥϡ¢ITU Telecommunication Standardization Sector (ITU\-T)ɸ½à¤Ç¤¢¤ëX\&.696¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¼±Ê̻Ҥϡ¢Ä̾\fI1\&.2\&.3\&.4\fR¤Ê¤É¤Î¡¢Éé¤Ç¤Ï¤Ê¤¤¿ô»ú¤Î¥Ô¥ê¥ª¥É¶èÀÚ¤ê¤Î¥»¥Ã¥È¤Ç¤¹¡£ ++.RE ++.PP ++\-altsigner \fIclass\fR ++.RS 4 ++¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÂåÂØ½ð̾¥á¥«¥Ë¥º¥à¤ò»ØÄꤷ¤Þ¤¹¡£´°Á´½¤¾þ¥¯¥é¥¹Ì¾¤Ï¡¢\fIcom\&.sun\&.jarsigner\&.ContentSigner\fRÃê¾Ý¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò¼±Ê̤·¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤Ï¡¢\fI\-altsignerpath\fR¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢»ØÄꤵ¤ì¤¿¥¯¥é¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥Ç¥Õ¥©¥ë¥È¤Î½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.sp ++¤¿¤È¤¨¤Ð¡¢\fIcom\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR¤È¤¤¤¦Ì¾Á°¤Î¥¯¥é¥¹¤¬Ä󶡤¹¤ë½ð̾¥á¥«¥Ë¥º¥à¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢jarsigner¤Î¥ª¥×¥·¥ç¥ó\fI\-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.RE ++.PP ++\-altsignerpath \fIclasspathlist\fR ++.RS 4 ++¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¤½¤ì¤¬°Í¸¤¹¤ëJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-altsigner\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤¬JAR¥Õ¥¡¥¤¥ëÆâ¤Ë¤¢¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï¡¢¤½¤ÎJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹¡£ ++.sp ++ÀäÂХѥ¹¤Þ¤¿¤Ï¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤ÎÁêÂХѥ¹¤ò»ØÄê¤Ç¤¤Þ¤¹¡£\fIclasspathlist\fR¤ËÊ£¿ô¤Î¥Ñ¥¹¤äJAR¥Õ¥¡¥¤¥ë¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¡¢¤½¤ì¤é¤ò¡¢Oracle Solaris¤Î¾ì¹ç¤Ï¥³¥í¥ó(:)¤Ç¡¢Windows¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó(;)¤Ç¡¢¤½¤ì¤¾¤ì¶èÀÚ¤ê¤Þ¤¹¡£ÌÜŪ¤Î¥¯¥é¥¹¤¬¤¹¤Ç¤Ë¸¡º÷¥Ñ¥¹Æâ¤Ë¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÉÔÍפǤ¹¡£ ++.sp ++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò´Þ¤á¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl +-\-altsignerpath /home/user/lib/authsigner.jar +-.fl +-\fP ++\-altsignerpath /home/user/lib/authsigner\&.jar + .fi +-JAR¥Õ¥¡¥¤¥ë̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.br +-.br +-¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÎã¤ò¼¨¤·¤Þ¤¹¡£ ++.if n \{\ ++.RE ++.\} ++¼¡¤ÎÎã¤Ç¤Ï¡¢¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤ò»ØÄꤹ¤ëÊýË¡¤ò¼¨¤·¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë̾¤ò¾Êά¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} + .nf +-\f3 +-.fl + \-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +-.fl +-\fP + .fi +-JAR¥Õ¥¡¥¤¥ë̾¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ëα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-strict +-½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¤Ê¤ó¤é¤«¤Î·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¸«¤Ä¤«¤Ã¤¿·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢·Ù¹ð¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ +-.TP 3 +-\-verbose:sub\-options +-¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë»ØÄê¤Ç¤¤Þ¤¹¡£\f2\-certs\fP¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥óall)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë¤½¤ì¤é¤Î³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:grouped\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-certs\fP¤È\f2\-verbose:summary\fP¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤È¤½¤Î¾ÚÌÀ½ñ¾ðÊ󤬥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¤¬¡¢³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤¬¡Ö1¤Ä¤Î¥¨¥ó¥È¥ê(¤ª¤è¤Ó¤½¤ì°Ê¾å)¡×¤È¤·¤ÆÍ×Ìó¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢Îã¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.if n \{\ ++.RE ++.\} ++.RE ++.PP ++\-strict ++.RS 4 ++½ð̾¤Þ¤¿¤Ï¸¡¾Ú½èÍýÃæ¤Ë¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬È¯¹Ô¤µ¤ì¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢¥³¥Þ¥ó¥É¤Ë¤è¤ê¸¡½Ð¤µ¤ì¤¿½ÅÂç¤Ê·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£¥¨¥é¡¼¤È·Ù¹ð¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++\-verbose \fIsuboptions\fR ++.RS 4 ++¸¡¾Ú½èÍý¤Î¾ì¹ç¡¢\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤Ë¤Ï¡¢É½¼¨¤¹¤ë¾ðÊó¤ÎÎ̤ò·èÄꤹ¤ë¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤â»ØÄꤷ¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¡¦¥â¡¼¥É(¤Þ¤¿¤Ï¥µ¥Ö¥ª¥×¥·¥ç¥ó\fIall\fR)¤Ç¤Ï¡¢¥¨¥ó¥È¥ê¤¬½èÍý¤µ¤ì¤ë¤¿¤Ó¤Ë³Æ¥¨¥ó¥È¥ê¤¬É½¼¨¤µ¤ì¡¢¤½¤Î¸å¤ËJAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:grouped\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-certs\fR¤ª¤è¤Ó\fI\-verbose:summary\fR¥µ¥Ö¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢Æ±¤¸½ð̾¼Ô¾ðÊó¤ò»ý¤Ä¥¨¥ó¥È¥ê¤¬¡¢¤½¤Î¾ÚÌÀ½ñ¾ðÊó¤È¤È¤â¤Ë¡¢¥°¥ë¡¼¥×²½¤µ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£³Æ¥¨¥ó¥È¥ê¤Î¾ÜºÙ¤Ï¡¢\fI1¤Ä¤Î¥¨¥ó¥È¥ê(°Ê¾å)\fR¤Ë¤Þ¤È¤á¤é¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£Îã¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.SH "¥¨¥é¡¼¤È·Ù¹ð" ++.PP ++½ð̾¤Þ¤¿¤Ï¸¡¾Ú¥×¥í¥»¥¹Ãæ¤Ë¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¡¢ÍÍ¡¹¤Ê¥¨¥é¡¼¤Þ¤¿¤Ï·Ù¹ð¤¬È¯¹Ô¤µ¤ì¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£ ++.PP ++¾ã³²¤¬¤¢¤ë¾ì¹ç¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É1¤Ç½ªÎ»¤·¤Þ¤¹¡£¾ã³²¤Ï¤Ê¤¤¤¬¡¢1¤Ä°Ê¾å¤Î½ÅÂç¤Ê·Ù¹ð¤¬¤¢¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ\fB¤¤¤Ê¤¤\fR¾ì¹ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É0¤Ç½ªÎ»¤·¡¢\fI\-strict\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï·Ù¹ð¥³¡¼¥É¤ÎORÃͤǽªÎ»¤·¤Þ¤¹¡£¾ðÊó·Ù¹ð¤Î¤ß¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï·Ù¹ð¤¬¤Þ¤Ã¤¿¤¯¤Ê¤¤¾ì¹ç¡¢¥³¥Þ¥ó¥É¤Ï¾ï¤Ë¥³¡¼¥É0¤Ç½ªÎ»¤·¤Þ¤¹¡£ ++.PP ++¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ç¡¢¥Õ¥¡¥¤¥ë¤Î½ð̾¤òµö²Ä¤·¤Ê¤¤KeyUsage³ÈÄ¥µ¡Ç½¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ï¥³¡¼¥É12 (=4+8)¤Ç½ªÎ»¤·¤Þ¤¹¡£ ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 ++.br ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++Unix¥Ù¡¼¥¹¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à¤Ç¤Ï0¤«¤é255¤Þ¤Ç¤ÎÃͤΤߤ¬Í¸ú¤Î¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.PP ++¼¡¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ë¤è¤êȯ¹Ô¤Ç¤¤ë¥¨¥é¡¼¤ª¤è¤Ó·Ù¹ð¤Î̾Á°¡¢¥³¡¼¥É¡¢ÀâÌÀ¤òµ½Ò¤·¤Þ¤¹¡£ ++.SS "¾ã³²" ++.PP ++¥³¥Þ¥ó¥É¥é¥¤¥ó²òÀÏ¥¨¥é¡¼¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤¹¤ë¸°¥Ú¥¢¤ò¸¡º÷¤Ç¤¤Ê¤¤¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú¼ºÇԤʤÉ(¸ÂÄꤵ¤ì¤Þ¤»¤ó)¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤Î¼ºÇÔÍýͳ¡£ ++.PP ++failure ++.RS 4 ++¥³¡¼¥É1¡£½ð̾¤Þ¤¿¤Ï¸¡¾Ú¤¬¼ºÇÔ¤·¤Þ¤¹¡£ ++.RE ++.SS "½ÅÂç¤Ê·Ù¹ð" ++.if n \{\ ++.sp ++.\} ++.RS 4 ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBNote\fR ++.ps -1 ++.br ++.TS ++allbox tab(:); ++l. ++T{ ++¥Î¡¼¥È ++.PP ++\fI\-strict\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢½ÅÂç¤Ê·Ù¹ð¤Ï¥¨¥é¡¼¤È¤·¤ÆÊó¹ð¤µ¤ì¤Þ¤¹¡£ ++T} ++.TE ++.sp 1 ++.sp .5v ++.RE ++.PP ++JAR¥Õ¥¡¥¤¥ë¤Î½ð̾¤Ë»ÈÍѤ¹¤ë¾ÚÌÀ½ñ¤Ë¥¨¥é¡¼¤¬¤¢¤ë¡¢¤Þ¤¿¤Ï½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë¾¤ÎÌäÂ꤬¤¢¤ë¤Ê¤É¡¢\fIjarsigner\fR¥³¥Þ¥ó¥É¤¬½ÅÂç¤Ê·Ù¹ð¤òȯ¹Ô¤¹¤ëÍýͳ¡£ ++.PP ++hasExpiredCert ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++notYetValidCert ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬¤Þ¤À͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++chainNotValidated ++.RS 4 ++¥³¡¼¥É4¡£¤³¤Îjar¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥Á¥§¡¼¥ó¤¬Àµ¤·¤¯¸¡¾Ú¤Ç¤¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badKeyUsage ++.RS 4 ++¥³¡¼¥É8¡£¤³¤ÎJAR¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badExtendedKeyUsage ++.RS 4 ++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎExtendedKeyUsage³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++badNetscapeCertType ++.RS 4 ++¥³¡¼¥É8¡£¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤ÎNetscapeCertType³ÈÄ¥µ¡Ç½¤¬¥³¡¼¥É½ð̾¤òµö²Ä¤·¤Ê¤¤¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++hasUnsignedEntry ++.RS 4 ++¥³¡¼¥É16¡£¤³¤Îjar¤Ë¤Ï¡¢À°¹çÀ¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Ê¤¤Ì¤½ð̾¤Î¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++notSignedByAlias ++.RS 4 ++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢»ØÄꤵ¤ì¤¿ÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++aliasNotInStore ++.RS 4 ++¥³¡¼¥É32¡£¤³¤Îjar¤Ë¤Ï¡¢¤³¤Î¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤Ê¤¤½ð̾ºÑ¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ ++.RE ++.SS "¾ðÊó·Ù¹ð" ++.PP ++¾ðÊó·Ù¹ð¤Ë¤Ï¡¢¥¨¥é¡¼¤Ç¤Ï¤Ê¤¤¤¬ÉÔŬÀڤȤߤʤµ¤ì¤ë¤â¤Î¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¥³¡¼¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ++.PP ++hasExpiringCert ++.RS 4 ++¤³¤Îjar¤Ë¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤¬6¤«·î°ÊÆâ¤Ë´ü¸ÂÀÚ¤ì¤È¤Ê¤ë¥¨¥ó¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ ++.RE ++.PP ++noTimestamp ++.RS 4 ++¤³¤Îjar¤Ë¤Ï¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò´Þ¤Þ¤Ê¤¤½ð̾¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥¿¥¤¥à¥¹¥¿¥ó¥×¤Ê¤·¤Ç¤Ï¡¢½ð̾¼Ô¾ÚÌÀ½ñ¤Î͸ú´ü¸Â(·Á¼°¤Ï\fIYYYY\-MM\-DD\fR)¸å¤Þ¤¿¤Ï¾Íè¤Î¼è¾ÃÆü¸å¡¢¥æ¡¼¥¶¡¼¤Ï¤³¤ÎJAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£ + .RE +- +-.LP + .SH "Îã" +-.LP +-.SS +-JAR¥Õ¥¡¥¤¥ë¤Î½ð̾ +-.LP +-.LP +-bundle.jar¤È¤¤¤¦Ì¾Á°¤ÎJAR¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤È¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¡¢working¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Îmystore¤È¤¤¤¦¥¡¼¥¹¥È¥¢¤Ë¤¢¤ë¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤¬jane¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤ò»ÈÍѤ·¤Æ¡¢½ð̾¤òÉÕ¤±¤ë¤È¤·¤Þ¤¹¡£¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤Æsbundle.jar¤È¤¤¤¦½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¾å¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\f2\-sigfile\fP¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ë.SF¥Õ¥¡¥¤¥ë¤È.DSA¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤«¤é¥Ç¥Õ¥©¥ë¥È̾¤¬ÉÕ¤±¤é¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤½¤ì¤é¤Î̾Á°¤Ï\f2JANE.SF\fP¤ª¤è¤Ó\f2JANE.DSA\fP¤Ë¤Ê¤ê¤Þ¤¹¡£ +-.LP +-.LP +-¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ÈÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤòµá¤á¤ë¥×¥í¥ó¥×¥È¤òɽ¼¨¤¹¤ë¾ì¹ç¤Ï¡¢¾å¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¼¡¤Î¤è¤¦¤ËÆþÎϤǤ¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore +-.fl +- \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î.keystore¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢)¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥¡¼¥¹¥È¥¢¤Î»ØÄê¤ò¾Êά¤Ç¤¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-ºÇ¸å¤Ë¡¢ÆþÎÏJAR¥Õ¥¡¥¤¥ë(\f2bundle.jar\fP)¤ò½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Çñ½ã¤Ë¾å½ñ¤¤¹¤ë¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë\f2\-signedjar\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.SS +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤¹¤ë¡¢¤Ä¤Þ¤ê½ð̾¤¬Í¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þÊѤµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify sbundle.jar +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢ +-.LP +-.nf +-\f3 +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¤è¤ê¿¤¯¤Î¾ðÊó¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\f2\-verbose\fP¥ª¥×¥·¥ç¥óÉÕ¤¤Ç\f3jarsigner\fP¤ò»ÈÍѤ¹¤ëÎã¤È¤½¤Î½ÐÎÏÎã¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify \-verbose sbundle.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class +-.fl +- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class +-.fl +- +-.fl ++.SS "JAR¥Õ¥¡¥¤¥ë¤Î½ð̾" ++.PP ++¼¡¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¡¼¥¹¥È¥¢ÊÌ̾¤¬\fIworking\fR¥Ç¥£¥ì¥¯¥È¥ê¤Î\fImystore\fR¤È¤¤¤¦Ì¾Á°¤Î¥¡¼¥¹¥È¥¢¤Ë¤¢¤ë\fIjane\fR¤Ç¤¢¤ë¥æ¡¼¥¶¡¼¤ÎÈëÌ©¸°¤Çbundle\&.jar¤Ë½ð̾¤·¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ësbundle\&.jar¤È¤¤¤¦Ì¾Á°¤òÉÕ¤±¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-storepass <keystore password> ++ \-keypass <private key password> \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++Á°½Ò¤Î¥³¥Þ¥ó¥É¤Ç¤Ï\fI\-sigfile\fR¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ë³ÊǼ¤µ¤ì¤ëÀ¸À®¤µ¤ì¤¿\fI\&.SF\fR¥Õ¥¡¥¤¥ë¤ª¤è¤Ó\fI\&.DSA\fR¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ÊÌ̾¤Ë´ð¤Å¤¤¤¿¥Ç¥Õ¥©¥ë¥È¤Î̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢Ì¾Á°ÉÕ¤¤Î\fIJANE\&.SF\fR¤ª¤è¤Ó\fIJANE\&.DSA\fR¤Ç¤¹¡£ ++.PP ++¥¹¥È¥¢¤Î¥Ñ¥¹¥ï¡¼¥É¤ª¤è¤ÓÈëÌ©¸°¤Î¥Ñ¥¹¥ï¡¼¥É¤òµá¤á¤é¤ì¤ë¾ì¹ç¡¢Á°½Ò¤Î¥³¥Þ¥ó¥É¤òû½Ì¤·¤Æ¡¢¼¡¤Î¤³¤È¤ò¼Â¹Ô¤Ç¤¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore ++ \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¥¡¼¥¹¥È¥¢¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥¡¼¥¹¥È¥¢(¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î\&.keystore)¤Ç¤¢¤ë¾ì¹ç¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥¡¼¥¹¥È¥¢¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤»¤ó¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++ÆþÎÏJAR¥Õ¥¡¥¤¥ë(bundle\&.jar)¤ò½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Ç¾å½ñ¤¤¹¤ë¾ì¹ç¡¢¼¡¤Î¤è¤¦¤Ë\fI\-signedjar\fR¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner bundle\&.jar jane ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú" ++.PP ++½ð̾ÉÕ¤JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤·¤Æ¡¢½ð̾¤¬Í¸ú¤ÇJAR¥Õ¥¡¥¤¥ë¤¬²þ¤¶¤ó¤µ¤ì¤Ê¤«¤Ã¤¿¤³¤È¤ò³Îǧ¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-verify sbundle\&.jar ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++¸¡¾Ú¤¬À®¸ù¤¹¤ë¤È¡¢\fIjar verified\fR¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£Í¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¡¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤È¡¢¾ÜºÙ¾ðÊó¤ò¼èÆÀ¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¤ò\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¥µ¥ó¥×¥ë¤ò¡¢¼¡¤Ë¼¨¤·¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-verify \-verbose sbundle\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class ++ smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.SS +-¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú +-.LP +-.LP +-¸¡¾Ú»þ¤Ë\f2\-verify\fP¤È\f2\-verbose\fP¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¤Æ\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊó¤â½ÐÎϤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¼±ÊÌ̾¾ðÊó(X.509¾ÚÌÀ½ñ¤Î¾ì¹ç¤Î¤ß)¡¢¤ª¤è¤ÓJAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¤Î¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¾ÚÌÀ½ñ¤Ë°ìÃפ·¤¿¾ì¹ç¤Ë¤Ï¡¢³ç¸Ì¤Ç°Ï¤Þ¤ì¤¿½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¼¡¤Ë¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF +-.fl +- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class +-.fl +- +-.fl +- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest) +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- +-.fl ++ ++ jar verified\&. ++.fi ++.if n \{\ ++.RE ++.\} ++.SS "¾ÚÌÀ½ñ¾ðÊó¤ò»ÈÍѤ·¤¿¸¡¾Ú" ++.PP ++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò\fI\-verify\fR¤ª¤è¤Ó\fI\-verbose\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢JAR¥Õ¥¡¥¤¥ë¤Î³Æ½ð̾¼Ô¤Î¾ÚÌÀ½ñ¾ðÊ󤬽ÐÎϤ˴ޤޤì¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ë¤Ï¡¢¾ÚÌÀ½ñ¥¿¥¤¥×¡¢½ð̾¼Ô¤Î¼±ÊÌ̾¾ðÊó(X\&.509¾ÚÌÀ½ñ¤Î¾ì¹ç)¤¬´Þ¤Þ¤ì¡¢´Ý¥«¥Ã¥³Æâ¤Ë¤Ï¡¢JAR¥Õ¥¡¥¤¥ë¤Î¸ø³«¸°¾ÚÌÀ½ñ¤¬¥¡¼¥¹¥È¥¢¡¦¥¨¥ó¥È¥ê¤Î¸ø³«¸°¾ÚÌÀ½ñ¤Ë°ìÃפ¹¤ë¾ì¹ç¤Î½ð̾¼Ô¤Î¥¡¼¥¹¥È¥¢ÊÌ̾¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF ++ 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA ++ smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class ++ ++ X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest) ++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X.509¾ÚÌÀ½ñ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬bob¤Î¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- PGP, (bob) +-.fl +-\fP +-.fi +- +-.LP +-.SS +-¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤àJAR¥Õ¥¡¥¤¥ë¤Î¸¡¾Ú +-.LP +-.LP +-JAR¥Õ¥¡¥¤¥ë¤¬¡¢JDK 1.1¤Î\f3javakey\fP¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢½ð̾¼Ô¤Ï¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¹¡£¤³¤Î¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤϡÖi¡×¤È¤¤¤¦µ¹æ¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¡Ök¡×¤È¡Öi¡×¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f2\-certs\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ï³ç¸Ì¤Ç°Ï¤Þ¤ì¤ë¤Î¤ËÂФ·¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF +-.fl +- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA +-.fl +- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html +-.fl +- +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke] +-.fl +- +-.fl ++ ++ jar verified\&. ++.fi ++.if n \{\ ++.RE ++.\} ++.PP ++½ð̾¼Ô¤Î¾ÚÌÀ½ñ¤¬X\&.509¾ÚÌÀ½ñ¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¼±ÊÌ̾¾ðÊó¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¾ÚÌÀ½ñ¤Î¥¿¥¤¥×¤ÈÊÌ̾¤Î¤ß¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¾ÚÌÀ½ñ¤¬PGP¾ÚÌÀ½ñ¤Ç¡¢ÊÌ̾¤¬\fIbob\fR¤Ç¤¢¤ë¾ì¹ç¡¢\fIPGP, (bob)\fR¤ò¼èÆÀ¤·¤Þ¤¹¡£ ++.SS "¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½ð̾¼Ô¤ò´Þ¤à¸¡¾Ú" ++.PP ++JAR¥Õ¥¡¥¤¥ë¤¬JDK 1\&.1¤Î\fIjavakey\fR¥Ä¡¼¥ë¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¡¢½ð̾¼Ô¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤Ç¤¢¤ë¾ì¹ç¡¢¸¡¾Ú¤Î½ÐÎϤˤÏ\fIi\fR¤¬´Þ¤Þ¤ì¤Þ¤¹¡£JAR¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤ÎÊÌ̾¤È¥¡¼¥¹¥È¥¢Æâ¤ÎÊÌ̾¤ÎξÊý¤Ë¤è¤Ã¤Æ½ð̾¤µ¤ì¤¿¾ì¹ç¡¢\fIk\fR¤È\fIi\fR¤ÎξÊý¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ++.PP ++\fI\-certs\fR¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ë»ÈÍѤµ¤ì¤ë´Ý¥«¥Ã¥³¤Ç¤Ï¤Ê¤¯¡¢Â祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ++.sp ++.if n \{\ ++.RS 4 ++.\} ++.nf ++ jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar ++ ++ 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF ++ 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF ++ 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA ++ 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF ++ 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA ++ smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html ++ ++ X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) ++ X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke] ++ + s = signature was verified +-.fl + m = entry is listed in manifest +-.fl + k = at least one certificate was found in keystore +-.fl + i = at least one certificate was found in identity scope +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-ÊÌ̾duke¤Ï³Ñ³ç¸Ì¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤ÎÊÌ̾¤Ï¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¹¡£ +-.LP +-.SH "·Ù¹ð" +-.LP +-½ð̾/¸¡¾Ú½èÍýÃæ¤Ë¤Ï¡¢jarsigner¤«¤éÍÍ¡¹¤Ê·Ù¹ð¤¬É½¼¨¤µ¤ì¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î·Ù¹ð¥³¡¼¥É¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ +-.nf +-\f3 +-.fl +- hasExpiringCert 2 +-.fl +- This jar contains entries whose signer certificate will expire within six months +-.fl +- +-.fl +- hasExpiredCert 4 +-.fl +- This jar contains entries whose signer certificate has expired. +-.fl +- +-.fl +- notYetValidCert 4 +-.fl +- This jar contains entries whose signer certificate is not yet valid. +-.fl +- +-.fl +- chainNotValidated 4 +-.fl +- This jar contains entries whose certificate chain cannot be correctly validated. +-.fl +- +-.fl +- badKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing. +-.fl +- +-.fl +- badExtendedKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's ExtendedKeyUsage extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- badNetscapeCertType 8 +-.fl +- This jar contains entries whose signer certificate's NetscapeCertType extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- hasUnsignedEntry 16 +-.fl +- This jar contains unsigned entries which have not been integrity\-checked. +-.fl +- +-.fl +- notSignedByAlias 32 +-.fl +- This jar contains signed entries which are not signed by the specified alias(es) +-.fl +- +-.fl +- aliasNotInStore 32 +-.fl +- This jar contains signed entries that are not signed by alias in this keystore +-.fl +- +-.fl +-\fP +-.fi +- +-.LP +-.LP +-\f2\-strict\fP¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¸¡½Ð¤µ¤ì¤¿·Ù¹ð¤ÎOR¤ò¼è¤Ã¤¿Ãͤ¬¥Ä¡¼¥ë¤Î½ªÎ»¥³¡¼¥É¤È¤·¤ÆÊÖ¤µ¤ì¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥¨¥ó¥È¥ê¤Î½ð̾¤Ë»ÈÍѤµ¤ì¤ë¾ÚÌÀ½ñ¤¬´ü¸ÂÀÚ¤ì¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤«¤Ä¤½¤Î¾ÚÌÀ½ñ¤ÎkeyUsage³ÈÄ¥¤Ç¥Õ¥¡¥¤¥ë¤Î½ð̾¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢½ªÎ»¥³¡¼¥É12(=4+8)¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.LP +-\f3Ãí°Õ\fP: UNIX¤Ç»ÈÍѲÄǽ¤ÊÃͤÏ0¤«¤é255¤Î¤ß¤Ç¤¢¤ë¤¿¤á¡¢½ªÎ»¥³¡¼¥É¤ÏºÆÍøÍѤµ¤ì¤Þ¤¹¡£¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢½ð̾/¸¡¾Ú½èÍý¤¬¼ºÇÔ¤¹¤ë¤È¡¢¼¡¤Î½ªÎ»¥³¡¼¥É¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +-.LP +-.nf +-\f3 +-.fl +-failure 1 +-.fl +-\fP +-.fi +- +-.LP +-.SS +-JDK 1.1¤È¤Î¸ß´¹À +-.LP +-.LP +-\f3keytool\fP¥Ä¡¼¥ë¤È\f3jarsigner\fP¥Ä¡¼¥ë¤Ï¡¢JDK 1.1¤ÇÄ󶡤µ¤ì¤Æ¤¤¤¿\f3javakey\fP¥Ä¡¼¥ë¤ò´°Á´¤ËÃÖ¤´¹¤¨¤ë¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\f3javakey\fP¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-¿·¤·¤¤¥¡¼¥¹¥È¥¢¡¦¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ï¡¢\f3javakey\fP¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥¡¼¥¹¥È¥¢·Á¼°¤È¡¢1.1¤Î\f3javakey\fP¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï²¼°Ì¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤Î¤³¤È¤Ï²Äǽ¤Ç¤¹¡£ +-.LP +-.RS 3 +-.TP 2 +-o +-\f3keytool\fP¤Î\f2\-identitydb\fP¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¾ðÊó¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-\f3jarsigner\fP¤Ï¡¢°ÊÁ°¤Ë\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.TP 2 +-o +-\f3jarsigner\fP¤Ï¡¢\f3javakey\fP¤ò»ÈÍѤ·¤Æ½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢Java 2 SDK¤Î¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤³¤ì¤é¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +-.RE +- +-.LP +-.LP +-¼¡¤Îɽ¤Ï¡¢JDK 1.1.x¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤¬¡¢Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤É¤Î¤è¤¦¤Ë°·¤ï¤ì¤ë¤«¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£ +-.LP +-.LP +-.TS +-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +-.de 35 +-.ps \n(.s +-.vs \n(.vu +-.in \n(.iu +-.if \n(.u .fi +-.if \n(.j .ad +-.if \n(.j=0 .na +-.. +-.nf +-.nr #~ 0 +-.if n .nr #~ 0.6n +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.fc +-.nr 33 \n(.s +-.rm 80 81 82 83 84 +-.nr 34 \n(.lu +-.eo +-.am 80 +-.br +-.di a+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(80 .ll \n(80u +-.in 0 +-\f3JAR¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×\fP +-.br +-.di +-.nr a| \n(dn +-.nr a- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di b+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£\fP +-.br +-.di +-.nr b| \n(dn +-.nr b- \n(dl +-.. +-.ec \ +-.eo +-.am 82 +-.br +-.di c+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(82 .ll \n(82u +-.in 0 +-\f31.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava 2 Platform¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£(4)\fP +-.br +-.di +-.nr c| \n(dn +-.nr c- \n(dl +-.. +-.ec \ +-.eo +-.am 83 +-.br +-.di d+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(83 .ll \n(83u +-.in 0 +-\f3¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤¬¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤ËÆÃ¸¢¤òÉÕÍ¿\fP +-.br +-.di +-.nr d| \n(dn +-.nr d- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di e+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr e| \n(dn +-.nr e- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di f+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr f| \n(dn +-.nr f- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di g+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢ +-.br +-.di +-.nr g| \n(dn +-.nr g- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di h+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-¤Ï¤¤/¿®Íê¤Ç¤¤Ê¤¤ +-.br +-.di +-.nr h| \n(dn +-.nr h- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di i+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(3) +-.br +-.di +-.nr i| \n(dn +-.nr i- \n(dl +-.. +-.ec \ +-.eo +-.am 81 +-.br +-.di j+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(81 .ll \n(81u +-.in 0 +-¤Ï¤¤/¿®Íê¤Ç¤¤Ê¤¤ +-.br +-.di +-.nr j| \n(dn +-.nr j- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di k+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢(1¡¢3) +-.br +-.di +-.nr k| \n(dn +-.nr k- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di l+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢ +-.br +-.di +-.nr l| \n(dn +-.nr l- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di m+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÆÃ¸¢¤È¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤ÇÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢(2) +-.br +-.di +-.nr m| \n(dn +-.nr m- \n(dl +-.. +-.ec \ +-.35 +-.nf +-.ll \n(34u +-.nr 80 0 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾¤Î¤Ê¤¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \w½ð̾ÉÕ¤JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.80 +-.rm 80 +-.nr 38 \n(a- +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 81 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \w¤Ï¤¤/¿®Íê¤Ç¤¤ë +-.if \n(81<\n(38 .nr 81 \n(38 +-.81 +-.rm 81 +-.nr 38 \n(b- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \n(h- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \n(j- +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 82 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(82<\n(38 .nr 82 \n(38 +-.82 +-.rm 82 +-.nr 38 \n(c- +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 83 0 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤¤¤¤¤¨ +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \w¤Ï¤¤ +-.if \n(83<\n(38 .nr 83 \n(38 +-.83 +-.rm 83 +-.nr 38 \n(d- +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 84 0 +-.nr 38 \w\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢ +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \w¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.84 +-.rm 84 +-.nr 38 \n(e- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(f- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(g- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(i- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(k- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(l- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(m- +-.if \n(84<\n(38 .nr 84 \n(38 +-.35 +-.nf +-.ll \n(34u +-.nr 38 1n +-.nr 79 0 +-.nr 40 \n(79+(0*\n(38) +-.nr 80 +\n(40 +-.nr 41 \n(80+(3*\n(38) +-.nr 81 +\n(41 +-.nr 42 \n(81+(3*\n(38) +-.nr 82 +\n(42 +-.nr 43 \n(82+(3*\n(38) +-.nr 83 +\n(43 +-.nr 44 \n(83+(3*\n(38) +-.nr 84 +\n(44 +-.nr TW \n(84 +-.if t .if \n(TW>\n(.li .tm Table at line 1090 file Input is too wide - \n(TW units +-.fc +-.nr #T 0-1 +-.nr #a 0-1 +-.eo +-.de T# +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.mk ## +-.nr ## -1v +-.ls 1 +-.ls +-.. +-.ec +-.ne \n(a|u+\n(.Vu +-.ne \n(b|u+\n(.Vu +-.ne \n(c|u+\n(.Vu +-.ne \n(d|u+\n(.Vu +-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3ÉÕÍ¿¤µ¤ì¤ëÆÃ¸¢\fP +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(40u +-.in +\n(37u +-.a+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.b+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(42u +-.in +\n(37u +-.c+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(43u +-.in +\n(37u +-.d+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(e|u+\n(.Vu +-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.e+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(f|u+\n(.Vu +-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾¤Î¤Ê¤¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.f+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(g|u+\n(.Vu +-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.g+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(h|u+\n(.Vu +-.ne \n(i|u+\n(.Vu +-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.h+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.i+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(j|u+\n(.Vu +-.ne \n(k|u+\n(.Vu +-.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +-.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(41u +-.in +\n(37u +-.j+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.k+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(l|u+\n(.Vu +-.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤¤¤¤¤¨\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.l+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(m|u+\n(.Vu +-.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤Ï¤¤\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.m+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢ +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤Ï¤¤\h'|\n(43u'¤¤¤¤¤¨\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'½ð̾ÉÕ¤JAR\h'|\n(41u'¤Ï¤¤/¿®Íê¤Ç¤¤ë\h'|\n(42u'¤¤¤¤¤¨\h'|\n(43u'¤Ï¤¤\h'|\n(44u'¤¹¤Ù¤Æ¤ÎÆÃ¸¢(1) +-.fc +-.nr T. 1 +-.T# 1 +-.35 +-.rm a+ +-.rm b+ +-.rm c+ +-.rm d+ +-.rm e+ +-.rm f+ +-.rm g+ +-.rm h+ +-.rm i+ +-.rm j+ +-.rm k+ +-.rm l+ +-.rm m+ +-.TE +-.if \n-(b.=0 .nr c. \n(.c-\n(d.-50 +- +-.LP +-.LP +-Ãí°Õ: +-.LP +-.RS 3 +-.TP 3 +-1. +-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿ÆÃ¸¢¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +-.TP 3 +-2. +-¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ +-.TP 3 +-3. +-Java 2¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ +-.TP 3 +-4. +-Java 2 SDK¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£ +-.RE +- +-.LP +-.SH "´ØÏ¢¹àÌÜ" +-.LP +-.RS 3 +-.TP 2 +-o +-jar(1)¥Ä¡¼¥ë¤Î¥É¥¥å¥á¥ó¥È +-.TP 2 +-o +-keytool(1)¥Ä¡¼¥ë¤Î¥É¥¥å¥á¥ó¥È +-.TP 2 +-o +-\f3jarsigner\fP¥Ä¡¼¥ë¤Î»ÈÍÑÎã¤Ï¡¢ +-.na +-\f4Java¥Á¥å¡¼¥È¥ê¥¢¥ë\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/index.html¤Î +-.na +-\f4¥»¥¥å¥ê¥Æ¥£\fP @ ++ ++ jar verified\&. + .fi +-http://docs.oracle.com/javase/tutorial/security/index.html¤ò»²¾È ++.if n \{\ + .RE +- +-.LP +- ++.\} ++.PP ++\fBÃí°Õ: \fRÊÌ̾¤¬¥¡¼¥¹¥È¥¢¤ÎÊÌ̾¤Ç¤Ï¤Ê¤¯¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÊÌ̾¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤Ë¤Ï¡¢ÊÌ̾\fIduke\fR¤òÂ祫¥Ã¥³¤Ç°Ï¤ß¤Þ¤¹¡£ ++.SH "JDK 1.1¤Î¸ß´¹À" ++.PP ++\fIkeytool\fR¤ª¤è¤Ó\fIjarsigner\fR¥Ä¡¼¥ë¤Ï¡¢JDK 1\&.1¤Ë¤ª¤±¤ë\fIjavakey\fR¥Ä¡¼¥ë¤òÃÖ¤´¹¤¨¤¿¤â¤Î¤Ç¤¹¡£¤³¤ì¤é¤Î¿·¤·¤¤¥Ä¡¼¥ë¤Ï¡¢¥¡¼¥¹¥È¥¢¤ÈÈëÌ©¸°¤ò¥Ñ¥¹¥ï¡¼¥É¤ÇÊݸ¤ëµ¡Ç½¤ä¡¢½ð̾¤ÎÀ¸À®¤Ë²Ã¤¨¤Æ½ð̾¤ò¸¡¾Ú¤¹¤ëµ¡Ç½¤Ê¤É¡¢\fIjavakey\fR¤è¤ê¿¤¯¤Î¤òµ¡Ç½¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£ ++.PP ++¿·¤·¤¤¥¡¼¥¹¥È¥¢¡¦¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ï¡¢\fIjavakey\fR¤¬ºîÀ®¤·¤Æ´ÉÍý¤·¤Æ¤¤¤¿¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÂå¤ï¤ë¤â¤Î¤Ç¤¹¡£¥¡¼¥¹¥È¥¢·Á¼°¤È¡¢JDK 1\&.1¤Î\fIjavakey\fR¤¬»ÈÍѤ·¤Æ¤¤¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹·Á¼°¤È¤Î´Ö¤Ë¤Ï¡¢²¼°Ì¸ß´¹À¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤¿¤À¤·¡¢¼¡¤ÎÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIkeytool \-identitydb\fR¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¥¡¼¥¹¥È¥¢¤Ë¾ðÊó¤ò¥¤¥ó¥Ý¡¼¥È¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¥³¥Þ¥ó¥É¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤Ë½ð̾¤Ç¤¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢\fIjavakey\fR¤Ç½ð̾¤µ¤ì¤¿JAR¥Õ¥¡¥¤¥ë¤ò¸¡¾Ú¤Ç¤¤Þ¤¹¡£\fIjarsigner\fR¥³¥Þ¥ó¥É¤Ç¤Ï¡¢JDK¤Î¥¡¼¥¹¥È¥¢¤Ç¤Ï¤Ê¤¯JDK 1\&.1¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é¤Î½ð̾¼ÔÊÌ̾¤òǧ¼±¤·¡¢¤½¤ì¤òÂоݤ˽èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ++.RE ++.SS "½ð̾¤Î¤Ê¤¤JAR" ++.PP ++½ð̾¤Î¤Ê¤¤JAR¤Ë¤Ï¡¢¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤¬¤¢¤ê¤Þ¤¹¡£ ++.SS "½ð̾ÉÕ¤JAR" ++.PP ++½ð̾ÉÕ¤JAR¤Ë¤Ï¡¢µ½Ò¤É¤ª¤ê¤ÎJDK 1\&.1\&.\fIn\fR¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Î¥¹¥Æ¡¼¥¿¥¹¤Ë´ð¤Å¤¤¤¿¸¢¸Â¹½À®¤¬¤¢¤ê¤Þ¤¹¡£JDK¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤Ç¤¤ë¤Î¤Ï¡¢¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Î¤ß¤Ç¤¹¡£ ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fB¤¹¤Ù¤Æ¤Î¥³¡¼¥É¤ËÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤ ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: ¤Ï¤¤/¿®Íꤵ¤ì¤Ê¤¤ ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ª¤è¤Ó3¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÉÕÍ¿¤µ¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¸¢¸Â¤ª¤è¤Ó¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î2¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÉÕÍ¿¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î¸¢¸Â\fR ++.RS 4 ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.PP ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RS 4 ++1\&.1¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤Ï¤¤/¿®Íꤵ¤ì¤ë\fR ++.RE ++.RS 4 ++1\&.1\&.¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤éJava¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£: \fB¤¤¤¤¤¨\fR ++.RE ++.RS 4 ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£/ÊÌ̾¤Ø¤Î¸¢¸Â¤ÎÉÕÍ¿: \fB¤Ï¤¤\fR ++.RE ++.RS 4 ++Ãí°Õ¤Î1¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ++.RE ++.RE ++.sp ++.it 1 an-trap ++.nr an-no-space-flag 1 ++.nr an-break-flag 1 ++.br ++.ps +1 ++\fBÃí°Õ\fR ++.RS 4 ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 1.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 1." 4.2 ++.\} ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ëÆâ¤Ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Þ¤¿¤ÏÊÌ̾¤Ë¤Ä¤¤¤Æ¤Î¸ÀµÚ¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤ò¥¡¼¥¹¥È¥¢¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¡¢ÉÕÍ¿¤µ¤ì¤¿¸¢¸Â¤Ë¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤬ȿ±Ç¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 2.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 2." 4.2 ++.\} ++¥Ý¥ê¥·¡¼¡¦¥Õ¥¡¥¤¥ë/¥¡¼¥¹¥È¥¢¤ÎÁȹ礻¤Ï¡¢¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Î¿®Íê¤Ç¤¤ë¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04' 3.\h'+01'\c ++.\} ++.el \{\ ++.sp -1 ++.IP " 3." 4.2 ++.\} ++Java¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢¿®Íê¤Ç¤¤Ê¤¤¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ ++.RE ++.RE ++.SH "»²¾È" ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++jar(1) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++keytool(1) ++.RE ++.sp ++.RS 4 ++.ie n \{\ ++\h'-04'\(bu\h'+03'\c ++.\} ++.el \{\ ++.sp -1 ++.IP \(bu 2.3 ++.\} ++http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html¤Ë¤¢¤ë ++¡Ö¥³¡¼¥¹: Java SE¤Î¥»¥¥å¥ê¥Æ¥£µ¡Ç½¡× ++.RE ++.br ++'pl 8.5i ++'bp +--- jdk/src/solaris/doc/sun/man/man1/jarsigner.1 2013-09-06 11:29:09.000000000 -0700 ++++ jdk/src/solaris/doc/sun/man/man1/jarsigner.1 2014-01-18 12:16:27.000000000 -0800 +@@ -1,1569 +1,985 @@ +-." Copyright (c) 1998, 2011, 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. +-." +-.TH jarsigner 1 "16 Mar 2012" +- +-.LP +-.SH "Name" +-jarsigner \- JAR Signing and Verification Tool +-.LP +-.LP +-Generates signatures for Java ARchive (JAR) files, and verifies the signatures of signed JAR files. +-.LP +-.SH "SYNOPSIS" +-.LP +-.nf +-\f3 +-.fl +-\fP\f3jarsigner\fP [ options ] jar\-file alias +-.fl +-\f3jarsigner\fP \-verify [ options ] jar\-file [alias...] +-.fl +-.fi +- +-.LP +-.LP +-The jarsigner \-verify command can take zero or more keystore alias names after the jar filename. When specified, jarsigner will check that the certificate used to verify each signed entry in the jar file matches one of the keystore aliases. The aliases are defined in the keystore specified by \-keystore, or the default keystore. +-.LP +-.SH "DESCRIPTION" +-.LP +-.LP +-The \f3jarsigner\fP tool is used for two purposes: +-.LP +-.RS 3 +-.TP 3 +-1. +-to sign Java ARchive (JAR) files, and +-.TP 3 +-2. +-to verify the signatures and integrity of signed JAR files. +-.RE +- +-.LP +-.LP +-The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution. A tool named jar(1) enables developers to produce JAR files. (Technically, any zip file can also be considered a JAR file, although when created by \f3jar\fP or processed by \f3jarsigner\fP, JAR files also contain a META\-INF/MANIFEST.MF file.) +-.LP +-.LP +-A \f2digital signature\fP is a string of bits that is computed from some data (the data being "signed") and the private key of an entity (a person, company, etc.). Like a handwritten signature, a digital signature has many useful characteristics: +-.LP +-.RS 3 +-.TP 2 +-o +-Its authenticity can be verified, via a computation that uses the public key corresponding to the private key used to generate the signature. +-.TP 2 +-o +-It cannot be forged, assuming the private key is kept secret. +-.TP 2 +-o +-It is a function of the data signed and thus can't be claimed to be the signature for other data as well. +-.TP 2 +-o +-The signed data cannot be changed; if it is, the signature will no longer verify as being authentic. +-.RE +- +-.LP +-.LP +-In order for an entity's signature to be generated for a file, the entity must first have a public/private key pair associated with it, and also one or more certificates authenticating its public key. A \f2certificate\fP is a digitally signed statement from one entity, saying that the public key of some other entity has a particular value. +-.LP +-.LP +-\f3jarsigner\fP uses key and certificate information from a \f2keystore\fP to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. The keytool(1) utility is used to create and administer keystores. +-.LP +-.LP +-\f3jarsigner\fP uses an entity's private key to generate a signature. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file. \f3jarsigner\fP can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file). +-.LP +-.LP +-\f3jarsigner\fP can generate signatures that include a timestamp, thus enabling systems/deployer (including Java Plug\-in) to check whether the JAR file was signed while the signing certificate was still valid. In addition, APIs will allow applications to obtain the timestamp information. +-.LP +-.LP +-At this time, \f3jarsigner\fP can only sign JAR files created by the SDK jar(1) tool or zip files. (JAR files are the same as zip files, except they also have a META\-INF/MANIFEST.MF file. Such a file will automatically be created when \f3jarsigner\fP signs a zip file.) +-.LP +-.LP +-The default \f3jarsigner\fP behavior is to \f2sign\fP a JAR (or zip) file. Use the \f2\-verify\fP option to instead have it \f2verify\fP a signed JAR file. +-.LP +-.SS +-Keystore Aliases +-.LP +-.LP +-All keystore entities are accessed via unique \f2aliases\fP. +-.LP +-.LP +-When using \f3jarsigner\fP to sign a JAR file, you must specify the alias for the keystore entry containing the private key needed to generate the signature. For example, the following will sign the JAR file named "MyJARFile.jar", using the private key associated with the alias "duke" in the keystore named "mystore" in the "working" directory. Since no output file is specified, it overwrites MyJARFile.jar with the signed JAR file. +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 MyJARFile.jar duke +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Keystores are protected with a password, so the store password must be specified. You will be prompted for it if you don't specify it on the command line. Similarly, private keys are protected in a keystore with a password, so the private key's password must be specified, and you will be prompted for it if you don't specify it on the command line and it isn't the same as the store password. +-.LP +-.SS +-Keystore Location +-.LP +-.LP +-\f3jarsigner\fP has a \f2\-keystore\fP option for specifying the URL of the keystore to be used. The keystore is by default stored in a file named \f2.keystore\fP in the user's home directory, as determined by the \f2user.home\fP system property. On Solaris systems \f2user.home\fP defaults to the user's home directory. +-.LP +-.LP +-Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based, for example, if it resides on a hardware token device. +-.LP +-.SS +-Keystore Implementation +-.LP +-.LP +-The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. +-.LP +-.LP +-Currently, there are two command\-line tools that make use of keystore implementations (\f3keytool\fP and \f3jarsigner\fP), and also a GUI\-based tool named \f3Policy Tool\fP. Since \f2KeyStore\fP is publicly available, Java 2 SDK users can write additional security applications that use it. +-.LP +-.LP +-There is a built\-in default implementation, provided by Sun Microsystems. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. +-.LP +-.LP +-Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a provider and supply a KeystoreSpi subclass implementation, as described in +-.na +-\f2How to Implement a Provider for the Java Cryptography Architecture\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. +-.LP +-.LP +-Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. +-.LP +-.LP +-\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. +-.LP +-.LP +-For \f3jarsigner\fP and \f3keytool\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Change Keystore" command in the Edit menu. +-.LP +-.LP +-If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the SDK security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). +-.LP +-.LP +-Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. +-.LP +-.LP +-The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): +-.LP +-.nf +-\f3 +-.fl +- KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Sun). This is specified by the following line in the security properties file: +-.LP +-.nf +-\f3 +-.fl +- keystore.type=jks +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: Case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". +-.LP +-.LP +-To have the tools utilize a keystore implementation other than the default, change that line to specify a different keystore type. For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to +-.LP +-.nf +-\f3 +-.fl +- keystore.type=pkcs12 +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that if you us the PKCS#11 provider package, you should refer to the +-.na +-\f2KeyTool and JarSigner\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#KeyToolJarSigner section of the Java PKCS#11 Reference Guide for details. +-.LP +-.SS +-Supported Algorithms +-.LP +-.LP +-By default, \f3jarsigner\fP signs a JAR file using one of the following: +-.LP +-.RS 3 +-.TP 2 +-o +-DSA (Digital Signature Algorithm) with the SHA1 digest algorithm +-.TP 2 +-o +-RSA algorithm with the SHA256 digest algorithm. +-.TP 2 +-o +-EC (Elliptic Curve) cryptography algorithm with the SHA256 with ECDSA (Elliptic Curve Digital Signature Algorithm). +-.RE +- +-.LP +-.LP +-That is, if the signer's public and private keys are DSA keys, \f3jarsigner\fP will sign the JAR file using the "SHA1withDSA" algorithm. If the signer's keys are RSA keys, \f3jarsigner\fP will attempt to sign the JAR file using the "SHA256withRSA" algorithm. If the signer's keys are EC keys, \f3jarsigner\fP will sign the JAR file using the "SHA256withECDSA" algorithm. +-.LP +-.LP +-These default signature algorithms can be overridden using the \f2\-sigalg\fP option. +-.LP +-.SS +-The Signed JAR File +-.LP +-.LP +-When \f3jarsigner\fP is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META\-INF directory: +-.LP +-.RS 3 +-.TP 2 +-o +-a signature file, with a .SF extension, and +-.TP 2 +-o +-a signature block file, with a .DSA, .RSA, or .EC extension. +-.RE +- +-.LP +-.LP +-The base file names for these two files come from the value of the \f2\-sigFile\fP option. For example, if the option appears as +-.LP +-.nf +-\f3 +-.fl +-\-sigFile MKSIGN +-.fl +-\fP +-.fi +- +-.LP +-.LP +-The files are named "MKSIGN.SF" and "MKSIGN.DSA". +-.LP +-.LP +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not allowed in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. Legal characters include letters, digits, underscores, and hyphens. +-.LP +-\f3The Signature (.SF) File\fP +-.LP +-.LP +-A signature file (the .SF file) looks similar to the manifest file that is always included in a JAR file when \f3jarsigner\fP is used to sign the file. That is, for each source file included in the JAR file, the .SF file has three lines, just as in the manifest file, listing the following: +-.LP +-.RS 3 +-.TP 2 +-o +-the file name, +-.TP 2 +-o +-the name of the digest algorithm used (SHA), and +-.TP 2 +-o +-a SHA digest value. +-.RE +- +-.LP +-.LP +-In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file. In the .SF file, on the other hand, the digest value for a given source file is the hash of the three lines in the manifest file for the source file. +-.LP +-.LP +-The signature file also, by default, includes a header containing a hash of the whole manifest file. The presence of the header enables verification optimization, as described in JAR File Verification. +-.LP +-\f3The Signature Block File\fP +-.LP +-The .SF file is signed and the signature is placed in the signature block file. This file also contains, encoded inside it, the certificate or certificate chain from the keystore which authenticates the public key corresponding to the private key used for signing. The file has the extension .DSA, .RSA, or .EC depending on the digest algorithm used. +-.SS +-Signature Timestamp +-.LP +-.LP +-\f2jarsigner\fP tool can generate and store a signature timestamp when signing a JAR file. In addition, \f2jarsigner\fP supports alternative signing mechanisms. This behavior is optional and is controlled by the user at the time of signing through these options: +-.LP +-.RS 3 +-.TP 2 +-o +-\f2\-tsa url\fP +-.TP 2 +-o +-\f2\-tsacert alias\fP +-.TP 2 +-o +-\f2\-altsigner class\fP +-.TP 2 +-o +-\f2\-altsignerpath classpathlist\fP +-.RE +- +-.LP +-.LP +-Each of these options is detailed in the Options section below. +-.LP +-.SS +-JAR File Verification +-.LP +-.LP +-A successful JAR file verification occurs if the signature(s) are valid, and none of the files that were in the JAR file when the signatures were generated have been changed since then. JAR file verification involves the following steps: +-.LP +-.RS 3 +-.TP 3 +-1. +-Verify the signature of the .SF file itself. +-.br +-.br +-That is, the verification ensures that the signature stored in each signature block (.DSA) file was in fact generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the .DSA file. It also ensures that the signature is a valid signature of the corresponding signature (.SF) file, and thus the .SF file has not been tampered with. +-.TP 3 +-2. +-Verify the digest listed in each entry in the .SF file with each corresponding section in the manifest. +-.br +-.br +-The .SF file by default includes a header containing a hash of the entire manifest file. When the header is present, then the verification can check to see whether or not the hash in the header indeed matches the hash of the manifest file. If that is the case, verification proceeds to the next step. +-.br +-.br +-If that is not the case, a less optimized verification is required to ensure that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file (see The Signature (.SF) File). +-.br +-.br +-One reason the hash of the manifest file that is stored in the .SF file header may not equal the hash of the current manifest file would be because one or more files were added to the JAR file (using the \f2jar\fP tool) after the signature (and thus the .SF file) was generated. When the \f2jar\fP tool is used to add files, the manifest file is changed (sections are added to it for the new files), but the .SF file is not. A verification is still considered successful if none of the files that were in the JAR file when the signature was generated have been changed since then, which is the case if the hashes in the non\-header sections of the .SF file equal the hashes of the corresponding sections in the manifest file. +-.TP 3 +-3. +-Read each file in the JAR file that has an entry in the .SF file. While reading, compute the file's digest, and then compare the result with the digest for this file in the manifest section. The digests should be the same, or verification fails. +-.RE +- +-.LP +-.LP +-If any serious verification failures occur during the verification process, the process is stopped and a security exception is thrown. It is caught and displayed by \f3jarsigner\fP. +-.LP +-.SS +-Multiple Signatures for a JAR File +-.LP +-.LP +-A JAR file can be signed by multiple people simply by running the \f3jarsigner\fP tool on the file multiple times, specifying the alias for a different person each time, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner myBundle.jar susan +-.fl +- jarsigner myBundle.jar kevin +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When a JAR file is signed multiple times, there are multiple .SF and .DSA files in the resulting JAR file, one pair for each signature. Thus, in the example above, the output JAR file includes files with the following names: +-.LP +-.nf +-\f3 +-.fl +- SUSAN.SF +-.fl +- SUSAN.DSA +-.fl +- KEVIN.SF +-.fl +- KEVIN.DSA +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note: It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1.1 \f3javakey\fP tool and others by \f3jarsigner\fP. That is, \f3jarsigner\fP can be used to sign JAR files already previously signed using \f3javakey\fP. +-.LP +-.SH "OPTIONS" +-.LP +-.LP +-The various \f3jarsigner\fP options are listed and described below. Note: +-.LP +-.RS 3 +-.TP 2 +-o +-All option names are preceded by a minus sign (\-). +-.TP 2 +-o +-The options may be provided in any order. +-.TP 2 +-o +-Items in italics (option values) represent the actual values that must be supplied. +-.TP 2 +-o +-The \f2\-keystore\fP, \f2\-storepass\fP, \f2\-keypass\fP, \f2\-sigfile\fP, \f2\-sigalg\fP, \f2\-digestalg\fP, and \f2\-signedjar\fP options are only relevant when signing a JAR file, not when verifying a signed JAR file. Similarly, an alias is only specified on the command line when signing a JAR file. +-.RE +- +-.LP +-.RS 3 +-.TP 3 +-\-keystore url +-Specifies the URL that tells the keystore location. This defaults to the file \f2.keystore\fP in the user's home directory, as determined by the "user.home" system property. +-.br +-.br +-A keystore is required when signing, so you must explicitly specify one if the default keystore does not exist (or you want to use one other than the default). +-.br +-.br +-A keystore is \f2not\fP required when verifying, but if one is specified, or the default exists, and the \f2\-verbose\fP option was also specified, additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore. +-.br +-.br +-Note: the \f2\-keystore\fP argument can actually be a file name (and path) specification rather than a URL, in which case it will be treated the same as a "file:" URL. That is, +-.nf +-\f3 +-.fl +- \-keystore \fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-is treated as equivalent to +-.nf +-\f3 +-.fl +- \-keystore file:\fP\f4filePathAndName\fP\f3 +-.fl +-\fP +-.fi +-If the Sun PKCS#11 provider has been configured in the \f2java.security\fP security properties file (located in the JRE's \f2$JAVA_HOME/lib/security\fP directory), then keytool and jarsigner can operate on the PKCS#11 token by specifying these options: +-.RS 3 +-.TP 2 +-o +-\f2\-keystore NONE\fP +-.TP 2 +-o +-\f2\-storetype PKCS11\fP +-.RE +-For example, this command lists the contents of the configured PKCS#11 token: +-.nf +-\f3 +-.fl +- jarsigner \-keystore NONE \-storetype PKCS11 \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-storetype storetype +-Specifies the type of keystore to be instantiated. The default keystore type is the one that is specified as the value of the "keystore.type" property in the security properties file, which is returned by the static \f2getDefaultType\fP method in \f2java.security.KeyStore\fP. +-.br +-.br +-The PIN for a PCKS#11 token can also be specified using the \f2\-storepass\fP option. If none has been specified, keytool and jarsigner will prompt for the token PIN. If the token has a protected authentication path (such as a dedicated PIN\-pad or a biometric reader), then the \f2\-protected\fP option must be specified and no password options can be specified. +-.TP 3 +-\-storepass[:env | :file] argument +-Specifies the password which is required to access the keystore. This is only needed when signing (not verifying) a JAR file. In that case, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for the password. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-keypass[:env | :file] argument +-Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line. The password is required when using \f3jarsigner\fP to sign a JAR file. If no password is provided on the command line, and the required password is different from the store password, the user is prompted for it. +-.br +-.br +-If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP. Otherwise, the password is retrieved as follows: +-.RS 3 +-.TP 2 +-o +-\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +-.TP 2 +-o +-\f2file\fP: Retrieve the password from the file named \f2argument\fP +-.RE +-Note: The password shouldn't be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system. +-.TP 3 +-\-sigfile file +-Specifies the base file name to be used for the generated .SF and .DSA files. For example, if \f2file\fP is "DUKESIGN", the generated .SF and .DSA files will be named "DUKESIGN.SF" and "DUKESIGN.DSA", and will be placed in the "META\-INF" directory of the signed JAR file. +-.br +-.br +-The characters in \f2file\fP must come from the set "a\-zA\-Z0\-9_\-". That is, only letters, numbers, underscore, and hyphen characters are allowed. Note: All lowercase characters will be converted to uppercase for the .SF and .DSA file names. +-.br +-.br +-If no \f2\-sigfile\fP option appears on the command line, the base file name for the .SF and .DSA files will be the first 8 characters of the alias name specified on the command line, all converted to upper case. If the alias name has fewer than 8 characters, the full alias name is used. If the alias name contains any characters that are not legal in a signature file name, each such character is converted to an underscore ("_") character in forming the file name. +-.TP 3 +-\-sigalg algorithm +-Specifies the name of the signature algorithm to use to sign the JAR file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard signature algorithm names. This algorithm must be compatible with the private key used to sign the JAR file. If this option is not specified, SHA1withDSA, SHA256withRSA, or SHA256withECDSA will be used depending on the type of private key. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-digestalg algorithm +-Specifies the name of the message digest algorithm to use when digesting the entries of a jar file. +-.br +-.br +-See +-.na +-\f2Appendix A\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA of the Java Cryptography Architecture for a list of standard message digest algorithm names. If this option is not specified, SHA256 will be used. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f2\-providerClass\fP option, otherwise the command will not succeed. +-.TP 3 +-\-signedjar file +-Specifies the name to be used for the signed JAR file. +-.br +-.br +-If no name is specified on the command line, the name used is the same as the input JAR file name (the name of the JAR file to be signed); in other words, that file is overwritten with the signed JAR file. +-.TP 3 +-\-verify +-If this appears on the command line, the specified JAR file will be verified, not signed. If the verification is successful, "jar verified" will be displayed. If you try to verify an unsigned JAR file, or a JAR file signed with an unsupported algorithm (e.g., RSA when you don't have an RSA provider installed), the following is displayed: "jar is unsigned. (signatures missing or not parsable)" +-.br +-.br +-It is possible to verify JAR files signed using either \f3jarsigner\fP or the JDK 1.1 \f3javakey\fP tool, or both. +-.br +-.br +-For further information on verification, see JAR File Verification. +-.TP 3 +-\-certs +-If this appears on the command line, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file. This information includes +-.RS 3 +-.TP 2 +-o +-the name of the type of certificate (stored in the .DSA file) that certifies the signer's public key +-.TP 2 +-o +-if the certificate is an X.509 certificate (more specifically, an instance of \f2java.security.cert.X509Certificate\fP): the distinguished name of the signer +-.RE +-The keystore is also examined. If no keystore value is specified on the command line, the default keystore file (if any) will be checked. If the public key certificate for a signer matches an entry in the keystore, then the following information will also be displayed: +-.RS 3 +-.TP 2 +-o +-in parentheses, the alias name for the keystore entry for that signer. If the signer actually comes from a JDK 1.1 identity database instead of from a keystore, the alias name will appear in brackets instead of parentheses. +-.RE +-.TP 3 +-\-certchain file +-Specifies the certificate chain to be used, if the certificate chain associated with the private key of the keystore entry, addressed by the alias specified on the command line, is not complete. This may happen if the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain. The file can be a sequence of X.509 certificates concatenated together, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as BASE64 encoding) as defined by the Internet RFC 1421 standard. +-.TP 3 +-\-verbose +-If this appears on the command line, it indicates "verbose" mode, which causes \f3jarsigner\fP to output extra information as to the progress of the JAR signing or verification. +-.TP 3 +-\-internalsf +-In the past, the .DSA (signature block) file generated when a JAR file was signed used to include a complete encoded copy of the .SF file (signature file) also generated. This behavior has been changed. To reduce the overall size of the output JAR file, the .DSA file by default doesn't contain a copy of the .SF file anymore. But if \f2\-internalsf\fP appears on the command line, the old behavior is utilized. \f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-sectionsonly +-If this appears on the command line, the .SF file (signature file) generated when a JAR file is signed does \f2not\fP include a header containing a hash of the whole manifest file. It just contains information and hashes related to each individual source file included in the JAR file, as described in The Signature (.SF) File . +-.br +-.br +-By default, this header is added, as an optimization. When the header is present, then whenever the JAR file is verified, the verification can first check to see whether or not the hash in the header indeed matches the hash of the whole manifest file. If so, verification proceeds to the next step. If not, it is necessary to do a less optimized verification that the hash in each source file information section in the .SF file equals the hash of its corresponding section in the manifest file. +-.br +-.br +-For further information, see JAR File Verification. +-.br +-.br +-\f3This option is mainly useful for testing; in practice, it should not be used, since doing so eliminates a useful optimization.\fP +-.TP 3 +-\-protected +-Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. +-.TP 3 +-\-providerClass provider\-class\-name +-Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file, \f2java.security\fP. +-.br +-.br +-Used in conjunction with the \f2\-providerArg\fP \f2ConfigFilePath\fP option, keytool and jarsigner will install the provider dynamically (where \f2ConfigFilePath\fP is the path to the token configuration file). Here's an example of a command to list a PKCS#11 keystore when the Sun PKCS#11 provider has not been configured in the security properties file. +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerClass sun.security.pkcs11.SunPKCS11 \\ +-.fl +- \-providerArg /foo/bar/token.config \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-providerName providerName +-If more than one provider has been configured in the \f2java.security\fP security properties file, you can use the \f2\-providerName\fP option to target a specific provider instance. The argument to this option is the name of the provider. +-.br +-.br +-For the Sun PKCS#11 provider, \f2providerName\fP is of the form \f2SunPKCS11\-\fP\f2TokenName\fP, where \f2TokenName\fP is the name suffix that the provider instance has been configured with, as detailed in the +-.na +-\f2configuration attributes table\fP @ +-.fi +-http://docs.oracle.com/javase/7/docs/technotes/guides/security/p11guide.html#ATTRS. For example, the following command lists the contents of the PKCS#11 keystore provider instance with name suffix \f2SmartCard\fP: +-.nf +-\f3 +-.fl +-jarsigner \-keystore NONE \-storetype PKCS11 \\ +-.fl +- \-providerName SunPKCS11\-SmartCard \\ +-.fl +- \-list +-.fl +-\fP +-.fi +-.TP 3 +-\-Jjavaoption +-Passes through the specified \f2javaoption\fP string directly to the Java interpreter. (\f3jarsigner\fP is actually a "wrapper" around the interpreter.) This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line. +-.TP 3 +-\-tsa url +-If \f2"\-tsa http://example.tsa.url"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The URL, \f2http://example.tsa.url\fP, identifies the location of the Time Stamping Authority (TSA). It overrides any URL found via the \f2\-tsacert\fP option. The \f2\-tsa\fP option does not require the TSA's public key certificate to be present in the keystore. +-.br +-.br +-To generate the timestamp, \f2jarsigner\fP communicates with the TSA using the Time\-Stamp Protocol (TSP) defined in +-.na +-\f2RFC 3161\fP @ +-.fi +-http://www.ietf.org/rfc/rfc3161.txt. If successful, the timestamp token returned by the TSA is stored along with the signature in the signature block file. +-.TP 3 +-\-tsacert alias +-If \f2"\-tsacert alias"\fP appears on the command line when signing a JAR file then a timestamp is generated for the signature. The \f2alias\fP identifies the TSA's public key certificate in the keystore that is currently in effect. The entry's certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA. +-.br +-.br +-The TSA's public key certificate must be present in the keystore when using \f2\-tsacert\fP. +-.TP 3 +-\-altsigner class +-Specifies that an alternative signing mechanism be used. The fully\-qualified class name identifies a class file that extends the \f2com.sun.jarsigner.ContentSigner abstract class\fP. The path to this class file is defined by the \f2\-altsignerpath\fP option. If the \f2\-altsigner\fP option is used, \f2jarsigner\fP uses the signing mechanism provided by the specified class. Otherwise, \f2jarsigner\fP uses its default signing mechanism. +-.br +-.br +-For example, to use the signing mechanism provided by a class named \f2com.sun.sun.jarsigner.AuthSigner\fP, use the \f2jarsigner\fP option \f2"\-altsigner com.sun.jarsigner.AuthSigner"\fP +-.TP 3 +-\-altsignerpath classpathlist +-Specifies the path to the class file (the class file name is specified with the \f2\-altsigner\fP option described above) and any JAR files it depends on. If the class file is in a JAR file, then this specifies the path to that JAR file, as shown in the example below. +-.br +-.br +-An absolute path or a path relative to the current directory may be specified. If \f2classpathlist\fP contains multiple paths or JAR files, they should be separated with a colon (\f2:\fP) on Solaris and a semi\-colon (\f2;\fP) on Windows. This option is not necessary if the class is already in the search path. +-.br +-.br +-Example of specifying the path to a jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/lib/authsigner.jar +-.fl +-\fP +-.fi +-Note that the JAR file name is included. +-.br +-.br +-Example of specifying the path to the jar file that contains the class file: +-.nf +-\f3 +-.fl +-\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +-.fl +-\fP +-.fi +-Note that the JAR file name is omitted. +-.TP 3 +-\-strict +-During the signing or verifying process, some warning messages may be shown. If this option appears on the command line, the exit code of the tool will reflect the warning messages that are found. Read the "WARNINGS" section for details. +-.TP 3 +-\-verbose:sub\-options +-For the verifying process, the \f2\-verbose\fP option takes sub\-options to determine how much information will be shown. If \f2\-certs\fP is also specified, the default mode (or sub\-option all) displays each entry as it is being processed and following that, the certificate information for each signer of the JAR file. If \f2\-certs\fP and the \f2\-verbose:grouped\fP sub\-option are specified, entries with the same signer info are grouped and displayed together along with their certificate information. If \f2\-certs\fP and the \f2\-verbose:summary\fP sub\-option are specified, then entries with the same signer info are grouped and displayed together along with their certificate information but details about each entry are summarized and displayed as "one entry (and more)". See the examples section for more information. +-.RE +- +-.LP +-.SH "EXAMPLES" +-.LP +-.SS +-Signing a JAR File +-.LP +-.LP +-Suppose you have a JAR file named "bundle.jar" and you'd like to sign it using the private key of the user whose keystore alias is "jane" in the keystore named "mystore" in the "working" directory. You can use the following to sign the JAR file and name the signed JAR file "sbundle.jar": +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-storepass \fP\f4<keystore password>\fP\f3 +-.fl +- \-keypass \fP\f4<private key password>\fP\f3 \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that there is no \f2\-sigfile\fP specified in the command above, so the generated .SF and .DSA files to be placed in the signed JAR file will have default names based on the alias name. That is, they will be named \f2JANE.SF\fP and \f2JANE.DSA\fP. +-.LP +-.LP +-If you want to be prompted for the store password and the private key password, you could shorten the above command to +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore +-.fl +- \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the keystore to be used is the default keystore (the one named ".keystore" in your home directory), you don't need to specify a keystore, as in: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-signedjar sbundle.jar bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Finally, if you want the signed JAR file to simply overwrite the input JAR file (\f2bundle.jar\fP), you don't need to specify a \f2\-signedjar\fP option: +-.LP +-.nf +-\f3 +-.fl +- jarsigner bundle.jar jane +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verifying a Signed JAR File +-.LP +-.LP +-To verify a signed JAR file, that is, to verify that the signature is valid and the JAR file has not been tampered with, use a command such as the following: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify sbundle.jar +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the verification is successful, +-.LP +-.nf +-\f3 +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-is displayed. Otherwise, an error message appears. +-.LP +-.LP +-You can get more information if you use the \f2\-verbose\fP option. A sample use of \f3jarsigner\fP with the \f2\-verbose\fP option is shown below, along with sample output: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-verify \-verbose sbundle.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class +-.fl +- smk 849 Fri Sep 26 16:12:46 PDT 1997 test.class +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification with Certificate Information +-.LP +-.LP +-If you specify the \f2\-certs\fP option when verifying, along with the \f2\-verify\fP and \f2\-verbose\fP options, the output includes certificate information for each signer of the JAR file, including the certificate type, the signer distinguished name information (if and only if it's an X.509 certificate), and, in parentheses, the keystore alias for the signer if the public key certificate in the JAR file matches that in a keystore entry. For example, +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF +-.fl +- 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA +-.fl +- smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class +-.fl +- +-.fl +- X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest) +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-If the certificate for a signer is not an X.509 certificate, there is no distinguished name information. In that case, just the certificate type and the alias are shown. For example, if the certificate is a PGP certificate, and the alias is "bob", you'd get +-.LP +-.nf +-\f3 +-.fl +- PGP, (bob) +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Verification of a JAR File that Includes Identity Database Signers +-.LP +-.LP +-If a JAR file has been signed using the JDK 1.1 \f3javakey\fP tool, and thus the signer is an alias in an identity database, the verification output includes an "i" symbol. If the JAR file has been signed by both an alias in an identity database and an alias in a keystore, both "k" and "i" appear. +-.LP +-.LP +-When the \f2\-certs\fP option is used, any identity database aliases are shown in square brackets rather than the parentheses used for keystore aliases. For example: +-.LP +-.nf +-\f3 +-.fl +- jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar +-.fl +- +-.fl +- 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF +-.fl +- 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF +-.fl +- 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA +-.fl +- 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF +-.fl +- 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA +-.fl +- smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html +-.fl +- +-.fl +- X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane) +-.fl +- X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke] +-.fl +- +-.fl +- s = signature was verified +-.fl +- m = entry is listed in manifest +-.fl +- k = at least one certificate was found in keystore +-.fl +- i = at least one certificate was found in identity scope +-.fl +- +-.fl +- jar verified. +-.fl +-\fP +-.fi +- +-.LP +-.LP +-Note that the alias "duke" is in brackets to denote that it is an identity database alias, not a keystore alias. +-.LP +-.SH "WARNINGS" +-.LP +-During the signing/verifying process, jarsigner may display various warnings. These warning codes are defined as follows: +-.nf +-\f3 +-.fl +- hasExpiringCert 2 +-.fl +- This jar contains entries whose signer certificate will expire within six months +-.fl +- +-.fl +- hasExpiredCert 4 +-.fl +- This jar contains entries whose signer certificate has expired. +-.fl +- +-.fl +- notYetValidCert 4 +-.fl +- This jar contains entries whose signer certificate is not yet valid. +-.fl +- +-.fl +- chainNotValidated 4 +-.fl +- This jar contains entries whose certificate chain cannot be correctly validated. +-.fl +- +-.fl +- badKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing. +-.fl +- +-.fl +- badExtendedKeyUsage 8 +-.fl +- This jar contains entries whose signer certificate's ExtendedKeyUsage extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- badNetscapeCertType 8 +-.fl +- This jar contains entries whose signer certificate's NetscapeCertType extension +-.fl +- doesn't allow code signing. +-.fl +- +-.fl +- hasUnsignedEntry 16 +-.fl +- This jar contains unsigned entries which have not been integrity\-checked. +-.fl +- +-.fl +- notSignedByAlias 32 +-.fl +- This jar contains signed entries which are not signed by the specified alias(es) +-.fl +- +-.fl +- aliasNotInStore 32 +-.fl +- This jar contains signed entries that are not signed by alias in this keystore +-.fl +- +-.fl +-\fP +-.fi +- +-.LP +-.LP +-When the \f2\-strict\fP option is provided, an OR\-value of warnings detected will be returned as the exit code of the tool. For example, if a certificate used to sign an entry is expired and has a keyUsage extension that does not allow it to sign a file, an exit code 12 (=4+8) will be returned. +-.LP +-.LP +-\f3Note\fP: Exit codes are reused because only 0\-255 is legal for Unix. In any case, if the signing/verifying process fails, the following exit code will be returned: +-.LP +-.nf +-\f3 +-.fl +-failure 1 +-.fl +-\fP +-.fi +- +-.LP +-.SS +-Compatibility with JDK 1.1 +-.LP +-.LP +-The \f3keytool\fP and \f3jarsigner\fP tools completely replace the \f3javakey\fP tool provided in JDK 1.1. These new tools provide more features than \f3javakey\fP, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them. +-.LP +-.LP +-The new keystore architecture replaces the identity database that \f3javakey\fP created and managed. There is no backwards compatibility between the keystore format and the database format used by \f3javakey\fP in 1.1. However, +-.LP +-.RS 3 +-.TP 2 +-o +-It is possible to import the information from an identity database into a keystore, via the \f3keytool\fP \f2\-identitydb\fP command. +-.TP 2 +-o +-\f3jarsigner\fP can sign JAR files also previously signed using \f3javakey\fP. +-.TP 2 +-o +-\f3jarsigner\fP can verify JAR files signed using \f3javakey\fP. Thus, it recognizes and can work with signer aliases that are from a JDK 1.1 identity database rather than a Java 2 SDK keystore. +-.RE +- +-.LP +-.LP +-The following table explains how JAR files that were signed in JDK 1.1.x are treated in the Java 2 platform. +-.LP +-.LP +-.TS +-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +-.de 35 +-.ps \n(.s +-.vs \n(.vu +-.in \n(.iu +-.if \n(.u .fi +-.if \n(.j .ad +-.if \n(.j=0 .na +-.. +-.nf +-.nr #~ 0 +-.if n .nr #~ 0.6n +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.fc +-.nr 33 \n(.s +-.rm 80 81 82 83 84 +-.nr 34 \n(.lu +-.eo +-.am 82 +-.br +-.di a+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(82 .ll \n(82u +-.in 0 +-\f3Trusted Identity imported into Java 2 Platform keystore from 1.1 database (4)\fP +-.br +-.di +-.nr a| \n(dn +-.nr a- \n(dl +-.. +-.ec \ +-.eo +-.am 83 +-.br +-.di b+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(83 .ll \n(83u +-.in 0 +-\f3Policy File grants privileges to Identity/Alias\fP +-.br +-.di +-.nr b| \n(dn +-.nr b- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di c+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr c| \n(dn +-.nr c- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di d+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr d| \n(dn +-.nr d- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di e+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. +-.br +-.di +-.nr e| \n(dn +-.nr e- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di f+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (3) +-.br +-.di +-.nr f| \n(dn +-.nr f- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di g+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code. (1,3) +-.br +-.di +-.nr g| \n(dn +-.nr g- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di h+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. +-.br +-.di +-.nr h| \n(dn +-.nr h- \n(dl +-.. +-.ec \ +-.eo +-.am 84 +-.br +-.di i+ +-.35 +-.ft \n(.f +-.ll \n(34u*1u/6u +-.if \n(.l<\n(84 .ll \n(84u +-.in 0 +-Default privileges granted to all code plus privileges granted in policy file. (2) +-.br +-.di +-.nr i| \n(dn +-.nr i- \n(dl +-.. +-.ec \ +-.35 +-.nf +-.ll \n(34u +-.nr 80 0 +-.nr 38 \w\f3JAR File Type\fP +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wUnsigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.nr 38 \wSigned JAR +-.if \n(80<\n(38 .nr 80 \n(38 +-.80 +-.rm 80 +-.nr 81 0 +-.nr 38 \w\f3Identity in 1.1 database\fP +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Untrusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wNO +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.nr 38 \wYES/Trusted +-.if \n(81<\n(38 .nr 81 \n(38 +-.81 +-.rm 81 +-.nr 82 0 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wYES +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 38 \wNO +-.if \n(82<\n(38 .nr 82 \n(38 +-.82 +-.rm 82 +-.nr 38 \n(a- +-.if \n(82<\n(38 .nr 82 \n(38 +-.nr 83 0 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wNO +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 38 \wYES +-.if \n(83<\n(38 .nr 83 \n(38 +-.83 +-.rm 83 +-.nr 38 \n(b- +-.if \n(83<\n(38 .nr 83 \n(38 +-.nr 84 0 +-.nr 38 \w\f3Privileges Granted\fP +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \wAll privileges (1) +-.if \n(84<\n(38 .nr 84 \n(38 +-.84 +-.rm 84 +-.nr 38 \n(c- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(d- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(e- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(f- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(g- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(h- +-.if \n(84<\n(38 .nr 84 \n(38 +-.nr 38 \n(i- +-.if \n(84<\n(38 .nr 84 \n(38 +-.35 +-.nf +-.ll \n(34u +-.nr 38 1n +-.nr 79 0 +-.nr 40 \n(79+(0*\n(38) +-.nr 80 +\n(40 +-.nr 41 \n(80+(3*\n(38) +-.nr 81 +\n(41 +-.nr 42 \n(81+(3*\n(38) +-.nr 82 +\n(42 +-.nr 43 \n(82+(3*\n(38) +-.nr 83 +\n(43 +-.nr 44 \n(83+(3*\n(38) +-.nr 84 +\n(44 +-.nr TW \n(84 +-.if t .if \n(TW>\n(.li .tm Table at line 1082 file Input is too wide - \n(TW units +-.fc +-.nr #T 0-1 +-.nr #a 0-1 +-.eo +-.de T# +-.ds #d .d +-.if \(ts\n(.z\(ts\(ts .ds #d nl +-.mk ## +-.nr ## -1v +-.ls 1 +-.ls +-.. +-.ec +-.ne \n(a|u+\n(.Vu +-.ne \n(b|u+\n(.Vu +-.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +-.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'\f3JAR File Type\fP\h'|\n(41u'\f3Identity in 1.1 database\fP\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3Privileges Granted\fP +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(42u +-.in +\n(37u +-.a+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(##u-1v +-.nr 37 \n(43u +-.in +\n(37u +-.b+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(c|u+\n(.Vu +-.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.c+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(d|u+\n(.Vu +-.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Unsigned JAR\h'|\n(41u'NO\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.d+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(e|u+\n(.Vu +-.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.e+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(f|u+\n(.Vu +-.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.f+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(g|u+\n(.Vu +-.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Untrusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.g+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(h|u+\n(.Vu +-.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'NO\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.h+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ne \n(i|u+\n(.Vu +-.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'YES\h'|\n(44u' +-.mk ## +-.nr 31 \n(## +-.sp |\n(##u-1v +-.nr 37 \n(44u +-.in +\n(37u +-.i+ +-.in -\n(37u +-.mk 32 +-.if \n(32>\n(31 .nr 31 \n(32 +-.sp |\n(31u +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'NO\h'|\n(44u'All privileges +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'YES\h'|\n(43u'NO\h'|\n(44u'All privileges (1) +-.ta \n(80u \n(81u \n(82u \n(83u \n(84u +-.nr 31 \n(.f +-.nr 35 1m +-\&\h'|\n(40u'Signed JAR\h'|\n(41u'YES/Trusted\h'|\n(42u'NO\h'|\n(43u'YES\h'|\n(44u'All privileges (1) +-.fc +-.nr T. 1 +-.T# 1 +-.35 +-.rm a+ +-.rm b+ +-.rm c+ +-.rm d+ +-.rm e+ +-.rm f+ +-.rm g+ +-.rm h+ +-.rm i+ +-.TE +-.if \n-(b.=0 .nr c. \n(.c-\n(d.-42 +- +-.LP +-.LP +-Notes: +-.LP +-.RS 3 +-.TP 3 +-1. +-If an identity/alias is mentioned in the policy file, it must be imported into the keystore for the policy file to have any effect on privileges granted. +-.TP 3 +-2. +-The policy file/keystore combination has precedence over a trusted identity in the identity database. +-.TP 3 +-3. +-Untrusted identities are ignored in the Java 2 platform. +-.TP 3 +-4. +-Only trusted identities can be imported into Java 2 SDK keystores. +-.RE +- +-.LP +-.SH "SEE ALSO" +-.LP +-.RS 3 +-.TP 2 +-o +-jar(1) tool documentation +-.TP 2 +-o +-keytool(1) tool documentation +-.TP 2 +-o +-the +-.na +-\f4Security\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/security/index.html trail of the +-.na +-\f4Java Tutorial\fP @ +-.fi +-http://docs.oracle.com/javase/tutorial/index.html for examples of the use of the \f3jarsigner\fP tool +-.RE +- +-.LP +- ++'\" t ++.\" Copyright (c) 1998, 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. ++.\" ++.\" Arch: generic ++.\" Software: JDK 7 ++.\" Date: 6 August 2013 ++.\" SectDesc: Security Tools ++.\" Title: jarsigner.1 ++.\" ++.if n .pl 99999 ++.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools" ++.\" ----------------------------------------------------------------- ++.\" * Define some portability stuff ++.\" ----------------------------------------------------------------- ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.\" http://bugs.debian.org/507673 ++.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ++.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ----------------------------------------------------------------- ++.\" * set default formatting ++.\" ----------------------------------------------------------------- ++.\" disable hyphenation ++.nh ++.\" disable justification (adjust text to left margin only) ++.ad l ++.\" ----------------------------------------------------------------- ++.\" * MAIN CONTENT STARTS HERE * ++.\" ----------------------------------------------------------------- ++ ++.SH NAME ++jarsigner \- Signs and verifies Java Archive (JAR) files\&. ++.SH SYNOPSIS ++.sp ++.nf ++ ++\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR ++.fi ++.nf ++ ++\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] ++.fi ++.sp ++.TP ++\fIoptions\fR ++The command-line options\&. See Options\&. ++.TP ++-verify ++.br ++The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&. ++.TP ++\fIjar-file\fR ++The JAR file to be signed\&. ++ ++If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&. ++.TP ++\fIalias\fR ++The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. ++.SH DESCRIPTION ++The \f3jarsigner\fR tool has two purposes: ++.TP 0.2i ++\(bu ++To sign Java Archive (JAR) files\&. ++.TP 0.2i ++\(bu ++To verify the signatures and integrity of signed JAR files\&. ++.PP ++The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.) ++.PP ++A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics: ++.TP 0.2i ++\(bu ++Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&. ++.TP 0.2i ++\(bu ++It cannot be forged, assuming the private key is kept secret\&. ++.TP 0.2i ++\(bu ++It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&. ++.TP 0.2i ++\(bu ++The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&. ++.PP ++To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&. ++.PP ++The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&. ++.PP ++The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&. ++.PP ++The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&. ++.PP ++At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&. ++.PP ++The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&. ++.PP ++The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&. ++.SS KEYSTORE\ ALIASES ++All keystore entities are accessed with unique aliases\&. ++.PP ++When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&. ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&. ++.SS KEYSTORE\ LOCATION ++The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++.PP ++On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&. ++.PP ++The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&. ++.SS KEYSTORE\ IMPLEMENTATION ++The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&. ++.PP ++Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&. ++.PP ++There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&. ++.PP ++Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html ++.PP ++Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&. ++.PP ++The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&. ++.PP ++For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&. ++.PP ++If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&. ++.PP ++Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&. ++.PP ++The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR: ++.sp ++.nf ++\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file: ++.sp ++.nf ++\f3keystore\&.type=jks\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&. ++.PP ++To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following: ++.sp ++.nf ++\f3keystore\&.type=pkcs12\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html ++.SS SUPPORTED\ ALGORITHMS ++By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms: ++.TP 0.2i ++\(bu ++Digital Signature Algorithm (DSA) with the SHA1 digest algorithm ++.TP 0.2i ++\(bu ++RSA algorithm with the SHA256 digest algorithm ++.TP 0.2i ++\(bu ++Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&. ++.PP ++If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&. ++.PP ++These default signature algorithms can be overridden using the \f3-sigalg\fR option\&. ++.SS THE\ SIGNED\ JAR\ FILE ++When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory: ++.TP 0.2i ++\(bu ++A signature file with an \f3\&.SF\fR extension ++.TP 0.2i ++\(bu ++A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension ++.PP ++The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR ++.PP ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&. ++.PP ++Signature File ++ ++A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following: ++.TP 0.2i ++\(bu ++File name ++.TP 0.2i ++\(bu ++Name of the digest algorithm (SHA) ++.TP 0.2i ++\(bu ++SHA digest value ++.PP ++In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&. ++.PP ++The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&. ++.PP ++Signature Block File ++ ++The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&. ++.SS SIGNATURE\ TIME\ STAMP ++The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&. ++.sp ++.nf ++\f3\-tsa \fIurl\fR\fP ++.fi ++.nf ++\f3\-tsacert \fIalias\fR\fP ++.fi ++.nf ++\f3\-altsigner \fIclass\fR\fP ++.fi ++.nf ++\f3\-altsignerpath \fIclasspathlist\fR\fP ++.fi ++.nf ++\f3\-tsapolicyid \fIpolicyid\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS JAR\ FILE\ VERIFICATION ++A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps: ++.TP 0.4i ++1\&. ++Verify the signature of the \f3\&.SF\fR file\&. ++ ++The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&. ++.TP 0.4i ++2\&. ++Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&. ++ ++The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&. ++ ++If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&. ++ ++One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&. ++.TP 0.4i ++3\&. ++Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&. ++ ++If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&. ++.PP ++\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&. ++.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE ++A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows: ++.sp ++.nf ++\f3jarsigner myBundle\&.jar susan\fP ++.fi ++.nf ++\f3jarsigner myBundle\&.jar kevin\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names: ++.sp ++.nf ++\f3SUSAN\&.SF\fP ++.fi ++.nf ++\f3SUSAN\&.DSA\fP ++.fi ++.nf ++\f3KEVIN\&.SF\fP ++.fi ++.nf ++\f3KEVIN\&.DSA\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&. ++.SH OPTIONS ++The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards: ++.TP 0.2i ++\(bu ++All option names are preceded by a minus sign (-)\&. ++.TP 0.2i ++\(bu ++The options can be provided in any order\&. ++.TP 0.2i ++\(bu ++Items that are in italics or underlined (option values) represent the actual values that must be supplied\&. ++.TP 0.2i ++\(bu ++The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&. ++.TP ++-keystore \fIurl\fR ++.br ++Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. ++ ++A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&. ++ ++A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&. ++ ++The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent: ++.sp ++.nf ++\f3\-keystore \fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\-keystore file:\fIfilePathAndName\fR\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options: ++.sp ++.nf ++\f3\-keystore NONE\fP ++.fi ++.nf ++\f3\-storetype PKCS11\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++For example, the following command lists the contents of the configured PKCS#11 token: ++.sp ++.nf ++\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-storetype \fIstoretype\fR ++.br ++Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&. ++ ++The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&. ++.TP ++-storepass[:env | :file] \fIargument\fR ++.br ++Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-keypass [:env | :file] \fIargument\fR ++.br ++Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&. ++ ++If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows: ++.RS ++.TP 0.2i ++\(bu ++\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. ++.TP 0.2i ++\(bu ++\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. ++.RE ++ ++ ++\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. ++.TP ++-sigfile \fIfile\fR ++.br ++Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&. ++ ++The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&. ++ ++If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&. ++.TP ++-sigalg \fIalgorithm\fR ++.br ++Specifies the name of the signature algorithm to use to sign the JAR file\&. ++ ++For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-digestalg \fIalgorithm\fR ++.br ++Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&. ++ ++For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA ++ ++If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. ++.TP ++-certs ++.br ++If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&. ++ ++The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&. ++.TP ++-certchain \fIfile\fR ++.br ++Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&. ++.TP ++-verbose ++.br ++When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&. ++.TP ++-internalsf ++.br ++In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&. ++.TP ++-sectionsonly ++.br ++If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&. ++ ++By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&. ++ ++The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&. ++.TP ++-protected ++.br ++Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&. ++.TP ++-providerClass \fIprovider-class-name\fR ++.br ++Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&. ++ ++Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&. ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-providerName \fIproviderName\fR ++.br ++If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&. ++ ++For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR: ++.sp ++.nf ++\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP ++.fi ++.nf ++\f3 \-providerName SunPKCS11\-SmartCard \e\fP ++.fi ++.nf ++\f3 \-list\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-J\fIjavaoption\fR ++.br ++Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&. ++.TP ++-tsa \fIurl\fR ++.br ++If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&. ++ ++To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&. ++.TP ++-tsacert \fIalias\fR ++.br ++When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&. ++ ++The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&. ++.TP ++-tsapolicyid \fIpolicyid\fR ++.br ++Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&. ++ ++Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&. ++.TP ++-altsigner \fIclass\fR ++.br ++This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&. ++ ++For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&. ++.TP ++-altsignerpath \fIclasspathlist\fR ++.br ++Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&. ++ ++An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&. ++ ++The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++ ++The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&. ++.sp ++.nf ++\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++ ++.TP ++-strict ++.br ++During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&. ++.TP ++-verbose \fIsuboptions\fR ++.br ++For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&. ++.SH ERRORS\ AND\ WARNINGS ++During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&. ++.PP ++If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&. ++.PP ++For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&. ++.PP ++\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&. ++.PP ++The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&. ++.SS FAILURE ++Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&. ++.TP ++failure ++Code 1\&. The signing or verifying fails\&. ++.SS SEVERE\ WARNINGS ++\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&. ++.PP ++Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&. ++.TP ++hasExpiredCert ++Code 4\&. This jar contains entries whose signer certificate has expired\&. ++.TP ++notYetValidCert ++Code 4\&. This jar contains entries whose signer certificate is not yet valid\&. ++.TP ++chainNotValidated ++Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&. ++.TP ++badKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badExtendedKeyUsage ++Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&. ++.TP ++badNetscapeCertType ++Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&. ++.TP ++hasUnsignedEntry ++Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&. ++.TP ++notSignedByAlias ++Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&. ++.TP ++aliasNotInStore ++Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&. ++.SS INFORMATIONAL\ WARNINGS ++Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&. ++.TP ++hasExpiringCert ++This jar contains entries whose signer certificate will expire within six months\&. ++.TP ++noTimestamp ++This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&. ++.SH EXAMPLES ++.SS SIGN\ A\ JAR\ FILE ++Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-storepass <keystore password>\fP ++.fi ++.nf ++\f3 \-keypass <private key password>\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&. ++.PP ++If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore\fP ++.fi ++.nf ++\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows: ++.sp ++.nf ++\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows: ++.sp ++.nf ++\f3jarsigner bundle\&.jar jane\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFY\ A\ SIGNED\ JAR\ FILE ++To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following: ++.sp ++.nf ++\f3jarsigner \-verify sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows: ++.sp ++.nf ++\f3jarsigner \-verify \-verbose sbundle\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP ++.fi ++.nf ++\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION ++If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example: ++.sp ++.nf ++\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP ++.fi ++.nf ++\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP ++.fi ++.nf ++\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&. ++.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS ++If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&. ++.PP ++When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example: ++.sp ++.nf ++\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP ++.fi ++.nf ++\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP ++.fi ++.nf ++\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP ++.fi ++.nf ++\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP ++.fi ++.nf ++\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP ++.fi ++.nf ++\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 s = signature was verified\fP ++.fi ++.nf ++\f3 m = entry is listed in manifest\fP ++.fi ++.nf ++\f3 k = at least one certificate was found in keystore\fP ++.fi ++.nf ++\f3 i = at least one certificate was found in identity scope\fP ++.fi ++.nf ++\f3\fR ++.fi ++.nf ++\f3 jar verified\&.\fP ++.fi ++.nf ++\f3\fR ++.fi ++.sp ++\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&. ++.SH JDK\ 1\&.1\ COMPATIBILITY ++The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&. ++.PP ++The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following: ++.TP 0.2i ++\(bu ++It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&. ++.TP 0.2i ++\(bu ++The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&. ++.SS UNSIGNED\ JARS ++Unsigned JARs have the default privileges that are granted to all code\&. ++.SS SIGNED\ JARS ++Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&. ++.PP ++Default Privileges Granted to All Code ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++ ++.PP ++Identity in 1\&.1 database: Yes/Untrusted ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 and 3 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Default Privileges and Policy File Privileges Granted ++ ++Identity in 1\&.1 database: \fINo\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 2 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++All Privileges Granted ++ ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.PP ++ ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR ++.br ++Policy file grants privileges to identity/alias: \fINo\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Identity in 1\&.1 database: \fIYes/Trusted\fR ++.br ++Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR ++.br ++Policy file grants privileges to identity/alias: \fIYes\fR ++.br ++See 1 in Notes Regarding Privileges of Signed JARs\&. ++.PP ++Notes Regarding Privileges of Signed JARs ++.TP 0.4i ++1\&. ++If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&. ++.TP 0.4i ++2\&. ++The policy file/keystore combination has precedence over a trusted identity in the identity database\&. ++.TP 0.4i ++3\&. ++Untrusted identities are ignored in the Java platform\&. ++.SH SEE\ ALSO ++.TP 0.2i ++\(bu ++\f3jar\fR ++.TP 0.2i ++\(bu ++\f3keytool\fR ++.TP 0.2i ++\(bu ++Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html ++.RE ++.br ++'pl 8.5i ++'bp +--- jdk/src/solaris/javavm/export/jvm_md.h 2013-09-06 11:29:09.000000000 -0700 ++++ jdk/src/solaris/javavm/export/jvm_md.h 2014-01-18 12:16:33.000000000 -0800 +@@ -75,7 +75,11 @@ + #define JVM_O_O_APPEND O_APPEND + #define JVM_O_EXCL O_EXCL + #define JVM_O_CREAT O_CREAT ++#if !defined(__APPLE__) && defined(_ALLBSD_SOURCE) ++#define JVM_O_DELETE 0x10000000 ++#else + #define JVM_O_DELETE 0x10000 ++#endif - package com.sun.org.glassfish.external.statistics.impl; + /* Signals */ --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; - import com.sun.org.glassfish.external.statistics.AverageRangeStatistic; -@@ -139,6 +138,8 @@ +--- jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c 2013-09-06 11:29:09.000000000 -0700 ++++ jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -168,6 +168,9 @@ + /* + * XXXBSD: there's no way available to get swap info in + * FreeBSD. Usage of libkvm is not an option here ++ * ++ * XXX: Investigate how swapinfo(8) does this. ++ * Total swap is in vm.swap_total + */ + // throw_internal_error(env, "Unimplemented in FreeBSD"); + return (0); +@@ -242,6 +245,8 @@ + #else /* _ALLBSD_SOURCE */ + /* + * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. ++ * ++ * XXX: Determine how linprocfs gets this. + */ + // throw_internal_error(env, "Unimplemented in FreeBSD"); + return (64 * MB); +@@ -323,6 +328,8 @@ + #elif defined(_ALLBSD_SOURCE) + /* + * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. ++ * ++ * XXX: Investigate how top(8) gets this on FreeBSD. + */ + // throw_internal_error(env, "Unimplemented in FreeBSD"); + return (128 * MB); +@@ -342,7 +349,11 @@ + size_t rlen; + + mib[0] = CTL_HW; ++#ifdef __APPLE__ + mib[1] = HW_MEMSIZE; ++#else ++ mib[1] = HW_PHYSMEM; ++#endif + rlen = sizeof(result); + if (sysctl(mib, 2, &result, &rlen, NULL, 0) != 0) { + throw_internal_error(env, "sysctl failed"); +@@ -408,6 +419,8 @@ + #elif defined(_ALLBSD_SOURCE) + /* + * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. ++ * ++ * XXX: Investigate getting this on FreeBSD. Look at lsof. + */ + // throw_internal_error(env, "Unimplemented in FreeBSD"); + return (100); +--- jdk/src/solaris/native/java/io/UnixFileSystem_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/io/UnixFileSystem_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -151,7 +151,6 @@ + return rv; + } - // todo: equals implementation - public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { -+ checkMethod(method); +- + JNIEXPORT jboolean JNICALL + Java_java_io_UnixFileSystem_setPermission(JNIEnv *env, jobject this, + jobject file, +--- jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -53,7 +53,7 @@ + + for (i = 0; environ[i]; i++) { + /* Ignore corrupted environment variables */ +- if (strchr(environ[i], '=') != NULL) ++ if (strchr(environ[i], '=') != NULL && *environ[i] != '=') + count++; + } + +@@ -63,7 +63,7 @@ + for (i = 0, j = 0; environ[i]; i++) { + const char * varEnd = strchr(environ[i], '='); + /* Ignore corrupted environment variables */ +- if (varEnd != NULL) { ++ if (varEnd != NULL && varEnd != environ[i]) { + jbyteArray var, val; + const char * valBeg = varEnd + 1; + jsize varLength = varEnd - environ[i]; +--- jdk/src/solaris/native/java/lang/UNIXProcess_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/lang/UNIXProcess_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -394,7 +394,17 @@ + return c >= '0' && c <= '9'; + } + +-#ifdef _ALLBSD_SOURCE ++#if defined(__OpenBSD__) ++static int ++closeDescriptors(void) ++{ ++ int err; ++ RESTARTABLE(closefrom(FAIL_FILENO + 1), err); ++ return err; ++} ++#else + - Object result; - try { - result = method.invoke(this, args); -@@ -147,7 +148,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { - } - return result; ++#if defined(_ALLBSD_SOURCE) + #define FD_DIR "/dev/fd" + #define dirent64 dirent + #define readdir64 readdir +@@ -436,6 +446,7 @@ + + return 1; + } ++#endif + + static int + moveDescriptor(int fd_from, int fd_to) +--- jdk/src/solaris/native/java/lang/java_props_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/lang/java_props_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -151,7 +151,7 @@ + lc = setlocale(cat, NULL); + #endif + +-#ifndef __linux__ ++#if !defined(__linux__) && !defined(__OpenBSD__) + if (lc == NULL) { + return 0; } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundaryStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundaryStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ +@@ -484,12 +484,19 @@ + &(sprops.format_country), + &(sprops.format_variant), + &(sprops.encoding))) { ++#ifdef __OpenBSD__ ++ sprops.language = sprops.format_language; ++ sprops.script = sprops.format_script; ++ sprops.country = sprops.format_country; ++ sprops.variant = sprops.format_variant; ++#else + ParseLocale(LC_MESSAGES, + &(sprops.language), + &(sprops.script), + &(sprops.country), + &(sprops.variant), + NULL); ++#endif + } else { + sprops.language = "en"; + sprops.encoding = "ISO8859-1"; +--- jdk/src/solaris/native/java/net/Inet6AddressImpl.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/Inet6AddressImpl.c 2014-01-18 12:16:33.000000000 -0800 +@@ -122,7 +122,6 @@ + static jclass ni_ia6cls; + static jmethodID ni_ia4ctrID; + static jmethodID ni_ia6ctrID; +-static jfieldID ni_ia6ipaddressID; + static int initialized = 0; + /* -- * Copyright (c) 2009, 2010, 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 -@@ -27,7 +27,6 @@ +@@ -158,7 +157,6 @@ + ni_ia6cls = (*env)->NewGlobalRef(env, ni_ia6cls); + ni_ia4ctrID = (*env)->GetMethodID(env, ni_ia4cls, "<init>", "()V"); + ni_ia6ctrID = (*env)->GetMethodID(env, ni_ia6cls, "<init>", "()V"); +- ni_ia6ipaddressID = (*env)->GetFieldID(env, ni_ia6cls, "ipaddress", "[B"); + initialized = 1; + } - package com.sun.org.glassfish.external.statistics.impl; - import com.sun.org.glassfish.external.statistics.BoundaryStatistic; --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; +@@ -306,6 +304,7 @@ + } + + while (iterator != NULL) { ++ int ret1; + if (iterator->ai_family == AF_INET) { + jobject iaObj = (*env)->NewObject(env, ni_ia4cls, ni_ia4ctrID); + if (IS_NULL(iaObj)) { +@@ -318,20 +317,17 @@ + inetIndex++; + } else if (iterator->ai_family == AF_INET6) { + jint scope = 0; +- jbyteArray ipaddress; + + jobject iaObj = (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID); + if (IS_NULL(iaObj)) { + ret = NULL; + goto cleanupAndReturn; + } +- ipaddress = (*env)->NewByteArray(env, 16); +- if (IS_NULL(ipaddress)) { +- ret = NULL; +- goto cleanupAndReturn; ++ ret1 = setInet6Address_ipaddress(env, iaObj, (char *)&(((struct sockaddr_in6*)iterator->ai_addr)->sin6_addr)); ++ if (!ret1) { ++ ret = NULL; ++ goto cleanupAndReturn; + } +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(((struct sockaddr_in6*)iterator->ai_addr)->sin6_addr)); + #ifdef __linux__ + if (!kernelIsV22()) { + scope = ((struct sockaddr_in6*)iterator->ai_addr)->sin6_scope_id; +@@ -340,10 +336,8 @@ + scope = ((struct sockaddr_in6*)iterator->ai_addr)->sin6_scope_id; + #endif + if (scope != 0) { /* zero is default value, no need to set */ +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); ++ setInet6Address_scopeid(env, iaObj, scope); + } +- (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); + setInetAddress_hostName(env, iaObj, host); + (*env)->SetObjectArrayElement(env, ret, inet6Index, iaObj); + inet6Index++; +--- jdk/src/solaris/native/java/net/NetworkInterface.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/NetworkInterface.c 2014-01-18 12:16:33.000000000 -0800 +@@ -60,14 +60,18 @@ + #include <sys/param.h> + #include <sys/ioctl.h> + #include <sys/sockio.h> +-#if defined(__APPLE__) ++#if defined(__FreeBSD__) || defined(__APPLE__) + #include <net/ethernet.h> + #include <net/if_var.h> ++#elif defined(__OpenBSD__) ++#include <netinet/if_ether.h> ++#elif defined(__NetBSD__) ++#include <net/if_ether.h> ++#endif + #include <net/if_dl.h> + #include <netinet/in_var.h> + #include <ifaddrs.h> + #endif +-#endif + + #include "jvm.h" + #include "jni_util.h" +@@ -118,7 +122,6 @@ + static jmethodID ni_ia4ctrID; + static jmethodID ni_ia6ctrID; + static jmethodID ni_ibctrID; +-static jfieldID ni_ia6ipaddressID; + static jfieldID ni_ibaddressID; + static jfieldID ni_ib4broadcastID; + static jfieldID ni_ib4maskID; +@@ -193,7 +196,6 @@ + ni_ia4ctrID = (*env)->GetMethodID(env, ni_ia4cls, "<init>", "()V"); + ni_ia6ctrID = (*env)->GetMethodID(env, ni_ia6cls, "<init>", "()V"); + ni_ibctrID = (*env)->GetMethodID(env, ni_ibcls, "<init>", "()V"); +- ni_ia6ipaddressID = (*env)->GetFieldID(env, ni_ia6cls, "ipaddress", "[B"); + ni_ibaddressID = (*env)->GetFieldID(env, ni_ibcls, "address", "Ljava/net/InetAddress;"); + ni_ib4broadcastID = (*env)->GetFieldID(env, ni_ibcls, "broadcast", "Ljava/net/Inet4Address;"); + ni_ib4maskID = (*env)->GetFieldID(env, ni_ibcls, "maskLength", "S"); +@@ -332,11 +334,9 @@ + #ifdef AF_INET6 + if (family == AF_INET6) { + jbyte *bytes = (jbyte *)&(((struct sockaddr_in6*)addrP->addr)->sin6_addr); +- jbyteArray ipaddress = (*env)->GetObjectField(env, iaObj, ni_ia6ipaddressID); + jbyte caddr[16]; + int i; +- +- (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); ++ getInet6Address_ipaddress(env, iaObj, (char *)caddr); + i = 0; + while (i < 16) { + if (caddr[i] != bytes[i]) { +@@ -670,21 +670,17 @@ + int scope=0; + iaObj = (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID); + if (iaObj) { +- jbyteArray ipaddress = (*env)->NewByteArray(env, 16); +- if (ipaddress == NULL) { ++ int ret = setInet6Address_ipaddress(env, iaObj, (char *)&(((struct sockaddr_in6*)addrP->addr)->sin6_addr)); ++ if (ret == JNI_FALSE) { + return NULL; + } +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(((struct sockaddr_in6*)addrP->addr)->sin6_addr)); + + scope = ((struct sockaddr_in6*)addrP->addr)->sin6_scope_id; + + if (scope != 0) { /* zero is default value, no need to set */ +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); +- (*env)->SetObjectField(env, iaObj, ia6_scopeifnameID, netifObj); ++ setInet6Address_scopeid(env, iaObj, scope); ++ setInet6Address_scopeifname(env, iaObj, netifObj); + } +- (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); + } + ibObj = (*env)->NewObject(env, ni_ibcls, ni_ibctrID); + if (ibObj) { +@@ -1293,11 +1289,15 @@ + return -1; + } + ++#ifdef __FreeBSD__ ++ *flags = ((if2.ifr_flags & 0xffff) | (if2.ifr_flagshigh << 16)); ++#else + if (sizeof(if2.ifr_flags) == sizeof(short)) { + *flags = (if2.ifr_flags & 0xffff); + } else { + *flags = if2.ifr_flags; + } ++#endif + return 0; + } + +@@ -1989,11 +1989,15 @@ + return -1; + } + ++#ifdef __FreeBSD__ ++ *flags = ((if2.ifr_flags & 0xffff) | (if2.ifr_flagshigh << 16)); ++#else + if (sizeof(if2.ifr_flags) == sizeof(short)) { + *flags = (if2.ifr_flags & 0xffff); + } else { + *flags = if2.ifr_flags; + } ++#endif + return 0; + } + +--- jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c 2014-01-18 12:16:33.000000000 -0800 +@@ -23,12 +23,12 @@ + * questions. + */ -@@ -81,6 +80,8 @@ ++#include <sys/types.h> ++#include <sys/socket.h> + #include <errno.h> + #include <netinet/in.h> + #include <stdlib.h> + #include <string.h> +-#include <sys/types.h> +-#include <sys/socket.h> + + #ifdef __solaris__ + #include <fcntl.h> +@@ -357,13 +357,21 @@ + #ifdef AF_INET6 + if (ipv6_available()) { + struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)&addr; ++#ifdef __FreeBSD__ ++ him6->sin6_family = AF_INET6; ++#else + him6->sin6_family = AF_UNSPEC; ++#endif + len = sizeof(struct sockaddr_in6); + } else + #endif + { + struct sockaddr_in *him4 = (struct sockaddr_in*)&addr; ++#ifdef __FreeBSD__ ++ him4->sin_family = AF_INET; ++#else + him4->sin_family = AF_UNSPEC; ++#endif + len = sizeof(struct sockaddr_in); + } + JVM_Connect(fd, (struct sockaddr *)&addr, len); +@@ -2359,8 +2367,7 @@ + caddr[14] = ((address >> 8) & 0xff); + caddr[15] = (address & 0xff); + } else { +- ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); +- (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); ++ getInet6Address_ipaddress(env, iaObj, caddr); + } - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); + memcpy((void *)&(mname6.ipv6mr_multiaddr), caddr, sizeof(struct in6_addr)); +--- jdk/src/solaris/native/java/net/bsd_close.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/bsd_close.c 2014-01-18 12:16:33.000000000 -0800 +@@ -345,6 +345,76 @@ + * signal other than our wakeup signal. + */ + int NET_Timeout(int s, long timeout) { ++/* ++ * On MacOS X, poll(2) is not working correctly, so a select(2) based ++ * implementation is preferred. See ++ * ++ * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7131399 ++ * ++ * However, on FreeBSD, the select(2) based implementation can cause ++ * crashes under load and poll(2) is preferred. See ++ * ++ * http://docs.freebsd.org/cgi/getmsg.cgi?fetch=215525+0+current/freebsd-java ++ * ++ * Other *BSD will use poll(2) for now, but please adjust as appropriate. ++ */ ++#ifndef __APPLE__ ++ long prevtime = 0, newtime; ++ struct timeval t; ++ fdEntry_t *fdEntry = getFdEntry(s); + - Object result; - try { - result = m.invoke(this, args); -@@ -89,7 +90,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { ++ /* ++ * Check that fd hasn't been closed. ++ */ ++ if (fdEntry == NULL) { ++ errno = EBADF; ++ return -1; ++ } ++ ++ /* ++ * Pick up current time as may need to adjust timeout ++ */ ++ if (timeout > 0) { ++ gettimeofday(&t, NULL); ++ prevtime = t.tv_sec * 1000 + t.tv_usec / 1000; ++ } ++ ++ for(;;) { ++ struct pollfd pfd; ++ int rv; ++ threadEntry_t self; ++ ++ /* ++ * Poll the fd. If interrupted by our wakeup signal ++ * errno will be set to EBADF. ++ */ ++ pfd.fd = s; ++ pfd.events = POLLIN | POLLERR; ++ ++ startOp(fdEntry, &self); ++ rv = poll(&pfd, 1, timeout); ++ endOp(fdEntry, &self); ++ ++ /* ++ * If interrupted then adjust timeout. If timeout ++ * has expired return 0 (indicating timeout expired). ++ */ ++ if (rv < 0 && errno == EINTR) { ++ if (timeout > 0) { ++ gettimeofday(&t, NULL); ++ newtime = t.tv_sec * 1000 + t.tv_usec / 1000; ++ timeout -= newtime - prevtime; ++ if (timeout <= 0) { ++ return 0; ++ } ++ prevtime = newtime; ++ } ++ } else { ++ return rv; ++ } ++ ++ } ++#else + long prevtime = 0, newtime; + struct timeval t, *tp = &t; + fdEntry_t *fdEntry = getFdEntry(s); +@@ -414,4 +484,5 @@ } - return result; + } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundedRangeStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundedRangeStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ ++#endif + } +--- jdk/src/solaris/native/java/net/net_util_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/net_util_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -45,6 +45,10 @@ + #endif + #endif + ++#ifdef __OpenBSD__ ++#include <sys/socketvar.h> ++#endif ++ + #ifdef __solaris__ + #include <sys/sockio.h> + #include <stropts.h> +@@ -138,8 +142,7 @@ + * of the parameter is assumed to be an 'int'. If the parameter + * cannot be obtained return -1 + */ +-static int +-getParam(char *driver, char *param) ++int net_getParam(char *driver, char *param) + { + struct strioctl stri; + char buf [64]; +@@ -166,7 +169,7 @@ + /* -- * Copyright (c) 2009, 2010, 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. + * Iterative way to find the max value that SO_SNDBUF or SO_RCVBUF +- * for Solaris versions that do not support the ioctl() in getParam(). ++ * for Solaris versions that do not support the ioctl() in net_getParam(). + * Ugly, but only called once (for each sotype). * - * This code is free software; you can redistribute it and/or modify it -@@ -27,7 +27,6 @@ + * As an optimisation, we make a guess using the default values for Solaris +@@ -823,7 +826,6 @@ + /* needs work. 1. family 2. clean up him6 etc deallocate memory */ + if (ipv6_available() && !(family == IPv4 && v4MappedAddress == JNI_FALSE)) { + struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; +- jbyteArray ipaddress; + jbyte caddr[16]; + jint address; + +@@ -844,8 +846,7 @@ + caddr[15] = (address & 0xff); + } + } else { +- ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); +- (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); ++ getInet6Address_ipaddress(env, iaObj, (char *)caddr); + } + memset((char *)him6, 0, sizeof(struct sockaddr_in6)); + him6->sin6_port = htons(port); +@@ -882,7 +883,7 @@ + */ + if (!cached_scope_id) { + if (ia6_scopeidID) { +- scope_id = (int)(*env)->GetIntField(env,iaObj,ia6_scopeidID); ++ scope_id = getInet6Address_scopeid(env, iaObj); + } + if (scope_id != 0) { + /* check user-specified value for loopback case +@@ -928,7 +929,7 @@ + + if (family != IPv4) { + if (ia6_scopeidID) { +- him6->sin6_scope_id = (int)(*env)->GetIntField(env, iaObj, ia6_scopeidID); ++ him6->sin6_scope_id = getInet6Address_scopeid(env, iaObj); + } + } + #endif +@@ -1409,7 +1410,7 @@ + * If that fails, we use the search algorithm in findMaxBuf() + */ + if (!init_tcp_max_buf && sotype == SOCK_STREAM) { +- tcp_max_buf = getParam("/dev/tcp", "tcp_max_buf"); ++ tcp_max_buf = net_getParam("/dev/tcp", "tcp_max_buf"); + if (tcp_max_buf == -1) { + tcp_max_buf = findMaxBuf(fd, opt, SOCK_STREAM); + if (tcp_max_buf == -1) { +@@ -1418,7 +1419,7 @@ + } + init_tcp_max_buf = 1; + } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) { +- udp_max_buf = getParam("/dev/udp", "udp_max_buf"); ++ udp_max_buf = net_getParam("/dev/udp", "udp_max_buf"); + if (udp_max_buf == -1) { + udp_max_buf = findMaxBuf(fd, opt, SOCK_DGRAM); + if (udp_max_buf == -1) { +@@ -1515,7 +1516,22 @@ + } + } - package com.sun.org.glassfish.external.statistics.impl; - import com.sun.org.glassfish.external.statistics.BoundedRangeStatistic; --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; +-#endif ++#ifndef __APPLE__ ++ /* ++ * Don't allow SO_LINGER value to be too big. ++ * Current max value (240) is empiric value based on tcp_timer.h's ++ * constant TCP_LINGERTIME, which was doubled. ++ * ++ * XXXBSD: maybe we should step it down to 120 ? ++ */ ++ if (level == SOL_SOCKET && opt == SO_LINGER) { ++ ling = (struct linger *)arg; ++ if (ling->l_linger > 240 || ling->l_linger < 0) { ++ ling->l_linger = 240; ++ } ++ } ++#endif __APPLE__ ++#endif _ALLBSD_SOURCE -@@ -145,6 +144,8 @@ + return setsockopt(fd, level, opt, arg, len); + } +--- jdk/src/solaris/native/java/net/net_util_md.h 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/net/net_util_md.h 2014-01-18 12:16:34.000000000 -0800 +@@ -37,7 +37,7 @@ + #endif - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); -+ - Object result; - try { - result = m.invoke(this, args); -@@ -153,7 +154,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { - } - return result; + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(__FreeBSD__) || defined(MACOSX) + extern int NET_Timeout(int s, long timeout); + extern int NET_Read(int s, void* buf, size_t len); + extern int NET_RecvFrom(int s, void *buf, int len, unsigned int flags, +@@ -81,6 +81,9 @@ + int getDefaultIPv6Interface(struct in6_addr *target_addr); + #endif + ++#ifdef __solaris__ ++extern int net_getParam(char *driver, char *param); ++#endif + + /* needed from libsocket on Solaris 8 */ + +--- jdk/src/solaris/native/java/util/TimeZone_md.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/java/util/TimeZone_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -123,7 +123,7 @@ + return NULL; } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/CountStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/CountStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ + +-#if defined(__linux__) || defined(MACOSX) || (defined(__solaris__) \ ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) || (defined(__solaris__) \ + && (defined(_POSIX_PTHREAD_SEMANTICS) || defined(_LP64))) + while (readdir_r(dirp, entry, &dp) == 0 && dp != NULL) { + #else +@@ -212,7 +212,7 @@ + return tz; + } + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + /* -- * Copyright (c) 2009, 2010, 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 -@@ -26,7 +26,6 @@ + * Performs Linux specific mapping and returns a zone ID +@@ -678,7 +678,7 @@ + * Returns a GMT-offset-based zone ID. (e.g., "GMT-08:00") + */ - package com.sun.org.glassfish.external.statistics.impl; - import com.sun.org.glassfish.external.statistics.CountStatistic; --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; +-#ifdef MACOSX ++#ifdef _ALLBSD_SOURCE -@@ -103,6 +102,8 @@ + char * + getGMTOffsetID() +@@ -738,4 +738,4 @@ + sign, (int)(offset/3600), (int)((offset%3600)/60)); + return strdup(buf); + } +-#endif /* MACOSX */ ++#endif /* _ALLBSD_SOURCE */ +--- jdk/src/solaris/native/sun/awt/awt_Font.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_Font.c 2014-01-18 12:16:33.000000000 -0800 +@@ -334,7 +334,7 @@ + if (strcmp(style, "regular") == 0) { + altstyle = "roman"; + } +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + if (!strcmp(family, "lucidasans")) { + family = "lucida"; + } +--- jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c 2014-01-18 12:16:33.000000000 -0800 +@@ -123,7 +123,7 @@ + */ - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); -+ - Object result; - try { - result = m.invoke(this, args); -@@ -111,7 +112,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { - } - return result; + #define MAXFRAMEBUFFERS 16 +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + typedef struct { + int screen_number; + short x_org; +@@ -652,7 +652,7 @@ + #endif /* HEADLESS */ + + #ifndef HEADLESS +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + static void xinerama_init_linux() + { + void* libHandle = NULL; +@@ -703,7 +703,7 @@ + } + } + #endif +-#if !defined(__linux__) && !defined(MACOSX) /* Solaris */ ++#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) /* Solaris */ + static void xinerama_init_solaris() + { + void* libHandle = NULL; +@@ -763,11 +763,11 @@ } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/RangeStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/RangeStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2009, 2010, 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 -@@ -27,7 +27,6 @@ - package com.sun.org.glassfish.external.statistics.impl; - import com.sun.org.glassfish.external.statistics.RangeStatistic; --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; + DTRACE_PRINTLN("Xinerama extension is available"); +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + xinerama_init_linux(); + #else /* Solaris */ + xinerama_init_solaris(); +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ + } + #endif /* HEADLESS */ -@@ -125,6 +124,8 @@ +@@ -1645,7 +1645,7 @@ + { + jobject point = NULL; + #ifndef HEADLESS /* return NULL in HEADLESS, Linux */ +-#if !defined(__linux__) && !defined(MACOSX) ++#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) + int x,y; + + AWT_LOCK(); +@@ -1658,7 +1658,7 @@ + DTRACE_PRINTLN("unable to call XineramaSolarisCenterFunc: symbol is null"); + } + AWT_FLUSH_UNLOCK(); +-#endif /* __linux __ || MACOSX */ ++#endif /* __linux __ || _ALLBSD_SOURCE */ + #endif /* HEADLESS */ + return point; + } +--- jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-01-18 12:16:33.000000000 -0800 +@@ -67,7 +67,7 @@ + XIMPreeditDrawCallbackStruct *); + static void PreeditCaretCallback(XIC, XPointer, + XIMPreeditCaretCallbackStruct *); +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + static void StatusStartCallback(XIC, XPointer, XPointer); + static void StatusDoneCallback(XIC, XPointer, XPointer); + static void StatusDrawCallback(XIC, XPointer, +@@ -81,7 +81,7 @@ + #define PreeditDoneIndex 1 + #define PreeditDrawIndex 2 + #define PreeditCaretIndex 3 +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + #define StatusStartIndex 4 + #define StatusDoneIndex 5 + #define StatusDrawIndex 6 +@@ -99,14 +99,14 @@ + (XIMProc)PreeditDoneCallback, + (XIMProc)PreeditDrawCallback, + (XIMProc)PreeditCaretCallback, +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + (XIMProc)StatusStartCallback, + (XIMProc)StatusDoneCallback, + (XIMProc)StatusDrawCallback, + #endif + }; - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); -+ - Object result; - try { - result = m.invoke(this, args); -@@ -133,7 +134,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { - } +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + #define MAX_STATUS_LEN 100 + typedef struct { + Window w; /*status window id */ +@@ -146,7 +146,7 @@ + #endif /* XAWT */ + jobject x11inputmethod; /* global ref to X11InputMethod instance */ + /* associated with the XIC */ +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + StatusWindow *statusWindow; /* our own status window */ + #else + #ifndef XAWT +@@ -425,7 +425,7 @@ + static void + freeX11InputMethodData(JNIEnv *env, X11InputMethodData *pX11IMData) + { +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + if (pX11IMData->statusWindow != NULL){ + StatusWindow *sw = pX11IMData->statusWindow; + XFreeGC(awt_display, sw->lightGC); +@@ -531,7 +531,7 @@ + pX11IMData = getX11InputMethodData(env, currentX11InputMethodInstance); + + if (pX11IMData == NULL) { +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + return False; + #else return result; +@@ -539,7 +539,7 @@ } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2009, 2010, 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 -@@ -26,8 +26,8 @@ - package com.sun.org.glassfish.external.statistics.impl; - import com.sun.org.glassfish.external.statistics.Statistic; --import java.io.Serializable; --import java.util.concurrent.atomic.AtomicLong; -+import java.lang.reflect.Method; -+import java.lang.reflect.Modifier; - import java.util.Map; - import java.util.concurrent.ConcurrentHashMap; + if ((ic = pX11IMData->current_ic) == (XIC)0){ +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + return False; + #else + return result; +@@ -648,7 +648,7 @@ + return result; + } -@@ -133,4 +133,13 @@ - protected static boolean isValidString(String str) { - return (str!=null && str.length()>0); +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + static StatusWindow *createStatusWindow( + #ifdef XAWT + Window parent) { +@@ -993,7 +993,7 @@ + } } -+ -+ protected void checkMethod(Method method) { -+ if (method == null || method.getDeclaringClass() == null -+ || !Statistic.class.isAssignableFrom(method.getDeclaringClass()) -+ || Modifier.isStatic(method.getModifiers())) { -+ throw new RuntimeException("Invalid method on invoke"); -+ } -+ } -+ } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ /* -- * Copyright (c) 2009, 2010, 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 -@@ -90,6 +90,8 @@ + * Creates two XICs, one for active clients and the other for passive + * clients. All information on those XICs are stored in the +@@ -1050,7 +1050,7 @@ + return FALSE ; + } - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); -+ - Object result; - try { - result = m.invoke(this, args); -@@ -98,7 +100,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + on_the_spot_styles |= XIMStatusNothing; + + /*kinput does not support XIMPreeditCallbacks and XIMStatusArea +@@ -1063,7 +1063,7 @@ + break; } - return result; } ---- jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/TimeStatisticImpl.java 2012-08-10 09:46:46.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/TimeStatisticImpl.java 2013-06-22 09:39:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2009, 2010, 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 -@@ -28,7 +28,6 @@ - package com.sun.org.glassfish.external.statistics.impl; +-#else /*! __linux__ && !MACOSX */ ++#else /*! __linux__ && !_ALLBSD_SOURCE */ + #ifdef XAWT + on_the_spot_styles |= XIMStatusNothing; + #else /* !XAWT */ +@@ -1086,7 +1086,7 @@ + on_the_spot_styles |= XIMStatusNothing; + + #endif /* XAWT */ +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ + + for (i = 0; i < im_styles->count_styles; i++) { + active_styles |= im_styles->supported_styles[i] & on_the_spot_styles; +@@ -1134,7 +1134,7 @@ + NULL); + if (preedit == (XVaNestedList)NULL) + goto err; +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + /*always try XIMStatusCallbacks for active client...*/ + { + status = (XVaNestedList)XVaCreateNestedList(0, +@@ -1156,7 +1156,7 @@ + XFree((void *)status); + XFree((void *)preedit); + } +-#else /* !__linux__ && !MACOSX */ ++#else /* !__linux__ && !_ALLBSD_SOURCE */ + #ifndef XAWT + if (on_the_spot_styles & XIMStatusArea) { + Widget parent; +@@ -1184,7 +1184,7 @@ + } + #endif /* XAWT */ + XFree((void *)preedit); +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ + pX11IMData->ic_passive = XCreateIC(X11im, + XNClientWindow, w, + XNFocusWindow, w, +@@ -1343,7 +1343,7 @@ - import com.sun.org.glassfish.external.statistics.TimeStatistic; --import java.util.concurrent.atomic.AtomicLong; - import java.util.Map; - import java.lang.reflect.*; + } -@@ -145,6 +144,8 @@ +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + static void + StatusStartCallback(XIC ic, XPointer client_data, XPointer call_data) + { +@@ -1411,7 +1411,7 @@ + finally: + AWT_UNLOCK(); + } +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ + + static void CommitStringCallback(XIC ic, XPointer client_data, XPointer call_data) { + JNIEnv *env = GetJNIEnv(); +@@ -1517,14 +1517,14 @@ + /* Use IMInstantiate call back only on Linux, as there is a bug in Solaris + (4768335) + */ +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + registered = XRegisterIMInstantiateCallback(dpy, NULL, NULL, + NULL, (XIDProc)OpenXIMCallback, NULL); + if (!registered) { + /* directly call openXIM callback */ + #endif + OpenXIMCallback(dpy, NULL, NULL); +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + } + #endif - // todo: equals implementation - public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { -+ checkMethod(m); +@@ -1588,13 +1588,13 @@ + #endif /* XAWT */ + globalRef = (*env)->NewGlobalRef(env, this); + pX11IMData->x11inputmethod = globalRef; +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + pX11IMData->statusWindow = NULL; +-#else /* !__linux__ && !MACOSX */ ++#else /* !__linux__ && !_ALLBSD_SOURCE */ + #ifndef XAWT + pX11IMData->statusWidget = (Widget) NULL; + #endif /* XAWT */ +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ + + pX11IMData->lookup_buf = 0; + pX11IMData->lookup_buf_len = 0; +@@ -1741,14 +1741,14 @@ + setXICFocus(pX11IMData->current_ic, req); + currentX11InputMethodInstance = pX11IMData->x11inputmethod; + currentFocusWindow = w; +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + if (active && pX11IMData->statusWindow && pX11IMData->statusWindow->on) + onoffStatusWindow(pX11IMData, w, True); + #endif + } else { + currentX11InputMethodInstance = NULL; + currentFocusWindow = 0; +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + onoffStatusWindow(pX11IMData, 0, False); + if (pX11IMData->current_ic != NULL) + #endif +@@ -1765,7 +1765,7 @@ + Java_sun_awt_X11InputMethod_turnoffStatusWindow(JNIEnv *env, + jobject this) + { +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + X11InputMethodData *pX11IMData; + StatusWindow *statusWindow; + +@@ -1862,7 +1862,7 @@ + X11InputMethodData *pX11IMData; + XVaNestedList status; + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + /*do nothing for linux? */ + #else + AWT_LOCK(); +@@ -1968,7 +1968,7 @@ + JNIEXPORT void JNICALL Java_sun_awt_X11_XInputMethod_adjustStatusWindow + (JNIEnv *env, jobject this, jlong window) + { +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + AWT_LOCK(); + adjustStatusWindow(window); + AWT_UNLOCK(); +--- jdk/src/solaris/native/sun/awt/awt_Robot.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_Robot.c 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + #include "wsutils.h" + #include "list.h" + #include "multiVis.h" +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + #include <sys/socket.h> + #endif + +--- jdk/src/solaris/native/sun/awt/awt_util.h 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_util.h 2014-01-18 12:16:33.000000000 -0800 +@@ -187,7 +187,7 @@ + #ifdef __solaris__ + extern Widget awt_util_getXICStatusAreaWindow(Widget w); + #else +-#if defined(MACOSX) ++#if defined(_ALLBSD_SOURCE) + int32_t awt_util_getIMStatusHeight(Widget vw); + Widget awt_util_getXICStatusAreaWindow(Widget w); + #else +@@ -200,7 +200,7 @@ + + + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + typedef struct _XmImRefRec { + Cardinal num_refs; /* Number of referencing widgets. */ + Cardinal max_refs; /* Maximum length of refs array. */ +--- jdk/src/solaris/native/sun/awt/awt_wm.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_wm.c 2014-01-18 12:16:33.000000000 -0800 +@@ -121,12 +121,19 @@ + static Atom XA_KWM_WIN_MAXIMIZED; + + /* OpenLook */ ++static Atom _XA_OL_DECOR_ADD; + static Atom _XA_OL_DECOR_DEL; + static Atom _XA_OL_DECOR_HEADER; + static Atom _XA_OL_DECOR_RESIZE; + static Atom _XA_OL_DECOR_PIN; + static Atom _XA_OL_DECOR_CLOSE; + ++/* AfterStep */ ++static Atom _XA_AS_STYLE; + - Object result; - try { - result = m.invoke(this, args); -@@ -153,7 +154,6 @@ - } catch (Exception e) { - throw new RuntimeException("unexpected invocation exception: " + - e.getMessage()); -- } finally { - } - return result; ++/* WindowMaker */ ++static Atom _XA_WINDOWMAKER_STATE; ++ + /* For _NET_WM_STATE ClientMessage requests */ + #define _NET_WM_STATE_REMOVE 0 /* remove/unset property */ + #define _NET_WM_STATE_ADD 1 /* add/set property */ +@@ -193,7 +200,12 @@ + { &_XA_OL_DECOR_HEADER, "_OL_DECOR_HEADER" }, + { &_XA_OL_DECOR_RESIZE, "_OL_DECOR_RESIZE" }, + { &_XA_OL_DECOR_PIN, "_OL_DECOR_PIN" }, +- { &_XA_OL_DECOR_CLOSE, "_OL_DECOR_CLOSE" } ++ { &_XA_OL_DECOR_CLOSE, "_OL_DECOR_CLOSE" }, ++ { &_XA_OL_DECOR_ADD, "_OL_DECOR_ADD" }, ++ ++ { &_XA_AS_STYLE, "_XA_AS_STYLE" }, ++ ++ { &_XA_WINDOWMAKER_STATE, "_XA_WINDOWMAKER_STATE" } + }; + #define ATOM_LIST_LENGTH (sizeof(atom_list)/sizeof(atom_list[0])) + +@@ -942,6 +954,39 @@ + return True; + } + ++/* ++ * Window Maker. ++ */ ++static Boolean ++awt_wm_isWindowmaker() ++{ ++ if (awt_wm_atomInterned(&_XA_WINDOWMAKER_STATE, "_WINDOWMAKER_STATE")) ++ return True; ++ return False; ++} ++ ++/* ++ * Afterstep. ++ */ ++static Boolean ++awt_wm_isAfterstep() ++{ ++ if (awt_wm_atomInterned(&_XA_AS_STYLE, "_AS_STYLE")) ++ return True; ++ return False; ++} ++ ++/* ++ * FVWM 2. ++ */ ++static Boolean ++awt_wm_isFvwm2() ++{ ++ if (awt_wm_atomInterned(&_XA_OL_DECOR_ADD, "_OL_DECOR_ADD") ++ && !awt_wm_atomInterned(&_XA_OL_DECOR_PIN, "_OL_DECOR_PIN")) ++ return True; ++ return False; ++} + + static Boolean + awt_wm_isNetWMName(char *name) +@@ -1280,6 +1325,12 @@ + else if (awt_wm_isKDE2()) { + awt_wmgr = KDE2_WM; } ---- jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java 2012-08-10 09:48:50.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ ++ else if (awt_wm_isWindowmaker()) { ++ awt_wmgr = WINDOWMAKER_WM; ++ } ++ else if (awt_wm_isAfterstep()) { ++ awt_wmgr = AFTERSTEP_WM; ++ } + /* + * We don't check for legacy WM when we already know that WM + * supports WIN or _NET wm spec. +@@ -1302,6 +1353,9 @@ + awt_wmgr = MOTIF_WM; + } + else if (awt_wm_isOpenLook()) { ++ awt_wmgr = OPENLOOK_WM; ++ } ++ else if (awt_wm_isFvwm2()) { + awt_wmgr = OPENLOOK_WM; + } + else { +--- jdk/src/solaris/native/sun/awt/awt_wm.h 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/awt_wm.h 2014-01-18 12:16:33.000000000 -0800 +@@ -45,7 +45,10 @@ + KDE2_WM, + SAWFISH_WM, + ICE_WM, +- METACITY_WM ++ METACITY_WM, ++ AFTERSTEP_WM, ++ WINDOWMAKER_WM, ++ FVWM2_WM + }; + + extern void awt_wm_init(void); +--- jdk/src/solaris/native/sun/awt/extutil.h 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/extutil.h 2014-01-18 12:16:33.000000000 -0800 +@@ -58,7 +58,7 @@ + */ + /* $XFree86: xc/include/extensions/extutil.h,v 1.5 2001/01/17 17:53:20 dawes Exp $ */ + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + + #ifndef _EXTUTIL_H_ + #define _EXTUTIL_H_ +@@ -248,4 +248,4 @@ + char *proc(Display *dpy, int code, XExtCodes *codes, char *buf, int n) + #endif + +-#endif /* __linux__ || MACOSX */ ++#endif /* __linux__ || _ALLBSD_SOURCE */ +--- jdk/src/solaris/native/sun/awt/fontpath.c 2013-09-06 11:29:10.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/fontpath.c 2014-01-18 12:16:33.000000000 -0800 +@@ -23,7 +23,7 @@ + * questions. + */ + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + #include <string.h> + #endif /* __linux__ */ + #include <stdio.h> +@@ -79,7 +79,7 @@ + + #define MAXFDIRS 512 /* Max number of directories that contain fonts */ + +-#if !defined(__linux__) && !defined(MACOSX) ++#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) /* -- * Copyright (c) 1997, 2010, 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 -@@ -235,7 +235,7 @@ - String pkg = nav.getPackageName(ci.getClazz()); - if(!registries.containsKey(pkg)) { - // insert the package's object factory -- C c = nav.findClass(pkg + ".ObjectFactory",ci.getClazz()); -+ C c = loadObjectFactory(ci, pkg); - if(c!=null) - addRegistry(c,(Locatable)p); - } -@@ -264,6 +264,15 @@ - return r; + * This can be set in the makefile to "/usr/X11" if so desired. + */ +@@ -145,6 +145,22 @@ + PACKAGE_PATH "/share/fonts/Type1", + NULL, /* terminates the list */ + }; ++#elif _ALLBSD_SOURCE ++static char *fullBSDFontPath[] = { ++ X11_PATH "/lib/X11/fonts/TrueType", ++ X11_PATH "/lib/X11/fonts/truetype", ++ X11_PATH "/lib/X11/fonts/tt", ++ X11_PATH "/lib/X11/fonts/TTF", ++ X11_PATH "/lib/X11/fonts/OTF", ++ PACKAGE_PATH "/share/fonts/TrueType", ++ PACKAGE_PATH "/share/fonts/truetype", ++ PACKAGE_PATH "/share/fonts/tt", ++ PACKAGE_PATH "/share/fonts/TTF", ++ PACKAGE_PATH "/share/fonts/OTF", ++ X11_PATH "/lib/X11/fonts/Type1", ++ PACKAGE_PATH "/share/fonts/Type1", ++ NULL, /* terminates the list */ ++}; + #else /* __linux */ + /* All the known interesting locations we have discovered on + * various flavors of Linux +@@ -401,7 +417,7 @@ + + #endif /* !HEADLESS */ + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + /* from awt_LoadLibrary.c */ + JNIEXPORT jboolean JNICALL AWTIsHeadless(); + #endif +@@ -530,6 +546,8 @@ + knowndirs = fullLinuxFontPath; + #elif defined(MACOSX) + knowndirs = full_MACOSX_X11FontPath; ++#elif defined(_ALLBSD_SOURCE) ++ knowndirs = fullBSDFontPath; + #else /* IF SOLARIS */ + knowndirs = fullSolarisFontPath; + #endif +@@ -540,7 +558,7 @@ + * be initialised. + */ + #ifndef HEADLESS +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + /* There's no headless build on linux ... */ + if (!AWTIsHeadless()) { /* .. so need to call a function to check */ + #endif +@@ -556,7 +574,7 @@ + x11dirs = getX11FontPath(); + } + AWT_UNLOCK(); +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) } + #endif + #endif /* !HEADLESS */ +--- jdk/src/solaris/native/sun/awt/robot_common.c 2013-09-06 11:29:11.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/robot_common.c 2014-01-18 12:16:33.000000000 -0800 +@@ -27,7 +27,7 @@ + #error This file should not be included in headless library + #endif -+ private C loadObjectFactory(ClassInfoImpl<T, C, F, M> ci, String pkg) { -+ try { -+ return nav.findClass(pkg + ".ObjectFactory", ci.getClazz()); -+ } catch (SecurityException ignored) { -+ // treat SecurityException in same way as ClassNotFoundException in this case -+ return null; +-#ifdef MACOSX ++#ifdef _ALLBSD_SOURCE + #include <stdlib.h> + #endif + +--- jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c 2013-09-06 11:29:11.000000000 -0700 ++++ jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c 2014-01-18 12:16:31.000000000 -0800 +@@ -577,8 +577,8 @@ + SplashUnlock(splash); + rc = poll(pfd, 2, timeout); + SplashLock(splash); +- if (splash->isVisible>0 && SplashTime() >= splash->time + +- splash->frames[splash->currentFrame].delay) { ++ if (splash->isVisible > 0 && splash->currentFrame >= 0 && ++ SplashTime() >= splash->time + splash->frames[splash->currentFrame].delay) { + SplashNextFrame(splash); + SplashUpdateShape(splash); + SplashRedrawWindow(splash); +--- jdk/src/solaris/native/sun/java2d/j2d_md.h 2013-09-06 11:29:11.000000000 -0700 ++++ jdk/src/solaris/native/sun/java2d/j2d_md.h 2014-01-18 12:16:33.000000000 -0800 +@@ -28,9 +28,9 @@ + #include <sys/types.h> + + /* +- * Linux and MACOSX's version of <sys/types.h> does not define intptr_t ++ * Linux and BSD's's version of <sys/types.h> does not define intptr_t + */ +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + #include <stdint.h> + #endif /* __linux__ || MACOSX */ + +--- jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c 2013-09-06 11:29:11.000000000 -0700 ++++ jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c 2014-01-18 12:16:33.000000000 -0800 +@@ -804,7 +804,7 @@ + static int initialized; + static int usevis = JNI_TRUE; + +-#if defined(__linux__) || defined(MACOSX) ++#if defined(__linux__) || defined(_ALLBSD_SOURCE) + # define ULTRA_CHIP "sparc64" + #else + # define ULTRA_CHIP "sun4u" +--- jdk/src/solaris/native/sun/net/portconfig.c 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/src/solaris/native/sun/net/portconfig.c 2014-01-18 12:16:22.000000000 -0800 +@@ -0,0 +1,122 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++#include <stdio.h> ++#include <stdlib.h> ++#include <unistd.h> ++#include <errno.h> ++ ++#if defined(_ALLBSD_SOURCE) ++#include <sys/sysctl.h> ++#endif ++ ++#include "jni.h" ++#include "net_util.h" ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++struct portrange { ++ int lower; ++ int higher; ++}; ++ ++static int getPortRange(struct portrange *range) ++{ ++#ifdef __linux__ ++ { ++ int ret; ++ FILE *f; ++ ++ f = fopen("/proc/sys/net/ipv4/ip_local_port_range", "r"); ++ if (f != NULL) { ++ ret = fscanf(f, "%d %d", &range->lower, &range->higher); ++ fclose(f); ++ return ret == 2 ? 0 : -1; + } ++ return -1; + } + - /** - * Checks the uniqueness of the type name. - */ ---- jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MemoryData.java 2012-08-10 09:50:08.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MemoryData.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2010, 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 -@@ -28,6 +28,7 @@ - import java.nio.ByteBuffer; - import java.io.File; - import java.io.IOException; -+import java.util.logging.Level; - import java.util.logging.Logger; - - /** -@@ -50,41 +51,45 @@ ++#elif defined(__solaris__) ++ { ++ range->lower = net_getParam("/dev/tcp", "tcp_smallest_anon_port"); ++ range->higher = net_getParam("/dev/tcp", "tcp_largest_anon_port"); ++ return 0; ++ } ++#elif defined(_ALLBSD_SOURCE) ++ { ++ int ret; ++ size_t size = sizeof(range->lower); ++ ret = sysctlbyname( ++ "net.inet.ip.portrange.first", &range->lower, &size, 0, 0 ++ ); ++ if (ret == -1) { ++ return -1; ++ } ++ size = sizeof(range->higher); ++ ret = sysctlbyname( ++ "net.inet.ip.portrange.last", &range->higher, &size, 0, 0 ++ ); ++ return ret; ++ } ++#else ++ return -1; ++#endif ++} ++ ++/* ++ * Class: sun_net_PortConfig ++ * Method: getLower0 ++ * Signature: ()I ++ */ ++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0 ++ (JNIEnv *env, jclass clazz) ++{ ++ struct portrange range; ++ if (getPortRange(&range) < 0) { ++ return -1; ++ } ++ return range.lower; ++} ++ ++/* ++ * Class: sun_net_PortConfig ++ * Method: getUpper ++ * Signature: ()I ++ */ ++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0 ++ (JNIEnv *env, jclass clazz) ++{ ++ struct portrange range; ++ if (getPortRange(&range) < 0) { ++ return -1; ++ } ++ return range.higher; ++} ++ ++#ifdef __cplusplus ++} ++#endif +--- jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c 2014-01-18 12:16:33.000000000 -0800 +@@ -201,7 +201,7 @@ + return IOS_THROWN; } + return result; +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__FreeBSD__) + off_t numBytes; + int result; + +@@ -209,6 +209,8 @@ + + #ifdef __APPLE__ + result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0); ++#elif defined(__FreeBSD__) ++ result = sendfile(srcFD, dstFD, position, count, NULL, &numBytes, 0); + #endif - // size of the chunk given by the parser -+ @Override - public int size() { - return len; + if (numBytes > 0) +--- jdk/src/solaris/native/sun/nio/ch/FileDispatcherImpl.c 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/nio/ch/FileDispatcherImpl.c 2014-01-18 12:16:33.000000000 -0800 +@@ -227,6 +227,21 @@ + fl.l_start = (off64_t)pos; + fl.l_type = F_UNLCK; + lockResult = fcntl(fd, cmd, &fl); ++#if defined(__FreeBSD__) || defined(__OpenBSD__) ++ /* XXXFREEBSD: While doing of preClose0() we're closing actual fd which ++ was locked, so here we'll get an error which need to be ignored to ++ satisfy TCK FileLock test */ ++ if (lockResult < 0 && errno == EBADF) ++ lockResult = errno = 0; ++#endif ++#if defined(__NetBSD__) ++ /* XXXNETBSD: The dup2 in preClose0 is being done onto 1 end of a ++ socketpair which isn't a valid target for F_UNLCK. No good way to see ++ this vs. a bad lock setup so just return errno = 0 there ++ to pass JCK (lock will get removed once all fd's close anyways) */ ++ if (lockResult < 0 && errno == EINVAL) ++ lockResult = errno = 0; ++#endif + if (lockResult < 0) { + JNU_ThrowIOExceptionWithLastError(env, "Release failed"); } +--- jdk/src/solaris/native/sun/nio/ch/Sctp.h 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/nio/ch/Sctp.h 2014-01-18 12:16:33.000000000 -0800 +@@ -320,8 +320,20 @@ + typedef int sctp_peeloff_func(int sock, sctp_assoc_t id); -+ @Override - public byte[] read() { - return data; - } -+ @Override - public long writeTo(DataFile file) { - return file.writeTo(data, 0, len); - } ++#elif defined(__FreeBSD__) && __FreeBSD__ >= 7 ++ ++#include <stdint.h> ++#include <sys/types.h> ++#include <sys/socket.h> ++#include <netinet/sctp.h> ++#include <netinet/sctp_peeloff.h> ++#include <netinet/sctp_uio.h> ++#include "jni.h" ++ + #endif /* __linux__ */ - /** -- * - * @param dataHead - * @param buf - * @return - */ -+ @Override - public Data createNext(DataHead dataHead, ByteBuffer buf) { - if (!config.isOnlyMemory() && dataHead.inMemory >= config.memoryThreshold) { - try { - String prefix = config.getTempFilePrefix(); - String suffix = config.getTempFileSuffix(); -- File dir = config.getTempDir(); -- File tempFile = (dir == null) -- ? File.createTempFile(prefix, suffix) -- : File.createTempFile(prefix, suffix, dir); -- LOGGER.fine("Created temp file = "+tempFile); -+ File tempFile = TempFiles.createTempFile(prefix, suffix, config.getTempDir()); -+ // delete the temp file when VM exits as a last resort for file clean up -+ tempFile.deleteOnExit(); -+ if (LOGGER.isLoggable(Level.FINE)) { -+ LOGGER.log(Level.FINE, "Created temp file = {0}", tempFile); -+ } - dataHead.dataFile = new DataFile(tempFile); -- } catch(IOException ioe) { -+ } catch (IOException ioe) { - throw new MIMEParsingException(ioe); - } ++#if !defined(__FreeBSD__) || __FreeBSD__ < 7 ++ + sctp_getladdrs_func* nio_sctp_getladdrs; + sctp_freeladdrs_func* nio_sctp_freeladdrs; + sctp_getpaddrs_func* nio_sctp_getpaddrs; +@@ -329,6 +341,17 @@ + sctp_bindx_func* nio_sctp_bindx; + sctp_peeloff_func* nio_sctp_peeloff; - if (dataHead.head != null) { -- for(Chunk c=dataHead.head; c != null; c=c.next) { -+ for (Chunk c = dataHead.head; c != null; c = c.next) { - long pointer = c.data.writeTo(dataHead.dataFile); - c.data = new FileData(dataHead.dataFile, pointer, len); - } -@@ -94,4 +99,5 @@ - return new MemoryData(buf, config); - } ++#else ++ ++#define nio_sctp_getladdrs sctp_getladdrs ++#define nio_sctp_freeladdrs sctp_freeladdrs ++#define nio_sctp_getpaddrs sctp_getpaddrs ++#define nio_sctp_freepaddrs sctp_freepaddrs ++#define nio_sctp_bindx sctp_bindx ++#define nio_sctp_peeloff sctp_peeloff ++ ++#endif ++ + jboolean loadSocketExtensionFuncs(JNIEnv* env); + + #endif /* !SUN_NIO_CH_SCTP_H */ +--- jdk/src/solaris/native/sun/nio/ch/SctpNet.c 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/nio/ch/SctpNet.c 2014-01-18 12:16:33.000000000 -0800 +@@ -58,6 +58,7 @@ + */ + jboolean loadSocketExtensionFuncs + (JNIEnv* env) { ++#if !defined(__FreeBSD__) || __FreeBSD__ < 7 /* On FreeBSD 7.x these functions are in libc */ + if (dlopen(nativeSctpLib, RTLD_GLOBAL | RTLD_LAZY) == NULL) { + JNU_ThrowByName(env, "java/lang/UnsupportedOperationException", + dlerror()); +@@ -105,6 +106,7 @@ + dlerror()); + return JNI_FALSE; } ++#endif /* __FreeBSD__ */ + + funcsLoaded = JNI_TRUE; + return JNI_TRUE; +--- jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2014-01-18 12:16:33.000000000 -0800 +@@ -33,6 +33,11 @@ + + #include "j2secmod.h" + ++#ifndef RTLD_NOLOAD ++/* A gross hack that will work if the NSS library is only opened once */ ++static void *nssLibHandle = NULL; ++#endif + - } ---- jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/TempFiles.java 1969-12-31 16:00:00.000000000 -0800 -+++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/TempFiles.java 2013-04-28 16:29:22.000000000 -0700 -@@ -0,0 +1,144 @@ + void *findFunction(JNIEnv *env, jlong jHandle, const char *functionName) { + void *hModule = (void*)jHandle; + void *fAddress = dlsym(hModule, functionName); +@@ -50,7 +55,11 @@ + { + const char *libName = (*env)->GetStringUTFChars(env, jLibName, NULL); + // look up existing handle only, do not load ++#ifdef RTLD_NOLOAD + void *hModule = dlopen(libName, RTLD_NOLOAD); ++#else ++ void *hModule = nssLibHandle; ++#endif + dprintf2("-handle for %s: %u\n", libName, hModule); + (*env)->ReleaseStringUTFChars(env, jLibName, libName); + return (jlong)hModule; +@@ -64,6 +73,9 @@ + + dprintf1("-lib %s\n", libName); + hModule = dlopen(libName, RTLD_LAZY); ++#ifndef RTLD_NOLOAD ++ nssLibHandle = hModule; ++#endif + (*env)->ReleaseStringUTFChars(env, jLibName, libName); + dprintf2("-handle: %u (0X%X)\n", hModule, hModule); + +--- jdk/src/solaris/native/sun/xawt/XWindow.c 2013-09-06 11:29:12.000000000 -0700 ++++ jdk/src/solaris/native/sun/xawt/XWindow.c 2014-01-18 12:16:33.000000000 -0800 +@@ -867,7 +867,7 @@ + { + KeySym originalKeysym = *keysym; + +-#if !defined(__linux__) && !defined(MACOSX) ++#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) + /* The following code on Linux will cause the keypad keys + * not to echo on JTextField when the NumLock is on. The + * keysyms will be 0, because the last parameter 2 is not defined. +--- jdk/src/windows/classes/sun/net/PortConfig.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/src/windows/classes/sun/net/PortConfig.java 2014-01-18 12:16:22.000000000 -0800 +@@ -0,0 +1,65 @@ +/* + * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -16601,554 +70957,4179 @@ + * questions. + */ + -+package com.sun.xml.internal.org.jvnet.mimepull; ++package sun.net; + -+import java.io.File; -+import java.io.IOException; -+import java.lang.reflect.Array; -+import java.lang.reflect.InvocationTargetException; -+import java.lang.reflect.Method; -+import java.util.logging.Level; -+import java.util.logging.Logger; ++import java.security.AccessController; + +/** -+ * Helper utility to support jdk <= jdk1.6. After jdk1.6 EOL reflection can be removed and API can be used directly. ++ * Determines the ephemeral port range in use on this system. ++ * If this cannot be determined, then the default settings ++ * of the OS are returned. + */ -+class TempFiles { + -+ private static final Logger LOGGER = Logger.getLogger(TempFiles.class.getName()); ++public final class PortConfig { + -+ private static final Class<?> CLASS_FILES; -+ private static final Class<?> CLASS_PATH; -+ private static final Class<?> CLASS_FILE_ATTRIBUTE; -+ private static final Class<?> CLASS_FILE_ATTRIBUTES; -+ private static final Method METHOD_FILE_TO_PATH; -+ private static final Method METHOD_FILES_CREATE_TEMP_FILE; -+ private static final Method METHOD_FILES_CREATE_TEMP_FILE_WITHPATH; ++ private final static int upper, lower; + -+ private static final Method METHOD_PATH_TO_FILE; -+ -+ private static boolean useJdk6API; ++ private PortConfig() {} + + static { -+ useJdk6API = isJdk6(); -+ -+ CLASS_FILES = safeGetClass("java.nio.file.Files"); -+ CLASS_PATH = safeGetClass("java.nio.file.Path"); -+ CLASS_FILE_ATTRIBUTE = safeGetClass("java.nio.file.attribute.FileAttribute"); -+ CLASS_FILE_ATTRIBUTES = safeGetClass("[Ljava.nio.file.attribute.FileAttribute;"); -+ METHOD_FILE_TO_PATH = safeGetMethod(File.class, "toPath"); -+ METHOD_FILES_CREATE_TEMP_FILE = safeGetMethod(CLASS_FILES, "createTempFile", String.class, String.class, CLASS_FILE_ATTRIBUTES); -+ METHOD_FILES_CREATE_TEMP_FILE_WITHPATH = safeGetMethod(CLASS_FILES, "createTempFile", CLASS_PATH, String.class, String.class, CLASS_FILE_ATTRIBUTES); -+ METHOD_PATH_TO_FILE = safeGetMethod(CLASS_PATH, "toFile"); ++ AccessController.doPrivileged( ++ new java.security.PrivilegedAction<Void>() { ++ public Void run() { ++ System.loadLibrary("net"); ++ return null; ++ } ++ }); ++ ++ lower = getLower0(); ++ upper = getUpper0(); + } + -+ private static boolean isJdk6() { -+ String javaVersion = System.getProperty("java.version"); -+ LOGGER.log(Level.FINEST, "Detected java version = {0}", javaVersion); -+ return javaVersion.startsWith("1.6."); ++ static native int getLower0(); ++ static native int getUpper0(); ++ ++ public static int getLower() { ++ return lower; + } + -+ private static Class<?> safeGetClass(String className) { -+ // it is jdk 6 or something failed already before -+ if (useJdk6API) return null; ++ public static int getUpper() { ++ return upper; ++ } ++} +--- jdk/src/windows/classes/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java 2013-09-06 11:29:14.000000000 -0700 ++++ jdk/src/windows/classes/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java 2014-01-18 12:16:22.000000000 -0800 +@@ -31,6 +31,9 @@ + import java.net.*; + import java.util.concurrent.*; + import java.io.IOException; ++import java.security.AccessController; ++import java.security.PrivilegedActionException; ++import java.security.PrivilegedExceptionAction; + import sun.misc.Unsafe; + + /** +@@ -300,6 +303,19 @@ + } + } + ++ private void doPrivilegedBind(final SocketAddress sa) throws IOException { + try { -+ return Class.forName(className); -+ } catch (ClassNotFoundException e) { -+ LOGGER.log(Level.SEVERE, "Exception cought", e); -+ LOGGER.log(Level.WARNING, "Class {0} not found. Temp files will be created using old java.io API.", className); -+ useJdk6API = true; -+ return null; ++ AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() { ++ public Void run() throws IOException { ++ bind(sa); ++ return null; ++ } ++ }); ++ } catch (PrivilegedActionException e) { ++ throw (IOException) e.getException(); + } + } + -+ private static Method safeGetMethod(Class<?> clazz, String methodName, Class<?>... parameterTypes) { -+ // it is jdk 6 or something failed already before -+ if (useJdk6API) return null; -+ try { -+ return clazz.getMethod(methodName, parameterTypes); -+ } catch (NoSuchMethodException e) { -+ LOGGER.log(Level.SEVERE, "Exception cought", e); -+ LOGGER.log(Level.WARNING, "Method {0} not found. Temp files will be created using old java.io API.", methodName); -+ useJdk6API = true; -+ return null; + @Override + <A> Future<Void> implConnect(SocketAddress remote, + A attachment, +@@ -330,7 +346,12 @@ + throw new ConnectionPendingException(); + if (localAddress == null) { + try { +- bind(new InetSocketAddress(0)); ++ SocketAddress any = new InetSocketAddress(0); ++ if (sm == null) { ++ bind(any); ++ } else { ++ doPrivilegedBind(any); ++ } + } catch (IOException x) { + bindException = x; + } +--- jdk/src/windows/native/java/net/Inet6AddressImpl.c 2013-09-06 11:29:15.000000000 -0700 ++++ jdk/src/windows/native/java/net/Inet6AddressImpl.c 2013-12-01 11:14:37.000000000 -0800 +@@ -77,7 +77,6 @@ + static jclass ni_ia6cls; + static jmethodID ni_ia4ctrID; + static jmethodID ni_ia6ctrID; +-static jfieldID ni_ia6ipaddressID; + static int initialized = 0; + + JNIEXPORT jobjectArray JNICALL +@@ -101,7 +100,6 @@ + ni_ia6cls = (*env)->NewGlobalRef(env, ni_ia6cls); + ni_ia4ctrID = (*env)->GetMethodID(env, ni_ia4cls, "<init>", "()V"); + ni_ia6ctrID = (*env)->GetMethodID(env, ni_ia6cls, "<init>", "()V"); +- ni_ia6ipaddressID = (*env)->GetFieldID(env, ni_ia6cls, "ipaddress", "[B"); + initialized = 1; + } + if (IS_NULL(host)) { +@@ -242,26 +240,22 @@ + (*env)->SetObjectArrayElement(env, ret, inetIndex, iaObj); + inetIndex ++; + } else if (iterator->ai_family == AF_INET6) { +- jint scope = 0; +- jbyteArray ipaddress; ++ jint scope = 0, ret1; + jobject iaObj = (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID); + if (IS_NULL(iaObj)) { + ret = NULL; + goto cleanupAndReturn; + } +- ipaddress = (*env)->NewByteArray(env, 16); +- if (IS_NULL(ipaddress)) { ++ ret1 = setInet6Address_ipaddress(env, iaObj, (jbyte *)&(((struct sockaddr_in6*)iterator->ai_addr)->sin6_addr)); ++ ++ if (ret1 == JNI_FALSE) { + ret = NULL; + goto cleanupAndReturn; + } +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(((struct sockaddr_in6*)iterator->ai_addr)->sin6_addr)); + scope = ((struct sockaddr_in6*)iterator->ai_addr)->sin6_scope_id; + if (scope != 0) { /* zero is default value, no need to set */ +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); ++ setInet6Address_scopeid(env, iaObj, scope); + } +- (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); + setInetAddress_hostName(env, iaObj, host); + (*env)->SetObjectArrayElement(env, ret, inet6Index, iaObj); + inet6Index ++; +--- jdk/src/windows/native/java/net/NetworkInterface.c 2013-09-06 11:29:15.000000000 -0700 ++++ jdk/src/windows/native/java/net/NetworkInterface.c 2013-12-01 11:14:37.000000000 -0800 +@@ -72,8 +72,6 @@ + + jclass ni_ia6cls; /* Inet6Address */ + jmethodID ni_ia6ctrID; /* Inet6Address() */ +-jfieldID ni_ia6ipaddressID; +-jfieldID ni_ia6ipaddressID; + + jclass ni_ibcls; /* InterfaceAddress */ + jmethodID ni_ibctrID; /* InterfaceAddress() */ +@@ -482,7 +480,6 @@ + ni_ia6cls = (*env)->FindClass(env, "java/net/Inet6Address"); + ni_ia6cls = (*env)->NewGlobalRef(env, ni_ia6cls); + ni_ia6ctrID = (*env)->GetMethodID(env, ni_ia6cls, "<init>", "()V"); +- ni_ia6ipaddressID = (*env)->GetFieldID(env, ni_ia6cls, "ipaddress", "[B"); + + ni_ibcls = (*env)->FindClass(env, "java/net/InterfaceAddress"); + ni_ibcls = (*env)->NewGlobalRef(env, ni_ibcls); +@@ -583,19 +580,16 @@ + int scope; + iaObj = (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID); + if (iaObj) { +- jbyteArray ipaddress = (*env)->NewByteArray(env, 16); +- if (ipaddress == NULL) { ++ int ret = setInet6Address_ipaddress(env, iaObj, (jbyte *)&(addrs->addr.him6.sin6_addr.s6_addr)); ++ if (ret == JNI_FALSE) { + return NULL; + } +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(addrs->addr.him6.sin6_addr.s6_addr)); ++ + scope = addrs->addr.him6.sin6_scope_id; + if (scope != 0) { /* zero is default value, no need to set */ +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); +- (*env)->SetObjectField(env, iaObj, ia6_scopeifnameID, netifObj); ++ setInet6Address_scopeid(env, iaObj, scope); ++ setInet6Address_scopeifname(env, iaObj, netifObj); + } +- (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); + ibObj = (*env)->NewObject(env, ni_ibcls, ni_ibctrID); + if (ibObj == NULL) { + free_netaddr(netaddrP); +--- jdk/src/windows/native/java/net/NetworkInterface_winXP.c 2013-09-06 11:29:15.000000000 -0700 ++++ jdk/src/windows/native/java/net/NetworkInterface_winXP.c 2013-12-01 11:14:37.000000000 -0800 +@@ -499,19 +499,15 @@ + int scope; + iaObj = (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID); + if (iaObj) { +- jbyteArray ipaddress = (*env)->NewByteArray(env, 16); +- if (ipaddress == NULL) { ++ int ret = setInet6Address_ipaddress(env, iaObj, (jbyte *)&(addrs->addr.him6.sin6_addr.s6_addr)); ++ if (ret == JNI_FALSE) { + return NULL; + } +- (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, +- (jbyte *)&(addrs->addr.him6.sin6_addr.s6_addr)); + scope = addrs->addr.him6.sin6_scope_id; + if (scope != 0) { /* zero is default value, no need to set */ +- (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); +- (*env)->SetBooleanField(env, iaObj, ia6_scopeidsetID, JNI_TRUE); +- (*env)->SetObjectField(env, iaObj, ia6_scopeifnameID, netifObj); ++ setInet6Address_scopeid(env, iaObj, scope); ++ setInet6Address_scopeifname(env, iaObj, netifObj); + } +- (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); + ibObj = (*env)->NewObject(env, ni_ibcls, ni_ibctrID); + if (ibObj == NULL) { + free_netaddr(netaddrP); +--- jdk/src/windows/native/java/net/TwoStacksPlainSocketImpl.c 2013-09-06 11:29:15.000000000 -0700 ++++ jdk/src/windows/native/java/net/TwoStacksPlainSocketImpl.c 2013-12-01 11:14:37.000000000 -0800 +@@ -728,7 +728,6 @@ + setInetAddress_family(env, socketAddressObj, IPv4); + (*env)->SetObjectField(env, socket, psi_addressID, socketAddressObj); + } else { +- jbyteArray addr; + /* AF_INET6 -> Inet6Address */ + if (inet6Cls == 0) { + jclass c = (*env)->FindClass(env, "java/net/Inet6Address"); +@@ -751,10 +750,10 @@ + NET_SocketClose(fd); + return; + } +- addr = (*env)->GetObjectField (env, socketAddressObj, ia6_ipaddressID); +- (*env)->SetByteArrayRegion (env, addr, 0, 16, (const char *)&him.him6.sin6_addr); ++ setInet6Address_ipaddress(env, socketAddressObj, (const char *)&him.him6.sin6_addr); ++ + setInetAddress_family(env, socketAddressObj, IPv6); +- (*env)->SetIntField(env, socketAddressObj, ia6_scopeidID, him.him6.sin6_scope_id); ++ setInet6Address_scopeid(env, socketAddressObj, him.him6.sin6_scope_id); + } + /* fields common to AF_INET and AF_INET6 */ + +--- jdk/src/windows/native/java/net/net_util_md.c 2013-09-06 11:29:15.000000000 -0700 ++++ jdk/src/windows/native/java/net/net_util_md.c 2013-12-01 11:14:37.000000000 -0800 +@@ -851,7 +851,6 @@ + family = (iafam == IPv4)? AF_INET : AF_INET6; + if (ipv6_available() && !(family == AF_INET && v4MappedAddress == JNI_FALSE)) { + struct SOCKADDR_IN6 *him6 = (struct SOCKADDR_IN6 *)him; +- jbyteArray ipaddress; + jbyte caddr[16]; + jint address, scopeid = 0; + jint cached_scope_id = 0; +@@ -872,10 +871,9 @@ + caddr[15] = (address & 0xff); + } + } else { +- ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); +- scopeid = (jint)(*env)->GetIntField(env, iaObj, ia6_scopeidID); ++ getInet6Address_ipaddress(env, iaObj, (char *)caddr); ++ scopeid = getInet6Address_scopeid(env, iaObj); + cached_scope_id = (jint)(*env)->GetIntField(env, iaObj, ia6_cachedscopeidID); +- (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); + } + + memset((char *)him6, 0, sizeof(struct SOCKADDR_IN6)); +--- jdk/src/windows/native/sun/net/portconfig.c 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/src/windows/native/sun/net/portconfig.c 2014-01-18 12:16:22.000000000 -0800 +@@ -0,0 +1,106 @@ ++/* ++ * 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. Oracle designates this ++ * particular file as subject to the "Classpath" exception as provided ++ * by Oracle in the LICENSE file that accompanied this code. ++ * ++ * 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. ++ */ ++ ++#include <windows.h> ++#include "jni.h" ++#include "net_util.h" ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++struct portrange { ++ int lower; ++ int higher; ++}; ++ ++static int getPortRange(struct portrange *range) ++{ ++ OSVERSIONINFO ver; ++ ver.dwOSVersionInfoSize = sizeof(ver); ++ GetVersionEx(&ver); ++ ++ /* Check for major version 5 or less = Windows XP/2003 or older */ ++ if (ver.dwMajorVersion <= 5) { ++ LONG ret; ++ HKEY hKey; ++ range->lower = 1024; ++ range->higher = 4999; ++ ++ /* check registry to see if upper limit was raised */ ++ ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, ++ "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", ++ 0, KEY_READ, (PHKEY)&hKey ++ ); ++ if (ret == ERROR_SUCCESS) { ++ DWORD maxuserport; ++ ULONG ulType; ++ DWORD dwLen = sizeof(maxuserport); ++ ret = RegQueryValueEx(hKey, "MaxUserPort", NULL, &ulType, ++ (LPBYTE)&maxuserport, &dwLen); ++ RegCloseKey(hKey); ++ if (ret == ERROR_SUCCESS) { ++ range->higher = maxuserport; ++ } + } ++ } else { ++ /* There doesn't seem to be an API to access this. "MaxUserPort" ++ * is affected, but is not sufficient to determine. ++ * so we just use the defaults, which are less likely to change ++ */ ++ range->lower = 49152; ++ range->higher = 65535; + } ++ return 0; ++} + ++/* ++ * Class: sun_net_PortConfig ++ * Method: getLower0 ++ * Signature: ()I ++ */ ++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0 ++ (JNIEnv *env, jclass clazz) ++{ ++ struct portrange range; ++ getPortRange(&range); ++ return range.lower; ++} ++ ++/* ++ * Class: sun_net_PortConfig ++ * Method: getUpper0 ++ * Signature: ()I ++ */ ++JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0 ++ (JNIEnv *env, jclass clazz) ++{ ++ struct portrange range; ++ getPortRange(&range); ++ return range.higher; ++} ++#ifdef __cplusplus ++} ++#endif +--- jdk/test/Makefile 2013-09-06 11:29:17.000000000 -0700 ++++ jdk/test/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -79,6 +79,11 @@ + endif + OS_VERSION := $(shell $(UNAME) -r) + endif ++ifeq ($(findstring BSD,$(UNAME_S)), BSD) ++ OS_NAME = bsd ++ OS_ARCH := $(shell $(UNAME) -m) ++ OS_VERSION := $(shell $(UNAME) -r) ++endif + ifeq ($(UNAME_S), Darwin) + OS_NAME = macosx + OS_ARCH := $(shell $(UNAME) -m) +--- jdk/test/ProblemList.txt 2013-09-06 11:29:17.000000000 -0700 ++++ jdk/test/ProblemList.txt 2014-01-18 12:16:22.000000000 -0800 +@@ -456,6 +456,9 @@ + # 7041639, Solaris DSA keypair generation bug + java/util/TimeZone/TimeZoneDatePermissionCheck.sh solaris-all + ++# 8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing ++sun/util/resources/TimeZone/Bug6317929.java generic-all ++ + ############################################################################ + + +--- jdk/test/com/sun/corba/se/impl/orb/SetDefaultORBTest.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/com/sun/corba/se/impl/orb/SetDefaultORBTest.java 2014-01-18 12:16:22.000000000 -0800 +@@ -0,0 +1,61 @@ ++/* ++ * 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 8028215 ++ * @summary SetDefaultORBTest setting ORB impl via properties test ++ * @run main/othervm SetDefaultORBTest ++ * ++ */ ++ ++import java.util.Properties; ++ ++import org.omg.CORBA.ORB; + -+ static Object toPath(File f) throws InvocationTargetException, IllegalAccessException { -+ return METHOD_FILE_TO_PATH.invoke(f); ++ ++public class SetDefaultORBTest { ++ ++ public static void main(String[] args) { ++ Properties systemProperties = System.getProperties(); ++ systemProperties.setProperty("org.omg.CORBA.ORBSingletonClass", ++ "com.sun.corba.se.impl.orb.ORBSingleton"); ++ System.setSecurityManager(new SecurityManager()); ++ Properties props = new Properties(); ++ props.put("org.omg.CORBA.ORBClass", "com.sun.corba.se.impl.orb.ORBImpl"); ++ ORB orb = ORB.init(args, props); ++ Class<?> orbClass = orb.getClass(); ++ if (orbClass.getName().equals("com.sun.corba.se.impl.orb.ORBImpl")) { ++ System.out.println("orbClass is com.sun.corba.se.impl.orb.ORBimpl as expected"); ++ } else { ++ throw new RuntimeException("com.sun.corba.se.impl.orb.ORBimpl class expected for ORBImpl"); ++ } ++ ORB singletonORB = ORB.init(); ++ Class<?> singletoneOrbClass = singletonORB.getClass(); ++ if (singletoneOrbClass.getName().equals("com.sun.corba.se.impl.orb.ORBSingleton")) { ++ System.out.println("singeletonOrbClass is com.sun.corba.se.impl.orb.ORBSingleton as expected"); ++ } else { ++ throw new RuntimeException("com.sun.corba.se.impl.orb.ORBSingleton class expected for ORBSingleton"); ++ } + } ++} +--- jdk/test/com/sun/crypto/provider/TLS/TestLeadingZeroes.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/com/sun/crypto/provider/TLS/TestLeadingZeroes.java 2014-01-18 12:16:22.000000000 -0800 +@@ -0,0 +1,420 @@ ++/* ++ * 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 8014618 ++ * @summary Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement ++ * @author Pasi Eronen ++ */ ++ ++import java.io.*; ++import java.security.*; ++import java.security.spec.*; ++import java.security.interfaces.*; ++import javax.crypto.*; ++import javax.crypto.spec.*; ++import javax.crypto.interfaces.*; ++import com.sun.crypto.provider.SunJCE; ++ ++/** ++ * Test that leading zeroes are stripped in TlsPremasterSecret case, ++ * but are left as-is in other cases. ++ * ++ * We use pre-generated keypairs, since with randomly generated keypairs, ++ * a leading zero happens only (roughly) 1 out of 256 cases. ++ */ ++ ++public class TestLeadingZeroes { ++ ++ private static final String SUNJCE = "SunJCE"; + -+ static File toFile(Object path) throws InvocationTargetException, IllegalAccessException { -+ return (File) METHOD_PATH_TO_FILE.invoke(path); ++ private TestLeadingZeroes() {} ++ ++ public static void main(String argv[]) throws Exception { ++ // Add JCE to the list of providers ++ SunJCE jce = new SunJCE(); ++ Security.addProvider(jce); ++ ++ TestLeadingZeroes keyAgree = new TestLeadingZeroes(); ++ keyAgree.run(); ++ System.out.println("Test Passed"); + } + -+ static File createTempFile(String prefix, String suffix, File dir) throws IOException { ++ private void run() throws Exception { + -+ if (useJdk6API) { -+ LOGGER.log(Level.FINEST, "Jdk6 detected, temp file (prefix:{0}, suffix:{1}) being created using old java.io API.", new Object[]{prefix, suffix}); -+ return File.createTempFile(prefix, suffix, dir); ++ // decode pre-generated keypairs ++ KeyFactory kfac = KeyFactory.getInstance("DH"); ++ PublicKey alicePubKey = ++ kfac.generatePublic(new X509EncodedKeySpec(alicePubKeyEnc)); ++ PublicKey bobPubKey = ++ kfac.generatePublic(new X509EncodedKeySpec(bobPubKeyEnc)); ++ PrivateKey alicePrivKey = ++ kfac.generatePrivate(new PKCS8EncodedKeySpec(alicePrivKeyEnc)); ++ PrivateKey bobPrivKey = ++ kfac.generatePrivate(new PKCS8EncodedKeySpec(bobPrivKeyEnc)); + -+ } else { ++ // generate normal shared secret ++ KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH", SUNJCE); ++ aliceKeyAgree.init(alicePrivKey); ++ aliceKeyAgree.doPhase(bobPubKey, true); ++ byte[] sharedSecret = aliceKeyAgree.generateSecret(); ++ System.out.println("shared secret:\n" + toHexString(sharedSecret)); + -+ try { -+ if (dir != null) { -+ Object path = toPath(dir); -+ LOGGER.log(Level.FINEST, "Temp file (path: {0}, prefix:{1}, suffix:{2}) being created using NIO API.", new Object[]{dir.getAbsolutePath(), prefix, suffix}); -+ return toFile(METHOD_FILES_CREATE_TEMP_FILE_WITHPATH.invoke(null, path, prefix, suffix, Array.newInstance(CLASS_FILE_ATTRIBUTE, 0))); -+ } else { -+ LOGGER.log(Level.FINEST, "Temp file (prefix:{0}, suffix:{1}) being created using NIO API.", new Object[]{prefix, suffix}); -+ return toFile(METHOD_FILES_CREATE_TEMP_FILE.invoke(null, prefix, suffix, Array.newInstance(CLASS_FILE_ATTRIBUTE, 0))); -+ } ++ // verify that leading zero is present ++ if (sharedSecret.length != 128) { ++ throw new Exception("Unexpected shared secret length"); ++ } ++ if (sharedSecret[0] != 0) { ++ throw new Exception("First byte is not zero as expected"); ++ } + -+ } catch (IllegalAccessException e) { -+ LOGGER.log(Level.SEVERE, "Exception caught", e); -+ LOGGER.log(Level.WARNING, "Error invoking java.nio API, temp file (path: {0}, prefix:{1}, suffix:{2}) being created using old java.io API.", -+ new Object[]{dir != null ? dir.getAbsolutePath() : null, prefix, suffix}); -+ return File.createTempFile(prefix, suffix, dir); -+ -+ } catch (InvocationTargetException e) { -+ LOGGER.log(Level.SEVERE, "Exception caught", e); -+ LOGGER.log(Level.WARNING, "Error invoking java.nio API, temp file (path: {0}, prefix:{1}, suffix:{2}) being created using old java.io API.", -+ new Object[]{dir != null ? dir.getAbsolutePath() : null, prefix, suffix}); -+ return File.createTempFile(prefix, suffix, dir); ++ // now, test TLS premaster secret ++ aliceKeyAgree.init(alicePrivKey); ++ aliceKeyAgree.doPhase(bobPubKey, true); ++ byte[] tlsPremasterSecret = ++ aliceKeyAgree.generateSecret("TlsPremasterSecret").getEncoded(); ++ System.out.println( ++ "tls premaster secret:\n" + toHexString(tlsPremasterSecret)); ++ ++ // check that leading zero has been stripped ++ if (tlsPremasterSecret.length != 127) { ++ throw new Exception("Unexpected TLS premaster secret length"); ++ } ++ if (tlsPremasterSecret[0] == 0) { ++ throw new Exception("First byte is zero"); ++ } ++ for (int i = 0; i < tlsPremasterSecret.length; i++) { ++ if (tlsPremasterSecret[i] != sharedSecret[i+1]) { ++ throw new Exception("Shared secrets differ"); + } + } + + } + ++ /* ++ * Converts a byte to hex digit and writes to the supplied buffer ++ */ ++ private void byte2hex(byte b, StringBuffer buf) { ++ char[] hexChars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', ++ '9', 'A', 'B', 'C', 'D', 'E', 'F' }; ++ int high = ((b & 0xf0) >> 4); ++ int low = (b & 0x0f); ++ buf.append(hexChars[high]); ++ buf.append(hexChars[low]); ++ } + ++ /* ++ * Converts a byte array to hex string ++ */ ++ private String toHexString(byte[] block) { ++ StringBuffer buf = new StringBuffer(); ++ ++ int len = block.length; ++ ++ for (int i = 0; i < len; i++) { ++ byte2hex(block[i], buf); ++ if (i < len-1) { ++ buf.append(":"); ++ } ++ } ++ return buf.toString(); ++ } ++ ++ private static final byte alicePubKeyEnc[] = { ++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x24, ++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06, ++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48, ++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01, ++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81, ++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81, ++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD, ++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB, ++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D, ++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36, ++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38, ++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F, ++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C, ++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E, ++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23, ++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5, ++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E, ++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8, ++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34, ++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57, ++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18, ++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21, ++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF, ++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29, ++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D, ++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A, ++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4, ++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07, ++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95, ++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F, ++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50, ++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3, ++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4, ++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C, ++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B, ++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA, ++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3, ++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78, ++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02, ++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00, ++ (byte)0x03, (byte)0x81, (byte)0x85, (byte)0x00, ++ (byte)0x02, (byte)0x81, (byte)0x81, (byte)0x00, ++ (byte)0xEE, (byte)0xD6, (byte)0xB1, (byte)0xA3, ++ (byte)0xB4, (byte)0x78, (byte)0x2B, (byte)0x35, ++ (byte)0xEF, (byte)0xCD, (byte)0x17, (byte)0x86, ++ (byte)0x63, (byte)0x2B, (byte)0x97, (byte)0x0E, ++ (byte)0x7A, (byte)0xD1, (byte)0xFF, (byte)0x7A, ++ (byte)0xEB, (byte)0x57, (byte)0x61, (byte)0xA1, ++ (byte)0xF7, (byte)0x90, (byte)0x11, (byte)0xA7, ++ (byte)0x79, (byte)0x28, (byte)0x69, (byte)0xBA, ++ (byte)0xA7, (byte)0xB2, (byte)0x37, (byte)0x17, ++ (byte)0xAE, (byte)0x3C, (byte)0x92, (byte)0x89, ++ (byte)0x88, (byte)0xE5, (byte)0x7E, (byte)0x8E, ++ (byte)0xF0, (byte)0x24, (byte)0xD0, (byte)0xE1, ++ (byte)0xC4, (byte)0xB0, (byte)0x26, (byte)0x5A, ++ (byte)0x1E, (byte)0xBD, (byte)0xA0, (byte)0xCF, ++ (byte)0x3E, (byte)0x97, (byte)0x2A, (byte)0x13, ++ (byte)0x92, (byte)0x3B, (byte)0x39, (byte)0xD0, ++ (byte)0x1D, (byte)0xA3, (byte)0x6B, (byte)0x3E, ++ (byte)0xC2, (byte)0xBB, (byte)0x14, (byte)0xB6, ++ (byte)0xE2, (byte)0x4C, (byte)0x0E, (byte)0x5B, ++ (byte)0x4B, (byte)0xA4, (byte)0x9D, (byte)0xA6, ++ (byte)0x21, (byte)0xB0, (byte)0xF9, (byte)0xDE, ++ (byte)0x55, (byte)0xAE, (byte)0x5C, (byte)0x29, ++ (byte)0x0E, (byte)0xC1, (byte)0xFC, (byte)0xBA, ++ (byte)0x51, (byte)0xD3, (byte)0xB6, (byte)0x6D, ++ (byte)0x75, (byte)0x72, (byte)0xDF, (byte)0x43, ++ (byte)0xAB, (byte)0x94, (byte)0x21, (byte)0x6E, ++ (byte)0x0C, (byte)0xD1, (byte)0x93, (byte)0x54, ++ (byte)0x56, (byte)0x7D, (byte)0x4B, (byte)0x90, ++ (byte)0xF1, (byte)0x94, (byte)0x45, (byte)0xD4, ++ (byte)0x2A, (byte)0x71, (byte)0xA1, (byte)0xB8, ++ (byte)0xDD, (byte)0xAA, (byte)0x05, (byte)0xF0, ++ (byte)0x27, (byte)0x37, (byte)0xBD, (byte)0x44 ++ }; ++ ++ private static final byte alicePrivKeyEnc[] = { ++ (byte)0x30, (byte)0x81, (byte)0xE3, (byte)0x02, ++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81, ++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A, ++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7, ++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01, ++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02, ++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4, ++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E, ++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20, ++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91, ++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33, ++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45, ++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88, ++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B, ++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3, ++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43, ++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18, ++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55, ++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38, ++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C, ++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3, ++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE, ++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5, ++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1, ++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18, ++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84, ++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6, ++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19, ++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A, ++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9, ++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0, ++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02, ++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D, ++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41, ++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD, ++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19, ++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2, ++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9, ++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02, ++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02, ++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x42, ++ (byte)0x02, (byte)0x40, (byte)0x36, (byte)0x4D, ++ (byte)0xD0, (byte)0x58, (byte)0x64, (byte)0x91, ++ (byte)0x78, (byte)0xA2, (byte)0x4B, (byte)0x79, ++ (byte)0x46, (byte)0xFE, (byte)0xC9, (byte)0xD9, ++ (byte)0xCA, (byte)0x5C, (byte)0xF9, (byte)0xFD, ++ (byte)0x6C, (byte)0x5D, (byte)0x76, (byte)0x3A, ++ (byte)0x41, (byte)0x6D, (byte)0x44, (byte)0x62, ++ (byte)0x75, (byte)0x93, (byte)0x81, (byte)0x93, ++ (byte)0x00, (byte)0x4C, (byte)0xB1, (byte)0xD8, ++ (byte)0x7D, (byte)0x9D, (byte)0xF3, (byte)0x16, ++ (byte)0x2C, (byte)0x6C, (byte)0x9F, (byte)0x7A, ++ (byte)0x84, (byte)0xA3, (byte)0x7A, (byte)0xC1, ++ (byte)0x4F, (byte)0x60, (byte)0xE3, (byte)0xB5, ++ (byte)0x86, (byte)0x28, (byte)0x08, (byte)0x4D, ++ (byte)0x94, (byte)0xB6, (byte)0x04, (byte)0x0D, ++ (byte)0xAC, (byte)0xBD, (byte)0x1F, (byte)0x42, ++ (byte)0x8F, (byte)0x1B ++ }; ++ ++ private static final byte bobPubKeyEnc[] = { ++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x23, ++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06, ++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48, ++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01, ++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81, ++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81, ++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD, ++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB, ++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D, ++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36, ++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38, ++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F, ++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C, ++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E, ++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23, ++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5, ++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E, ++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8, ++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34, ++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57, ++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18, ++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21, ++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF, ++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29, ++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D, ++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A, ++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4, ++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07, ++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95, ++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F, ++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50, ++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3, ++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4, ++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C, ++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B, ++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA, ++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3, ++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78, ++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02, ++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00, ++ (byte)0x03, (byte)0x81, (byte)0x84, (byte)0x00, ++ (byte)0x02, (byte)0x81, (byte)0x80, (byte)0x2C, ++ (byte)0x40, (byte)0xFA, (byte)0xF6, (byte)0xA6, ++ (byte)0xF8, (byte)0xAC, (byte)0xC2, (byte)0x4F, ++ (byte)0xCD, (byte)0xC7, (byte)0x37, (byte)0x93, ++ (byte)0xE5, (byte)0xE4, (byte)0x5E, (byte)0x18, ++ (byte)0x14, (byte)0xE6, (byte)0x50, (byte)0xDA, ++ (byte)0x55, (byte)0x38, (byte)0x5D, (byte)0x24, ++ (byte)0xF5, (byte)0x42, (byte)0x68, (byte)0x5F, ++ (byte)0xF5, (byte)0x15, (byte)0xC8, (byte)0x9B, ++ (byte)0x5D, (byte)0x06, (byte)0x3D, (byte)0xE1, ++ (byte)0x52, (byte)0x2F, (byte)0x98, (byte)0xFF, ++ (byte)0x37, (byte)0xBB, (byte)0x75, (byte)0x48, ++ (byte)0x48, (byte)0xE9, (byte)0x65, (byte)0x84, ++ (byte)0x37, (byte)0xBB, (byte)0xB3, (byte)0xE9, ++ (byte)0x36, (byte)0x01, (byte)0xB4, (byte)0x6A, ++ (byte)0x1C, (byte)0xB2, (byte)0x11, (byte)0x82, ++ (byte)0xCE, (byte)0x3D, (byte)0x65, (byte)0xE5, ++ (byte)0x3C, (byte)0x89, (byte)0xE9, (byte)0x52, ++ (byte)0x19, (byte)0xBD, (byte)0x58, (byte)0xF6, ++ (byte)0xA2, (byte)0x03, (byte)0xA8, (byte)0xB2, ++ (byte)0xA5, (byte)0xDB, (byte)0xEB, (byte)0xF5, ++ (byte)0x94, (byte)0xF9, (byte)0x46, (byte)0xBE, ++ (byte)0x45, (byte)0x4C, (byte)0x65, (byte)0xD2, ++ (byte)0xD1, (byte)0xCF, (byte)0xFF, (byte)0xFF, ++ (byte)0xFA, (byte)0x38, (byte)0xF1, (byte)0x72, ++ (byte)0xAB, (byte)0xB9, (byte)0x14, (byte)0x4E, ++ (byte)0xF5, (byte)0xF0, (byte)0x7A, (byte)0x8E, ++ (byte)0x45, (byte)0xFD, (byte)0x5B, (byte)0xF9, ++ (byte)0xA2, (byte)0x97, (byte)0x1B, (byte)0xAE, ++ (byte)0x2C, (byte)0x7B, (byte)0x6B, (byte)0x7C, ++ (byte)0x98, (byte)0xFE, (byte)0x58, (byte)0xDD, ++ (byte)0xBE, (byte)0xF6, (byte)0x1C, (byte)0x8E, ++ (byte)0xD0, (byte)0xA1, (byte)0x72 ++ }; ++ ++ private static final byte bobPrivKeyEnc[] = { ++ (byte)0x30, (byte)0x81, (byte)0xE4, (byte)0x02, ++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81, ++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A, ++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7, ++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01, ++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02, ++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4, ++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E, ++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20, ++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91, ++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33, ++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45, ++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88, ++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B, ++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3, ++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43, ++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18, ++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55, ++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38, ++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C, ++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3, ++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE, ++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5, ++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1, ++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18, ++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84, ++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6, ++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19, ++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A, ++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9, ++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0, ++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02, ++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D, ++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41, ++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD, ++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19, ++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2, ++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9, ++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02, ++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02, ++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x43, ++ (byte)0x02, (byte)0x41, (byte)0x00, (byte)0xE0, ++ (byte)0x31, (byte)0xE7, (byte)0x77, (byte)0xB8, ++ (byte)0xD0, (byte)0x7E, (byte)0x0A, (byte)0x9B, ++ (byte)0x94, (byte)0xD5, (byte)0x3D, (byte)0x33, ++ (byte)0x62, (byte)0x32, (byte)0x51, (byte)0xCE, ++ (byte)0x74, (byte)0x5C, (byte)0xA5, (byte)0x72, ++ (byte)0xD9, (byte)0x36, (byte)0xF3, (byte)0x8A, ++ (byte)0x3F, (byte)0x8B, (byte)0xC6, (byte)0xFE, ++ (byte)0xEF, (byte)0x94, (byte)0x8B, (byte)0x50, ++ (byte)0x41, (byte)0x9B, (byte)0x14, (byte)0xC8, ++ (byte)0xE9, (byte)0x1F, (byte)0x24, (byte)0x1F, ++ (byte)0x65, (byte)0x8E, (byte)0xD3, (byte)0x85, ++ (byte)0xD0, (byte)0x68, (byte)0x6C, (byte)0xF1, ++ (byte)0x79, (byte)0x45, (byte)0xD0, (byte)0x06, ++ (byte)0xA4, (byte)0xB8, (byte)0xE0, (byte)0x64, ++ (byte)0xF5, (byte)0x38, (byte)0x72, (byte)0x97, ++ (byte)0x00, (byte)0x23, (byte)0x5F ++ }; +} ---- jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/WSServiceDelegate.java 2012-08-10 09:50:57.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/WSServiceDelegate.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1997, 2010, 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 -@@ -22,7 +22,6 @@ - * or visit www.oracle.com if you need additional information or have any - * questions. - */ -- - package com.sun.xml.internal.ws.client; ++ +--- jdk/test/com/sun/jdi/ImmutableResourceTest.sh 2013-09-06 11:29:18.000000000 -0700 ++++ jdk/test/com/sun/jdi/ImmutableResourceTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -56,7 +56,7 @@ - import com.sun.istack.internal.NotNull; -@@ -30,13 +29,11 @@ - import com.sun.xml.internal.ws.Closeable; - import com.sun.xml.internal.ws.api.BindingID; - import com.sun.xml.internal.ws.api.EndpointAddress; --import com.sun.xml.internal.ws.api.WSBinding; - import com.sun.xml.internal.ws.api.WSService; - import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; - import com.sun.xml.internal.ws.api.client.ServiceInterceptor; - import com.sun.xml.internal.ws.api.client.ServiceInterceptorFactory; --import com.sun.xml.internal.ws.api.model.SEIModel; --import com.sun.xml.internal.ws.api.pipe.*; -+import com.sun.xml.internal.ws.api.pipe.Stubs; - import com.sun.xml.internal.ws.api.server.Container; - import com.sun.xml.internal.ws.api.server.ContainerResolver; - import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension; -@@ -45,8 +42,8 @@ - import com.sun.xml.internal.ws.client.HandlerConfigurator.AnnotationConfigurator; - import com.sun.xml.internal.ws.client.HandlerConfigurator.HandlerResolverImpl; - import com.sun.xml.internal.ws.client.sei.SEIStub; --import com.sun.xml.internal.ws.developer.WSBindingProvider; - import com.sun.xml.internal.ws.developer.UsesJAXBContextFeature; -+import com.sun.xml.internal.ws.developer.WSBindingProvider; - import com.sun.xml.internal.ws.model.AbstractSEIModelImpl; - import com.sun.xml.internal.ws.model.RuntimeModeler; - import com.sun.xml.internal.ws.model.SOAPSEIModel; -@@ -59,7 +56,6 @@ - import com.sun.xml.internal.ws.util.JAXWSUtils; - import com.sun.xml.internal.ws.util.ServiceConfigurationError; - import com.sun.xml.internal.ws.util.ServiceFinder; --import static com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver; - import com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser; - import org.xml.sax.SAXException; + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + ;; + +--- jdk/test/com/sun/jdi/JITDebug.sh 2013-09-06 11:29:18.000000000 -0700 ++++ jdk/test/com/sun/jdi/JITDebug.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -63,7 +63,7 @@ + OS=`uname -s` + export TRANSPORT_METHOD + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + TRANSPORT_METHOD=dt_socket + ;; +--- jdk/test/com/sun/jdi/PrivateTransportTest.sh 2013-09-06 11:29:18.000000000 -0700 ++++ jdk/test/com/sun/jdi/PrivateTransportTest.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -123,7 +123,7 @@ + esac + libloc=${jreloc}/lib/${libarch} + ;; +- Linux) ++ Linux | *BSD) + xx=`find ${jreloc}/lib -name libdt_socket.so` + libloc=`dirname ${xx}` + ;; +--- jdk/test/com/sun/jdi/ShellScaffold.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/jdi/ShellScaffold.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -293,7 +293,7 @@ + psCmd=ps + jstack=jstack.exe + ;; +- SunOS | Linux | Darwin) ++ SunOS | Linux | *BSD | Darwin) + transport=dt_socket + address= + devnull=/dev/null +--- jdk/test/com/sun/jdi/Solaris32AndSolaris64Test.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/jdi/Solaris32AndSolaris64Test.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -112,7 +112,7 @@ + fi + ;; + +- Linux | Darwin ) ++ Linux | *BSD | Darwin ) + pass "This test always passes on $OS" + ;; + +--- jdk/test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -45,7 +45,7 @@ -@@ -74,16 +70,17 @@ - import javax.xml.ws.handler.HandlerResolver; - import javax.xml.ws.soap.AddressingFeature; - import java.io.IOException; -+import java.lang.RuntimePermission; - import java.lang.reflect.Proxy; - import java.net.MalformedURLException; - import java.net.URL; --import java.security.AccessController; --import java.security.PrivilegedAction; -+import java.security.*; - import java.util.*; - import java.util.concurrent.Executor; --import java.util.concurrent.Executors; - import java.util.concurrent.ThreadFactory; + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + ;; + Windows* | CYGWIN*) +--- jdk/test/com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -72,6 +72,16 @@ + done + } -+import static com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver; ++bsd_swap_size() ++{ ++ total_swap=0 ++ for i in `/usr/sbin/swapinfo -k | awk '{print $2}' | grep -v blocks` ++ do ++ # swapinfo -k returns size in kilobytes. ++ total_swap=`expr $i \* 1024 + $total_swap` ++ done ++} + - /** - * <code>Service</code> objects provide the client view of a Web service. - * -@@ -578,7 +575,7 @@ - } - } + # Test GetTotalSwapSpaceSize if we are running on Unix + total_swap=0 + case `uname -s` in +@@ -83,6 +93,9 @@ + total_swap=`free -b | grep -i swap | awk '{print $2}'` + runOne GetTotalSwapSpaceSize $total_swap + ;; ++ *BSD ) ++ bsd_swap_size ++ runOne GetTotalSwapSpaceSize $total_swap + Darwin ) + # $ sysctl -n vm.swapusage + # total = 8192.00M used = 7471.11M free = 720.89M (encrypted) +--- jdk/test/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -48,7 +48,7 @@ + + # Test GetMaxFileDescriptorCount if we are running on Unix + case `uname -s` in +- SunOS | Linux ) ++ SunOS | Linux | *BSD | Darwin ) + runOne GetMaxFileDescriptorCount + ;; + * ) +--- jdk/test/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh 2013-09-06 11:29:19.000000000 -0700 ++++ jdk/test/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -48,7 +48,7 @@ -- private <T> T createEndpointIFBaseProxy(@Nullable WSEndpointReference epr,QName portName, Class<T> portInterface, -+ private <T> T createEndpointIFBaseProxy(@Nullable WSEndpointReference epr,QName portName, final Class<T> portInterface, - WebServiceFeature[] webServiceFeatures, SEIPortInfo eif) { - //fail if service doesnt have WSDL - if (wsdlService == null) -@@ -592,14 +589,37 @@ - BindingImpl binding = eif.createBinding(webServiceFeatures,portInterface); - SEIStub pis = new SEIStub(eif, binding, eif.model, epr); + # Test GetOpenFileDescriptorCount if we are running on Unix + case `uname -s` in +- SunOS | Linux ) ++ SunOS | Linux | *BSD | Darwin ) + runOne GetOpenFileDescriptorCount + ;; + * ) +--- jdk/test/com/sun/tools/attach/CommonSetup.sh 2013-09-06 11:29:21.000000000 -0700 ++++ jdk/test/com/sun/tools/attach/CommonSetup.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -36,7 +36,7 @@ -- T proxy = portInterface.cast(Proxy.newProxyInstance(portInterface.getClassLoader(), -- new Class[]{portInterface, WSBindingProvider.class, Closeable.class}, pis)); -+ T proxy = createProxy(portInterface, pis); + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html 2013-09-06 11:29:21.000000000 -0700 ++++ jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html 2014-01-18 12:16:24.000000000 -0800 +@@ -1,6 +1,5 @@ + <html> +-<!-- +- ++<!-- + @test + @bug 8005932 + @summary Java 7 on mac os x only provides text clipboard formats +@@ -9,10 +8,9 @@ + @library ../../regtesthelpers/process + @build Util + @build ProcessResults ProcessCommunicator +- +- + @run applet/othervm MissedHtmlAndRtfBug.html +-*/> ++--> + - if (serviceInterceptor != null) { - serviceInterceptor.postCreateProxy((WSBindingProvider)proxy, portInterface); + <head> + <title>Java 7 on mac os x only provides text clipboard formats</title> + </head> +--- jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java 2013-09-06 11:29:21.000000000 -0700 ++++ jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java 2014-01-18 12:16:24.000000000 -0800 +@@ -22,17 +22,10 @@ + */ + + /* +- @test +- @bug 8005932 +- @summary Java 7 on mac os x only provides text clipboard formats +- @author mikhail.cherkasov@oracle.com +- @library ../../regtesthelpers +- @library ../../regtesthelpers/process +- @build Util +- @build ProcessResults ProcessCommunicator +- +- +- @run applet/othervm MissedHtmlAndRtfBug.html ++ This is a part of MissedHtmlAndRtfBug.html test. Do not add any JTREG tags here ++ bug 8005932 ++ summary Java 7 on mac os x only provides text clipboard formats ++ author mikhail.cherkasov@oracle.com + */ + import java.awt.*; + import java.awt.datatransfer.DataFlavor; +--- jdk/test/java/awt/PrintJob/Text/stringwidth.sh 2013-09-06 11:29:24.000000000 -0700 ++++ jdk/test/java/awt/PrintJob/Text/stringwidth.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -25,10 +25,11 @@ + fi + + +-if [ $OS = SunOS -o $OS = Linux ] +-then +- exit 0 +-fi ++case "${OS}" in ++ SunOS | Linux | *BSD | Darwin ) ++ exit 0 ++ ;; ++esac + # Windows + + if [ -z "${TESTJAVA}" ] ; then +--- jdk/test/java/awt/event/KeyEvent/KeyReleasedInAppletTest/KeyReleasedInAppletTest.java 2013-09-06 11:29:24.000000000 -0700 ++++ jdk/test/java/awt/event/KeyEvent/KeyReleasedInAppletTest/KeyReleasedInAppletTest.java 2014-01-18 12:16:24.000000000 -0800 +@@ -39,13 +39,10 @@ + import java.util.Hashtable; + + /* +-@test +-@bug 8010009 +-@summary [macosx] Unable type into online word games on MacOSX +-@author petr.pchelko : area=awt.keyboard +-@run clean * +-@run build TestApplet +-@run applet/manual=yesno KeyReleasedInAppletTest.html ++ This is a part of test KeyReleasedInAppletTest.html. Do not add any JTREG tags here ++ bug 8010009 ++ summary [macosx] Unable type into online word games on MacOSX ++ author petr.pchelko : area=awt.keyboard + */ + + public class KeyReleasedInAppletTest extends JApplet { +--- jdk/test/java/io/File/GetXSpace.sh 2013-09-06 11:29:29.000000000 -0700 ++++ jdk/test/java/io/File/GetXSpace.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -26,7 +26,7 @@ + # set platform-dependent variable + OS=`uname -s` + case "$OS" in +- SunOS | Linux ) TMP=/tmp ;; ++ SunOS | Linux | *BSD | Darwin ) TMP=/tmp ;; + Windows_98 ) return ;; + Windows* ) SID=`sid`; TMP="c:/temp" ;; + * ) +--- jdk/test/java/io/File/createTempFile/SpecialTempFile.java 2013-09-06 11:29:29.000000000 -0700 ++++ jdk/test/java/io/File/createTempFile/SpecialTempFile.java 2013-12-01 11:14:28.000000000 -0800 +@@ -23,7 +23,7 @@ + + /* + * @test +- * @bug 8013827 8011950 ++ * @bug 8013827 8011950 8025128 + * @summary Check whether File.createTempFile can handle special parameters + * on Windows platforms + * @author Dan Xu +@@ -34,7 +34,9 @@ + + public class SpecialTempFile { + +- private static void test(String name, String[] prefix, String[] suffix) { ++ private static void test(String name, String[] prefix, String[] suffix, ++ boolean expectedException) throws IOException ++ { + if (prefix == null || suffix == null + || prefix.length != suffix.length) + { +@@ -42,39 +44,59 @@ } - return proxy; - } -+ private <T> T createProxy(final Class<T> portInterface, final SEIStub pis) { + final String exceptionMsg = "Unable to create temporary file"; +- final String errMsg = "IOException is expected"; + + for (int i = 0; i < prefix.length; i++) { + boolean exceptionThrown = false; + File f = null; +- System.out.println("In test " + name +- + ", creating temp file with prefix, " +- + prefix[i] + ", suffix, " + suffix[i]); +- try { +- f = File.createTempFile(prefix[i], suffix[i]); +- } catch (IOException e) { +- if (exceptionMsg.equals(e.getMessage())) +- exceptionThrown = true; +- else +- System.out.println("Wrong error message:" + e.getMessage()); + -+ // accessClassInPackage privilege needs to be granted ... -+ RuntimePermission perm = new RuntimePermission("accessClassInPackage.com.sun." + "xml.internal.*"); -+ PermissionCollection perms = perm.newPermissionCollection(); -+ perms.add(perm); ++ String[] dirs = { null, "." }; + -+ return AccessController.doPrivileged( -+ new PrivilegedAction<T>() { -+ @Override -+ public T run() { -+ Object proxy = Proxy.newProxyInstance(portInterface.getClassLoader(), -+ new Class[]{portInterface, WSBindingProvider.class, Closeable.class}, pis); -+ return portInterface.cast(proxy); ++ for (String dir : dirs ) { ++ System.out.println("In test " + name + ++ ", creating temp file with prefix, " + ++ prefix[i] + ", suffix, " + suffix[i] + ++ ", in dir, " + dir); ++ ++ try { ++ if (dir == null || dir.isEmpty()) ++ f = File.createTempFile(prefix[i], suffix[i]); ++ else ++ f = File.createTempFile(prefix[i], suffix[i], new File(dir)); ++ } catch (IOException e) { ++ if (expectedException) { ++ if (e.getMessage().startsWith(exceptionMsg)) ++ exceptionThrown = true; ++ else ++ System.out.println("Wrong error message:" + ++ e.getMessage()); ++ } else { ++ throw e; + } -+ }, -+ new AccessControlContext( -+ new ProtectionDomain[]{ -+ new ProtectionDomain(null, perms) -+ }) -+ ); -+ } ++ } + - /** - * Lists up the port names in WSDL. For error diagnostics. - */ ---- jaxws/src/share/jaxws_classes/javax/xml/soap/FactoryFinder.java 2012-08-10 09:51:59.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/javax/xml/soap/FactoryFinder.java 2013-04-28 16:29:22.000000000 -0700 ++ if (expectedException && (!exceptionThrown || f != null)) ++ throw new RuntimeException("IOException is expected"); + } +- if (!exceptionThrown || f != null) +- throw new RuntimeException(errMsg); + } + } + + public static void main(String[] args) throws Exception { ++ // Test JDK-8025128 ++ String[] goodPre = { "///..///", "/foo" }; ++ String[] goodSuf = { ".temp", ".tmp" }; ++ test("goodName", goodPre, goodSuf, false); ++ ++ // Test JDK-8011950 ++ String[] slashPre = { "temp", "///..///", "/foo" }; ++ String[] slashSuf = { "///..///..", "///..///..", "///..///.." }; ++ test("SlashedName", slashPre, slashSuf, true); ++ + if (!System.getProperty("os.name").startsWith("Windows")) + return; + + // Test JDK-8013827 + String[] resvPre = { "LPT1.package.zip", "com7.4.package.zip" }; + String[] resvSuf = { ".temp", ".temp" }; +- test("ReservedName", resvPre, resvSuf); +- +- // Test JDK-8011950 +- String[] slashPre = { "///..///", "temp", "///..///" }; +- String[] slashSuf = { ".temp", "///..///..", "///..///.." }; +- test("SlashedName", slashPre, slashSuf); ++ test("ReservedName", resvPre, resvSuf, true); + } + } +--- jdk/test/java/io/FileOutputStream/ManyFiles.java 2013-09-06 11:29:29.000000000 -0700 ++++ jdk/test/java/io/FileOutputStream/ManyFiles.java 2014-01-18 12:16:32.000000000 -0800 +@@ -43,7 +43,7 @@ + // Windows capability it is much simpler to only run it + // on that platform. + String osName = System.getProperty("os.name"); +- if (osName.startsWith("Linux")||osName.startsWith("SunOS")) ++ if (osName.startsWith("Linux")||osName.startsWith("SunOS")||osName.endsWith("BSD")||osName.contains("OS X")) + return; + + for (int n = 0; n < NUM_FILES; n++) { +--- jdk/test/java/io/IOException/LastErrorString.java 2013-09-06 11:29:29.000000000 -0700 ++++ jdk/test/java/io/IOException/LastErrorString.java 2013-12-01 11:14:28.000000000 -0800 @@ -1,5 +1,5 @@ /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. +- * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1998, 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 -@@ -43,20 +43,12 @@ - throws SOAPException - { - try { -- Class spiClass; -- if (classLoader == null) { -- spiClass = Class.forName(className); -- } else { -- spiClass = classLoader.loadClass(className); -- } -+ Class spiClass = safeLoadClass(className, classLoader); - return spiClass.newInstance(); - } catch (ClassNotFoundException x) { -- throw new SOAPException( -- "Provider " + className + " not found", x); -+ throw new SOAPException("Provider " + className + " not found", x); - } catch (Exception x) { -- throw new SOAPException( -- "Provider " + className + " could not be instantiated: " + x, -- x); -+ throw new SOAPException("Provider " + className + " could not be instantiated: " + x, x); - } - } - -@@ -73,11 +65,65 @@ - * a system property - * @exception SOAPException if there is a SOAP error - */ -- static Object find(String factId) -+ static Object find(String factoryId) -+ throws SOAPException -+ { -+ return find(factoryId, null, false); +@@ -22,7 +22,8 @@ + */ + + /* @test +- @bug 4167937 ++ @bug 4167937 8023964 ++ @ignore Test truncates system files when run as root, see 7042603 + @summary Test code paths that use the JVM_LastErrorString procedure + */ + +--- jdk/test/java/io/Serializable/evolution/RenamePackage/run.sh 2013-09-06 11:29:30.000000000 -0700 ++++ jdk/test/java/io/Serializable/evolution/RenamePackage/run.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -41,7 +41,7 @@ + # Need to determine the classpath separator and filepath separator based on the + # operating system. + case "$OS" in +-SunOS | Linux | Darwin ) ++SunOS | Linux | *BSD | Darwin ) + PS=":" ;; + Windows* | CYGWIN* ) + PS=";" ;; +--- jdk/test/java/io/Serializable/serialver/classpath/run.sh 2013-09-06 11:29:31.000000000 -0700 ++++ jdk/test/java/io/Serializable/serialver/classpath/run.sh 2014-01-18 12:16:32.000000000 -0800 +@@ -47,7 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" ;; + Windows* | CYGWIN* ) + PS=";" ;; +--- jdk/test/java/io/Serializable/serialver/nested/run.sh 2013-09-06 11:29:31.000000000 -0700 ++++ jdk/test/java/io/Serializable/serialver/nested/run.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -47,7 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" ;; + Windows* | CYGWIN* ) + PS=";" ;; +--- jdk/test/java/lang/ClassLoader/deadlock/TestCrossDelegate.sh 2013-09-06 11:29:32.000000000 -0700 ++++ jdk/test/java/lang/ClassLoader/deadlock/TestCrossDelegate.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -45,13 +45,7 @@ + # set platform-specific variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- FS="/" +- ;; +- Linux ) +- FS="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FS="/" + ;; + Windows*) +--- jdk/test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh 2013-09-06 11:29:32.000000000 -0700 ++++ jdk/test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -49,13 +49,7 @@ + # set platform-specific variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- FS="/" +- ;; +- Linux ) +- FS="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FS="/" + ;; + Windows* | CYGWIN* ) +--- jdk/test/java/lang/SecurityManager/CheckPackageAccess.java 2013-09-06 11:29:33.000000000 -0700 ++++ jdk/test/java/lang/SecurityManager/CheckPackageAccess.java 2014-01-18 12:16:25.000000000 -0800 +@@ -23,7 +23,7 @@ + + /* + * @test +- * @bug 6741606 7146431 8000450 ++ * @bug 6741606 7146431 8000450 8022945 + * @summary Make sure all restricted packages listed in the package.access + * property in the java.security file are blocked + * @run main/othervm CheckPackageAccess +@@ -54,7 +54,9 @@ + "com.sun.imageio.", + "com.sun.istack.internal.", + "com.sun.jmx.", ++ "com.sun.naming.internal.", + "com.sun.proxy.", ++ "com.sun.corba.se.", + "com.sun.org.apache.bcel.internal.", + "com.sun.org.apache.regexp.internal.", + "com.sun.org.apache.xerces.internal.", +@@ -74,6 +76,7 @@ + "com.sun.org.apache.xml.internal.serializer.utils.", + "com.sun.org.apache.xml.internal.utils.", + "com.sun.org.glassfish.", ++ "com.sun.script.", + "oracle.jrockit.jfr.", + "org.jcp.xml.dsig.internal.", + }; +--- jdk/test/java/lang/StringCoding/CheckEncodings.sh 2013-09-06 11:29:33.000000000 -0700 ++++ jdk/test/java/lang/StringCoding/CheckEncodings.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -30,7 +30,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin) ;; ++ SunOS | Linux | *BSD | Darwin) ;; + Windows* | CYGWIN* ) + echo "Passed"; exit 0 ;; + * ) echo "Unrecognized system!" ; exit 1 ;; +--- jdk/test/java/lang/annotation/loaderLeak/LoaderLeak.sh 2013-09-06 11:29:34.000000000 -0700 ++++ jdk/test/java/lang/annotation/loaderLeak/LoaderLeak.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -44,7 +44,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin) ++ SunOS | Linux | *BSD | Darwin) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/java/lang/instrument/MakeJAR2.sh 2013-09-06 11:29:34.000000000 -0700 ++++ jdk/test/java/lang/instrument/MakeJAR2.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -49,7 +49,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + ;; + +--- jdk/test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh 2013-09-06 11:29:35.000000000 -0700 ++++ jdk/test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -35,15 +35,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS ) +- PS=":" +- FS="/" +- ;; +- Linux ) +- PS=":" +- FS="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/lang/invoke/MethodHandleConstants.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/java/lang/invoke/MethodHandleConstants.java 2013-12-01 11:14:29.000000000 -0800 +@@ -0,0 +1,188 @@ ++/* ++ * 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 ++ * 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 8022066 ++ * @summary smoke test for method handle constants ++ * @build indify.Indify ++ * @compile MethodHandleConstants.java ++ * @run main/othervm ++ * indify.Indify ++ * --verify-specifier-count=0 ++ * --expand-properties --classpath ${test.classes} ++ * --java test.java.lang.invoke.MethodHandleConstants --check-output ++ * @run main/othervm ++ * indify.Indify ++ * --expand-properties --classpath ${test.classes} ++ * --java test.java.lang.invoke.MethodHandleConstants --security-manager ++ */ ++ ++package test.java.lang.invoke; ++ ++import java.util.*; ++import java.io.*; ++import java.lang.invoke.*; ++import java.security.*; ++ ++import static java.lang.invoke.MethodHandles.*; ++import static java.lang.invoke.MethodType.*; ++ ++public class MethodHandleConstants { ++ public static void main(String... av) throws Throwable { ++ if (av.length > 0 && av[0].equals("--check-output")) openBuf(); ++ if (av.length > 0 && av[0].equals("--security-manager")) setSM(); ++ System.out.println("Obtaining method handle constants:"); ++ testCase(MH_String_replace_C2(), String.class, "replace", String.class, String.class, char.class, char.class); ++ testCase(MH_MethodHandle_invokeExact_SC2(), MethodHandle.class, "invokeExact", String.class, MethodHandle.class, String.class, char.class, char.class); ++ testCase(MH_MethodHandle_invoke_SC2(), MethodHandle.class, "invoke", String.class, MethodHandle.class, String.class, char.class, char.class); ++ testCase(MH_Class_forName_S(), Class.class, "forName", Class.class, String.class); ++ testCase(MH_Class_forName_SbCL(), Class.class, "forName", Class.class, String.class, boolean.class, ClassLoader.class); ++ System.out.println("Done."); ++ closeBuf(); + } + -+ /** -+ * Finds the implementation <code>Class</code> object for the given -+ * factory name, or if that fails, finds the <code>Class</code> object -+ * for the given fallback class name. The arguments supplied must be -+ * used in order. If using the first argument is successful, the second -+ * one will not be used. -+ * <P> -+ * This method is package private so that this code can be shared. -+ * -+ * @return the <code>Class</code> object of the specified message factory; -+ * may be <code>null</code> -+ * -+ * @param factoryId the name of the factory to find, which is -+ * a system property -+ * @param fallbackClassName the implementation class name, which is -+ * to be used only if nothing else -+ * is found; <code>null</code> to indicate that -+ * there is no fallback class name -+ * @exception SOAPException if there is a SOAP error -+ */ -+ static Object find(String factoryId, String fallbackClassName) - throws SOAPException - { -- final ClassLoader classLoader; -- final String factoryId = factId; -+ return find(factoryId, fallbackClassName, true); ++ private static void testCase(MethodHandle mh, Class<?> defc, String name, Class<?> rtype, Class<?>... ptypes) throws Throwable { ++ System.out.println(mh); ++ // we include defc, because we assume it is a non-static MH: ++ MethodType mt = methodType(rtype, ptypes); ++ assertEquals(mh.type(), mt); ++ // FIXME: Use revealDirect to find out more ++ } ++ private static void assertEquals(Object exp, Object act) { ++ if (exp == act || (exp != null && exp.equals(act))) return; ++ throw new AssertionError("not equal: "+exp+", "+act); + } + -+ /** -+ * Finds the implementation <code>Class</code> object for the given -+ * factory name, or if that fails, finds the <code>Class</code> object -+ * for the given default class name, but only if <code>tryFallback</code> -+ * is <code>true</code>. The arguments supplied must be used in order -+ * If using the first argument is successful, the second one will not -+ * be used. Note the default class name may be needed even if fallback -+ * is not to be attempted, so certain error conditions can be handled. -+ * <P> -+ * This method is package private so that this code can be shared. -+ * -+ * @return the <code>Class</code> object of the specified message factory; -+ * may not be <code>null</code> -+ * -+ * @param factoryId the name of the factory to find, which is -+ * a system property -+ * @param defaultClassName the implementation class name, which is -+ * to be used only if nothing else -+ * is found; <code>null</code> to indicate -+ * that there is no default class name -+ * @param tryFallback whether to try the default class as a -+ * fallback -+ * @exception SOAPException if there is a SOAP error -+ */ -+ static Object find(String factoryId, String defaultClassName, -+ boolean tryFallback) throws SOAPException { -+ ClassLoader classLoader; - try { - classLoader = Thread.currentThread().getContextClassLoader(); - } catch (Exception x) { -@@ -99,7 +145,7 @@ - String javah=System.getProperty( "java.home" ); - String configFile = javah + File.separator + - "lib" + File.separator + "jaxm.properties"; -- final File f=new File( configFile ); -+ File f=new File( configFile ); - if( f.exists()) { - Properties props=new Properties(); - props.load( new FileInputStream(f)); -@@ -134,49 +180,56 @@ - } catch( Exception ex ) { - } - -- return null; -+ // If not found and fallback should not be tried, return a null result. -+ if (!tryFallback) -+ return null; ++ private static void setSM() { ++ Policy.setPolicy(new TestPolicy()); ++ System.setSecurityManager(new SecurityManager()); ++ } + -+ // We didn't find the class through the usual means so try the default -+ // (built in) factory if specified. -+ if (defaultClassName == null) { -+ throw new SOAPException( -+ "Provider for " + factoryId + " cannot be found", null); ++ private static PrintStream oldOut; ++ private static ByteArrayOutputStream buf; ++ private static void openBuf() { ++ oldOut = System.out; ++ buf = new ByteArrayOutputStream(); ++ System.setOut(new PrintStream(buf)); ++ } ++ private static void closeBuf() { ++ if (buf == null) return; ++ System.out.flush(); ++ System.setOut(oldOut); ++ String[] haveLines = new String(buf.toByteArray()).split("[\n\r]+"); ++ for (String line : haveLines) System.out.println(line); ++ Iterator<String> iter = Arrays.asList(haveLines).iterator(); ++ for (String want : EXPECT_OUTPUT) { ++ String have = iter.hasNext() ? iter.next() : "[EOF]"; ++ if (want.equals(have)) continue; ++ System.err.println("want line: "+want); ++ System.err.println("have line: "+have); ++ throw new AssertionError("unexpected output: "+have); + } -+ return newInstance(defaultClassName, classLoader); - } ++ if (iter.hasNext()) ++ throw new AssertionError("unexpected output: "+iter.next()); ++ } ++ private static final String[] EXPECT_OUTPUT = { ++ "Obtaining method handle constants:", ++ "MethodHandle(String,char,char)String", ++ "MethodHandle(MethodHandle,String,char,char)String", ++ "MethodHandle(MethodHandle,String,char,char)String", ++ "MethodHandle(String)Class", ++ "MethodHandle(String,boolean,ClassLoader)Class", ++ "Done." ++ }; ++ ++ // String.replace(String, char, char) ++ private static MethodType MT_String_replace_C2() { ++ shouldNotCallThis(); ++ return methodType(String.class, char.class, char.class); ++ } ++ private static MethodHandle MH_String_replace_C2() throws ReflectiveOperationException { ++ shouldNotCallThis(); ++ return lookup().findVirtual(String.class, "replace", MT_String_replace_C2()); ++ } ++ ++ // MethodHandle.invokeExact(...) ++ private static MethodType MT_MethodHandle_invokeExact_SC2() { ++ shouldNotCallThis(); ++ return methodType(String.class, String.class, char.class, char.class); ++ } ++ private static MethodHandle MH_MethodHandle_invokeExact_SC2() throws ReflectiveOperationException { ++ shouldNotCallThis(); ++ return lookup().findVirtual(MethodHandle.class, "invokeExact", MT_MethodHandle_invokeExact_SC2()); ++ } ++ ++ // MethodHandle.invoke(...) ++ private static MethodType MT_MethodHandle_invoke_SC2() { ++ shouldNotCallThis(); ++ return methodType(String.class, String.class, char.class, char.class); ++ } ++ private static MethodHandle MH_MethodHandle_invoke_SC2() throws ReflectiveOperationException { ++ shouldNotCallThis(); ++ return lookup().findVirtual(MethodHandle.class, "invoke", MT_MethodHandle_invoke_SC2()); ++ } ++ ++ // Class.forName(String) ++ private static MethodType MT_Class_forName_S() { ++ shouldNotCallThis(); ++ return methodType(Class.class, String.class); ++ } ++ private static MethodHandle MH_Class_forName_S() throws ReflectiveOperationException { ++ shouldNotCallThis(); ++ return lookup().findStatic(Class.class, "forName", MT_Class_forName_S()); ++ } ++ ++ // Class.forName(String, boolean, ClassLoader) ++ private static MethodType MT_Class_forName_SbCL() { ++ shouldNotCallThis(); ++ return methodType(Class.class, String.class, boolean.class, ClassLoader.class); ++ } ++ private static MethodHandle MH_Class_forName_SbCL() throws ReflectiveOperationException { ++ shouldNotCallThis(); ++ return lookup().findStatic(Class.class, "forName", MT_Class_forName_SbCL()); ++ } ++ ++ private static void shouldNotCallThis() { ++ // if this gets called, the transformation has not taken place ++ if (System.getProperty("MethodHandleConstants.allow-untransformed") != null) return; ++ throw new AssertionError("this code should be statically transformed away by Indify"); ++ } ++ ++ static class TestPolicy extends Policy { ++ final PermissionCollection permissions = new Permissions(); ++ TestPolicy() { ++ permissions.add(new java.io.FilePermission("<<ALL FILES>>", "read")); ++ } ++ public PermissionCollection getPermissions(ProtectionDomain domain) { ++ return permissions; ++ } ++ ++ public PermissionCollection getPermissions(CodeSource codesource) { ++ return permissions; ++ } ++ ++ public boolean implies(ProtectionDomain domain, Permission perm) { ++ return permissions.implies(perm); ++ } ++ } ++} +--- jdk/test/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh 2013-09-06 11:29:35.000000000 -0700 ++++ jdk/test/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -61,7 +61,7 @@ + while true; do + echo "Run $i: TestSystemLoadAvg" + case `uname -s` in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + runOne GetSystemLoadAverage + ;; + * ) +--- jdk/test/java/net/Authenticator/B4933582.sh 2013-09-06 11:29:36.000000000 -0700 ++++ jdk/test/java/net/Authenticator/B4933582.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -26,7 +26,7 @@ - /** -- * Finds the implementation <code>Class</code> object for the given -- * factory name, or if that fails, finds the <code>Class</code> object -- * for the given fallback class name. The arguments supplied must be -- * used in order. If using the first argument is successful, the second -- * one will not be used. -- * <P> -- * This method is package private so that this code can be shared. -- * -- * @return the <code>Class</code> object of the specified message factory; -- * may not be <code>null</code> -- * -- * @param factoryId the name of the factory to find, which is -- * a system property -- * @param fallbackClassName the implementation class name, which is -- * to be used only if nothing else -- * is found; <code>null</code> to indicate that -- * there is no fallback class name -- * @exception SOAPException if there is a SOAP error -+ * Loads the class, provided that the calling thread has an access to the -+ * class being loaded. If this is the specified default factory class and it -+ * is restricted by package.access we get a SecurityException and can do a -+ * Class.forName() on it so it will be loaded by the bootstrap class loader. - */ -- static Object find(String factoryId, String fallbackClassName) -- throws SOAPException -- { -- -- Object obj = find(factoryId); -- if (obj != null) -- return obj; -+ private static Class safeLoadClass(String className, -+ ClassLoader classLoader) -+ throws ClassNotFoundException { -+ try { -+ // make sure that the current thread has an access to the package of the given name. -+ SecurityManager s = System.getSecurityManager(); -+ if (s != null) { -+ int i = className.lastIndexOf('.'); -+ if (i != -1) { -+ s.checkPackageAccess(className.substring(0, i)); -+ } -+ } + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/net/DatagramSocket/SendDatagramToBadAddress.java 2013-09-06 11:29:36.000000000 -0700 ++++ jdk/test/java/net/DatagramSocket/SendDatagramToBadAddress.java 2014-01-18 12:16:33.000000000 -0800 +@@ -45,6 +45,8 @@ + return (true); + if (p.getProperty ("os.name").equals ("Linux")) + return (true); ++ if (p.getProperty ("os.name").endsWith ("BSD")) ++ return (true); + if (p.getProperty ("os.name").startsWith ("Mac OS")) + return (true); + // Check for specific Solaris version from here +--- jdk/test/java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.sh 2013-09-06 11:29:36.000000000 -0700 ++++ jdk/test/java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -27,11 +27,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Darwin ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/net/Inet6Address/serialize/Serialize.java 2013-09-06 11:29:37.000000000 -0700 ++++ jdk/test/java/net/Inet6Address/serialize/Serialize.java 2013-12-01 11:14:30.000000000 -0800 +@@ -94,7 +94,26 @@ + } finally { + ois.close(); + } +- System.out.println(nobj); ++ ++ nobj = (Inet6Address)InetAddress.getByAddress("foo.com", new byte[] { ++ (byte)0xfe,(byte)0x80,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0, ++ (byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)1 ++ }); ++ if (!test1(nobj, addr1)) { ++ throw new RuntimeException("failed with " + nobj.toString()); ++ } ++ nobj = (Inet6Address)InetAddress.getByAddress("x.bar.com", new byte[] { ++ (byte)0xfe,(byte)0xC0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0, ++ (byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)0,(byte)1 ++ }); ++ if (!test1(nobj, addr2)) { ++ throw new RuntimeException("failed with " + nobj.toString()); ++ } ++ nobj = (Inet6Address)InetAddress.getByName("::1"); ++ if (!test1(nobj, addr3)) { ++ throw new RuntimeException("failed with " + nobj.toString()); ++ } ++ + System.out.println("All tests passed"); + } -- ClassLoader classLoader; -- try { -- classLoader = Thread.currentThread().getContextClassLoader(); -- } catch (Exception x) { -- throw new SOAPException(x.toString(), x); -- } -+ if (classLoader == null) -+ return Class.forName(className); -+ else -+ return classLoader.loadClass(className); -+ } catch (SecurityException se) { -+ // (only) default implementation can be loaded -+ // using bootstrap class loader ... -+ if (isDefaultImplementation(className)) -+ return Class.forName(className); - -- if (fallbackClassName == null) { -- throw new SOAPException( -- "Provider for " + factoryId + " cannot be found", null); -+ throw se; - } +@@ -113,4 +132,162 @@ + return false; + } + } +- } ++ ++ static boolean test1 (Inet6Address obj, byte[] buf) throws Exception { ++ ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(buf)); ++ Inet6Address nobj = (Inet6Address) ois.readObject(); ++ ois.close(); ++ ++ if (nobj.equals(obj)) { ++ return true; ++ } else { ++ return false; ++ } + } ++ ++ // Inet6Address instances serialized with JDK 6 ++ ++ static byte[] addr1 = { ++ (byte)0xac,(byte)0xed,(byte)0x00,(byte)0x05,(byte)0x73,(byte)0x72, ++ (byte)0x00,(byte)0x15,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x2e,(byte)0x49, ++ (byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x36,(byte)0x41,(byte)0x64, ++ (byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73,(byte)0x5f, ++ (byte)0x7c,(byte)0x20,(byte)0x81,(byte)0x52,(byte)0x2c,(byte)0x80, ++ (byte)0x21,(byte)0x03,(byte)0x00,(byte)0x05,(byte)0x49,(byte)0x00, ++ (byte)0x08,(byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65, ++ (byte)0x5f,(byte)0x69,(byte)0x64,(byte)0x5a,(byte)0x00,(byte)0x0c, ++ (byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65,(byte)0x5f, ++ (byte)0x69,(byte)0x64,(byte)0x5f,(byte)0x73,(byte)0x65,(byte)0x74, ++ (byte)0x5a,(byte)0x00,(byte)0x10,(byte)0x73,(byte)0x63,(byte)0x6f, ++ (byte)0x70,(byte)0x65,(byte)0x5f,(byte)0x69,(byte)0x66,(byte)0x6e, ++ (byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x5f,(byte)0x73,(byte)0x65, ++ (byte)0x74,(byte)0x4c,(byte)0x00,(byte)0x06,(byte)0x69,(byte)0x66, ++ (byte)0x6e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x74,(byte)0x00, ++ (byte)0x12,(byte)0x4c,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2f,(byte)0x6c,(byte)0x61,(byte)0x6e,(byte)0x67,(byte)0x2f, ++ (byte)0x53,(byte)0x74,(byte)0x72,(byte)0x69,(byte)0x6e,(byte)0x67, ++ (byte)0x3b,(byte)0x5b,(byte)0x00,(byte)0x09,(byte)0x69,(byte)0x70, ++ (byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73, ++ (byte)0x73,(byte)0x74,(byte)0x00,(byte)0x02,(byte)0x5b,(byte)0x42, ++ (byte)0x78,(byte)0x72,(byte)0x00,(byte)0x14,(byte)0x6a,(byte)0x61, ++ (byte)0x76,(byte)0x61,(byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74, ++ (byte)0x2e,(byte)0x49,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x41, ++ (byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73, ++ (byte)0x2d,(byte)0x9b,(byte)0x57,(byte)0xaf,(byte)0x9f,(byte)0xe3, ++ (byte)0xeb,(byte)0xdb,(byte)0x02,(byte)0x00,(byte)0x03,(byte)0x49, ++ (byte)0x00,(byte)0x07,(byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72, ++ (byte)0x65,(byte)0x73,(byte)0x73,(byte)0x49,(byte)0x00,(byte)0x06, ++ (byte)0x66,(byte)0x61,(byte)0x6d,(byte)0x69,(byte)0x6c,(byte)0x79, ++ (byte)0x4c,(byte)0x00,(byte)0x08,(byte)0x68,(byte)0x6f,(byte)0x73, ++ (byte)0x74,(byte)0x4e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x71, ++ (byte)0x00,(byte)0x7e,(byte)0x00,(byte)0x01,(byte)0x78,(byte)0x70, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x02,(byte)0x74,(byte)0x00,(byte)0x07,(byte)0x66, ++ (byte)0x6f,(byte)0x6f,(byte)0x2e,(byte)0x63,(byte)0x6f,(byte)0x6d, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x70,(byte)0x75,(byte)0x72,(byte)0x00,(byte)0x02,(byte)0x5b, ++ (byte)0x42,(byte)0xac,(byte)0xf3,(byte)0x17,(byte)0xf8,(byte)0x06, ++ (byte)0x08,(byte)0x54,(byte)0xe0,(byte)0x02,(byte)0x00,(byte)0x00, ++ (byte)0x78,(byte)0x70,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x10, ++ (byte)0xfe,(byte)0x80,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x01,(byte)0x78 ++ }; ++ ++ static byte[] addr2 = { ++ (byte)0xac,(byte)0xed,(byte)0x00,(byte)0x05,(byte)0x73,(byte)0x72, ++ (byte)0x00,(byte)0x15,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x2e,(byte)0x49, ++ (byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x36,(byte)0x41,(byte)0x64, ++ (byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73,(byte)0x5f, ++ (byte)0x7c,(byte)0x20,(byte)0x81,(byte)0x52,(byte)0x2c,(byte)0x80, ++ (byte)0x21,(byte)0x03,(byte)0x00,(byte)0x05,(byte)0x49,(byte)0x00, ++ (byte)0x08,(byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65, ++ (byte)0x5f,(byte)0x69,(byte)0x64,(byte)0x5a,(byte)0x00,(byte)0x0c, ++ (byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65,(byte)0x5f, ++ (byte)0x69,(byte)0x64,(byte)0x5f,(byte)0x73,(byte)0x65,(byte)0x74, ++ (byte)0x5a,(byte)0x00,(byte)0x10,(byte)0x73,(byte)0x63,(byte)0x6f, ++ (byte)0x70,(byte)0x65,(byte)0x5f,(byte)0x69,(byte)0x66,(byte)0x6e, ++ (byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x5f,(byte)0x73,(byte)0x65, ++ (byte)0x74,(byte)0x4c,(byte)0x00,(byte)0x06,(byte)0x69,(byte)0x66, ++ (byte)0x6e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x74,(byte)0x00, ++ (byte)0x12,(byte)0x4c,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2f,(byte)0x6c,(byte)0x61,(byte)0x6e,(byte)0x67,(byte)0x2f, ++ (byte)0x53,(byte)0x74,(byte)0x72,(byte)0x69,(byte)0x6e,(byte)0x67, ++ (byte)0x3b,(byte)0x5b,(byte)0x00,(byte)0x09,(byte)0x69,(byte)0x70, ++ (byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73, ++ (byte)0x73,(byte)0x74,(byte)0x00,(byte)0x02,(byte)0x5b,(byte)0x42, ++ (byte)0x78,(byte)0x72,(byte)0x00,(byte)0x14,(byte)0x6a,(byte)0x61, ++ (byte)0x76,(byte)0x61,(byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74, ++ (byte)0x2e,(byte)0x49,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x41, ++ (byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73, ++ (byte)0x2d,(byte)0x9b,(byte)0x57,(byte)0xaf,(byte)0x9f,(byte)0xe3, ++ (byte)0xeb,(byte)0xdb,(byte)0x02,(byte)0x00,(byte)0x03,(byte)0x49, ++ (byte)0x00,(byte)0x07,(byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72, ++ (byte)0x65,(byte)0x73,(byte)0x73,(byte)0x49,(byte)0x00,(byte)0x06, ++ (byte)0x66,(byte)0x61,(byte)0x6d,(byte)0x69,(byte)0x6c,(byte)0x79, ++ (byte)0x4c,(byte)0x00,(byte)0x08,(byte)0x68,(byte)0x6f,(byte)0x73, ++ (byte)0x74,(byte)0x4e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x71, ++ (byte)0x00,(byte)0x7e,(byte)0x00,(byte)0x01,(byte)0x78,(byte)0x70, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x02,(byte)0x74,(byte)0x00,(byte)0x09,(byte)0x78, ++ (byte)0x2e,(byte)0x62,(byte)0x61,(byte)0x72,(byte)0x2e,(byte)0x63, ++ (byte)0x6f,(byte)0x6d,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x70,(byte)0x75,(byte)0x72,(byte)0x00, ++ (byte)0x02,(byte)0x5b,(byte)0x42,(byte)0xac,(byte)0xf3,(byte)0x17, ++ (byte)0xf8,(byte)0x06,(byte)0x08,(byte)0x54,(byte)0xe0,(byte)0x02, ++ (byte)0x00,(byte)0x00,(byte)0x78,(byte)0x70,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x10,(byte)0xfe,(byte)0xc0,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x01, ++ (byte)0x78 ++ }; ++ ++ static byte[] addr3 = { ++ (byte)0xac,(byte)0xed,(byte)0x00,(byte)0x05,(byte)0x73,(byte)0x72, ++ (byte)0x00,(byte)0x15,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x2e,(byte)0x49, ++ (byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x36,(byte)0x41,(byte)0x64, ++ (byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73,(byte)0x5f, ++ (byte)0x7c,(byte)0x20,(byte)0x81,(byte)0x52,(byte)0x2c,(byte)0x80, ++ (byte)0x21,(byte)0x03,(byte)0x00,(byte)0x05,(byte)0x49,(byte)0x00, ++ (byte)0x08,(byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65, ++ (byte)0x5f,(byte)0x69,(byte)0x64,(byte)0x5a,(byte)0x00,(byte)0x0c, ++ (byte)0x73,(byte)0x63,(byte)0x6f,(byte)0x70,(byte)0x65,(byte)0x5f, ++ (byte)0x69,(byte)0x64,(byte)0x5f,(byte)0x73,(byte)0x65,(byte)0x74, ++ (byte)0x5a,(byte)0x00,(byte)0x10,(byte)0x73,(byte)0x63,(byte)0x6f, ++ (byte)0x70,(byte)0x65,(byte)0x5f,(byte)0x69,(byte)0x66,(byte)0x6e, ++ (byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x5f,(byte)0x73,(byte)0x65, ++ (byte)0x74,(byte)0x4c,(byte)0x00,(byte)0x06,(byte)0x69,(byte)0x66, ++ (byte)0x6e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x74,(byte)0x00, ++ (byte)0x12,(byte)0x4c,(byte)0x6a,(byte)0x61,(byte)0x76,(byte)0x61, ++ (byte)0x2f,(byte)0x6c,(byte)0x61,(byte)0x6e,(byte)0x67,(byte)0x2f, ++ (byte)0x53,(byte)0x74,(byte)0x72,(byte)0x69,(byte)0x6e,(byte)0x67, ++ (byte)0x3b,(byte)0x5b,(byte)0x00,(byte)0x09,(byte)0x69,(byte)0x70, ++ (byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73, ++ (byte)0x73,(byte)0x74,(byte)0x00,(byte)0x02,(byte)0x5b,(byte)0x42, ++ (byte)0x78,(byte)0x72,(byte)0x00,(byte)0x14,(byte)0x6a,(byte)0x61, ++ (byte)0x76,(byte)0x61,(byte)0x2e,(byte)0x6e,(byte)0x65,(byte)0x74, ++ (byte)0x2e,(byte)0x49,(byte)0x6e,(byte)0x65,(byte)0x74,(byte)0x41, ++ (byte)0x64,(byte)0x64,(byte)0x72,(byte)0x65,(byte)0x73,(byte)0x73, ++ (byte)0x2d,(byte)0x9b,(byte)0x57,(byte)0xaf,(byte)0x9f,(byte)0xe3, ++ (byte)0xeb,(byte)0xdb,(byte)0x02,(byte)0x00,(byte)0x03,(byte)0x49, ++ (byte)0x00,(byte)0x07,(byte)0x61,(byte)0x64,(byte)0x64,(byte)0x72, ++ (byte)0x65,(byte)0x73,(byte)0x73,(byte)0x49,(byte)0x00,(byte)0x06, ++ (byte)0x66,(byte)0x61,(byte)0x6d,(byte)0x69,(byte)0x6c,(byte)0x79, ++ (byte)0x4c,(byte)0x00,(byte)0x08,(byte)0x68,(byte)0x6f,(byte)0x73, ++ (byte)0x74,(byte)0x4e,(byte)0x61,(byte)0x6d,(byte)0x65,(byte)0x71, ++ (byte)0x00,(byte)0x7e,(byte)0x00,(byte)0x01,(byte)0x78,(byte)0x70, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x02,(byte)0x70,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x70,(byte)0x75,(byte)0x72, ++ (byte)0x00,(byte)0x02,(byte)0x5b,(byte)0x42,(byte)0xac,(byte)0xf3, ++ (byte)0x17,(byte)0xf8,(byte)0x06,(byte)0x08,(byte)0x54,(byte)0xe0, ++ (byte)0x02,(byte)0x00,(byte)0x00,(byte)0x78,(byte)0x70,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x10,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00, ++ (byte)0x01,(byte)0x78 ++ }; ++} +--- jdk/test/java/net/Socket/OldSocketImpl.sh 2013-09-06 11:29:37.000000000 -0700 ++++ jdk/test/java/net/Socket/OldSocketImpl.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -28,7 +28,7 @@ -- return newInstance(fallbackClassName, classLoader); -+ private static boolean isDefaultImplementation(String className) { -+ return MessageFactory.DEFAULT_MESSAGE_FACTORY.equals(className) || -+ SOAPFactory.DEFAULT_SOAP_FACTORY.equals(className) || -+ SOAPConnectionFactory.DEFAULT_SOAP_CONNECTION_FACTORY.equals(className) || -+ SAAJMetaFactory.DEFAULT_META_FACTORY_CLASS.equals(className); - } - } ---- jaxws/src/share/jaxws_classes/javax/xml/soap/MessageFactory.java 2012-08-10 09:51:59.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/javax/xml/soap/MessageFactory.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 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 -@@ -66,7 +66,7 @@ + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/net/URL/B5086147.sh 2013-09-06 11:29:38.000000000 -0700 ++++ jdk/test/java/net/URL/B5086147.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -26,7 +26,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + exit 0 + ;; + CYGWIN* ) +--- jdk/test/java/net/URL/runconstructor.sh 2013-09-06 11:29:38.000000000 -0700 ++++ jdk/test/java/net/URL/runconstructor.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -27,7 +27,7 @@ + # + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/net/URLClassLoader/B5077773.sh 2013-09-06 11:29:38.000000000 -0700 ++++ jdk/test/java/net/URLClassLoader/B5077773.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -34,11 +34,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Darwin ) +- PS=":" +- FS="/" +- ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/net/URLClassLoader/sealing/checksealed.sh 2013-09-06 11:29:38.000000000 -0700 ++++ jdk/test/java/net/URLClassLoader/sealing/checksealed.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -27,11 +27,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Darwin ) +- PS=":" +- FS="/" +- ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/net/URLConnection/6212146/test.sh 2013-09-06 11:29:38.000000000 -0700 ++++ jdk/test/java/net/URLConnection/6212146/test.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -33,11 +33,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Darwin ) +- PS=":" +- FS="/" +- ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/nio/channels/Selector/LotsOfChannels.java 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/channels/Selector/LotsOfChannels.java 2013-12-01 11:14:31.000000000 -0800 +@@ -22,9 +22,10 @@ */ - public abstract class MessageFactory { -- static private final String DEFAULT_MESSAGE_FACTORY -+ static final String DEFAULT_MESSAGE_FACTORY - = "com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"; + /* @test +- * @bug 4503092 ++ * @bug 4503092 8024883 + * @summary Tests that Windows Selector can use more than 63 channels +- * @run main/timeout=300 LotsOfChannels ++ * @run main LotsOfChannels ++ * @run main/othervm -Dsun.nio.ch.maxUpdateArraySize=64 LotsOfChannels + * @author kladko + */ - static private final String MESSAGE_FACTORY_PROPERTY -@@ -99,11 +99,14 @@ - public static MessageFactory newInstance() - throws SOAPException { - try { -- MessageFactory factory = (MessageFactory) -- FactoryFinder.find(MESSAGE_FACTORY_PROPERTY); -+ MessageFactory factory = (MessageFactory) FactoryFinder.find( -+ MESSAGE_FACTORY_PROPERTY, -+ DEFAULT_MESSAGE_FACTORY, -+ false); - -- if (factory != null) -+ if (factory != null) { - return factory; +--- jdk/test/java/nio/channels/Selector/SelectorLimit.java 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/channels/Selector/SelectorLimit.java 2013-12-01 11:14:31.000000000 -0800 +@@ -22,12 +22,13 @@ + */ + + /* @test +- * @bug 4777504 ++ * @bug 4777504 8024883 + * @summary Ensure that a Selector can return at least 100 selected keys + * @author Mark Reinhold + * @library .. + * @build SelectorLimit + * @run main/othervm SelectorLimit ++ * @run main/othervm -Dsun.nio.ch.maxUpdateArraySize=128 SelectorLimit + */ + + import java.io.*; +--- jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Makefile 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Makefile 2014-01-18 12:16:33.000000000 -0800 +@@ -71,6 +71,48 @@ + EXTRA_LIBS = -lc + endif + ++ifeq ($(uname), Darwin) ++ PLATFORM = bsd ++ archExpr = case "`$(UNAME) -m`" in \ ++ i[3-6]86) \ ++ $(ECHO) i586 \ ++ ;; \ ++ sparc*) \ ++ $(ECHO) sparc \ ++ ;; \ ++ *) \ ++ $(UNAME) -m \ ++ ;; \ ++ esac ++ ARCH := $(shell $(archExpr) ) ++ CC = gcc ++ CFLAGS = -fno-strict-aliasing -fPIC -W -Wall ++ LD = ld ++ LDFLAGS_COMMON = -shared ++ EXTRA_LIBS = -lc ++endif ++ ++ifeq ($(findstring BSD,$(uname)), BSD) ++ PLATFORM = bsd ++ archExpr = case "`$(UNAME) -m`" in \ ++ i[3-6]86) \ ++ $(ECHO) i586 \ ++ ;; \ ++ sparc*) \ ++ $(ECHO) sparc \ ++ ;; \ ++ *) \ ++ $(UNAME) -m \ ++ ;; \ ++ esac ++ ARCH := $(shell $(archExpr) ) ++ CC = gcc ++ CFLAGS = -fno-strict-aliasing -fPIC -W -Wall ++ LD = ld ++ LDFLAGS_COMMON = -shared ++ EXTRA_LIBS = -lc ++endif ++ + LIBDIR=lib/$(PLATFORM)-$(ARCH) + LAUNCHERLIB=$(LIBDIR)/libLauncher.so + +--- jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -33,11 +33,14 @@ + # @run shell run_tests.sh + + os=`uname -s` +- +-if [ "$os" != "Linux" -a "$os" != "SunOS" ]; then +- echo "Test not designed to run on this operating system, skipping..." +- exit 0 +-fi ++case "${os}" in ++ SunOS | Linux | *BSD | Darwin ) ++ ;; ++ * ) ++ echo "Test not designed to run on this operating system, skipping..." ++ exit 0 ++ ;; ++esac + + + # if TESTJAVA isn't set then we assume an interactive run. So that it's +@@ -67,7 +70,8 @@ + # On Solaris we assume 64-bit if java -d64 works. + + DFLAG= +-if [ "$os" = "SunOS" ]; then ++case "${os}" in ++ SunOS ) + PLATFORM=solaris + case "`uname -p`" in + i[3-9]86) +@@ -84,9 +88,9 @@ + fi + ;; + esac +-fi ++ ;; + +-if [ "$os" = "Linux" ]; then ++ Linux ) + PLATFORM=linux + ARCH=unknown + case "`uname -m`" in +@@ -100,7 +104,24 @@ + ARCH=amd64 + ;; + esac +-fi ++ ;; ++ ++ *BSD | Darwin ) ++ PLATFORM=bsd ++ ARCH=unknown ++ case "`uname -m`" in ++ i[3-6]86) ++ ARCH=i586 ++ ;; ++ ia64) ++ ARCH=ia64 ++ ;; ++ x86_64) ++ ARCH=amd64 ++ ;; ++ esac ++ ;; ++esac + + LIBDIR=lib/${PLATFORM}-${ARCH} + LAUNCHERLIB=${LIBDIR}/libLauncher.so +--- jdk/test/java/nio/charset/Charset/default.sh 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/charset/Charset/default.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -41,10 +41,14 @@ + fi + + s="`uname -s`" +-if [ "$s" != Linux -a "$s" != SunOS ]; then +- echo "$s: locale command not supported on this system, skipping..." +- exit 0 +-fi ++case "$s" in ++ Linux|SunOS|*BSD|Darwin) ++ ;; ++ *) ++ echo "$s: locale command not supported on this system, skipping..." ++ exit 0 ++ ;; ++esac + + JAVA=$TESTJAVA/bin/java + +--- jdk/test/java/nio/charset/coders/CheckSJISMappingProp.sh 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/charset/coders/CheckSJISMappingProp.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -34,7 +34,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ;; ++ SunOS | Linux | *BSD | Darwin ) ;; + # Skip locale test for Windows + Windows* ) + echo "Passed"; exit 0 ;; +--- jdk/test/java/nio/charset/spi/basic.sh 2013-09-06 11:29:40.000000000 -0700 ++++ jdk/test/java/nio/charset/spi/basic.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -70,10 +70,14 @@ + L="$1" + shift + s=`uname -s` +- if [ $s != Linux -a $s != SunOS -a $s != Darwin ]; then +- echo "$L: Locales not supported on this system, skipping..." +- exit 0 +- fi ++ case "$s" in ++ Linux|SunOS|*BSD|Darwin) ++ ;; ++ *) ++ echo "$L: Locales not supported on this system, skipping..." ++ exit 0 ++ ;; ++ esac + if [ "x`locale -a | grep $L`" != "x$L" ]; then + echo "$L: Locale not supported, skipping..." + exit 0 +@@ -85,7 +89,7 @@ + cd $TMP + + case `uname` in +- SunOS | Linux | Darwin ) CPS=':' ;; ++ SunOS | Linux | *BSD | Darwin ) CPS=':' ;; + Windows* ) CPS=';' ;; + *) echo "Unknown platform: `uname`"; exit 1 ;; + esac +--- jdk/test/java/nio/file/FileSystem/Basic.java 2013-09-06 11:29:41.000000000 -0700 ++++ jdk/test/java/nio/file/FileSystem/Basic.java 2014-01-18 12:16:33.000000000 -0800 +@@ -76,6 +76,8 @@ + checkSupported(fs, "posix", "unix", "owner", "acl", "user"); + if (os.equals("Linux")) + checkSupported(fs, "posix", "unix", "owner", "dos", "user"); ++ if (os.endsWith("BSD")) ++ checkSupported(fs, "posix", "unix", "owner"); + if (os.contains("OS X")) + checkSupported(fs, "posix", "unix", "owner"); + if (os.equals("Windows")) +--- jdk/test/java/nio/file/Files/CopyAndMove.java 2013-09-06 11:29:41.000000000 -0700 ++++ jdk/test/java/nio/file/Files/CopyAndMove.java 2014-01-18 12:16:33.000000000 -0800 +@@ -634,7 +634,7 @@ + + // check POSIX attributes are copied + String os = System.getProperty("os.name"); +- if (os.equals("SunOS") || os.equals("Linux")) { ++ if (os.equals("SunOS") || os.equals("Linux") || os.endsWith("BSD")) { + checkPosixAttributes( + readAttributes(source, PosixFileAttributes.class, linkOptions), + readAttributes(target, PosixFileAttributes.class, linkOptions)); +@@ -1136,7 +1136,7 @@ + static void randomizeAttributes(Path file) throws IOException { + String os = System.getProperty("os.name"); + boolean isWindows = os.startsWith("Windows"); +- boolean isUnix = os.equals("SunOS") || os.equals("Linux"); ++ boolean isUnix = os.equals("SunOS") || os.equals("Linux") || os.endsWith("BSD"); + boolean isDirectory = isDirectory(file, NOFOLLOW_LINKS); + + if (isUnix) { +--- jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java 2013-09-06 11:29:42.000000000 -0700 ++++ jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java 2014-01-18 12:16:28.000000000 -0800 +@@ -88,6 +88,17 @@ + TestLibrary.RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT); + rmid.addOptions(new String[]{ + "-Djava.nio.channels.spi.SelectorProvider=RmidViaInheritedChannel$RmidSelectorProvider"}); ++ if (System.getProperty("os.name").startsWith("Windows") && ++ System.getProperty("os.version").startsWith("5.")) ++ { ++ /* Windows XP/2003 or older ++ * Need to expand ephemeral range to include RMI test ports ++ */ ++ rmid.addOptions(new String[]{ ++ "-Djdk.net.ephemeralPortRange.low=1024", ++ "-Djdk.net.ephemeralPortRange.high=64000" ++ }); + } + rmid.start(); - return newInstance(SOAPConstants.SOAP_1_1_PROTOCOL); - } catch (Exception ex) { ---- jaxws/src/share/jaxws_classes/javax/xml/soap/SAAJMetaFactory.java 2012-08-10 09:51:59.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/javax/xml/soap/SAAJMetaFactory.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 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 -@@ -44,7 +44,7 @@ - public abstract class SAAJMetaFactory { - static private final String META_FACTORY_CLASS_PROPERTY = - "javax.xml.soap.MetaFactory"; -- static private final String DEFAULT_META_FACTORY_CLASS = -+ static final String DEFAULT_META_FACTORY_CLASS = - "com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl"; + /* +--- jdk/test/java/rmi/registry/readTest/readTest.sh 2013-09-06 11:29:43.000000000 -0700 ++++ jdk/test/java/rmi/registry/readTest/readTest.sh 2014-01-18 12:16:34.000000000 -0800 +@@ -29,8 +29,12 @@ + # @run shell readTest.sh - /** ---- jaxws/src/share/jaxws_classes/javax/xml/soap/SOAPConnectionFactory.java 2012-08-10 09:51:59.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/javax/xml/soap/SOAPConnectionFactory.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 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 -@@ -38,7 +38,7 @@ - * A constant representing the default value for a <code>SOAPConnection</code> - * object. The default is the point-to-point SOAP connection. + OS=`uname -s` ++VER=`uname -r` ++ARGS="" ++REGARGS="" ++ + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + FILEURL="file:" +@@ -39,11 +43,19 @@ + PS=";" + FS="\\" + FILEURL="file:/" ++ if [ "$VER" -eq "5" ]; then ++ ARGS="-Djdk.net.ephemeralPortRange.low=1024 -Djdk.net.ephemeralPortRange.high=65000" ++ REGARGS="-J-Djdk.net.ephemeralPortRange.low=1024 -J-Djdk.net.ephemeralPortRange.high=65000" ++ fi + ;; + CYGWIN* ) + PS=";" + FS="/" + FILEURL="file:/" ++ if [ "${VER}" -eq "5" ]; then ++ ARGS="-Djdk.net.ephemeralPortRange.low=1024 -Djdk.net.ephemeralPortRange.high=65000" ++ REGARGS="-J-Djdk.net.ephemeralPortRange.low=1024 -J-Djdk.net.ephemeralPortRange.high=65000" ++ fi + ;; + * ) + echo "Unrecognized system!" +@@ -61,8 +73,8 @@ + #start rmiregistry without any local classes on classpath + cd rmi_tmp + # NOTE: This RMI Registry port must match TestLibrary.READTEST_REGISTRY_PORT +-${TESTJAVA}${FS}bin${FS}rmiregistry -J-Djava.rmi.server.useCodebaseOnly=false \ +- ${TESTTOOLVMOPTS} 64005 > ..${FS}${RMIREG_OUT} 2>&1 & ++${TESTJAVA}${FS}bin${FS}rmiregistry ${REGARGS} -J-Djava.rmi.server.useCodebaseOnly=false \ ++ ${TESTTOOLVMOPTS} 60005 > ..${FS}${RMIREG_OUT} 2>&1 & + RMIREG_PID=$! + # allow some time to start + sleep 3 +@@ -74,10 +86,10 @@ + ;; + * ) + CODEBASE=`pwd` +- ;; ++ ;; + esac + # trailing / after code base is important for rmi codebase property. +-${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 & ++${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH ${ARGS} -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 & + TEST_PID=$! + #bulk of testcase - let it run for a while + sleep 5 +@@ -100,7 +112,7 @@ + result2=$? + + if [ $result1 -eq 0 -a $result2 -eq 0 ] +-then ++then + echo "Passed" + exitCode=0; + else +@@ -108,6 +120,6 @@ + exitCode=1 + fi + rm -rf OUT.TXT ${RMIREG_OUT} rmi_tmp +-exit ${exitCode} ++exit ${exitCode} + + +--- jdk/test/java/rmi/reliability/launch_reliability.ksh 2013-09-06 11:29:43.000000000 -0700 ++++ jdk/test/java/rmi/reliability/launch_reliability.ksh 2014-01-18 12:16:33.000000000 -0800 +@@ -84,14 +84,12 @@ + + + # set platform-dependent variables +-if [ `uname` = "SunOS" ] ; then ++case `uname` in ++ SunOS | Linux | *BSD | Darwin ) + PATH_SEP=":" +- +-elif [ `uname` = "Linux" ] ; then +- PATH_SEP=":" +-else ++ * ) + PATH_SEP=";" +-fi ++esac + + export PATH_SEP + mainpid=$$ +--- jdk/test/java/rmi/testlibrary/TestLibrary.java 2013-09-06 11:29:44.000000000 -0700 ++++ jdk/test/java/rmi/testlibrary/TestLibrary.java 2014-01-18 12:16:28.000000000 -0800 +@@ -86,13 +86,13 @@ + * FIXED_PORT_MIN or above FIXED_PORT_MAX, then adjust + * FIXED_PORT_MIN/MAX appropriately. */ -- static private final String DEFAULT_SOAP_CONNECTION_FACTORY -+ static final String DEFAULT_SOAP_CONNECTION_FACTORY - = "com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnectionFactory"; +- public final static int FIXED_PORT_MIN = 64001; +- public final static int FIXED_PORT_MAX = 64010; +- public final static int RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT = 64001; +- public final static int RMIDVIAINHERITEDCHANNEL_REGISTRY_PORT = 64002; +- public final static int INHERITEDCHANNELNOTSERVERSOCKET_ACTIVATION_PORT = 64003; +- public final static int INHERITEDCHANNELNOTSERVERSOCKET_REGISTRY_PORT = 64004; +- public final static int READTEST_REGISTRY_PORT = 64005; ++ public final static int FIXED_PORT_MIN = 60001; ++ public final static int FIXED_PORT_MAX = 60010; ++ public final static int RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT = 60001; ++ public final static int RMIDVIAINHERITEDCHANNEL_REGISTRY_PORT = 60002; ++ public final static int INHERITEDCHANNELNOTSERVERSOCKET_ACTIVATION_PORT = 60003; ++ public final static int INHERITEDCHANNELNOTSERVERSOCKET_REGISTRY_PORT = 60004; ++ public final static int READTEST_REGISTRY_PORT = 60005; + private final static int MAX_SERVER_SOCKET_TRIES = 2*(FIXED_PORT_MAX-FIXED_PORT_MIN+1); + + static void mesg(Object mesg) { +--- jdk/test/java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh 2013-09-06 11:29:45.000000000 -0700 ++++ jdk/test/java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,15 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/security/Security/ClassLoaderDeadlock/Deadlock.sh 2013-09-06 11:29:46.000000000 -0700 ++++ jdk/test/java/security/Security/ClassLoaderDeadlock/Deadlock.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -34,15 +34,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh 2013-09-06 11:29:46.000000000 -0700 ++++ jdk/test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -50,19 +50,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- CYGWIN* ) +- PATHSEP=";" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/security/Security/signedfirst/Dyn.sh 2013-09-06 11:29:46.000000000 -0700 ++++ jdk/test/java/security/Security/signedfirst/Dyn.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,15 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/security/Security/signedfirst/Static.sh 2013-09-06 11:29:46.000000000 -0700 ++++ jdk/test/java/security/Security/signedfirst/Static.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,15 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/util/Currency/PropertiesTest.sh 2013-09-06 11:29:47.000000000 -0700 ++++ jdk/test/java/util/Currency/PropertiesTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -30,7 +30,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/util/PluggableLocale/ExecTest.sh 2013-09-06 11:29:48.000000000 -0700 ++++ jdk/test/java/util/PluggableLocale/ExecTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -58,7 +58,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/java/util/ResourceBundle/Bug6299235Test.sh 2013-09-06 11:29:49.000000000 -0700 ++++ jdk/test/java/util/ResourceBundle/Bug6299235Test.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -31,7 +31,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/java/util/ResourceBundle/Control/ExpirationTest.sh 2013-09-06 11:29:49.000000000 -0700 ++++ jdk/test/java/util/ResourceBundle/Control/ExpirationTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -72,10 +72,10 @@ + Windows* | CYGWIN* ) + DEL=";" + ;; +-SunOS | Darwin) ++SunOS | Darwin ) + DEL=":" + ;; +-Linux) ++Linux | *BSD ) + DEL=":" + HAS_S=YES + ;; +--- jdk/test/java/util/ServiceLoader/basic.sh 2013-09-06 11:29:50.000000000 -0700 ++++ jdk/test/java/util/ServiceLoader/basic.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -42,9 +42,7 @@ - /** ---- jaxws/src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java 2012-08-10 09:52:00.000000000 -0700 -+++ jaxws/src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java 2013-04-28 16:29:22.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + OS=`uname -s` + case "$OS" in +- SunOS | Darwin ) +- SEP=':' ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + SEP=':' ;; + * ) + SEP='\;' ;; +--- jdk/test/javax/crypto/SecretKeyFactory/FailOverTest.sh 2013-09-06 11:29:52.000000000 -0700 ++++ jdk/test/javax/crypto/SecretKeyFactory/FailOverTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -51,7 +51,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/javax/imageio/plugins/jpeg/JpegWriterLeakTest.java 2013-09-06 11:29:52.000000000 -0700 ++++ jdk/test/javax/imageio/plugins/jpeg/JpegWriterLeakTest.java 2013-12-01 11:14:33.000000000 -0800 +@@ -23,7 +23,7 @@ + + /** + * @test +- * @bug 8020983 ++ * @bug 8020983 8024697 + * @summary Test verifies that jpeg writer instances are collected + * even if destroy() or reset() methods is not invoked. * - * This code is free software; you can redistribute it and/or modify it -@@ -54,6 +54,12 @@ - "javax.xml.soap.SOAPFactory"; +--- jdk/test/javax/imageio/stream/StreamCloserLeak/run_test.sh 2013-09-06 11:29:52.000000000 -0700 ++++ jdk/test/javax/imageio/stream/StreamCloserLeak/run_test.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -84,7 +84,7 @@ + TMP="/tmp" + ;; + +- Linux ) ++ Linux | *BSD | Darwin ) + VAR="A different value for Linux" + DEFAULT_JDK=/ + FILESEP="/" +@@ -92,14 +92,6 @@ + TMP="/tmp" + ;; + +- Darwin ) +- VAR="A different value for MacOSX" +- DEFAULT_JDK=/usr +- FILESEP="/" +- PATHSEP=":" +- TMP="/tmp" +- ;; +- + Windows* ) + VAR="A different value for Win32" + DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0" +--- jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java 2013-09-06 11:29:54.000000000 -0700 ++++ jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java 2013-12-01 11:14:33.000000000 -0800 +@@ -23,7 +23,7 @@ - /** -+ * Class name of default <code>SOAPFactory</code> implementation. + /* + * @test +- * @bug 4915825 4921009 4934965 4977469 ++ * @bug 4915825 4921009 4934965 4977469 8019584 + * @summary Tests behavior when client or server gets object of unknown class + * @author Eamonn McManus + * @run clean MissingClassTest SingleClassLoader +--- jdk/test/javax/script/CommonSetup.sh 2013-09-06 11:29:55.000000000 -0700 ++++ jdk/test/javax/script/CommonSetup.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -36,7 +36,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/javax/script/GetInterfaceTest.java 2013-09-06 11:29:55.000000000 -0700 ++++ jdk/test/javax/script/GetInterfaceTest.java 2014-01-18 12:16:29.000000000 -0800 +@@ -67,11 +67,11 @@ + foo2.bar2(); + } + +- interface Foo { ++ public interface Foo { + public void bar(); + } + +- interface Foo2 extends Foo { ++ public interface Foo2 extends Foo { + public void bar2(); + } + } +--- jdk/test/javax/security/auth/Subject/doAs/Test.sh 2013-09-06 11:29:55.000000000 -0700 ++++ jdk/test/javax/security/auth/Subject/doAs/Test.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -33,17 +33,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PS=":" +- FS="/" +- RM="/bin/rm -f" +- ;; +- Linux ) +- PS=":" +- FS="/" +- RM="/bin/rm -f" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + RM="/bin/rm -f" +--- jdk/test/jprt.config 2013-09-06 11:30:01.000000000 -0700 ++++ jdk/test/jprt.config 2014-01-18 12:16:33.000000000 -0800 +@@ -71,8 +71,8 @@ + + # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise. + osname=`uname -s` +-if [ "${osname}" = SunOS ] ; then +- ++case "${osname}" in ++ SunOS ) + # SOLARIS: Sparc or X86 + osarch=`uname -p` + if [ "${osarch}" = sparc ] ; then +@@ -96,9 +96,9 @@ + + # File creation mask + umask 002 ++ ;; + +-elif [ "${osname}" = Linux ] ; then +- ++ Linux | Darwin ) + # Add basic paths + path4sdk=/usr/bin:/bin:/usr/sbin:/sbin + +@@ -107,8 +107,31 @@ + fileMustExist "${make}" make + + umask 002 ++ ;; ++ ++ FreeBSD | OpenBSD ) ++ # Add basic paths ++ path4sdk=/usr/bin:/bin:/usr/sbin:/sbin + +-else ++ # Find GNU make ++ make=/usr/local/bin/gmake ++ fileMustExist "${make}" make ++ ++ umask 002 ++ ;; ++ ++ NetBSD ) ++ # Add basic paths ++ path4sdk=/usr/bin:/bin:/usr/sbin:/sbin ++ ++ # Find GNU make ++ make=/usr/pkg/bin/gmake ++ fileMustExist "${make}" make ++ ++ umask 002 ++ ;; ++ ++ * ) + + # Windows: Differs on CYGWIN vs. MKS. + +@@ -150,8 +173,8 @@ + if [ "${unix_toolset}" = CYGWIN ] ; then + path4sdk="`/usr/bin/cygpath -p ${path4sdk}`" + fi +- +-fi ++ ;; ++esac + + # Export PATH setting + PATH="${path4sdk}" +--- jdk/test/lib/security/java.policy/Ext_AllPolicy.sh 2013-09-06 11:30:01.000000000 -0700 ++++ jdk/test/lib/security/java.policy/Ext_AllPolicy.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -50,7 +50,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/management/jmxremote/bootstrap/CustomLauncherTest.sh 2013-09-06 11:30:02.000000000 -0700 ++++ jdk/test/sun/management/jmxremote/bootstrap/CustomLauncherTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -45,37 +45,53 @@ + # has to locate libjvm.so. Also $! is not reliable on some releases of MKS. + #{ + OS=`uname -s` +-if [ "$OS" != "Linux" -a "$OS" != "SunOS" ]; then +- echo "Test not designed to run on this operating system, skipping..." +- exit 0 +-fi ++case "${OS}" in ++ Windows* | CYGWIN* ) ++ echo "Test not designed to run on this operating system, skipping..." ++ exit 0 ++ ;; ++esac + + # + # Locate the custom launcher for this platform + # + PLATFORM=unknown + ARCH=unknown +-if [ "$OS" = "SunOS" ]; then +- PLATFORM=solaris +- case "`uname -p`" in +- i[3-9]86) +- ARCH=i586 +- ;; +- sparc) +- ARCH=sparc +- ;; +- esac +-else +- PLATFORM=linux +- case "`uname -m`" in +- i[3-6]86) +- ARCH=i586 +- ;; +- x86_64) +- ARCH=amd64 +- ;; +- esac +-fi ++case "${OS}" in ++ SunOS ) ++ PLATFORM=solaris ++ case "`uname -p`" in ++ i[3-9]86) ++ ARCH=i586 ++ ;; ++ sparc) ++ ARCH=sparc ++ ;; ++ esac ++ ;; ++ Linux ) ++ PLATFORM=linux ++ case "`uname -m`" in ++ i[3-6]86) ++ ARCH=i586 ++ ;; ++ x86_64) ++ ARCH=amd64 ++ ;; ++ esac ++ ;; ++ *BSD | Darwin ) ++ PLATFORM=bsd ++ case "`uname -m`" in ++ i[3-6]86) ++ ARCH=i586 ++ ;; ++ x86_64) ++ ARCH=amd64 ++ ;; ++ esac ++ ;; ++esac + + + # +--- jdk/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh 2013-09-06 11:30:02.000000000 -0700 ++++ jdk/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -35,7 +35,7 @@ + UMASK=`umask` + + case $OS in +-SunOS | Linux | Darwin) ++SunOS | Linux | *BSD | Darwin) + PATHSEP=":" + FILESEP="/" + DFILESEP=$FILESEP +--- jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.sh 2013-09-06 11:30:02.000000000 -0700 ++++ jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -86,10 +86,12 @@ + # on Windows 98. + + os=`uname -s` +-if [ "$os" != "Linux" -a "$os" != "SunOS" ]; then +- echo "Test not designed to run on this operating system, skipping..." +- exit 0 +-fi ++case "${os}" in ++ Windows* | CYGWIN* ) ++ echo "Test not designed to run on this operating system, skipping..." ++ exit 0 ++ ;; ++esac + + JAVA=${TESTJAVA}/bin/java + CLASSPATH=${TESTCLASSES} +--- jdk/test/sun/management/jmxremote/bootstrap/PasswordFilePermissionTest.sh 2013-09-06 11:30:02.000000000 -0700 ++++ jdk/test/sun/management/jmxremote/bootstrap/PasswordFilePermissionTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -70,10 +70,12 @@ + # security the password file. + + os=`uname -s` +-if [ "$os" != "Linux" -a "$os" != "SunOS" ]; then +- echo "Test not designed to run on this operating system, skipping..." +- exit 0 +-fi ++case "${os}" in ++ Windows* | CYGWIN* ) ++ echo "Test not designed to run on this operating system, skipping..." ++ exit 0 ++ ;; ++esac + + + # Create configuration file and dummy password file +--- jdk/test/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.sh 2013-09-06 11:30:02.000000000 -0700 ++++ jdk/test/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -69,10 +69,12 @@ + # security the password file. + + os=`uname -s` +-if [ "$os" != "Linux" -a "$os" != "SunOS" ]; then +- echo "Test not designed to run on this operating system, skipping..." +- exit 0 +-fi ++case "${os}" in ++ Windows* | CYGWIN* ) ++ echo "Test not designed to run on this operating system, skipping..." ++ exit 0 ++ ;; ++esac + + # Create management and SSL configuration files + +--- jdk/test/sun/misc/URLClassPath/ClassnameCharTest.sh 2013-09-06 11:30:03.000000000 -0700 ++++ jdk/test/sun/misc/URLClassPath/ClassnameCharTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -36,7 +36,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/net/www/MarkResetTest.sh 2013-09-06 11:30:03.000000000 -0700 ++++ jdk/test/sun/net/www/MarkResetTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -28,7 +28,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/net/www/http/HttpClient/RetryPost.sh 2013-09-06 11:30:04.000000000 -0700 ++++ jdk/test/sun/net/www/http/HttpClient/RetryPost.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -28,7 +28,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/net/www/protocol/jar/B5105410.sh 2013-09-06 11:30:04.000000000 -0700 ++++ jdk/test/sun/net/www/protocol/jar/B5105410.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -31,7 +31,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/net/www/protocol/jar/jarbug/run.sh 2013-09-06 11:30:04.000000000 -0700 ++++ jdk/test/sun/net/www/protocol/jar/jarbug/run.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -31,7 +31,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/nio/ch/SelProvider.java 2013-09-06 11:30:04.000000000 -0700 ++++ jdk/test/sun/nio/ch/SelProvider.java 2014-01-18 12:16:33.000000000 -0800 +@@ -39,7 +39,7 @@ + expected = "sun.nio.ch.DevPollSelectorProvider"; + } else if ("Linux".equals(osname)) { + expected = "sun.nio.ch.EPollSelectorProvider"; +- } else if (osname.contains("OS X")) { ++ } else if (osname.contains("OS X") || osname.endsWith("BSD")) { + expected = "sun.nio.ch.KQueueSelectorProvider"; + } else { + return; +--- jdk/test/sun/security/krb5/runNameEquals.sh 2013-09-06 11:30:07.000000000 -0700 ++++ jdk/test/sun/security/krb5/runNameEquals.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -48,15 +48,11 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux ) ++ SunOS | Linux | Darwin | *BSD ) + PATHSEP=":" + FILESEP="/" + NATIVE=true + ;; +- Darwin ) +- PATHSEP=":" +- FILESEP="/" +- ;; + CYGWIN* ) + PATHSEP=";" + FILESEP="/" +--- jdk/test/sun/security/pkcs11/KeyStore/Basic.sh 2013-09-06 11:30:07.000000000 -0700 ++++ jdk/test/sun/security/pkcs11/KeyStore/Basic.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -131,6 +131,27 @@ + ;; + esac + ;; ++ *BSD | Darwin ) ++ ARCH=`uname -m` ++ case "$ARCH" in ++ i[3-6]86 ) ++ FS="/" ++ PS=":" ++ CP="${FS}bin${FS}cp" ++ CHMOD="${FS}bin${FS}chmod" ++ ;; ++ amd64* | x86_64 ) ++ FS="/" ++ PS=":" ++ CP="${FS}bin${FS}cp" ++ CHMOD="${FS}bin${FS}chmod" ++ ;; ++ * ) ++ echo "Unsupported System: ${OS} ${ARCH}" ++ exit 0; ++ ;; ++ esac ++ ;; + Windows* ) + FS="\\" + PS=";" +--- jdk/test/sun/security/pkcs11/KeyStore/ClientAuth.sh 2013-09-06 11:30:07.000000000 -0700 ++++ jdk/test/sun/security/pkcs11/KeyStore/ClientAuth.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -93,6 +93,27 @@ + ;; + esac + ;; ++ *BSD | Darwin ) ++ ARCH=`uname -m` ++ case "$ARCH" in ++ i[3-6]86 ) ++ FS="/" ++ PS=":" ++ CP="${FS}bin${FS}cp" ++ CHMOD="${FS}bin${FS}chmod" ++ ;; ++ amd64* | x86_64 ) ++ FS="/" ++ PS=":" ++ CP="${FS}bin${FS}cp" ++ CHMOD="${FS}bin${FS}chmod" ++ ;; ++ * ) ++ echo "Unsupported System: ${OS} ${ARCH}" ++ exit 0; ++ ;; ++ esac ++ ;; + Windows* ) + FS="\\" + PS=";" +--- jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.sh 2013-09-06 11:30:08.000000000 -0700 ++++ jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -50,19 +50,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS ) +- FS="/" +- PS=":" +- CP="${FS}bin${FS}cp" +- CHMOD="${FS}bin${FS}chmod" +- ;; +- Linux ) +- FS="/" +- PS=":" +- CP="${FS}bin${FS}cp" +- CHMOD="${FS}bin${FS}chmod" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FS="/" + PS=":" + CP="${FS}bin${FS}cp" +--- jdk/test/sun/security/pkcs11/Provider/Login.sh 2013-09-06 11:30:08.000000000 -0700 ++++ jdk/test/sun/security/pkcs11/Provider/Login.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -51,19 +51,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS ) +- FS="/" +- PS=":" +- CP="${FS}bin${FS}cp" +- CHMOD="${FS}bin${FS}chmod" +- ;; +- Linux ) +- FS="/" +- PS=":" +- CP="${FS}bin${FS}cp" +- CHMOD="${FS}bin${FS}chmod" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FS="/" + PS=":" + CP="${FS}bin${FS}cp" +--- jdk/test/sun/security/pkcs11/tls/TestLeadingZeroesP11.java 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/sun/security/pkcs11/tls/TestLeadingZeroesP11.java 2014-01-18 12:16:31.000000000 -0800 +@@ -0,0 +1,410 @@ ++/* ++ * 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 8014618 ++ * @summary Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement ++ * @library .. ++ * @author Pasi Eronen ++ */ ++ ++import java.io.*; ++import java.security.*; ++import java.security.spec.*; ++import java.security.interfaces.*; ++import javax.crypto.*; ++import javax.crypto.spec.*; ++import javax.crypto.interfaces.*; ++ ++/** ++ * Test that leading zeroes are stripped in TlsPremasterSecret case, ++ * but are left as-is in other cases. ++ * ++ * We use pre-generated keypairs, since with randomly generated keypairs, ++ * a leading zero happens only (roughly) 1 out of 256 cases. ++ */ ++ ++public class TestLeadingZeroesP11 extends PKCS11Test { ++ ++ public static void main(String[] args) throws Exception { ++ main(new TestLeadingZeroesP11()); ++ } ++ ++ public void main(Provider p) throws Exception { ++ ++ // decode pre-generated keypairs ++ KeyFactory kfac = KeyFactory.getInstance("DH", p); ++ PublicKey alicePubKey = ++ kfac.generatePublic(new X509EncodedKeySpec(alicePubKeyEnc)); ++ PublicKey bobPubKey = ++ kfac.generatePublic(new X509EncodedKeySpec(bobPubKeyEnc)); ++ PrivateKey alicePrivKey = ++ kfac.generatePrivate(new PKCS8EncodedKeySpec(alicePrivKeyEnc)); ++ PrivateKey bobPrivKey = ++ kfac.generatePrivate(new PKCS8EncodedKeySpec(bobPrivKeyEnc)); ++ ++ // generate normal shared secret ++ KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH", p); ++ aliceKeyAgree.init(alicePrivKey); ++ aliceKeyAgree.doPhase(bobPubKey, true); ++ byte[] sharedSecret = aliceKeyAgree.generateSecret(); ++ System.out.println("shared secret:\n" + toHexString(sharedSecret)); ++ ++ // verify that leading zero is present ++ if (sharedSecret.length != 128) { ++ throw new Exception("Unexpected shared secret length"); ++ } ++ if (sharedSecret[0] != 0) { ++ throw new Exception("First byte is not zero as expected"); ++ } ++ ++ // now, test TLS premaster secret ++ aliceKeyAgree.init(alicePrivKey); ++ aliceKeyAgree.doPhase(bobPubKey, true); ++ byte[] tlsPremasterSecret = ++ aliceKeyAgree.generateSecret("TlsPremasterSecret").getEncoded(); ++ System.out.println( ++ "tls premaster secret:\n" + toHexString(tlsPremasterSecret)); ++ ++ // check that leading zero has been stripped ++ if (tlsPremasterSecret.length != 127) { ++ throw new Exception("Unexpected TLS premaster secret length"); ++ } ++ if (tlsPremasterSecret[0] == 0) { ++ throw new Exception("First byte is zero"); ++ } ++ for (int i = 0; i < tlsPremasterSecret.length; i++) { ++ if (tlsPremasterSecret[i] != sharedSecret[i+1]) { ++ throw new Exception("Shared secrets differ"); ++ } ++ } ++ ++ } ++ ++ /* ++ * Converts a byte to hex digit and writes to the supplied buffer + */ -+ static final String DEFAULT_SOAP_FACTORY -+ = "com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl"; ++ private void byte2hex(byte b, StringBuffer buf) { ++ char[] hexChars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', ++ '9', 'A', 'B', 'C', 'D', 'E', 'F' }; ++ int high = ((b & 0xf0) >> 4); ++ int low = (b & 0x0f); ++ buf.append(hexChars[high]); ++ buf.append(hexChars[low]); ++ } + -+ /** - * Creates a <code>SOAPElement</code> object from an existing DOM - * <code>Element</code>. If the DOM <code>Element</code> that is passed in - * as an argument is already a <code>SOAPElement</code> then this method -@@ -255,7 +261,7 @@ - throws SOAPException - { ++ /* ++ * Converts a byte array to hex string ++ */ ++ private String toHexString(byte[] block) { ++ StringBuffer buf = new StringBuffer(); ++ ++ int len = block.length; ++ ++ for (int i = 0; i < len; i++) { ++ byte2hex(block[i], buf); ++ if (i < len-1) { ++ buf.append(":"); ++ } ++ } ++ return buf.toString(); ++ } ++ ++ private static final byte alicePubKeyEnc[] = { ++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x24, ++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06, ++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48, ++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01, ++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81, ++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81, ++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD, ++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB, ++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D, ++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36, ++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38, ++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F, ++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C, ++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E, ++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23, ++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5, ++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E, ++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8, ++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34, ++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57, ++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18, ++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21, ++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF, ++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29, ++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D, ++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A, ++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4, ++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07, ++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95, ++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F, ++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50, ++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3, ++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4, ++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C, ++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B, ++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA, ++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3, ++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78, ++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02, ++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00, ++ (byte)0x03, (byte)0x81, (byte)0x85, (byte)0x00, ++ (byte)0x02, (byte)0x81, (byte)0x81, (byte)0x00, ++ (byte)0xEE, (byte)0xD6, (byte)0xB1, (byte)0xA3, ++ (byte)0xB4, (byte)0x78, (byte)0x2B, (byte)0x35, ++ (byte)0xEF, (byte)0xCD, (byte)0x17, (byte)0x86, ++ (byte)0x63, (byte)0x2B, (byte)0x97, (byte)0x0E, ++ (byte)0x7A, (byte)0xD1, (byte)0xFF, (byte)0x7A, ++ (byte)0xEB, (byte)0x57, (byte)0x61, (byte)0xA1, ++ (byte)0xF7, (byte)0x90, (byte)0x11, (byte)0xA7, ++ (byte)0x79, (byte)0x28, (byte)0x69, (byte)0xBA, ++ (byte)0xA7, (byte)0xB2, (byte)0x37, (byte)0x17, ++ (byte)0xAE, (byte)0x3C, (byte)0x92, (byte)0x89, ++ (byte)0x88, (byte)0xE5, (byte)0x7E, (byte)0x8E, ++ (byte)0xF0, (byte)0x24, (byte)0xD0, (byte)0xE1, ++ (byte)0xC4, (byte)0xB0, (byte)0x26, (byte)0x5A, ++ (byte)0x1E, (byte)0xBD, (byte)0xA0, (byte)0xCF, ++ (byte)0x3E, (byte)0x97, (byte)0x2A, (byte)0x13, ++ (byte)0x92, (byte)0x3B, (byte)0x39, (byte)0xD0, ++ (byte)0x1D, (byte)0xA3, (byte)0x6B, (byte)0x3E, ++ (byte)0xC2, (byte)0xBB, (byte)0x14, (byte)0xB6, ++ (byte)0xE2, (byte)0x4C, (byte)0x0E, (byte)0x5B, ++ (byte)0x4B, (byte)0xA4, (byte)0x9D, (byte)0xA6, ++ (byte)0x21, (byte)0xB0, (byte)0xF9, (byte)0xDE, ++ (byte)0x55, (byte)0xAE, (byte)0x5C, (byte)0x29, ++ (byte)0x0E, (byte)0xC1, (byte)0xFC, (byte)0xBA, ++ (byte)0x51, (byte)0xD3, (byte)0xB6, (byte)0x6D, ++ (byte)0x75, (byte)0x72, (byte)0xDF, (byte)0x43, ++ (byte)0xAB, (byte)0x94, (byte)0x21, (byte)0x6E, ++ (byte)0x0C, (byte)0xD1, (byte)0x93, (byte)0x54, ++ (byte)0x56, (byte)0x7D, (byte)0x4B, (byte)0x90, ++ (byte)0xF1, (byte)0x94, (byte)0x45, (byte)0xD4, ++ (byte)0x2A, (byte)0x71, (byte)0xA1, (byte)0xB8, ++ (byte)0xDD, (byte)0xAA, (byte)0x05, (byte)0xF0, ++ (byte)0x27, (byte)0x37, (byte)0xBD, (byte)0x44 ++ }; ++ ++ private static final byte alicePrivKeyEnc[] = { ++ (byte)0x30, (byte)0x81, (byte)0xE3, (byte)0x02, ++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81, ++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A, ++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7, ++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01, ++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02, ++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4, ++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E, ++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20, ++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91, ++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33, ++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45, ++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88, ++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B, ++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3, ++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43, ++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18, ++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55, ++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38, ++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C, ++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3, ++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE, ++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5, ++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1, ++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18, ++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84, ++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6, ++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19, ++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A, ++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9, ++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0, ++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02, ++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D, ++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41, ++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD, ++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19, ++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2, ++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9, ++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02, ++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02, ++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x42, ++ (byte)0x02, (byte)0x40, (byte)0x36, (byte)0x4D, ++ (byte)0xD0, (byte)0x58, (byte)0x64, (byte)0x91, ++ (byte)0x78, (byte)0xA2, (byte)0x4B, (byte)0x79, ++ (byte)0x46, (byte)0xFE, (byte)0xC9, (byte)0xD9, ++ (byte)0xCA, (byte)0x5C, (byte)0xF9, (byte)0xFD, ++ (byte)0x6C, (byte)0x5D, (byte)0x76, (byte)0x3A, ++ (byte)0x41, (byte)0x6D, (byte)0x44, (byte)0x62, ++ (byte)0x75, (byte)0x93, (byte)0x81, (byte)0x93, ++ (byte)0x00, (byte)0x4C, (byte)0xB1, (byte)0xD8, ++ (byte)0x7D, (byte)0x9D, (byte)0xF3, (byte)0x16, ++ (byte)0x2C, (byte)0x6C, (byte)0x9F, (byte)0x7A, ++ (byte)0x84, (byte)0xA3, (byte)0x7A, (byte)0xC1, ++ (byte)0x4F, (byte)0x60, (byte)0xE3, (byte)0xB5, ++ (byte)0x86, (byte)0x28, (byte)0x08, (byte)0x4D, ++ (byte)0x94, (byte)0xB6, (byte)0x04, (byte)0x0D, ++ (byte)0xAC, (byte)0xBD, (byte)0x1F, (byte)0x42, ++ (byte)0x8F, (byte)0x1B ++ }; ++ ++ private static final byte bobPubKeyEnc[] = { ++ (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x23, ++ (byte)0x30, (byte)0x81, (byte)0x99, (byte)0x06, ++ (byte)0x09, (byte)0x2A, (byte)0x86, (byte)0x48, ++ (byte)0x86, (byte)0xF7, (byte)0x0D, (byte)0x01, ++ (byte)0x03, (byte)0x01, (byte)0x30, (byte)0x81, ++ (byte)0x8B, (byte)0x02, (byte)0x81, (byte)0x81, ++ (byte)0x00, (byte)0xF4, (byte)0x88, (byte)0xFD, ++ (byte)0x58, (byte)0x4E, (byte)0x49, (byte)0xDB, ++ (byte)0xCD, (byte)0x20, (byte)0xB4, (byte)0x9D, ++ (byte)0xE4, (byte)0x91, (byte)0x07, (byte)0x36, ++ (byte)0x6B, (byte)0x33, (byte)0x6C, (byte)0x38, ++ (byte)0x0D, (byte)0x45, (byte)0x1D, (byte)0x0F, ++ (byte)0x7C, (byte)0x88, (byte)0xB3, (byte)0x1C, ++ (byte)0x7C, (byte)0x5B, (byte)0x2D, (byte)0x8E, ++ (byte)0xF6, (byte)0xF3, (byte)0xC9, (byte)0x23, ++ (byte)0xC0, (byte)0x43, (byte)0xF0, (byte)0xA5, ++ (byte)0x5B, (byte)0x18, (byte)0x8D, (byte)0x8E, ++ (byte)0xBB, (byte)0x55, (byte)0x8C, (byte)0xB8, ++ (byte)0x5D, (byte)0x38, (byte)0xD3, (byte)0x34, ++ (byte)0xFD, (byte)0x7C, (byte)0x17, (byte)0x57, ++ (byte)0x43, (byte)0xA3, (byte)0x1D, (byte)0x18, ++ (byte)0x6C, (byte)0xDE, (byte)0x33, (byte)0x21, ++ (byte)0x2C, (byte)0xB5, (byte)0x2A, (byte)0xFF, ++ (byte)0x3C, (byte)0xE1, (byte)0xB1, (byte)0x29, ++ (byte)0x40, (byte)0x18, (byte)0x11, (byte)0x8D, ++ (byte)0x7C, (byte)0x84, (byte)0xA7, (byte)0x0A, ++ (byte)0x72, (byte)0xD6, (byte)0x86, (byte)0xC4, ++ (byte)0x03, (byte)0x19, (byte)0xC8, (byte)0x07, ++ (byte)0x29, (byte)0x7A, (byte)0xCA, (byte)0x95, ++ (byte)0x0C, (byte)0xD9, (byte)0x96, (byte)0x9F, ++ (byte)0xAB, (byte)0xD0, (byte)0x0A, (byte)0x50, ++ (byte)0x9B, (byte)0x02, (byte)0x46, (byte)0xD3, ++ (byte)0x08, (byte)0x3D, (byte)0x66, (byte)0xA4, ++ (byte)0x5D, (byte)0x41, (byte)0x9F, (byte)0x9C, ++ (byte)0x7C, (byte)0xBD, (byte)0x89, (byte)0x4B, ++ (byte)0x22, (byte)0x19, (byte)0x26, (byte)0xBA, ++ (byte)0xAB, (byte)0xA2, (byte)0x5E, (byte)0xC3, ++ (byte)0x55, (byte)0xE9, (byte)0x2F, (byte)0x78, ++ (byte)0xC7, (byte)0x02, (byte)0x01, (byte)0x02, ++ (byte)0x02, (byte)0x02, (byte)0x02, (byte)0x00, ++ (byte)0x03, (byte)0x81, (byte)0x84, (byte)0x00, ++ (byte)0x02, (byte)0x81, (byte)0x80, (byte)0x2C, ++ (byte)0x40, (byte)0xFA, (byte)0xF6, (byte)0xA6, ++ (byte)0xF8, (byte)0xAC, (byte)0xC2, (byte)0x4F, ++ (byte)0xCD, (byte)0xC7, (byte)0x37, (byte)0x93, ++ (byte)0xE5, (byte)0xE4, (byte)0x5E, (byte)0x18, ++ (byte)0x14, (byte)0xE6, (byte)0x50, (byte)0xDA, ++ (byte)0x55, (byte)0x38, (byte)0x5D, (byte)0x24, ++ (byte)0xF5, (byte)0x42, (byte)0x68, (byte)0x5F, ++ (byte)0xF5, (byte)0x15, (byte)0xC8, (byte)0x9B, ++ (byte)0x5D, (byte)0x06, (byte)0x3D, (byte)0xE1, ++ (byte)0x52, (byte)0x2F, (byte)0x98, (byte)0xFF, ++ (byte)0x37, (byte)0xBB, (byte)0x75, (byte)0x48, ++ (byte)0x48, (byte)0xE9, (byte)0x65, (byte)0x84, ++ (byte)0x37, (byte)0xBB, (byte)0xB3, (byte)0xE9, ++ (byte)0x36, (byte)0x01, (byte)0xB4, (byte)0x6A, ++ (byte)0x1C, (byte)0xB2, (byte)0x11, (byte)0x82, ++ (byte)0xCE, (byte)0x3D, (byte)0x65, (byte)0xE5, ++ (byte)0x3C, (byte)0x89, (byte)0xE9, (byte)0x52, ++ (byte)0x19, (byte)0xBD, (byte)0x58, (byte)0xF6, ++ (byte)0xA2, (byte)0x03, (byte)0xA8, (byte)0xB2, ++ (byte)0xA5, (byte)0xDB, (byte)0xEB, (byte)0xF5, ++ (byte)0x94, (byte)0xF9, (byte)0x46, (byte)0xBE, ++ (byte)0x45, (byte)0x4C, (byte)0x65, (byte)0xD2, ++ (byte)0xD1, (byte)0xCF, (byte)0xFF, (byte)0xFF, ++ (byte)0xFA, (byte)0x38, (byte)0xF1, (byte)0x72, ++ (byte)0xAB, (byte)0xB9, (byte)0x14, (byte)0x4E, ++ (byte)0xF5, (byte)0xF0, (byte)0x7A, (byte)0x8E, ++ (byte)0x45, (byte)0xFD, (byte)0x5B, (byte)0xF9, ++ (byte)0xA2, (byte)0x97, (byte)0x1B, (byte)0xAE, ++ (byte)0x2C, (byte)0x7B, (byte)0x6B, (byte)0x7C, ++ (byte)0x98, (byte)0xFE, (byte)0x58, (byte)0xDD, ++ (byte)0xBE, (byte)0xF6, (byte)0x1C, (byte)0x8E, ++ (byte)0xD0, (byte)0xA1, (byte)0x72 ++ }; ++ ++ private static final byte bobPrivKeyEnc[] = { ++ (byte)0x30, (byte)0x81, (byte)0xE4, (byte)0x02, ++ (byte)0x01, (byte)0x00, (byte)0x30, (byte)0x81, ++ (byte)0x99, (byte)0x06, (byte)0x09, (byte)0x2A, ++ (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xF7, ++ (byte)0x0D, (byte)0x01, (byte)0x03, (byte)0x01, ++ (byte)0x30, (byte)0x81, (byte)0x8B, (byte)0x02, ++ (byte)0x81, (byte)0x81, (byte)0x00, (byte)0xF4, ++ (byte)0x88, (byte)0xFD, (byte)0x58, (byte)0x4E, ++ (byte)0x49, (byte)0xDB, (byte)0xCD, (byte)0x20, ++ (byte)0xB4, (byte)0x9D, (byte)0xE4, (byte)0x91, ++ (byte)0x07, (byte)0x36, (byte)0x6B, (byte)0x33, ++ (byte)0x6C, (byte)0x38, (byte)0x0D, (byte)0x45, ++ (byte)0x1D, (byte)0x0F, (byte)0x7C, (byte)0x88, ++ (byte)0xB3, (byte)0x1C, (byte)0x7C, (byte)0x5B, ++ (byte)0x2D, (byte)0x8E, (byte)0xF6, (byte)0xF3, ++ (byte)0xC9, (byte)0x23, (byte)0xC0, (byte)0x43, ++ (byte)0xF0, (byte)0xA5, (byte)0x5B, (byte)0x18, ++ (byte)0x8D, (byte)0x8E, (byte)0xBB, (byte)0x55, ++ (byte)0x8C, (byte)0xB8, (byte)0x5D, (byte)0x38, ++ (byte)0xD3, (byte)0x34, (byte)0xFD, (byte)0x7C, ++ (byte)0x17, (byte)0x57, (byte)0x43, (byte)0xA3, ++ (byte)0x1D, (byte)0x18, (byte)0x6C, (byte)0xDE, ++ (byte)0x33, (byte)0x21, (byte)0x2C, (byte)0xB5, ++ (byte)0x2A, (byte)0xFF, (byte)0x3C, (byte)0xE1, ++ (byte)0xB1, (byte)0x29, (byte)0x40, (byte)0x18, ++ (byte)0x11, (byte)0x8D, (byte)0x7C, (byte)0x84, ++ (byte)0xA7, (byte)0x0A, (byte)0x72, (byte)0xD6, ++ (byte)0x86, (byte)0xC4, (byte)0x03, (byte)0x19, ++ (byte)0xC8, (byte)0x07, (byte)0x29, (byte)0x7A, ++ (byte)0xCA, (byte)0x95, (byte)0x0C, (byte)0xD9, ++ (byte)0x96, (byte)0x9F, (byte)0xAB, (byte)0xD0, ++ (byte)0x0A, (byte)0x50, (byte)0x9B, (byte)0x02, ++ (byte)0x46, (byte)0xD3, (byte)0x08, (byte)0x3D, ++ (byte)0x66, (byte)0xA4, (byte)0x5D, (byte)0x41, ++ (byte)0x9F, (byte)0x9C, (byte)0x7C, (byte)0xBD, ++ (byte)0x89, (byte)0x4B, (byte)0x22, (byte)0x19, ++ (byte)0x26, (byte)0xBA, (byte)0xAB, (byte)0xA2, ++ (byte)0x5E, (byte)0xC3, (byte)0x55, (byte)0xE9, ++ (byte)0x2F, (byte)0x78, (byte)0xC7, (byte)0x02, ++ (byte)0x01, (byte)0x02, (byte)0x02, (byte)0x02, ++ (byte)0x02, (byte)0x00, (byte)0x04, (byte)0x43, ++ (byte)0x02, (byte)0x41, (byte)0x00, (byte)0xE0, ++ (byte)0x31, (byte)0xE7, (byte)0x77, (byte)0xB8, ++ (byte)0xD0, (byte)0x7E, (byte)0x0A, (byte)0x9B, ++ (byte)0x94, (byte)0xD5, (byte)0x3D, (byte)0x33, ++ (byte)0x62, (byte)0x32, (byte)0x51, (byte)0xCE, ++ (byte)0x74, (byte)0x5C, (byte)0xA5, (byte)0x72, ++ (byte)0xD9, (byte)0x36, (byte)0xF3, (byte)0x8A, ++ (byte)0x3F, (byte)0x8B, (byte)0xC6, (byte)0xFE, ++ (byte)0xEF, (byte)0x94, (byte)0x8B, (byte)0x50, ++ (byte)0x41, (byte)0x9B, (byte)0x14, (byte)0xC8, ++ (byte)0xE9, (byte)0x1F, (byte)0x24, (byte)0x1F, ++ (byte)0x65, (byte)0x8E, (byte)0xD3, (byte)0x85, ++ (byte)0xD0, (byte)0x68, (byte)0x6C, (byte)0xF1, ++ (byte)0x79, (byte)0x45, (byte)0xD0, (byte)0x06, ++ (byte)0xA4, (byte)0xB8, (byte)0xE0, (byte)0x64, ++ (byte)0xF5, (byte)0x38, (byte)0x72, (byte)0x97, ++ (byte)0x00, (byte)0x23, (byte)0x5F ++ }; ++} ++ +--- jdk/test/sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.sh 2013-09-06 11:30:09.000000000 -0700 ++++ jdk/test/sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -44,11 +44,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/sun/security/provider/PolicyFile/getinstance/getinstance.sh 2013-09-06 11:30:09.000000000 -0700 ++++ jdk/test/sun/security/provider/PolicyFile/getinstance/getinstance.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -47,15 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PS=":" +- FS="/" +- ;; +- Linux ) +- PS=":" +- FS="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/EngineArgs/DebugReportsOneExtraByte.sh 2013-09-06 11:30:10.000000000 -0700 ++++ jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/EngineArgs/DebugReportsOneExtraByte.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -33,7 +33,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NotifyHandshakeTest.sh 2013-09-06 11:30:11.000000000 -0700 ++++ jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NotifyHandshakeTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -42,7 +42,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FILESEP="/" + PATHSEP=":" + ;; +--- jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -32,7 +32,7 @@ + HOSTNAME=`uname -n` + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -32,7 +32,7 @@ + HOSTNAME=`uname -n` + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PS=":" + FS="/" + ;; +--- jdk/test/sun/security/tools/jarsigner/AlgOptions.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/AlgOptions.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/jarsigner/PercentSign.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/PercentSign.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/jarsigner/TimestampCheck.java 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/TimestampCheck.java 2014-01-18 12:16:31.000000000 -0800 +@@ -242,13 +242,13 @@ + " -J-Djava.security.egd=file:/dev/./urandom" + + " -debug -keystore " + TSKS + " -storepass changeit" + + " -tsa http://localhost:" + port + "/%d" + +- " -signedjar new.jar " + JAR + " old"; ++ " -signedjar new_%d.jar " + JAR + " old"; + } else { + cmd = System.getProperty("java.home") + "/bin/jarsigner" + + " -J-Djava.security.egd=file:/dev/./urandom" + + " -debug -keystore " + TSKS + " -storepass changeit" + + " -tsa http://localhost:" + port + "/%d" + +- " -signedjar new.jar " + JAR + " old"; ++ " -signedjar new_%d.jar " + JAR + " old"; + } + try { -- SOAPFactory factory = (SOAPFactory) FactoryFinder.find(SOAP_FACTORY_PROPERTY); -+ SOAPFactory factory = (SOAPFactory) FactoryFinder.find(SOAP_FACTORY_PROPERTY, DEFAULT_SOAP_FACTORY, false); - if (factory != null) - return factory; - return newInstance(SOAPConstants.SOAP_1_1_PROTOCOL); ---- langtools/.hgtags 2012-08-10 10:39:19.000000000 -0700 -+++ langtools/.hgtags 2013-06-22 09:42:04.000000000 -0700 +@@ -281,7 +281,7 @@ + static void jarsigner(String cmd, int path, boolean expected) + throws Exception { + System.err.println("Test " + path); +- Process p = Runtime.getRuntime().exec(String.format(cmd, path)); ++ Process p = Runtime.getRuntime().exec(String.format(cmd, path, path)); + BufferedReader reader = new BufferedReader( + new InputStreamReader(p.getErrorStream())); + while (true) { +@@ -289,9 +289,25 @@ + if (s == null) break; + System.err.println(s); + } ++ ++ // Will not see noTimestamp warning ++ boolean seeWarning = false; ++ reader = new BufferedReader( ++ new InputStreamReader(p.getInputStream())); ++ while (true) { ++ String s = reader.readLine(); ++ if (s == null) break; ++ System.err.println(s); ++ if (s.indexOf("Warning:") >= 0) { ++ seeWarning = true; ++ } ++ } + int result = p.waitFor(); + if (expected && result != 0 || !expected && result == 0) { + throw new Exception("Failed"); + } ++ if (seeWarning) { ++ throw new Exception("See warning"); ++ } + } + } +--- jdk/test/sun/security/tools/jarsigner/concise_jarsigner.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/concise_jarsigner.sh 2014-01-18 12:16:31.000000000 -0800 +@@ -136,7 +136,6 @@ + # 16 and 32 already covered in the first part + # ========================================================== + +-$KT -genkeypair -alias expiring -dname CN=expiring -startdate -1m + $KT -genkeypair -alias expired -dname CN=expired -startdate -10m + $KT -genkeypair -alias notyetvalid -dname CN=notyetvalid -startdate +1m + $KT -genkeypair -alias badku -dname CN=badku -ext KU=cRLSign -validity 365 +@@ -151,9 +150,6 @@ + $KT -importcert -alias badchain + $KT -delete -alias ca + +-$JARSIGNER -strict -keystore js.jks -storepass changeit a.jar expiring +-[ $? = 2 ] || exit $LINENO +- + $JARSIGNER -strict -keystore js.jks -storepass changeit a.jar expired + [ $? = 4 ] || exit $LINENO + +--- jdk/test/sun/security/tools/jarsigner/diffend.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/diffend.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -41,7 +41,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/jarsigner/oldsig.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/oldsig.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -42,7 +42,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/jarsigner/ts.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/jarsigner/ts.sh 2014-01-18 12:16:31.000000000 -0800 +@@ -22,7 +22,7 @@ + # + + # @test +-# @bug 6543842 6543440 6939248 ++# @bug 6543842 6543440 6939248 8024302 + # @summary checking response of timestamp + # + # @run shell/timeout=600 ts.sh +@@ -53,7 +53,7 @@ + JAR="${TESTJAVA}${FS}bin${FS}jar" + JAVA="${TESTJAVA}${FS}bin${FS}java" + JAVAC="${TESTJAVA}${FS}bin${FS}javac" +-KT="${TESTJAVA}${FS}bin${FS}keytool -keystore tsks -storepass changeit -keypass changeit" ++KT="${TESTJAVA}${FS}bin${FS}keytool -keystore tsks -storepass changeit -keypass changeit -validity 200" + + rm tsks + echo Nothing > A +--- jdk/test/sun/security/tools/jarsigner/warnings.sh 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/sun/security/tools/jarsigner/warnings.sh 2014-01-18 12:16:31.000000000 -0800 +@@ -0,0 +1,119 @@ ++# ++# 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 8024302 ++# @bug 8026037 ++# @summary Clarify jar verifications ++# ++ ++if [ "${TESTJAVA}" = "" ] ; then ++ JAVAC_CMD=`which javac` ++ TESTJAVA=`dirname $JAVAC_CMD`/.. ++fi ++ ++# set platform-dependent variables ++OS=`uname -s` ++case "$OS" in ++ Windows_* ) ++ FS="\\" ++ ;; ++ * ) ++ FS="/" ++ ;; ++esac ++ ++KS=warnings.jks ++JFILE=warnings.jar ++ ++KT="$TESTJAVA${FS}bin${FS}keytool -storepass changeit -keypass changeit \ ++ -keystore $KS" ++JAR=$TESTJAVA${FS}bin${FS}jar ++JARSIGNER="$TESTJAVA${FS}bin${FS}jarsigner -keystore $KS -storepass changeit" ++ ++rm $KS 2> /dev/null ++ ++LANG=C ++export LANG ++ ++echo 12345 > file ++ ++ERR="" ++ ++# Normal signer expiring on 2100-01-01 ++$KT -alias s1 -dname CN=s1 -genkey -startdate 2000/01/01 -validity 36525 || ERR="$ERR keytool s1," ++# Cert expiring soon, informational warning ++$KT -alias s2 -dname CN=s2 -genkey -validity 100 || ERR="$ERR keytool s2," ++# Cert expired, severe warning ++$KT -alias s3 -dname CN=s3 -genkey -startdate -200d -validity 100 || ERR="$ERR keytool s3," ++ ++# noTimestamp is informatiional warning and includes a date ++$JAR cvf $JFILE file ++$JARSIGNER $JFILE s1 > output1 || ERR="$ERR jarsigner s1," ++$JARSIGNER -strict $JFILE s1 >> output1 || ERR="$ERR jarsigner s1 strict," ++$JARSIGNER -verify $JFILE s1 >> output1 || ERR="$ERR jarsigner s1," ++$JARSIGNER -verify -strict $JFILE s1 >> output1 || ERR="$ERR jarsigner s1 strict," ++ ++cat output1 | grep Warning || ERR="$ERR s1 warning," ++cat output1 | grep Error && ERR="$ERR s1 error," ++cat output1 | grep timestamp | grep 2100-01-01 || ERR="$ERR s1 timestamp," ++cat output1 | grep "with signer errors" && ERR="$ERR s1 err," ++ ++# hasExpiringCert is informatiional warning ++$JAR cvf $JFILE file ++$JARSIGNER $JFILE s2 > output2 || ERR="$ERR jarsigner s2," ++$JARSIGNER -strict $JFILE s2 >> output2 || ERR="$ERR jarsigner s2 strict," ++$JARSIGNER -verify $JFILE s2 >> output2 || ERR="$ERR jarsigner s2," ++$JARSIGNER -verify -strict $JFILE s2 >> output2 || ERR="$ERR jarsigner s2 strict," ++ ++cat output2 | grep Warning || ERR="$ERR s2 warning," ++cat output2 | grep Error && ERR="$ERR s2 error," ++cat output2 | grep timestamp || ERR="$ERR s2 timestamp," ++cat output2 | grep "will expire" || ERR="$ERR s2 expiring," ++cat output2 | grep "with signer errors" && ERR="$ERR s2 err," ++ ++# hasExpiredCert is severe warning ++$JAR cvf $JFILE file ++$JARSIGNER $JFILE s3 > output3 || ERR="$ERR jarsigner s3," ++$JARSIGNER -strict $JFILE s3 > output3s && ERR="$ERR jarsigner s3 strict," ++$JARSIGNER -verify $JFILE s3 >> output3 || ERR="$ERR jarsigner s3," ++$JARSIGNER -verify -strict $JFILE s3 >> output3s && ERR="$ERR jarsigner s3 strict," ++ ++# warning without -strict ++cat output3 | grep Warning || ERR="$ERR s3 warning," ++cat output3 | grep Error && ERR="$ERR s3 error," ++cat output3 | grep "with signer errors" && ERR="$ERR s3 err," ++ ++# error with -strict ++cat output3s | grep Warning || ERR="$ERR s3s warning," ++cat output3s | grep Error || ERR="$ERR s3s error," ++cat output3s | grep "with signer errors" || ERR="$ERR s3 err," ++ ++if [ "$ERR" = "" ]; then ++ exit 0 ++else ++ echo "ERR is $ERR" ++ exit 1 ++fi ++ ++ +--- jdk/test/sun/security/tools/keytool/AltProviderPath.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/AltProviderPath.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/keytool/CloneKeyAskPassword.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/CloneKeyAskPassword.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -47,15 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Linux ) +- PATHSEP=":" +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + FILESEP="/" + ;; +--- jdk/test/sun/security/tools/keytool/NoExtNPE.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/NoExtNPE.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -42,13 +42,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS ) +- FILESEP="/" +- ;; +- Linux ) +- FILESEP="/" +- ;; +- Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FILESEP="/" + ;; + CYGWIN* ) +--- jdk/test/sun/security/tools/keytool/SecretKeyKS.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/SecretKeyKS.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -45,7 +45,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/keytool/StandardAlgName.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/StandardAlgName.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/keytool/autotest.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/autotest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -72,6 +72,27 @@ + ;; + esac + ;; ++ *BSD | Darwin ) ++ case "${OS}" in ++ *BSD ) ++ LIBNAME=libsoftokn3.so ++ ;; ++ Darwin ) ++ LIBNAME=libsoftokn3.dylib ++ ;; ++ esac ++ ARCH=`uname -m` ++ FS="/" ++ case "$ARCH" in ++ i[3-6]86 ) ++ PF="bsd-i586" ++ ;; ++ * ) ++ echo "Will not run test on: ${OS} ${ARCH}" ++ exit 0; ++ ;; ++ esac ++ ;; + * ) + echo "Will not run test on: ${OS}" + exit 0; +--- jdk/test/sun/security/tools/keytool/i18n.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/i18n.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/keytool/printssl.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/printssl.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -37,7 +37,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + FS="/" + ;; + CYGWIN* ) +--- jdk/test/sun/security/tools/keytool/resource.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/resource.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -43,7 +43,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + FS="/" + ;; +--- jdk/test/sun/security/tools/keytool/standard.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/keytool/standard.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -44,7 +44,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin | CYGWIN* ) ++ SunOS | Linux | *BSD | Darwin | CYGWIN* ) + FS="/" + ;; + Windows_* ) +--- jdk/test/sun/security/tools/policytool/Alias.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/Alias.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -47,7 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/ChangeUI.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/ChangeUI.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/OpenPolicy.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/OpenPolicy.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/SaveAs.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/SaveAs.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -47,7 +47,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/UpdatePermissions.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/UpdatePermissions.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/UsePolicy.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/UsePolicy.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/security/tools/policytool/i18n.sh 2013-09-06 11:30:12.000000000 -0700 ++++ jdk/test/sun/security/tools/policytool/i18n.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -46,7 +46,7 @@ + # set platform-dependent variables + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + NULL=/dev/null + PS=":" + FS="/" +--- jdk/test/sun/tools/jconsole/ImmutableResourceTest.sh 1969-12-31 16:00:00.000000000 -0800 ++++ jdk/test/sun/tools/jconsole/ImmutableResourceTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -0,0 +1,111 @@ ++# ++# Copyright (c) 2005, 2007, 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 6287579 ++# @summary SubClasses of ListResourceBundle should fix getContents() ++# ++# @run shell ImmutableResourceTest.sh ++ ++# Beginning of subroutines: ++status=1 ++ ++#Call this from anywhere to fail the test with an error message ++# usage: fail "reason why the test failed" ++fail() ++ { echo "The test failed :-(" ++ echo "$*" 1>&2 ++ echo "exit status was $status" ++ exit $status ++ } #end of fail() ++ ++#Call this from anywhere to pass the test with a message ++# usage: pass "reason why the test passed if applicable" ++pass() ++ { echo "The test passed!!!" ++ echo "$*" 1>&2 ++ exit 0 ++ } #end of pass() ++ ++# end of subroutines ++ ++# The beginning of the script proper ++ ++OS=`uname -s` ++case "$OS" in ++ SunOS | Linux | *BSD | Darwin ) ++ PATHSEP=":" ++ ;; ++ ++ Windows* | CYGWIN*) ++ PATHSEP=";" ++ ;; ++ ++ # catch all other OSs ++ * ) ++ echo "Unrecognized system! $OS" ++ fail "Unrecognized system! $OS" ++ ;; ++esac ++ ++TARGETCLASS="ImmutableResourceTest" ++if [ -z "${TESTJAVA}" ] ; then ++ # TESTJAVA is not set, so the test is running stand-alone. ++ # TESTJAVA holds the path to the root directory of the build of the JDK ++ # to be tested. That is, any java files run explicitly in this shell ++ # should use TESTJAVA in the path to the java interpreter. ++ # So, we'll set this to the JDK spec'd on the command line. If none ++ # is given on the command line, tell the user that and use a default. ++ # THIS IS THE JDK BEING TESTED. ++ if [ -n "$1" ] ; then ++ TESTJAVA=$1 ++ else ++ TESTJAVA=$JAVA_HOME ++ fi ++ TESTSRC=. ++ TESTCLASSES=. ++ #Deal with .class files: ++fi ++# ++echo "JDK under test is: $TESTJAVA" ++# ++CP="-classpath ${TESTCLASSES}${PATHSEP}${TESTJAVA}/lib/jconsole.jar" ++# Compile the test class using the classpath we need: ++# ++env ++# ++set -vx ++# ++#Compile. jconsole.jar is required on the classpath. ++${TESTJAVA}/bin/javac -d "${TESTCLASSES}" ${CP} -g \ ++ "${TESTSRC}"/"${TARGETCLASS}".java ++# ++#Run the test class, again with the classpath we need: ++${TESTJAVA}/bin/java ${CP} ${TARGETCLASS} ++status=$? ++echo "test status was: $status" ++if [ $status -eq "0" ]; ++ then pass "" ++ ++ else fail "unspecified test failure" ++fi +--- jdk/test/sun/tools/jconsole/ResourceCheckTest.sh 2013-09-06 11:30:13.000000000 -0700 ++++ jdk/test/sun/tools/jconsole/ResourceCheckTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -54,7 +54,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + ;; + +--- jdk/test/sun/tools/native2ascii/Native2AsciiTests.sh 2013-09-06 11:30:14.000000000 -0700 ++++ jdk/test/sun/tools/native2ascii/Native2AsciiTests.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -33,7 +33,7 @@ + + case `uname -s` in + Windows* | CYGWIN*) OS=Windows;; +- SunOS|Linux) OS=Unix;; ++ SunOS|Linux|*BSD|Darwin) OS=Unix;; + esac + + N2A=$TESTJAVA/bin/native2ascii +--- jdk/test/sun/tools/native2ascii/resources/ImmutableResourceTest.sh 2013-09-06 11:30:14.000000000 -0700 ++++ jdk/test/sun/tools/native2ascii/resources/ImmutableResourceTest.sh 2014-01-18 12:16:33.000000000 -0800 +@@ -56,7 +56,7 @@ + + OS=`uname -s` + case "$OS" in +- SunOS | Linux | Darwin ) ++ SunOS | Linux | *BSD | Darwin ) + PATHSEP=":" + ;; + +--- jdk/test/sun/util/resources/TimeZone/Bug6317929.java 2013-09-06 11:30:14.000000000 -0700 ++++ jdk/test/sun/util/resources/TimeZone/Bug6317929.java 2014-01-18 12:16:32.000000000 -0800 +@@ -130,12 +130,12 @@ + "(New South Wales)\""); + tzLocale = locales2Test[1]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("\u00d6stliche Normalzeit (New South Wales)")) ++ ("Eastern Normalzeit (Neus\u00fcdwales)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"\u00d6stliche Normalzeit " + +- "(New South Wales)\""); ++ "\"Eastern Normalzeit " + ++ "(Neus\u00fcdwales)\""); + tzLocale = locales2Test[2]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals + ("Hora est\u00e1ndar Oriental (Nueva Gales del Sur)")) +@@ -154,53 +154,53 @@ + "(Nouvelle-Galles du Sud)\""); + tzLocale = locales2Test[4]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("Ora solare dell'Australia orientale (Nuovo Galles del Sud)")) ++ ("Ora standard dell'Australia orientale (Nuovo Galles del Sud)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"Ora solare dell'Australia orientale " + ++ "\"Ora standard dell'Australia orientale " + + "(Nuovo Galles del Sud)\""); + tzLocale = locales2Test[5]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("\u6771\u90e8\u6a19\u6e96\u6642 " + +- "(\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9\u30a6\u30a7\u30fc\u30eb\u30ba)")) ++ ("\u6771\u90E8\u6A19\u6E96\u6642" + ++ "(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9\u30A6\u30A7\u30FC\u30EB\u30BA)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"\u6771\u90e8\u6a19\u6e96\u6642 " + +- "(\u30cb\u30e5\u30fc\u30b5\u30a6\u30b9" + +- "\u30a6\u30a7\u30fc\u30eb\u30ba)\""); ++ "\"\u6771\u90E8\u6A19\u6E96\u6642" + ++ "(\u30CB\u30E5\u30FC\u30B5\u30A6\u30B9" + ++ "\u30A6\u30A7\u30FC\u30EB\u30BA)\""); + tzLocale = locales2Test[6]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("\ub3d9\ubd80 \ud45c\uc900\uc2dc(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)")) ++ ("\uB3D9\uBD80 \uD45C\uC900\uC2DC(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"\ub3d9\ubd80 \ud45c\uc900\uc2dc" + +- "(\ub274 \uc0ac\uc6b0\uc2a4 \uc6e8\uc77c\uc988)\""); ++ "\"\uB3D9\uBD80 \uD45C\uC900\uC2DC" + ++ "(\uB274\uC0AC\uC6B0\uC2A4\uC6E8\uC77C\uC988)\""); + tzLocale = locales2Test[7]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("Eastern, normaltid (Nya Sydwales)")) ++ ("\u00D6stlig standardtid (New South Wales)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"Eastern, normaltid " + +- "(Nya Sydwales)\""); ++ "\"\u00D6stlig standardtid " + ++ "(New South Wales)\""); + tzLocale = locales2Test[8]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09")) ++ ("\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 (\u65B0\u5357\u5A01\u5C14\u65AF)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"\u4e1c\u90e8\u6807\u51c6\u65f6\u95f4 " + +- "\uff08\u65b0\u5357\u5a01\u5c14\u65af\uff09\""); ++ "\"\u4E1C\u90E8\u6807\u51C6\u65F6\u95F4 " + ++ "(\u65B0\u5357\u5A01\u5C14\u65AF)\""); + tzLocale = locales2Test[9]; + if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals +- ("\u6771\u65b9\u6a19\u6e96\u6642\u9593 (\u65b0\u5357\u5a01\u723e\u65af)")) ++ ("\u6771\u90E8\u6A19\u6E96\u6642\u9593 (\u65B0\u5357\u5A01\u723E\u65AF)")) + throw new RuntimeException("\n" + tzLocale + ": LONG, " + + "non-daylight saving name for " + + "Australia/Currie should be " + +- "\"\u6771\u65b9\u6a19\u6e96\u6642\u9593 " + +- "(\u65b0\u5357\u5a01\u723e\u65af)\""); ++ "\"\u6771\u90E8\u6A19\u6E96\u6642\u9593 " + ++ "(\u65B0\u5357\u5A01\u723E\u65AF)\""); + } + } +--- langtools/.hgtags 2013-09-06 11:31:03.000000000 -0700 ++++ langtools/.hgtags 2014-01-18 12:16:11.000000000 -0800 @@ -123,6 +123,7 @@ 9425dd4f53d5bfcd992d9aecea0eb7d8b2d4f62b jdk7-b146 d34578643d1c6c752d4a6b5e79c6ab1b60850b4a jdk7u1-b01 @@ -17157,144 +75138,291 @@ cd2cc8b5edb045b950aed46d159b4fb8fc2fd1df jdk7u1-b02 82820a30201dbf4b80f1916f3d0f4a92ad21b61a jdk7u1-b03 baa2c13c70fea3d6e259a34f0903197fdceb64b5 jdk7u1-b04 -@@ -197,5 +198,81 @@ - a35ca56cf8d09b92511f0cd71208a2ea05c8a338 jdk7u6-b21 - 4f3aafa690d1fcb18693fc4085049eeffe4778f7 jdk7u6-b22 - dd3e29d8892fcaba6d76431d5fa9d49e7c088f76 jdk7u6-b23 --a35ca56cf8d09b92511f0cd71208a2ea05c8a338 jdk7u8-b01 --41bc8da868e58f7182d26b2ab9b6f8a4b09894ed jdk7u8-b02 -+6aac89e84fc96d15bb78b13aa71c9e6b73d7237e jdk7u6-b24 -+bcd1d067d525065630deb98b678bc00b499adbe1 jdk7u6-b30 -+2d6017454236d4e95aad7feaff5fc92a612598f4 jdk7u6-b31 -+2d6017454236d4e95aad7feaff5fc92a612598f4 jdk7u7-b10 -+27041587508dbc4e08c956ba98a11ce0d5608dc4 jdk7u7-b30 -+b92a9f4f6bce4ec500ed3adb8203e6424b579f94 jdk7u7-b11 -+f0fd7463f02ea681ca53022d6d0d425ec1584b34 jdk7u7-b31 -+6bfc26fc14a0650805dd6583048db0b4f8669844 jdk7u7-b01 -+0d4cb328938002fa9a2efc8190ea97beae3230a9 jdk7u7-b02 -+04848e261e42c697cb70401f8059186434855f33 jdk7u9-b03 -+0000000000000000000000000000000000000000 jdk7u7-b01 -+6bfc26fc14a0650805dd6583048db0b4f8669844 jdk7u9-b01 -+0000000000000000000000000000000000000000 jdk7u7-b02 -+0d4cb328938002fa9a2efc8190ea97beae3230a9 jdk7u9-b02 -+9148cdb9a18b55ad7d51bb9644b6db812de34eea jdk7u9-b04 -+1de4a0865a714076b4922a9a7119adb98aee23f2 jdk7u9-b05 -+5d1a6a593fa17933683b34ea3a55c7d13c028a13 jdk7u9-b31 -+acd27fc7fcf3e9dc0a1ae7e101cc036e960b6295 jdk7u9-b32 -+8dfbebb98865d822ddd9e0b9641d21e8bdb8a866 jdk7u10-b10 -+01c6dde274bd520067264231b3015c37e8e62d24 jdk7u10-b11 -+1fb02747d3bce646374c2cab95048c516cec6b01 jdk7u10-b12 -+14735b3d8bdffc7892f1db04b6262bdaad2eb9d7 jdk7u10-b13 -+f555fcdbd07156ee11b25fb4ac106065bbf496b4 jdk7u10-b14 -+dfcd16ac3fbcabed815b8ef4e792716cce0bce21 jdk7u10-b15 -+eaa8a0141c35edc382d7ce0b1148912db8422b16 jdk7u10-b16 -+7101b3e80e96b000b0b4f0bd7fe4dd7910d02f74 jdk7u10-b17 -+4f529e320d83f517a55065b4710c7f1e5ff692c9 jdk7u10-b18 -+1e5aed8511b9bea5c2ebe51a2d9094be8bac73cc jdk7u10-b30 -+db426c20b06918feeeaa036d52a5096c2bb646b0 jdk7u10-b31 -+b01338429ab6821f44d19601de433b538942b53d jdk7u11-b20 -+aeef1c7e43bc2d4a0960ebf42b642f7a34ec8afc jdk7u11-b21 -+92de02b43596ea1d01c87d56dbc9acc0960a90c3 jdk7u11-b32 -+309b5ccd0501d48fa7eed29e45197b4101de4683 jdk7u11-b33 -+eaa8a0141c35edc382d7ce0b1148912db8422b16 jdk7u11-b03 -+e8071ede35dc5948f5ed127941be192a4a8c1ebd jdk7u11-b04 -+17b9bb22f3fd6a624879a29a3fc4b252327c113d jdk7u11-b05 -+96c8b3b817aa3e672f78f1d5006616104378ff29 jdk7u11-b06 -+c5d3dabddff76c92425cbf6a99ed4e066d16b4fd jdk7u11-b07 -+a0d9abc405580d6fa0ae217fab96608285a38c41 jdk7u11-b08 -+a778aaf53c52f78c92f29a1220d9f46de94c9247 jdk7u13-b09 -+761b933e269693fd689c2af5d8317201b2172dbb jdk7u13-b10 -+8a12629ea21378f96666628f472cd9a6936a4933 jdk7u13-b30 -+761b933e269693fd689c2af5d8317201b2172dbb jdk7u13-b20 -+1298307076c2f0c2a4acd3a2a132cbe98d399009 jdk7u15-b01 -+8db0105f00ce9fe6899ece52d46d78995111c456 jdk7u15-b02 -+b00c1580ffa95d9edd567835e1b9a77cf8ca2af6 jdk7u15-b30 -+2c82a733594aef14f7a91a910c6b7b20e6220078 jdk7u15-b31 -+5639dfc55f771823fab02438e5c89c6b18f57d07 jdk7u15-b33 -+c160d7d1616d099afad0986b7d06aee2d9405e57 jdk7u15-b03 -+a778aaf53c52f78c92f29a1220d9f46de94c9247 jdk7u15-b32 -+edfcf07c2877af8efa649e514167b22b7f6fc0b4 jdk7u17-b01 -+2782a1c60faf7585dee0af0ef585aeed3288e521 jdk7u17-b02 -+0abc443a68676c7231b274a324d27204c735acac jdk7u17-b30 -+1a9b32d36ff86136549f20156cf3e821295228a0 jdk7u17-b31 -+a91bdaf125d89b8b2c6ff86c8055aab3b7d2546c jdk7u17-b32 -+8a12629ea21378f96666628f472cd9a6936a4933 jdk7u21-b01 -+82103a284427a2512fe884d8f232f1a83d46beb6 jdk7u21-b02 -+9adfe6a84c3884d5c24f6655e89546a6e0a80129 jdk7u21-b03 -+71704143744ee46f105bf1bf3e4b7aecaf9c1003 jdk7u21-b04 -+0970c229028499d5348d77712edf42d712538441 jdk7u21-b05 -+5e0127eb56c3f70bdf67a5b2c57cf218838371ae jdk7u21-b06 -+08034557136e484b3a7c4d0ec9b21e57ea9cd30b jdk7u21-b07 -+f3c75c441d5623186e43de0b5a645e12fc360c29 jdk7u21-b08 -+b6c7a18b668b85bdc41914b2b354c1928deb659e jdk7u21-b09 -+de06078efe709392d7faf44803d54b74599f6bda jdk7u21-b10 -+e120818fc321b5d9d8573a58bf5f6a6eb7471229 jdk7u21-b11 -+ff6f8ab2635c6e0b0f6bb1a68dca48b4fc31b107 jdk7u21-b30 -+a87ad97e80ae1861143b477d8a8990dc6ecc9173 jdk7u21-b12 -+884621bb9042cd4a06e230307f1e26f1c518346d jdk7u25-b01 -+1311e3618232058b09fe7ea25eda4af8d3fe6807 jdk7u25-b02 -+8dc40e209a12638ea18bb7ee436051768afa5d39 jdk7u25-b03 -+d7f974b867c4cf771ab749871c2ff4d3f869f13f jdk7u25-b04 -+e8d01d8ee8f547f97d8670157ddf5a798459b85a jdk7u25-b05 -+25489e38393b7c70fb826069d50860fbc409d11d jdk7u25-b06 -+11fd425a3ebee6fa02bd684d356300b3619e5e7a jdk7u25-b07 -+edaa697ef947de30b940bef0a546590d09c99cd3 jdk7u25-b08 -+17ee569d0c0130824ba27bc1b090114e6075c5f2 jdk7u25-b09 -+41c1b02cd6a8fa7746752cc911da3dd4d380098d jdk7u25-b10 ---- langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java 2012-08-10 10:39:24.000000000 -0700 -+++ langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java 2013-06-22 09:39:33.000000000 -0700 +@@ -301,6 +302,22 @@ + 17ee569d0c0130824ba27bc1b090114e6075c5f2 jdk7u25-b09 + 41c1b02cd6a8fa7746752cc911da3dd4d380098d jdk7u25-b10 + 0da9ef0d9fc5b017f960d65ae0cd07860a259621 jdk7u25-b11 ++cf80c545434cfe44034e667079673ce42cc9cdbf jdk7u14-b16 ++aecd58f25d7f21827ae1b020ae8cfb44857c439f jdk7u14-b17 ++577f9625ec558c18e9de6e3428fd0f9cca823033 jdk7u14-b18 ++5168a2c7af619364ddb342674ff880874c3b7897 jdk7u14-b19 ++5168a2c7af619364ddb342674ff880874c3b7897 jdk7u14-b19 ++e8c876a77def120b5eeb26535d0777c9b9f842f8 jdk7u14-b19 ++86ae75a68cc375cfc0559699b5270951aab09eb0 jdk7u14-b20 ++c31648d7a6ac692371f1e9abe95bc2856a7dc51c jdk7u14-b21 ++eb1c9eacea1f07c07e7e700db624649d3573dae4 jdk7u14-b22 ++e84535d2c292032669ac75a6a0afc5f23c708064 jdk7u40-b23 ++d2b78e3b352dfb9b0cbd808669f9332e898147ed jdk7u40-b24 ++e5635f70fe67192142cb5166bee08cc915a18bc4 jdk7u40-b25 ++5bd6f156bc01b6a4e901fc5607663dfc249e9105 jdk7u40-b26 ++12506bba2b67cd4b229550da67ff85b984549a28 jdk7u40-b27 ++9f2eea2fae59c5242d1bb4cbca967bb6fbb99865 jdk7u40-b28 ++bfe3575143fddbf71c2e570b580afef007d171e4 jdk7u40-b29 + 28358b2489b2ca29c1a6b79f643204da8924a3d7 jdk7u25-b12 + 5ed8c453480063838b632c74f528924f529361a2 jdk7u25-b13 + c6342ec6a12f7283e2a73a80a44dcdd3683e2e8b jdk7u25-b14 +@@ -343,3 +360,38 @@ + 765bea9bfcfc8c472df0a2daced5e576095f46ac jdk7u40-b42 + 988ece7b686564084770e99ca26746c45ffb933f jdk7u40-b43 + a67dbf96bf86989d0392cc5b66e5d4139cbceec7 jdk7u40-b60 ++b2e29b79e54e58349c1dbcf5449f67fc5d5a235a jdk7u40-b61 ++94ea3d062a3c28c64a837fa8f999c6b6956ff7c4 jdk7u40-b62 ++9bbfba4981e1db5016bbfbc23025763966021c26 jdk7u45-b01 ++61d5b73ae0ac46268490e2f0dfa1f69a5acda73f jdk7u45-b02 ++2fe27ae865e723473225756f1920d9d76d47b903 jdk7u45-b03 ++bede296dc848533abae859e61584a517df2773ae jdk7u45-b04 ++e989f2f2b5cb639a23a5e67da0d52766acf549a2 jdk7u45-b05 ++6f492dc935adc6e2878bb6045aee001a829428a7 jdk7u45-b06 ++4c51f98e1eb5b8d94dfca08f3b3160ff382b7c3a jdk7u45-b07 ++6cf97c9859e731fba6bcff67c46f57dead8d7284 jdk7u45-b08 ++a9c31d3f8188b344ed165ec0730ebc2fd11dfa5d jdk7u45-b09 ++2c09352066ec34c8608ccff0f933f566a52033af jdk7u45-b10 ++53d5c06766b05689cdccfc300b32075878e8aa1d jdk7u45-b11 ++0b6aa6e95eb9da58a686edacf5b102116614d3ea jdk7u45-b12 ++68862f365075a11dfa291033d05a062590db9337 jdk7u45-b13 ++8c799b9f0cd8af3b1cfd151ba075a4f1630967df jdk7u45-b14 ++36ae3f206b53f751a0ebf933e5dbf364097b48a5 jdk7u45-b15 ++18d1864abca976ca68cb71612e9b20c908455d3d jdk7u45-b16 ++b9aeec6b9d5aac0746f8d1764a7740f8b83334ab jdk7u45-b17 ++ba3ff27d4082f2cf0d06e635b2b6e01f80e78589 jdk7u45-b18 ++164cf7491ba2f371354ba343a604eee4c61c529d jdk7u45-b30 ++7f5cfaedb25c2c2774d6839810d6ae543557ca01 jdk7u45-b31 ++18d1864abca976ca68cb71612e9b20c908455d3d jdk7u51-b00 ++14d1cf2630aea549cfba9d052200c7ebcabd875c jdk7u51-b01 ++f0168ccf171ed6080267fe0a7f7aed0b46bd5713 jdk7u51-b02 ++33f986894a3e42686a3a9713efc075a6876dbeb7 jdk7u51-b03 ++9a4b7362a592b157cd2b1c2ce15f1bb97d2792f6 jdk7u51-b04 ++c8d1379f16ebe38d03581eaa6a8b1ecddfd5fc88 jdk7u51-b05 ++1e8c8518497b6c4de56782224da4d27a9367e7ac jdk7u51-b06 ++009a4086b2a66e263c006e237505a832fcf99ac8 jdk7u51-b07 ++cccd0d52003d26f8652ef1778b3f1857c7d92ea9 jdk7u51-b08 ++d8a69a841acd1d6c20e8a064d0c2bd139c50e485 jdk7u51-b09 ++7e33fc6adc82176a459e6702ae03a34f789b88ec jdk7u51-b10 ++c9d8d8793d9330d592190c334260ccf26c986df6 jdk7u51-b11 ++5b44df2114e466da85c3816627bfcd1b59c6499d jdk7u51-b12 +--- langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java 2013-09-06 11:31:06.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java 2013-12-01 11:13:46.000000000 -0800 +@@ -292,7 +292,7 @@ + script.addAttr(HtmlAttr.TYPE, "text/javascript"); + String scriptCode = "<!--" + DocletConstants.NL + + " if (location.href.indexOf('is-external=true') == -1) {" + DocletConstants.NL + +- " parent.document.title=\"" + winTitle + "\";" + DocletConstants.NL + ++ " parent.document.title=\"" + escapeJavaScriptChars(winTitle) + "\";" + DocletConstants.NL + + " }" + DocletConstants.NL + + "//-->" + DocletConstants.NL; + RawHtml scriptContent = new RawHtml(scriptCode); +@@ -302,6 +302,53 @@ + } + + /** ++ * Returns a String with escaped special JavaScript characters. ++ * ++ * @param s String that needs to be escaped ++ * @return a valid escaped JavaScript string ++ */ ++ private static String escapeJavaScriptChars(String s) { ++ StringBuilder sb = new StringBuilder(); ++ for (int i = 0; i < s.length(); i++) { ++ char ch = s.charAt(i); ++ switch (ch) { ++ case '\b': ++ sb.append("\\b"); ++ break; ++ case '\t': ++ sb.append("\\t"); ++ break; ++ case '\n': ++ sb.append("\\n"); ++ break; ++ case '\f': ++ sb.append("\\f"); ++ break; ++ case '\r': ++ sb.append("\\r"); ++ break; ++ case '"': ++ sb.append("\\\""); ++ break; ++ case '\'': ++ sb.append("\\\'"); ++ break; ++ case '\\': ++ sb.append("\\\\"); ++ break; ++ default: ++ if (ch < 32 || ch >= 127) { ++ sb.append(String.format("\\u%04X", (int)ch)); ++ } else { ++ sb.append(ch); ++ } ++ break; ++ } ++ } ++ return sb.toString(); ++ } ++ ++ /** + * Returns a content tree for the SCRIPT tag for the main page(index.html). + * + * @return a content for the SCRIPT tag +--- langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties 2013-09-06 11:31:06.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties 2014-01-18 12:16:11.000000000 -0800 +@@ -180,6 +180,6 @@ + doclet.0_and_1={0}\u3068{1} + + #Documentation for Enums +-doclet.enum_values_doc=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n<pre>\nfor({0} c: {0}.values())\n System.out.println(c);\n</pre>\n@return\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\n\u542B\u3080\u914D\u5217 ++doclet.enum_values_doc=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n<pre>\nfor({0} c: {0}.values())\n System.out.println(c);\n</pre>\n@return \u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\n\u542B\u3080\u914D\u5217 + +-doclet.enum_valueof_doc=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068<i>\u6B63\u78BA\u306B</i>\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n\n@param name\u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\n@return\u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5217\u6319\u578B\u5B9A\u6570\n@throws IllegalArgumentException\u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5B9A\u6570\u3092\n\u3053\u306E\u5217\u6319\u578B\u304C\u6301\u3063\u3066\u3044\u306A\u3044\u5834\u5408\n@throws NullPointerException\u5F15\u6570\u304Cnull\u306E\u5834\u5408 ++doclet.enum_valueof_doc=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068<i>\u6B63\u78BA\u306B</i>\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n\n@param name \u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\n@return \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5217\u6319\u578B\u5B9A\u6570\n@throws IllegalArgumentException \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5B9A\u6570\u3092\n\u3053\u306E\u5217\u6319\u578B\u304C\u6301\u3063\u3066\u3044\u306A\u3044\u5834\u5408\n@throws NullPointerException \u5F15\u6570\u304Cnull\u306E\u5834\u5408 +--- langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties 2013-09-06 11:31:06.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties 2014-01-18 12:16:11.000000000 -0800 +@@ -182,4 +182,4 @@ + #Documentation for Enums + doclet.enum_values_doc=\n\u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4\u3002\u8BE5\u65B9\u6CD5\u53EF\u7528\u4E8E\u8FED\u4EE3\n\u5E38\u91CF, \u5982\u4E0B\u6240\u793A:\n<pre>\nfor ({0} c : {0}.values())\n System.out.println(c);\n</pre>\n@return \u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4 + +-doclet.enum_valueof_doc=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26<i>\u5B8C\u5168</i>\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002)\n\n@param name \u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002\n@return \u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF\n@throws \u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF, \n\u5219\u629B\u51FA IllegalArgumentException\n@throws \u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C, \u5219\u629B\u51FA NullPointerException ++doclet.enum_valueof_doc=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26<i>\u5B8C\u5168</i>\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002)\n\n@param name \u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002\n@return \u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF\n@throws IllegalArgumentException \u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF, \n\u5219\u629B\u51FA IllegalArgumentException\n@throws NullPointerException \u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C, \u5219\u629B\u51FA NullPointerException +--- langtools/src/share/classes/com/sun/tools/javac/parser/Scanner.java 2013-09-06 11:31:07.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/javac/parser/Scanner.java 2013-12-01 11:13:46.000000000 -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. +- * Copyright (c) 1999, 2011, 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 -@@ -312,8 +312,41 @@ - String scriptCode = DocletConstants.NL + " targetPage = \"\" + window.location.search;" + DocletConstants.NL + - " if (targetPage != \"\" && targetPage != \"undefined\")" + DocletConstants.NL + - " targetPage = targetPage.substring(1);" + DocletConstants.NL + -- " if (targetPage.indexOf(\":\") != -1)" + DocletConstants.NL + -+ " if (targetPage.indexOf(\":\") != -1 || (targetPage != \"\" && !validURL(targetPage)))" + DocletConstants.NL + - " targetPage = \"undefined\";" + DocletConstants.NL + -+ " function validURL(url) {" + DocletConstants.NL + -+ " if (!(url.indexOf(\".html\") == url.length - 5))" + DocletConstants.NL + -+ " return false;" + DocletConstants.NL + -+ " var allowNumber = false;" + DocletConstants.NL + -+ " var allowSep = false;" + DocletConstants.NL + -+ " var seenDot = false;" + DocletConstants.NL + -+ " for (var i = 0; i < url.length - 5; i++) {" + DocletConstants.NL + -+ " var ch = url.charAt(i);" + DocletConstants.NL + -+ " if ('a' <= ch && ch <= 'z' ||" + DocletConstants.NL + -+ " 'A' <= ch && ch <= 'Z' ||" + DocletConstants.NL + -+ " ch == '$' ||" + DocletConstants.NL + -+ " ch == '_') {" + DocletConstants.NL + -+ " allowNumber = true;" + DocletConstants.NL + -+ " allowSep = true;" + DocletConstants.NL + -+ " } else if ('0' <= ch && ch <= '9'" + DocletConstants.NL + -+ " || ch == '-') {" + DocletConstants.NL + -+ " if (!allowNumber)" + DocletConstants.NL + -+ " return false;" + DocletConstants.NL + -+ " } else if (ch == '/' || ch == '.') {" + DocletConstants.NL + -+ " if (!allowSep)" + DocletConstants.NL + -+ " return false;" + DocletConstants.NL + -+ " allowNumber = false;" + DocletConstants.NL + -+ " allowSep = false;" + DocletConstants.NL + -+ " if (ch == '.')" + DocletConstants.NL + -+ " seenDot = true;" + DocletConstants.NL + -+ " if (ch == '/' && seenDot)" + DocletConstants.NL + -+ " return false;" + DocletConstants.NL + -+ " } else {" + DocletConstants.NL + -+ " return false;"+ DocletConstants.NL + -+ " }" + DocletConstants.NL + -+ " }" + DocletConstants.NL + -+ " return true;" + DocletConstants.NL + -+ " }" + DocletConstants.NL + - " function loadFrames() {" + DocletConstants.NL + - " if (targetPage != \"\" && targetPage != \"undefined\")" + DocletConstants.NL + - " top.classFrame.location = top.targetPage;" + DocletConstants.NL + ---- langtools/test/Makefile 2012-08-10 10:39:30.000000000 -0700 -+++ langtools/test/Makefile 2013-06-22 09:42:04.000000000 -0700 +@@ -501,11 +501,10 @@ + private void scanIdent() { + boolean isJavaIdentifierPart; + char high; ++ if (sp == sbuf.length) putChar(ch); else sbuf[sp++] = ch; ++ // optimization, was: putChar(ch); ++ scanChar(); + do { +- if (sp == sbuf.length) putChar(ch); else sbuf[sp++] = ch; +- // optimization, was: putChar(ch); +- +- scanChar(); + switch (ch) { + case 'A': case 'B': case 'C': case 'D': case 'E': + case 'F': case 'G': case 'H': case 'I': case 'J': +@@ -522,6 +521,7 @@ + case '$': case '_': + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': ++ break; + case '\u0000': case '\u0001': case '\u0002': case '\u0003': + case '\u0004': case '\u0005': case '\u0006': case '\u0007': + case '\u0008': case '\u000E': case '\u000F': case '\u0010': +@@ -529,30 +529,37 @@ + case '\u0015': case '\u0016': case '\u0017': + case '\u0018': case '\u0019': case '\u001B': + case '\u007F': +- break; ++ scanChar(); ++ continue; + case '\u001A': // EOI is also a legal identifier part + if (bp >= buflen) { + name = names.fromChars(sbuf, 0, sp); + token = keywords.key(name); + return; + } +- break; ++ scanChar(); ++ continue; + default: + if (ch < '\u0080') { + // all ASCII range chars already handled, above + isJavaIdentifierPart = false; + } else { +- high = scanSurrogates(); +- if (high != 0) { +- if (sp == sbuf.length) { +- putChar(high); ++ if (Character.isIdentifierIgnorable(ch)) { ++ scanChar(); ++ continue; ++ } else { ++ high = scanSurrogates(); ++ if (high != 0) { ++ if (sp == sbuf.length) { ++ putChar(high); ++ } else { ++ sbuf[sp++] = high; ++ } ++ isJavaIdentifierPart = Character.isJavaIdentifierPart( ++ Character.toCodePoint(high, ch)); + } else { +- sbuf[sp++] = high; ++ isJavaIdentifierPart = Character.isJavaIdentifierPart(ch); + } +- isJavaIdentifierPart = Character.isJavaIdentifierPart( +- Character.toCodePoint(high, ch)); +- } else { +- isJavaIdentifierPart = Character.isJavaIdentifierPart(ch); + } + } + if (!isJavaIdentifierPart) { +@@ -561,6 +568,9 @@ + return; + } + } ++ if (sp == sbuf.length) putChar(ch); else sbuf[sp++] = ch; ++ // optimization, was: putChar(ch); ++ scanChar(); + } while (true); + } + +--- langtools/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2013-09-06 11:31:07.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2014-01-18 12:16:11.000000000 -0800 +@@ -555,19 +555,19 @@ + # 0: name + compiler.err.undef.label=\u30E9\u30D9\u30EB{0}\u306F\u672A\u5B9A\u7FA9\u3067\u3059 + +-compiler.err.undetermined.type={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093 ++compiler.err.undetermined.type={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093 + + # 0: type, 1: message segment +-compiler.err.undetermined.type.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1} ++compiler.err.undetermined.type.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1} + + # 0: list of type, 1: message segment +-compiler.err.invalid.inferred.types={0}\u306E\u63A8\u5B9A\u578B\u304C\u7121\u52B9\u3067\u3059\u3002{1} ++compiler.err.invalid.inferred.types={0}\u306E\u63A8\u8AD6\u578B\u304C\u7121\u52B9\u3067\u3059\u3002{1} + + # 0: message segment, 1: unused + compiler.err.cant.apply.diamond={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093 + + # 0: message segment, 1: message segment +-compiler.err.cant.apply.diamond.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1} ++compiler.err.cant.apply.diamond.1={0}\u306E\u578B\u5F15\u6570\u3092\u63A8\u8AD6\u3067\u304D\u307E\u305B\u3093\u3002\n\u7406\u7531: {1} + + compiler.err.unreachable.stmt=\u3053\u306E\u6587\u306B\u5236\u5FA1\u304C\u79FB\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u305B\u3093 + +@@ -1165,7 +1165,7 @@ + compiler.misc.infer.arg.length.mismatch=\u5B9F\u5F15\u6570\u30EA\u30B9\u30C8\u3068\u4EEE\u5F15\u6570\u30EA\u30B9\u30C8\u306E\u9577\u3055\u304C\u7570\u306A\u308B\u305F\u3081\u3001\u5F15\u6570\u304B\u3089\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 + + # 0: type, 1: list of type +-compiler.misc.inferred.do.not.conform.to.bounds=\u63A8\u5B9A\u578B\u306F\u5BA3\u8A00\u3055\u308C\u305F\u5883\u754C\u306B\u9069\u5408\u3057\u307E\u305B\u3093\n\u63A8\u5B9A: {0}\n\u5883\u754C: {1} ++compiler.misc.inferred.do.not.conform.to.bounds=\u63A8\u8AD6\u578B\u306F\u5BA3\u8A00\u3055\u308C\u305F\u5883\u754C\u306B\u9069\u5408\u3057\u307E\u305B\u3093\n\u63A8\u8AD6: {0}\n\u5883\u754C: {1} + + # 0: symbol + compiler.misc.diamond={0}<> +--- langtools/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties 2013-09-06 11:31:08.000000000 -0700 ++++ langtools/src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties 2014-01-18 12:16:11.000000000 -0800 +@@ -90,7 +90,7 @@ + err.prefix=\u30A8\u30E9\u30FC: + err.cant.use.option.for.fm=\u6307\u5B9A\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u30FB\u30DE\u30CD\u30FC\u30B8\u30E3\u3067{0}\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 + err.internal.error=\u5185\u90E8\u30A8\u30E9\u30FC: {0} +-err.ioerror=\u5165\u51FA\u529B\u30A8\u30E9\u30FC: {0} ++err.ioerror=IO\u30A8\u30E9\u30FC: {0} + err.missing.arg={0}\u306E\u5024\u304C\u3042\u308A\u307E\u305B\u3093 + err.no.classes.specified=\u30AF\u30E9\u30B9\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 + err.unknown.option=\u4E0D\u660E\u306A\u30AA\u30D7\u30B7\u30E7\u30F3: {0} +--- langtools/test/Makefile 2013-09-06 11:31:11.000000000 -0700 ++++ langtools/test/Makefile 2014-01-18 12:16:11.000000000 -0800 @@ -42,6 +42,14 @@ ARCH=i586 endif @@ -17330,78 +75458,153 @@ # Root of all test results TEST_OUTPUT_DIR = $(TEST_ROOT)/../build/$(PLATFORM)-$(ARCH)/test/langtools ---- langtools/test/com/sun/javadoc/testJavascript/TestJavascript.java 2012-08-10 10:39:33.000000000 -0700 -+++ langtools/test/com/sun/javadoc/testJavascript/TestJavascript.java 2013-06-22 09:39:33.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2004, 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 4665566 4855876 7025314 -+ * @bug 4665566 4855876 7025314 8012375 - * @summary Verify that the output has the right javascript. - * @author jamieh - * @library ../lib/ -@@ -35,7 +35,7 @@ - public class TestJavascript extends JavadocTester { - - //Test information. -- private static final String BUG_ID = "4665566-4855876"; -+ private static final String BUG_ID = "4665566-4855876-8012375"; - - //Javadoc arguments. - private static final String[] ARGS = new String[] { -@@ -53,8 +53,41 @@ - " targetPage = \"\" + window.location.search;" + NL + - " if (targetPage != \"\" && targetPage != \"undefined\")" + NL + - " targetPage = targetPage.substring(1);" + NL + -- " if (targetPage.indexOf(\":\") != -1)" + NL + -+ " if (targetPage.indexOf(\":\") != -1 || (targetPage != \"\" && !validURL(targetPage)))" + NL + - " targetPage = \"undefined\";" + NL + -+ " function validURL(url) {" + NL + -+ " if (!(url.indexOf(\".html\") == url.length - 5))" + NL + -+ " return false;" + NL + -+ " var allowNumber = false;" + NL + -+ " var allowSep = false;" + NL + -+ " var seenDot = false;" + NL + -+ " for (var i = 0; i < url.length - 5; i++) {" + NL + -+ " var ch = url.charAt(i);" + NL + -+ " if ('a' <= ch && ch <= 'z' ||" + NL + -+ " 'A' <= ch && ch <= 'Z' ||" + NL + -+ " ch == '$' ||" + NL + -+ " ch == '_') {" + NL + -+ " allowNumber = true;" + NL + -+ " allowSep = true;" + NL + -+ " } else if ('0' <= ch && ch <= '9'" + NL + -+ " || ch == '-') {" + NL + -+ " if (!allowNumber)" + NL + -+ " return false;" + NL + -+ " } else if (ch == '/' || ch == '.') {" + NL + -+ " if (!allowSep)" + NL + -+ " return false;" + NL + -+ " allowNumber = false;" + NL + -+ " allowSep = false;" + NL + -+ " if (ch == '.')" + NL + -+ " seenDot = true;" + NL + -+ " if (ch == '/' && seenDot)" + NL + -+ " return false;" + NL + -+ " } else {" + NL + -+ " return false;" + NL + -+ " }" + NL + -+ " }" + NL + -+ " return true;" + NL + -+ " }" + NL + - " function loadFrames() {" + NL + - " if (targetPage != \"\" && targetPage != \"undefined\")" + NL + - " top.classFrame.location = top.targetPage;" + NL + ---- langtools/test/tools/javac/4846262/Test.sh 2012-08-10 10:39:38.000000000 -0700 -+++ langtools/test/tools/javac/4846262/Test.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java 1969-12-31 16:00:00.000000000 -0800 ++++ langtools/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java 2013-12-01 11:13:46.000000000 -0800 +@@ -0,0 +1,82 @@ ++/* ++ * 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 8016675 ++ * @summary Test for window title. ++ * @author Bhavesh Patel ++ * @library ../lib/ ++ * @build JavadocTester TestWindowTitle ++ * @run main TestWindowTitle ++ */ ++ ++public class TestWindowTitle extends JavadocTester { ++ ++ private static final String BUG_ID = "8016675"; ++ private static final String WIN_TITLE = ++ "Testing \"Window 'Title'\" with a \\ backslash and a / " + ++ "forward slash and a \u00e8 unicode char also a tab and also a " + ++ "\t special character another \u0002 unicode)"; ++ private static final String[][] TEST = { ++ {BUG_ID + FS + "overview-summary.html", ++ "parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" " + ++ "with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char " + ++ "also a tab and also a \\t special character another \\u0002 unicode))\";" ++ }, ++ }; ++ private static final String[][] NEG_TEST = { ++ {BUG_ID + FS + "overview-summary.html", ++ "parent.document.title=\"Overview (Testing \"Window \'Title\'\" " + ++ "with a \\ backslash and a / forward slash and a \u00E8 unicode char " + ++ "also a tab and also a \t special character another \u0002 unicode))\";" ++ }, ++ }; ++ private static final String[] ARGS = new String[]{ ++ "-d", BUG_ID, "-windowtitle", WIN_TITLE, "-sourcepath", SRC_DIR, "p1", "p2" ++ }; ++ ++ /** ++ * The entry point of the test. ++ * @param args the array of command line arguments. ++ */ ++ public static void main(String[] args) { ++ TestWindowTitle tester = new TestWindowTitle(); ++ run(tester, ARGS, TEST, NEG_TEST); ++ tester.printSummary(); ++ } ++ ++ /** ++ * {@inheritDoc} ++ */ ++ public String getBugId() { ++ return BUG_ID; ++ } ++ ++ /** ++ * {@inheritDoc} ++ */ ++ public String getBugName() { ++ return getClass().getName(); ++ } ++} +--- langtools/test/com/sun/javadoc/testWindowTitle/p1/C1.java 1969-12-31 16:00:00.000000000 -0800 ++++ langtools/test/com/sun/javadoc/testWindowTitle/p1/C1.java 2013-12-01 11:13:46.000000000 -0800 +@@ -0,0 +1,27 @@ ++/* ++ * 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. ++ */ ++ ++package p1; ++ ++public class C1 { ++} +--- langtools/test/com/sun/javadoc/testWindowTitle/p2/C2.java 1969-12-31 16:00:00.000000000 -0800 ++++ langtools/test/com/sun/javadoc/testWindowTitle/p2/C2.java 2013-12-01 11:13:46.000000000 -0800 +@@ -0,0 +1,27 @@ ++/* ++ * 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. ++ */ ++ ++package p2; ++ ++public class C2 { ++} +--- langtools/test/tools/javac/4846262/Test.sh 2013-09-06 11:31:16.000000000 -0700 ++++ langtools/test/tools/javac/4846262/Test.sh 2014-01-18 12:16:11.000000000 -0800 @@ -44,7 +44,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17411,8 +75614,8 @@ FS="/" ;; CYGWIN* ) ---- langtools/test/tools/javac/6302184/T6302184.sh 2012-08-10 10:39:38.000000000 -0700 -+++ langtools/test/tools/javac/6302184/T6302184.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/6302184/T6302184.sh 2013-09-06 11:31:16.000000000 -0700 ++++ langtools/test/tools/javac/6302184/T6302184.sh 2014-01-18 12:16:11.000000000 -0800 @@ -41,7 +41,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17422,8 +75625,103 @@ FS="/" ;; CYGWIN* ) ---- langtools/test/tools/javac/ClassPathTest/ClassPathTest.sh 2012-08-10 10:39:41.000000000 -0700 -+++ langtools/test/tools/javac/ClassPathTest/ClassPathTest.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/7144981/IgnoreIgnorableCharactersInInput.java 1969-12-31 16:00:00.000000000 -0800 ++++ langtools/test/tools/javac/7144981/IgnoreIgnorableCharactersInInput.java 2013-12-01 11:13:46.000000000 -0800 +@@ -0,0 +1,92 @@ ++ ++/* ++ * @test /nodynamiccopyright/ ++ * @bug 7144981 ++ * @summary javac should ignore ignorable characters in input ++ * @run main IgnoreIgnorableCharactersInInput ++ */ ++ ++import com.sun.source.util.JavacTask; ++import java.io.File; ++import java.net.URI; ++import java.util.Arrays; ++import java.util.Set; ++import java.util.TreeSet; ++import javax.tools.JavaCompiler; ++import javax.tools.JavaFileObject; ++import javax.tools.SimpleJavaFileObject; ++import javax.tools.ToolProvider; ++ ++public class IgnoreIgnorableCharactersInInput { ++ ++ public static void main(String... args) throws Exception { ++ new IgnoreIgnorableCharactersInInput().run(); ++ } ++ ++ void run() throws Exception { ++ JavaCompiler comp = ToolProvider.getSystemJavaCompiler(); ++ File classesDir = new File(System.getProperty("user.dir"), "classes"); ++ classesDir.mkdirs(); ++ JavaSource[] sources = new JavaSource[]{ ++ new JavaSource("TestOneIgnorableChar", "AA\\u0000BB"), ++ new JavaSource("TestMultipleIgnorableChar", "AA\\u0000\\u0000\\u0000BB")}; ++ JavacTask ct = (JavacTask)comp.getTask(null, null, null, ++ Arrays.asList("-d", classesDir.getPath()), ++ null, Arrays.asList(sources)); ++ try { ++ if (!ct.call()) { ++ throw new AssertionError("Error thrown when compiling test cases"); ++ } ++ } catch (Throwable ex) { ++ throw new AssertionError("Error thrown when compiling test cases"); ++ } ++ check(classesDir, ++ "TestOneIgnorableChar.class", ++ "TestOneIgnorableChar$AABB.class", ++ "TestMultipleIgnorableChar.class", ++ "TestMultipleIgnorableChar$AABB.class"); ++ if (errors > 0) ++ throw new AssertionError("There are some errors in the test check the error output"); ++ } ++ ++ /** ++ * Check that a directory contains the expected files. ++ */ ++ void check(File dir, String... paths) { ++ Set<String> found = new TreeSet<String>(Arrays.asList(dir.list())); ++ Set<String> expect = new TreeSet<String>(Arrays.asList(paths)); ++ if (found.equals(expect)) ++ return; ++ for (String f: found) { ++ if (!expect.contains(f)) ++ error("Unexpected file found: " + f); ++ } ++ for (String e: expect) { ++ if (!found.contains(e)) ++ error("Expected file not found: " + e); ++ } ++ } ++ ++ int errors; ++ ++ void error(String msg) { ++ System.err.println(msg); ++ errors++; ++ } ++ ++ class JavaSource extends SimpleJavaFileObject { ++ ++ String internalSource = ++ "public class #O {public class #I {} }"; ++ public JavaSource(String outerClassName, String innerClassName) { ++ super(URI.create(outerClassName + ".java"), JavaFileObject.Kind.SOURCE); ++ internalSource = ++ internalSource.replace("#O", outerClassName).replace("#I", innerClassName); ++ } ++ ++ @Override ++ public CharSequence getCharContent(boolean ignoreEncodingErrors) { ++ return internalSource; ++ } ++ } ++} +--- langtools/test/tools/javac/ClassPathTest/ClassPathTest.sh 2013-09-06 11:31:17.000000000 -0700 ++++ langtools/test/tools/javac/ClassPathTest/ClassPathTest.sh 2014-01-18 12:16:11.000000000 -0800 @@ -56,7 +56,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17433,8 +75731,8 @@ FS="/" ;; Windows* ) ---- langtools/test/tools/javac/ExtDirs/ExtDirs.sh 2012-08-10 10:39:43.000000000 -0700 -+++ langtools/test/tools/javac/ExtDirs/ExtDirs.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/ExtDirs/ExtDirs.sh 2013-09-06 11:31:18.000000000 -0700 ++++ langtools/test/tools/javac/ExtDirs/ExtDirs.sh 2014-01-18 12:16:11.000000000 -0800 @@ -54,7 +54,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17444,8 +75742,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javac/MissingInclude.sh 2012-08-10 10:39:44.000000000 -0700 -+++ langtools/test/tools/javac/MissingInclude.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/MissingInclude.sh 2013-09-06 11:31:19.000000000 -0700 ++++ langtools/test/tools/javac/MissingInclude.sh 2014-01-18 12:16:11.000000000 -0800 @@ -47,7 +47,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17455,8 +75753,8 @@ FS="/" ;; Windows* ) ---- langtools/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh 2012-08-10 10:39:45.000000000 -0700 -+++ langtools/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh 2013-09-06 11:31:20.000000000 -0700 ++++ langtools/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh 2014-01-18 12:16:11.000000000 -0800 @@ -52,7 +52,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17466,8 +75764,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javac/T5090006/compiler.sh 2012-08-10 10:39:47.000000000 -0700 -+++ langtools/test/tools/javac/T5090006/compiler.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/T5090006/compiler.sh 2013-09-06 11:31:20.000000000 -0700 ++++ langtools/test/tools/javac/T5090006/compiler.sh 2014-01-18 12:16:11.000000000 -0800 @@ -47,7 +47,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17477,8 +75775,8 @@ FS="/" ;; Windows* ) ---- langtools/test/tools/javac/apt.sh 2012-08-10 10:39:53.000000000 -0700 -+++ langtools/test/tools/javac/apt.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/apt.sh 2013-09-06 11:31:23.000000000 -0700 ++++ langtools/test/tools/javac/apt.sh 2014-01-18 12:16:11.000000000 -0800 @@ -38,7 +38,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17488,8 +75786,8 @@ NULL=/dev/null PS=":" FS="/" ---- langtools/test/tools/javac/constDebug/ConstDebug.sh 2012-08-10 10:39:55.000000000 -0700 -+++ langtools/test/tools/javac/constDebug/ConstDebug.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/constDebug/ConstDebug.sh 2013-09-06 11:31:24.000000000 -0700 ++++ langtools/test/tools/javac/constDebug/ConstDebug.sh 2014-01-18 12:16:11.000000000 -0800 @@ -47,7 +47,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17499,8 +75797,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javac/fatalErrors/NoJavaLang.sh 2012-08-10 10:40:03.000000000 -0700 -+++ langtools/test/tools/javac/fatalErrors/NoJavaLang.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/fatalErrors/NoJavaLang.sh 2013-09-06 11:31:28.000000000 -0700 ++++ langtools/test/tools/javac/fatalErrors/NoJavaLang.sh 2014-01-18 12:16:11.000000000 -0800 @@ -48,7 +48,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17510,8 +75808,8 @@ FS="/" ;; CYGWIN* ) ---- langtools/test/tools/javac/innerClassFile/Driver.sh 2012-08-10 10:40:14.000000000 -0700 -+++ langtools/test/tools/javac/innerClassFile/Driver.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/innerClassFile/Driver.sh 2013-09-06 11:31:33.000000000 -0700 ++++ langtools/test/tools/javac/innerClassFile/Driver.sh 2014-01-18 12:16:11.000000000 -0800 @@ -53,7 +53,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17521,8 +75819,8 @@ FS="/" ;; Windows* ) ---- langtools/test/tools/javac/javazip/Test.sh 2012-08-10 10:40:14.000000000 -0700 -+++ langtools/test/tools/javac/javazip/Test.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/javazip/Test.sh 2013-09-06 11:31:33.000000000 -0700 ++++ langtools/test/tools/javac/javazip/Test.sh 2014-01-18 12:16:11.000000000 -0800 @@ -41,7 +41,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17532,8 +75830,8 @@ FS="/" SCR=`pwd` ;; ---- langtools/test/tools/javac/links/links.sh 2012-08-10 10:40:15.000000000 -0700 -+++ langtools/test/tools/javac/links/links.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/links/links.sh 2013-09-06 11:31:33.000000000 -0700 ++++ langtools/test/tools/javac/links/links.sh 2014-01-18 12:16:11.000000000 -0800 @@ -53,7 +53,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17543,8 +75841,8 @@ NULL=/dev/null PS=":" FS="/" ---- langtools/test/tools/javac/newlines/Newlines.sh 2012-08-10 10:40:17.000000000 -0700 -+++ langtools/test/tools/javac/newlines/Newlines.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/newlines/Newlines.sh 2013-09-06 11:31:34.000000000 -0700 ++++ langtools/test/tools/javac/newlines/Newlines.sh 2014-01-18 12:16:11.000000000 -0800 @@ -50,7 +50,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17554,129 +75852,8 @@ FS="/" ;; Windows* ) ---- langtools/test/tools/javac/processing/6348499/T6348499.java 2012-08-10 10:40:18.000000000 -0700 -+++ langtools/test/tools/javac/processing/6348499/T6348499.java 2013-04-28 16:29:40.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2006, 2012, 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 -@@ -47,6 +47,7 @@ - public static void main(String... args) { - String testSrc = System.getProperty("test.src", "."); - String testClasses = System.getProperty("test.classes"); -+ String testClassPath = System.getProperty("test.class.path", testClasses); - String A_java = new File(testSrc, "A.java").getPath(); - JavacTool tool = JavacTool.create(); - MyDiagListener dl = new MyDiagListener(); -@@ -55,7 +56,7 @@ - fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrc, "A.java"))); - Iterable<String> opts = Arrays.asList("-proc:only", - "-processor", "A", -- "-processorpath", testClasses); -+ "-processorpath", testClassPath); - StringWriter out = new StringWriter(); - JavacTask task = tool.getTask(out, fm, dl, opts, null, files); - task.call(); ---- langtools/test/tools/javac/processing/6414633/T6414633.java 2012-08-10 10:40:18.000000000 -0700 -+++ langtools/test/tools/javac/processing/6414633/T6414633.java 2013-04-28 16:29:40.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2006, 2012, 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 -@@ -43,20 +43,20 @@ - public static void main(String... args) { - String testSrc = System.getProperty("test.src", "."); - String testClasses = System.getProperty("test.classes", "."); -+ String testClassPath = System.getProperty("test.class.path", testClasses); - - JavacTool tool = JavacTool.create(); - MyDiagListener dl = new MyDiagListener(); - StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, null); - try { -- fm.setLocation(StandardLocation.CLASS_PATH, Arrays.asList(new File(testClasses))); -+ fm.setLocation(StandardLocation.CLASS_PATH, pathToFiles(testClassPath)); - } catch (IOException e) { - throw new AssertionError(e); - } - Iterable<? extends JavaFileObject> files = - fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrc, A.class.getName()+".java"))); - String[] opts = { "-proc:only", -- "-processor", A.class.getName(), -- "-classpath", testClasses + System.getProperty("path.separator") + "../../lib" }; -+ "-processor", A.class.getName() }; - JavacTask task = tool.getTask(null, fm, dl, Arrays.asList(opts), null, files); - task.call(); - -@@ -65,6 +65,15 @@ - throw new AssertionError(dl.diags + " diagnostics reported"); - } - -+ private static List<File> pathToFiles(String path) { -+ List<File> list = new ArrayList<File>(); -+ for (String s: path.split(File.pathSeparator)) { -+ if (!s.isEmpty()) -+ list.add(new File(s)); -+ } -+ return list; -+ } -+ - private static class MyDiagListener implements DiagnosticListener<JavaFileObject> - { - public void report(Diagnostic d) { ---- langtools/test/tools/javac/processing/6430209/T6430209.java 2012-08-10 10:40:18.000000000 -0700 -+++ langtools/test/tools/javac/processing/6430209/T6430209.java 2013-04-28 16:29:40.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2006, 2012, 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 -@@ -56,6 +56,7 @@ - // -proc:only -processor b6341534 -cp . ./src/*.java - String testSrc = System.getProperty("test.src", "."); - String testClasses = System.getProperty("test.classes") + System.getProperty("path.separator") + "../../lib"; -+ String testClassPath = System.getProperty("test.class.path", testClasses); - JavacTool tool = JavacTool.create(); - MyDiagListener dl = new MyDiagListener(); - StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, null); -@@ -64,7 +65,7 @@ - new File(testSrc, "test0.java"), new File(testSrc, "test1.java"))); - Iterable<String> opts = Arrays.asList("-proc:only", - "-processor", "b6341534", -- "-processorpath", testClasses); -+ "-processorpath", testClassPath); - StringWriter out = new StringWriter(); - JavacTask task = tool.getTask(out, fm, dl, opts, null, files); - task.call(); ---- langtools/test/tools/javac/processing/T6920317.java 2012-08-10 10:40:19.000000000 -0700 -+++ langtools/test/tools/javac/processing/T6920317.java 2013-04-28 16:29:40.000000000 -0700 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2010, 2012, 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 -@@ -156,7 +156,9 @@ - String expect = null; - - opts.add("-processorpath"); -- opts.add(System.getProperty("test.classes")); -+ String testClasses = System.getProperty("test.classes"); -+ String testClassPath = System.getProperty("test.class.path", testClasses); -+ opts.add(testClassPath); - opts.add("-processor"); - opts.add(Processor.class.getName()); - opts.add("-proc:only"); ---- langtools/test/tools/javac/stackmap/T4955930.sh 2012-08-10 10:40:22.000000000 -0700 -+++ langtools/test/tools/javac/stackmap/T4955930.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/stackmap/T4955930.sh 2013-09-06 11:31:36.000000000 -0700 ++++ langtools/test/tools/javac/stackmap/T4955930.sh 2014-01-18 12:16:11.000000000 -0800 @@ -41,7 +41,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17686,8 +75863,8 @@ FS="/" ;; Windows_95 | Windows_98 | Windows_NT ) ---- langtools/test/tools/javac/unicode/SupplementaryJavaID6.sh 2012-08-10 10:40:25.000000000 -0700 -+++ langtools/test/tools/javac/unicode/SupplementaryJavaID6.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javac/unicode/SupplementaryJavaID6.sh 2013-09-06 11:31:36.000000000 -0700 ++++ langtools/test/tools/javac/unicode/SupplementaryJavaID6.sh 2014-01-18 12:16:11.000000000 -0800 @@ -55,7 +55,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17697,8 +75874,8 @@ if [ -d /usr/lib/locale/en_US.UTF-8 -o -d /usr/lib/locale/en_US.utf8 ] then ENV="env LANG=en_US.UTF-8" ---- langtools/test/tools/javah/6257087/foo.sh 2012-08-10 10:40:28.000000000 -0700 -+++ langtools/test/tools/javah/6257087/foo.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javah/6257087/foo.sh 2013-09-06 11:31:38.000000000 -0700 ++++ langtools/test/tools/javah/6257087/foo.sh 2014-01-18 12:16:11.000000000 -0800 @@ -41,7 +41,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17708,8 +75885,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javah/ConstMacroTest.sh 2012-08-10 10:40:28.000000000 -0700 -+++ langtools/test/tools/javah/ConstMacroTest.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javah/ConstMacroTest.sh 2013-09-06 11:31:38.000000000 -0700 ++++ langtools/test/tools/javah/ConstMacroTest.sh 2014-01-18 12:16:11.000000000 -0800 @@ -56,7 +56,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17719,8 +75896,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javah/MissingParamClassTest.sh 2012-08-10 10:40:28.000000000 -0700 -+++ langtools/test/tools/javah/MissingParamClassTest.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javah/MissingParamClassTest.sh 2013-09-06 11:31:38.000000000 -0700 ++++ langtools/test/tools/javah/MissingParamClassTest.sh 2014-01-18 12:16:11.000000000 -0800 @@ -58,7 +58,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17730,8 +75907,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javah/ReadOldClass.sh 2012-08-10 10:40:28.000000000 -0700 -+++ langtools/test/tools/javah/ReadOldClass.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javah/ReadOldClass.sh 2013-09-06 11:31:38.000000000 -0700 ++++ langtools/test/tools/javah/ReadOldClass.sh 2014-01-18 12:16:11.000000000 -0800 @@ -43,7 +43,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17741,8 +75918,8 @@ PS=":" FS="/" ;; ---- langtools/test/tools/javap/pathsep.sh 2012-08-10 10:40:29.000000000 -0700 -+++ langtools/test/tools/javap/pathsep.sh 2013-06-22 09:42:04.000000000 -0700 +--- langtools/test/tools/javap/pathsep.sh 2013-09-06 11:31:39.000000000 -0700 ++++ langtools/test/tools/javap/pathsep.sh 2014-01-18 12:16:11.000000000 -0800 @@ -40,7 +40,7 @@ # set platform-dependent variables OS=`uname -s` @@ -17752,214 +75929,3 @@ FS="/" ;; Windows* ) ---- make/scripts/normalizer.pl 2012-08-10 09:07:04.000000000 -0700 -+++ make/scripts/normalizer.pl 1969-12-31 16:00:00.000000000 -0800 -@@ -1,208 +0,0 @@ --#!/usr/bin/perl -- --# --# Copyright (c) 2009, 2012, 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. --# -- --# --# Parses java files: --# 1. Removes from the end of lines spaces and TABs --# 2. Replaces TABs by spaces --# 3. Replaces all NewLine separators by Unix NewLine separators --# 4. Makes one and only one empty line at the end of each file -- --if ($#ARGV < 0) { -- &usage; -- -- die; --} -- --use Cwd 'abs_path'; -- --my @extensions = ("java"); -- --# Read options --my $dirpos = 0; -- --while ($dirpos < $#ARGV) { -- if ($ARGV[$dirpos] eq "-e") { -- @extensions = split(/,/, $ARGV[$dirpos + 1]); -- } else { -- last; -- } -- -- $dirpos += 2; --} -- --if ($dirpos > $#ARGV) { -- &usage; -- -- die; --} -- --use Cwd; --my $currdir = getcwd; -- --my $allfiles = 0; -- --my $filecount = 0; -- --my @tabvalues; -- --# Init tabvalues --push (@tabvalues, " "); -- --for (my $i = 1; $i < 8; $i++) { -- push(@tabvalues, $tabvalues[$i - 1] . " "); --} -- --open(FILELIST, ">$currdir/filelist") or die "Failed while open $currdir/filelist: $!\n"; -- --while ($dirpos <= $#ARGV) { -- use File::Find; -- -- find(\&parse_file, abs_path($ARGV[$dirpos])); -- -- $dirpos += 1; --} -- --close(FILELIST); -- --use Cwd 'chdir'; --chdir $currdir; -- --print "Checked $allfiles file(s)\n"; --print "Modified $filecount file(s)\n"; --print "See results in the file $currdir/filelist\n"; -- --sub parse_file { -- my $filename = $File::Find::name; -- -- # Skip directories -- return if -d; -- -- # Skip SCCS files -- return if ($filename =~ /\/SCCS\//); -- -- # Skip files with invalid extensions -- my $accepted = 0; -- foreach my $ext (@extensions) { -- if ($_ =~ /\.$ext$/i) { -- $accepted = 1; -- -- last; -- } -- } -- return if ($accepted == 0); -- -- use File::Basename; -- my $dirname = dirname($filename); -- -- use Cwd 'chdir'; -- chdir $dirname; -- -- open(FILE, $filename) or die "Failed while open $filename: $!\n"; -- -- # Read file -- my @content; -- my $line; -- my $emptylinescount = 0; -- my $modified = 0; -- -- while ($line = <FILE>) { -- my $originalline = $line; -- -- # Process line -- -- # Remove from the end of the line spaces and return character -- while ($line =~ /\s$/) { -- chop($line); -- } -- -- # Replace TABs -- for (my $i = 0; $i < length($line); $i++) { -- if (substr($line, $i, 1) =~ /\t/) { -- $line = substr($line, 0, $i) . $tabvalues[7 - ($i % 8)] . substr($line, $i + 1); -- } -- } -- -- if (length($line) == 0) { -- $emptylinescount++; -- } else { -- while ($emptylinescount > 0) { -- push(@content, ""); -- -- $emptylinescount--; -- } -- -- push(@content, $line); -- } -- -- if ($originalline ne ($line . "\n")) { -- $modified = 1; -- } -- -- } -- -- $allfiles++; -- -- if ($emptylinescount > 0) { -- $modified = 1; -- } -- -- close(FILE); -- -- if ($modified != 0) { -- # Write file -- open(FILE, ">$filename") or die "Failed while open $filename: $!\n"; -- -- for (my $i = 0; $i <= $#content; $i++) { -- print FILE "$content[$i]\n"; -- } -- -- close(FILE); -- -- # Print name from current dir -- if (index($filename, $currdir) == 0) { -- print FILELIST substr($filename, length($currdir) + 1); -- } else { -- print FILELIST $filename; -- } -- print FILELIST "\n"; -- -- $filecount++; -- -- print "$filename: modified\n"; -- } --} -- --sub usage { -- print "Usage:\n"; -- print " normalizer.pl [-options] <dir> [dir2 dir3 ...]\n"; -- print " Available options:\n"; -- print " -e comma separated files extensions. By default accepts only java files\n"; -- print "\n"; -- print "Examples:\n"; -- print " normalizer.pl -e c,cpp,h,hpp .\n"; --} -- -- |