Date: Sun, 8 Dec 2013 04:11:55 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335863 - in head/java/openjdk7: . files Message-ID: <201312080411.rB84BtWT080568@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glewis Date: Sun Dec 8 04:11:54 2013 New Revision: 335863 URL: http://svnweb.freebsd.org/changeset/ports/335863 Log: . Update to 7u45. Deleted: head/java/openjdk7/files/patch-set-jdk Modified: head/java/openjdk7/Makefile head/java/openjdk7/distinfo (contents, props changed) head/java/openjdk7/files/patch-set head/java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp Modified: head/java/openjdk7/Makefile ============================================================================== --- head/java/openjdk7/Makefile Sun Dec 8 04:11:09 2013 (r335862) +++ head/java/openjdk7/Makefile Sun Dec 8 04:11:54 2013 (r335863) @@ -3,7 +3,6 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER} -PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \ http://download.java.net/jaxp/1.4.5/:jaxp \ @@ -38,12 +37,12 @@ DEBUG_DESC= Enable extra debugging info POLICY_DESC= Install the Unlimited Strength Policy Files TZUPDATE_DESC= Update the time zone data -PORT_MINOR_VERSION= 25 -PORT_BUILD_NUMBER= 15 +PORT_MINOR_VERSION= 45 +PORT_BUILD_NUMBER= 18 JDK_MAJOR_VERSION= 7 -JDK_MINOR_VERSION= 6 -JDK_BUILD_NUMBER= 24 -JDK_BUILD_DATE= 09_aug_2012 +JDK_MINOR_VERSION= 40 +JDK_BUILD_NUMBER= 43 +JDK_BUILD_DATE= 26_aug_2013 JDK_SRC_DISTFILE= ${PORTNAME}-${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}-fcs-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD_DATE} # Use our own version of ant to avoid circular dependencies @@ -104,19 +103,6 @@ BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk7 \ ${LOCALBASE}/openjdk6 \ ${LOCALBASE}/bootstrap-openjdk -SECURITY_ICONS= security-icon-bw16.png \ - security-icon-bw24.png \ - security-icon-bw32.png \ - security-icon-bw48.png \ - security-icon-interim16.png \ - security-icon-interim24.png \ - security-icon-interim32.png \ - security-icon-interim48.png \ - security-icon-yellow16.png \ - security-icon-yellow24.png \ - security-icon-yellow32.png \ - security-icon-yellow48.png - NO_STAGE= yes .include <bsd.port.options.mk> @@ -146,14 +132,6 @@ PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel PATCH= gpatch .endif -post-extract: - # Move icons to their new home. - @${MKDIR} ${WRKSRC}/jdk/src/share/classes/sun/awt/resources -.for icon in ${SECURITY_ICONS} - @${MV} ${WRKSRC}/jdk/src/solaris/classes/sun/awt/X11/${icon} \ - ${WRKSRC}/jdk/src/share/classes/sun/awt/resources/ -.endfor - post-patch: @${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp Modified: head/java/openjdk7/distinfo ============================================================================== --- head/java/openjdk7/distinfo Sun Dec 8 04:11:09 2013 (r335862) +++ head/java/openjdk7/distinfo Sun Dec 8 04:11:54 2013 (r335863) @@ -1,4 +1,4 @@ -SHA256 (openjdk-7u6-fcs-src-b24-09_aug_2012.zip) = 22aec9bcc660d2e6502c9d24e5fdac97da9c4d251dafd87f708bcf6dabbbb431 -SIZE (openjdk-7u6-fcs-src-b24-09_aug_2012.zip) = 103796914 +SHA256 (openjdk-7u40-fcs-src-b43-26_aug_2013.zip) = 00f8ea561876cbcad174ba3ca7a9ae10b50df46a782ac64c2ac57ac357b50596 +SIZE (openjdk-7u40-fcs-src-b43-26_aug_2013.zip) = 104575196 SHA256 (apache-ant-1.8.4-bin.zip) = d49d60bc0468279125e4a0db4d9b6637cab342a4bd736c90c0b71865b26c1479 SIZE (apache-ant-1.8.4-bin.zip) = 8043520 Modified: head/java/openjdk7/files/patch-set ============================================================================== --- head/java/openjdk7/files/patch-set Sun Dec 8 04:11:09 2013 (r335862) +++ head/java/openjdk7/files/patch-set Sun Dec 8 04:11:54 2013 (r335863) @@ -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 2013-12-01 11:13:37.000000000 -0800 @@ -123,6 +123,7 @@ 2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146 3ac30b3852876ccad6bd61697b5f9efa91ca7bc6 jdk7u1-b01 @@ -8,90 +8,71 @@ 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,19 @@ + 3af81bfe320c12758234233da6fa27c3c0ffcdc4 jdk7u40-b42 + 1d53bd8fd2a62bcf336727ebec377ef7498dd4a6 jdk7u40-b43 + dc1e099cd62d250b4a997ce694b47fe2f50d2905 jdk7u40-b60 ++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 +--- 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 2013-12-01 11:13:39.000000000 -0800 @@ -123,6 +123,7 @@ 770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146 36f0efbc66ef8ace3cca8aa8d0c88f3334080f8a jdk7u1-b01 @@ -100,4490 +81,7650 @@ 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 @@ - # --# 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. - # - # 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; +@@ -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,20 @@ + b4a480a039bc19b27bfb5fcbbbf75e651d2718b7 jdk7u40-b42 + e29ea0b297e519010e661603a07bb8d48fa904a2 jdk7u40-b43 + 08737d863a7aa5eb39374b26c9585e1770affe92 jdk7u40-b60 ++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 +--- 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 @@ + + return contents.toString(); + } +- +- public static void main(String[] args) { +- +- 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); +- } +- } +- +- System.out.println("Building name translation for " + remoteInterface); +- try { +- IDLNameTranslator nameTranslator = +- IDLNameTranslatorImpl.get(remoteInterface); +- System.out.println(nameTranslator); +- } catch(IllegalStateException ise) { +- ise.printStackTrace(); +- } +- } + } +--- 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; - import java.util.List ; - import java.util.ArrayList ; -@@ -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>() { + 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 AnyOutputStream run() { -+ return new AnyOutputStream(finalorb); ++ public Void run() { + handler.addInvocationHandler( DynamicStub.class, + dynamicStubHandler ) ; + handler.addInvocationHandler( org.omg.CORBA.Object.class, + dynamicStubHandler ) ; + handler.addInvocationHandler( Object.class, + dynamicStubHandler ) ; ++ return null; + } + }); - } ++ - /** -@@ -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 + // 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/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) 1996, 2006, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1996, 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 -@@ -600,7 +600,8 @@ - } +@@ -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 2013-12-01 11:13:38.000000000 -0800 +@@ -36,6 +36,7 @@ - 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 -@@ -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. - * 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 @@ + 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; - private final void createRepositoryIdHandlers() + public class CompositeInvocationHandlerImpl implements + CompositeInvocationHandler +@@ -46,11 +47,13 @@ + public void addInvocationHandler( Class interf, + InvocationHandler handler ) { -- 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); - } - - private final String internalReadString(int len) { -@@ -588,54 +585,6 @@ - return new String(result, 0, getCharConverter().getNumChars()); - } - -- 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); ++ checkAccess(); + classToInvocationHandler.put( interf, handler ) ; } -@@ -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 -@@ -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. - * 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 @@ - private final void createRepositoryIdHandlers() + public void setDefaultHandler( InvocationHandler handler ) { -- 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(); ++ checkAccess(); + defaultHandler = handler ; } - 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 +@@ -78,4 +81,12 @@ - // 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 -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 2002, 2003, 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 -@@ -196,7 +196,8 @@ + return handler.invoke( proxy, method, args ) ; } - - 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); - 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 ++ ++ private static final DynamicAccessPermission perm = new DynamicAccessPermission("access"); ++ private void checkAccess() { ++ final SecurityManager sm = System.getSecurityManager(); ++ if (sm != null) { ++ sm.checkPermission(perm); ++} ++ } + } +--- 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) 2000, 2010, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. +- * 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 -@@ -86,13 +86,14 @@ - import com.sun.corba.se.impl.encoding.EncapsOutputStream; - - import com.sun.corba.se.impl.orbutil.ORBUtility; --import com.sun.corba.se.impl.orbutil.ORBClassLoader; +@@ -34,6 +34,9 @@ - import com.sun.corba.se.impl.util.RepositoryId; - - import com.sun.corba.se.impl.logging.InterceptorsSystemException; - import com.sun.corba.se.impl.logging.OMGSystemException; + 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; -+import sun.corba.SharedSecrets; + /** - * 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 -@@ -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. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * An IIOP stub/tie generator for rmic. * - * 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); - } - - 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); - } - - 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(); - } +@@ -78,6 +82,7 @@ + protected boolean castArray = false; + protected Hashtable transactionalObjects = new Hashtable() ; + protected boolean POATie = false ; ++ protected boolean emitPermissionCheck = false; -- 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; - } + /** + * 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; *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312080411.rB84BtWT080568>