openadk.patch 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475
  1. diff -Nur icedtea-2.5.3.orig/Makefile.in icedtea-2.5.3/Makefile.in
  2. --- icedtea-2.5.3.orig/Makefile.in 2014-10-14 22:58:02.003534712 -0500
  3. +++ icedtea-2.5.3/Makefile.in 2015-01-17 23:31:24.893466195 -0600
  4. @@ -692,7 +692,7 @@
  5. $(am__append_14) $(am__append_15) $(DISTRIBUTION_PATCHES)
  6. # Bootstrapping patches
  7. -ICEDTEA_BOOT_PATCHES = patches/boot/javafiles.patch \
  8. +ICEDTEA_BOOT_PATCHES = patches/openadk.patch patches/boot/javafiles.patch \
  9. patches/boot/corba-idlj.patch patches/boot/corba-no-gen.patch \
  10. patches/boot/corba-orb.patch patches/boot/demos.patch \
  11. patches/boot/fphexconstants.patch \
  12. @@ -2585,7 +2585,7 @@
  13. stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp
  14. @BUILD_JAMVM_TRUE@ cd jamvm/jamvm && \
  15. @BUILD_JAMVM_TRUE@ ./autogen.sh --with-java-runtime-library=openjdk7 \
  16. -@BUILD_JAMVM_TRUE@ --prefix=$(abs_top_builddir)/jamvm/install ; \
  17. +@BUILD_JAMVM_TRUE@ --prefix=$(abs_top_builddir)/jamvm/install $(CONFIGURE_ARGS); \
  18. @BUILD_JAMVM_TRUE@ $(MAKE) ; \
  19. @BUILD_JAMVM_TRUE@ $(MAKE) install
  20. @BUILD_JAMVM_TRUE@ mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
  21. diff -Nur icedtea-2.5.3.orig/patches/openadk.patch icedtea-2.5.3/patches/openadk.patch
  22. --- icedtea-2.5.3.orig/patches/openadk.patch 1969-12-31 18:00:00.000000000 -0600
  23. +++ icedtea-2.5.3/patches/openadk.patch 2015-01-19 11:28:19.304281493 -0600
  24. @@ -0,0 +1,1450 @@
  25. +diff -Nur openjdk.orig/hotspot/make/linux/makefiles/zeroshark.make openjdk/hotspot/make/linux/makefiles/zeroshark.make
  26. +--- openjdk.orig/hotspot/make/linux/makefiles/zeroshark.make 2014-05-20 21:50:38.000000000 -0500
  27. ++++ openjdk/hotspot/make/linux/makefiles/zeroshark.make 2015-01-17 21:09:09.641544482 -0600
  28. +@@ -39,20 +39,20 @@
  29. +
  30. + offsets_arm.s: mkoffsets
  31. + @echo Generating assembler offsets
  32. +- ./mkoffsets > $@
  33. ++ $(QEMU) ./mkoffsets > $@
  34. +
  35. + bytecodes_arm.s: bytecodes_arm.def mkbc
  36. + @echo Generating ARM assembler bytecode sequences
  37. +- $(CXX_COMPILE) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE)
  38. ++ $(CXX_COMPILE) -E -x c++ - < $< | $(QEMU) ./mkbc - $@ $(COMPILE_DONE)
  39. +
  40. + mkbc: $(GAMMADIR)/tools/mkbc.c
  41. + @echo Compiling mkbc tool
  42. +- $(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
  43. ++ $(CC_COMPILE) -static -o $@ $< $(COMPILE_DONE)
  44. +
  45. + mkoffsets: asm_helper.cpp
  46. + @echo Compiling offset generator
  47. + $(QUIETLY) $(REMOVE_TARGET)
  48. +- $(CXX_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
  49. ++ $(CXX_COMPILE) -static -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
  50. +
  51. + endif
  52. + endif
  53. +diff -Nur openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
  54. +--- openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp 2014-05-20 21:50:38.000000000 -0500
  55. ++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2015-01-17 21:09:09.645544482 -0600
  56. +@@ -112,7 +112,6 @@
  57. + # include <string.h>
  58. + # include <syscall.h>
  59. + # include <sys/sysinfo.h>
  60. +-# include <gnu/libc-version.h>
  61. + # include <sys/ipc.h>
  62. + # include <sys/shm.h>
  63. + # include <link.h>
  64. +@@ -664,9 +663,7 @@
  65. + os::Linux::set_glibc_version(str);
  66. + } else {
  67. + // _CS_GNU_LIBC_VERSION is not supported, try gnu_get_libc_version()
  68. +- static char _gnu_libc_version[32];
  69. +- jio_snprintf(_gnu_libc_version, sizeof(_gnu_libc_version),
  70. +- "glibc %s %s", gnu_get_libc_version(), gnu_get_libc_release());
  71. ++ static char _gnu_libc_version[32] = "2.9";
  72. + os::Linux::set_glibc_version(_gnu_libc_version);
  73. + }
  74. +
  75. +@@ -2948,10 +2945,7 @@
  76. + // If we are running with earlier version, which did not have symbol versions,
  77. + // we should use the base version.
  78. + void* os::Linux::libnuma_dlsym(void* handle, const char *name) {
  79. +- void *f = dlvsym(handle, name, "libnuma_1.1");
  80. +- if (f == NULL) {
  81. +- f = dlsym(handle, name);
  82. +- }
  83. ++ void *f = dlsym(handle, name);
  84. + return f;
  85. + }
  86. +
  87. +@@ -5612,7 +5606,21 @@
  88. + // Linux doesn't yet have a (official) notion of processor sets,
  89. + // so just return the system wide load average.
  90. + int os::loadavg(double loadavg[], int nelem) {
  91. +- return ::getloadavg(loadavg, nelem);
  92. ++ FILE *LOADAVG;
  93. ++ double avg[3] = { 0.0, 0.0, 0.0 };
  94. ++ int i, res = -1;;
  95. ++
  96. ++ if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
  97. ++ fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
  98. ++ res = 0;
  99. ++ fclose(LOADAVG);
  100. ++ }
  101. ++
  102. ++ for (i = 0; (i < nelem) && (i < 3); i++) {
  103. ++ loadavg[i] = avg[i];
  104. ++ }
  105. ++
  106. ++ return res;
  107. + }
  108. +
  109. + void os::pause() {
  110. +diff -Nur openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
  111. +--- openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2014-05-20 21:50:38.000000000 -0500
  112. ++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2015-01-17 21:09:09.645544482 -0600
  113. +@@ -253,7 +253,7 @@
  114. + #elif defined(__APPLE__)
  115. + inline int g_isnan(double f) { return isnan(f); }
  116. + #elif defined(LINUX) || defined(_ALLBSD_SOURCE)
  117. +-inline int g_isnan(float f) { return isnanf(f); }
  118. ++inline int g_isnan(float f) { return __isnanf(f); }
  119. + inline int g_isnan(double f) { return isnan(f); }
  120. + #else
  121. + #error "missing platform-specific definition here"
  122. +@@ -267,8 +267,8 @@
  123. +
  124. + // Checking for finiteness
  125. +
  126. +-inline int g_isfinite(jfloat f) { return finite(f); }
  127. +-inline int g_isfinite(jdouble f) { return finite(f); }
  128. ++inline int g_isfinite(jfloat f) { return isfinite(f); }
  129. ++inline int g_isfinite(jdouble f) { return isfinite(f); }
  130. +
  131. +
  132. + // Wide characters
  133. +diff -Nur openjdk.orig/jdk/make/com/sun/java/pack/Makefile openjdk/jdk/make/com/sun/java/pack/Makefile
  134. +--- openjdk.orig/jdk/make/com/sun/java/pack/Makefile 2014-10-01 21:17:19.000000000 -0500
  135. ++++ openjdk/jdk/make/com/sun/java/pack/Makefile 2015-01-17 21:09:09.645544482 -0600
  136. +@@ -79,7 +79,7 @@
  137. + OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB
  138. + endif
  139. + else
  140. +- OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI
  141. ++ CXXFLAGS_COMMON += -DNO_ZLIB -DUNPACK_JNI
  142. + OTHER_LDLIBS += $(JVMLIB)
  143. + endif
  144. +
  145. +diff -Nur openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile openjdk/jdk/make/com/sun/nio/sctp/Makefile
  146. +--- openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile 2014-10-01 21:17:19.000000000 -0500
  147. ++++ openjdk/jdk/make/com/sun/nio/sctp/Makefile 2015-01-17 21:09:09.645544482 -0600
  148. +@@ -64,7 +64,7 @@
  149. + COMPILER_WARNINGS_FATAL=true
  150. + endif
  151. + #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
  152. +-OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl
  153. ++OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -ljavanet -lpthread -ldl
  154. + endif
  155. + ifeq ($(PLATFORM), solaris)
  156. + #LIBSCTP = -lsctp
  157. +diff -Nur openjdk.orig/jdk/make/common/Defs.gmk openjdk/jdk/make/common/Defs.gmk
  158. +--- openjdk.orig/jdk/make/common/Defs.gmk 2014-10-01 21:17:19.000000000 -0500
  159. ++++ openjdk/jdk/make/common/Defs.gmk 2015-01-17 21:09:09.649544482 -0600
  160. +@@ -207,7 +207,7 @@
  161. + ifeq ($(PLATFORM), macosx)
  162. + FREETYPE_HEADERS_PATH = /usr/X11R6/include
  163. + else
  164. +- FREETYPE_HEADERS_PATH = /usr/include
  165. ++ FREETYPE_HEADERS_PATH = /usr/include/disabled
  166. + endif
  167. + endif
  168. + endif
  169. +diff -Nur openjdk.orig/jdk/make/common/Sanity.gmk openjdk/jdk/make/common/Sanity.gmk
  170. +--- openjdk.orig/jdk/make/common/Sanity.gmk 2014-10-01 21:17:19.000000000 -0500
  171. ++++ openjdk/jdk/make/common/Sanity.gmk 2015-01-17 21:09:09.649544482 -0600
  172. +@@ -91,8 +91,7 @@
  173. + sane-ld_run_path \
  174. + sane-alt_bootdir \
  175. + sane-bootdir \
  176. +- sane-local-bootdir \
  177. +- sane-alsa-headers
  178. ++ sane-local-bootdir
  179. +
  180. + ifdef OPENJDK
  181. + sanity-all:: sane-freetype
  182. +diff -Nur openjdk.orig/jdk/make/common/shared/Defs-utils.gmk openjdk/jdk/make/common/shared/Defs-utils.gmk
  183. +--- openjdk.orig/jdk/make/common/shared/Defs-utils.gmk 2014-10-01 21:17:19.000000000 -0500
  184. ++++ openjdk/jdk/make/common/shared/Defs-utils.gmk 2015-01-19 11:27:10.932282117 -0600
  185. +@@ -157,13 +157,13 @@
  186. + TRUE = $(UTILS_COMMAND_PATH)true
  187. + UNAME = $(UTILS_COMMAND_PATH)uname
  188. + UNIQ = $(UTILS_USR_BIN_PATH)uniq
  189. +-UNZIP = $(UTILS_USR_BIN_PATH)unzip
  190. ++UNZIP = unzip
  191. + UNZIPSFX = $(UTILS_DEVTOOL_PATH)unzipsfx
  192. + XARGS = $(UTILS_USR_BIN_PATH)xargs
  193. + WC = $(UTILS_USR_BIN_PATH)wc
  194. + WHICH = $(UTILS_USR_BIN_PATH)which
  195. + YACC = $(UTILS_CCS_BIN_PATH)yacc
  196. +-ZIPEXE = $(UTILS_DEVTOOL_PATH)zip
  197. ++ZIPEXE = zip
  198. +
  199. + # Special cases
  200. + #RM is defined by GNU Make as 'rm -f'
  201. +diff -Nur openjdk.orig/jdk/make/common/shared/Platform.gmk openjdk/jdk/make/common/shared/Platform.gmk
  202. +--- openjdk.orig/jdk/make/common/shared/Platform.gmk 2014-10-01 21:17:19.000000000 -0500
  203. ++++ openjdk/jdk/make/common/shared/Platform.gmk 2015-01-17 21:09:09.649544482 -0600
  204. +@@ -170,9 +170,6 @@
  205. + else
  206. + mach := $(shell uname -m)
  207. + endif
  208. +- ifneq (,$(wildcard /usr/bin/dpkg-architecture))
  209. +- mach := $(shell (dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/arm64/aarch64/;s/powerpc$$/ppc/;s/hppa/parisc/;s/ppc64el/ppc64le/')
  210. +- endif
  211. + archExpr = case "$(mach)" in \
  212. + i[3-9]86) \
  213. + echo i586 \
  214. +diff -Nur openjdk.orig/jdk/make/common/shared/Sanity.gmk openjdk/jdk/make/common/shared/Sanity.gmk
  215. +--- openjdk.orig/jdk/make/common/shared/Sanity.gmk 2014-10-01 21:17:19.000000000 -0500
  216. ++++ openjdk/jdk/make/common/shared/Sanity.gmk 2015-01-17 21:09:09.649544482 -0600
  217. +@@ -114,11 +114,6 @@
  218. + elif [ -f /etc/lsb-release ] ; then \
  219. + $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
  220. + fi)
  221. +- ALSA_INCLUDE=/usr/include/alsa/version.h
  222. +- ALSA_LIBRARY=/usr/lib/libasound.so
  223. +- _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
  224. +- $(SED) -e 's@.*"\(.*\)".*@\1@' )
  225. +- ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
  226. + endif
  227. +
  228. + ifeq ($(PLATFORM), macosx)
  229. +@@ -225,7 +220,6 @@
  230. + sane-compiler \
  231. + sane-link \
  232. + sane-cacerts \
  233. +- sane-alsa-headers \
  234. + sane-ant_version \
  235. + sane-zip_version \
  236. + sane-unzip_version \
  237. +@@ -1381,34 +1375,6 @@
  238. + endif
  239. + endif
  240. +
  241. +-######################################################
  242. +-# Check that ALSA headers and libs are installed and
  243. +-# that the header has the right version. We only
  244. +-# need /usr/include/alsa/version.h and /usr/lib/libasound.so
  245. +-######################################################
  246. +-
  247. +-ifdef REQUIRED_ALSA_VERSION
  248. +- ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
  249. +-endif
  250. +-sane-alsa-headers:
  251. +-ifdef REQUIRED_ALSA_VERSION
  252. +- @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
  253. +- if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
  254. +- $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
  255. +- " You have the following ALSA version installed: $${alsa_version} \n" \
  256. +- " Please reinstall ALSA (drivers and lib). You can download \n" \
  257. +- " the source distribution from http://www.alsa-project.org \n" \
  258. +- " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  259. +- "" >> $(ERROR_FILE) ; \
  260. +- fi ; \
  261. +- else \
  262. +- $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
  263. +- " Please install ALSA (drivers and lib). You can download the \n" \
  264. +- " source distribution from http://www.alsa-project.org or go to \n" \
  265. +- " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  266. +- "" >> $(ERROR_FILE) ; \
  267. +- fi
  268. +-endif
  269. +
  270. + # If a sanity file doesn't exist, just make sure it's dir exists
  271. + $(SANITY_FILES):
  272. +diff -Nur openjdk.orig/jdk/make/java/net/Makefile openjdk/jdk/make/java/net/Makefile
  273. +--- openjdk.orig/jdk/make/java/net/Makefile 2014-10-01 21:17:19.000000000 -0500
  274. ++++ openjdk/jdk/make/java/net/Makefile 2015-01-17 21:09:09.649544482 -0600
  275. +@@ -25,7 +25,7 @@
  276. +
  277. + BUILDDIR = ../..
  278. + PACKAGE = java.net
  279. +-LIBRARY = net
  280. ++LIBRARY = javanet
  281. + PRODUCT = sun
  282. + include $(BUILDDIR)/common/Defs.gmk
  283. +
  284. +diff -Nur openjdk.orig/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
  285. +--- openjdk.orig/jdk/make/java/nio/Makefile 2014-10-01 21:17:19.000000000 -0500
  286. ++++ openjdk/jdk/make/java/nio/Makefile 2015-01-17 21:09:09.653544482 -0600
  287. +@@ -403,7 +403,7 @@
  288. + endif
  289. +
  290. + ifeq ($(PLATFORM), linux)
  291. +- OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread $(LIBDL)
  292. ++ OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -ljavanet -lpthread $(LIBDL)
  293. + ifeq ($(SYSTEM_GIO), true)
  294. + OTHER_LDLIBS += $(GIO_LIBS)
  295. + OTHER_INCLUDES += $(GIO_CFLAGS) -DUSE_SYSTEM_GIO
  296. +@@ -960,7 +960,7 @@
  297. +
  298. + $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)
  299. + $(prep-target)
  300. +- ($(CD) $(TEMPDIR); $(NIO_CC) $(CPPFLAGS) $(LDDFLAGS) \
  301. ++ ($(CD) $(TEMPDIR); $(HOST_CC) $(CPPFLAGS_FOR_BUILD) $(LDDFLAGS) \
  302. + -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC))
  303. +
  304. + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
  305. +@@ -996,7 +996,7 @@
  306. +
  307. + $(GENUC_EXE) : $(GENUC_SRC)
  308. + $(prep-target)
  309. +- $(NIO_CC) $(CPPFLAGS) -o $@ $(GENUC_SRC)
  310. ++ $(HOST_CC) $(CPPFLAGS_FOR_BUILD) -o $@ $(GENUC_SRC)
  311. +
  312. + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
  313. + $(SFS_GEN)/UnixConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/UnixConstants-$(PLATFORM)-$(ARCH).java
  314. +diff -Nur openjdk.orig/jdk/make/sun/awt/mawt.gmk openjdk/jdk/make/sun/awt/mawt.gmk
  315. +--- openjdk.orig/jdk/make/sun/awt/mawt.gmk 2014-10-01 21:17:19.000000000 -0500
  316. ++++ openjdk/jdk/make/sun/awt/mawt.gmk 2015-01-17 21:09:09.653544482 -0600
  317. +@@ -151,22 +151,6 @@
  318. + #endif
  319. +
  320. + LIBXTST = -lXtst
  321. +-ifeq ($(PLATFORM), linux)
  322. +- ifeq ($(ARCH_DATA_MODEL), 64)
  323. +- # XXX what about the rest of them?
  324. +- LIBXT = -lXt
  325. +- else
  326. +- # Allows for builds on Debian GNU Linux, X11 is in a different place
  327. +- LIBXT = $(firstword $(wildcard $(OPENWIN_LIB)/libXt.a) \
  328. +- $(wildcard /usr/lib/libXt.a))
  329. +- LIBSM = $(firstword $(wildcard $(OPENWIN_LIB)/libSM.a) \
  330. +- $(wildcard /usr/lib/libSM.a))
  331. +- LIBICE = $(firstword $(wildcard $(OPENWIN_LIB)/libICE.a) \
  332. +- $(wildcard /usr/lib/libICE.a))
  333. +- LIBXTST = $(firstword $(wildcard $(OPENWIN_LIB)/libXtst.a) \
  334. +- $(wildcard /usr/lib/libXtst.a))
  335. +- endif
  336. +-endif
  337. +
  338. + # Use -lXmu for EditRes support
  339. + LIBXMU_DBG = -lXmu
  340. +@@ -181,7 +165,7 @@
  341. + OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH
  342. + # XXX what is this define below? Isn't it motif-related?
  343. + OTHER_CFLAGS += -DXMSTRINGDEFINES=1
  344. +-OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext $(LIBXT) $(LIBSM) $(LIBICE) -lX11 -lXi
  345. ++OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext -lXt -lSM -lICE -lX11 -lXi
  346. + endif
  347. +
  348. + endif
  349. +@@ -231,11 +215,6 @@
  350. + CPPFLAGS += -I$(PLATFORM_SRC)/native/common/deps/fontconfig2
  351. + endif
  352. +
  353. +-ifndef HEADLESS
  354. +-CPPFLAGS += -I$(OPENWIN_HOME)/include
  355. +-LDFLAGS += -L$(OPENWIN_LIB)
  356. +-
  357. +-endif # !HEADLESS
  358. +
  359. + CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \
  360. + -I$(SHARE_SRC)/native/$(PKGDIR)/../font \
  361. +@@ -270,11 +249,6 @@
  362. + endif # !HEADLESS
  363. + endif # PLATFORM
  364. +
  365. +-ifeq ($(PLATFORM), linux)
  366. +- # Checking for the X11/extensions headers at the additional location
  367. +- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
  368. +- $(wildcard /usr/include/X11/extensions))
  369. +-endif
  370. +
  371. + ifeq ($(PLATFORM), macosx)
  372. + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
  373. +diff -Nur openjdk.orig/jdk/make/sun/xawt/Makefile openjdk/jdk/make/sun/xawt/Makefile
  374. +--- openjdk.orig/jdk/make/sun/xawt/Makefile 2014-10-01 21:17:19.000000000 -0500
  375. ++++ openjdk/jdk/make/sun/xawt/Makefile 2015-01-17 21:09:09.653544482 -0600
  376. +@@ -295,16 +295,10 @@
  377. + SIZERS = $(SIZER).32
  378. + SIZERS_C = $(SIZER_32_C)
  379. + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
  380. +-ifdef CROSS_COMPILE_ARCH
  381. +-CFLAGS_32 = -m32
  382. +-endif
  383. + else # !32
  384. + SIZERS = $(SIZER).64
  385. + SIZERS_C = $(SIZER_64_C)
  386. + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
  387. +-ifdef CROSS_COMPILE_ARCH
  388. +-CFLAGS_64 = -m64
  389. +-endif
  390. + endif # 32
  391. + endif # !macosx
  392. + endif # solaris
  393. +@@ -340,11 +334,7 @@
  394. + WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
  395. + XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
  396. +
  397. +-ifndef CROSS_COMPILE_ARCH
  398. +-SIZERS_CC = $(CC)
  399. +-else
  400. +-SIZERS_CC = $(HOST_CC)
  401. +-endif
  402. ++SIZERS_CC = $(CC) -static
  403. +
  404. + $(SIZERS): $(SIZERS_C)
  405. + $(prep-target)
  406. +@@ -367,7 +357,7 @@
  407. + $(CHMOD) +w $@;\
  408. + else \
  409. + $(ECHO) GENERATING $@; \
  410. +- $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  411. ++ $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  412. + fi
  413. + @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \
  414. + $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \
  415. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
  416. +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2014-10-01 21:17:19.000000000 -0500
  417. ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2015-01-17 21:09:09.653544482 -0600
  418. +@@ -69,7 +69,7 @@
  419. + */
  420. + static {
  421. + java.security.AccessController.doPrivileged(
  422. +- new sun.security.action.LoadLibraryAction("net"));
  423. ++ new sun.security.action.LoadLibraryAction("javanet"));
  424. + init();
  425. + }
  426. +
  427. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java
  428. +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2014-10-01 21:17:19.000000000 -0500
  429. ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2015-01-17 21:09:09.653544482 -0600
  430. +@@ -78,7 +78,7 @@
  431. + */
  432. + static {
  433. + java.security.AccessController.doPrivileged(
  434. +- new sun.security.action.LoadLibraryAction("net"));
  435. ++ new sun.security.action.LoadLibraryAction("javanet"));
  436. + }
  437. +
  438. + /**
  439. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java openjdk/jdk/src/share/classes/java/net/DatagramPacket.java
  440. +--- openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java 2014-10-01 21:17:19.000000000 -0500
  441. ++++ openjdk/jdk/src/share/classes/java/net/DatagramPacket.java 2015-01-17 21:09:09.657544482 -0600
  442. +@@ -47,7 +47,7 @@
  443. + */
  444. + static {
  445. + java.security.AccessController.doPrivileged(
  446. +- new sun.security.action.LoadLibraryAction("net"));
  447. ++ new sun.security.action.LoadLibraryAction("javanet"));
  448. + init();
  449. + }
  450. +
  451. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java openjdk/jdk/src/share/classes/java/net/InetAddress.java
  452. +--- openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java 2014-10-01 21:17:19.000000000 -0500
  453. ++++ openjdk/jdk/src/share/classes/java/net/InetAddress.java 2015-01-17 21:09:09.657544482 -0600
  454. +@@ -267,7 +267,7 @@
  455. + static {
  456. + preferIPv6Address = java.security.AccessController.doPrivileged(
  457. + new GetBooleanAction("java.net.preferIPv6Addresses")).booleanValue();
  458. +- AccessController.doPrivileged(new LoadLibraryAction("net"));
  459. ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
  460. + init();
  461. + }
  462. +
  463. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java openjdk/jdk/src/share/classes/java/net/NetworkInterface.java
  464. +--- openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java 2014-10-01 21:17:19.000000000 -0500
  465. ++++ openjdk/jdk/src/share/classes/java/net/NetworkInterface.java 2015-01-17 21:09:09.657544482 -0600
  466. +@@ -53,7 +53,7 @@
  467. + private static final int defaultIndex; /* index of defaultInterface */
  468. +
  469. + static {
  470. +- AccessController.doPrivileged(new LoadLibraryAction("net"));
  471. ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
  472. + init();
  473. + defaultInterface = DefaultInterface.getDefault();
  474. + if (defaultInterface != null) {
  475. +diff -Nur openjdk.orig/jdk/src/share/classes/java/util/CurrencyData.properties openjdk/jdk/src/share/classes/java/util/CurrencyData.properties
  476. +--- openjdk.orig/jdk/src/share/classes/java/util/CurrencyData.properties 2014-10-01 21:17:19.000000000 -0500
  477. ++++ openjdk/jdk/src/share/classes/java/util/CurrencyData.properties 2015-01-17 21:11:08.833543391 -0600
  478. +@@ -1,5 +1,5 @@
  479. + #
  480. +-# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
  481. ++# Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  482. + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  483. + #
  484. + # This code is free software; you can redistribute it and/or modify it
  485. +@@ -26,10 +26,9 @@
  486. + formatVersion=1
  487. +
  488. + # Version of the currency code information in this class.
  489. +-# It is a serial number that accompanies with each amendment, such as
  490. +-# 'MAxxx.doc'
  491. ++# It is a serial number that accompanies with each amendment.
  492. +
  493. +-dataVersion=151
  494. ++dataVersion=159
  495. +
  496. + # List of all valid ISO 4217 currency codes.
  497. + # To ensure compatibility, do not remove codes.
  498. +@@ -49,11 +48,12 @@
  499. + NIO558-NLG528-NOK578-NPR524-NZD554-OMR512-PAB590-PEN604-PGK598-PHP608-\
  500. + PKR586-PLN985-PTE620-PYG600-QAR634-ROL946-RON946-RSD941-RUB643-RUR810-RWF646-SAR682-\
  501. + SBD090-SCR690-SDD736-SDG938-SEK752-SGD702-SHP654-SIT705-SKK703-SLL694-SOS706-\
  502. +- SRD968-SRG740-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
  503. ++ SRD968-SRG740-SSP728-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
  504. + TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-\
  505. + UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
  506. + XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-\
  507. +- XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWL932-ZWN942-ZWR935
  508. ++ XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZMW967-ZWD716-ZWL932-\
  509. ++ ZWN942-ZWR935
  510. +
  511. +
  512. + # Mappings from ISO 3166 country codes to ISO 4217 currency codes.
  513. +@@ -71,7 +71,7 @@
  514. + #
  515. + # The table is based on the following web sites:
  516. + # http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/db_en.html
  517. +-# http://www.bsi-global.com/iso4217currency
  518. ++# http://www.currency-iso.org/iso_index/iso_tables.htm
  519. + # http://www.cia.gov/cia/publications/factbook/indexgeo.html
  520. +
  521. + # AFGHANISTAN
  522. +@@ -105,7 +105,7 @@
  523. + # AUSTRIA
  524. + AT=EUR
  525. + # AZERBAIJAN
  526. +-AZ=AZM;2005-12-31-20-00-00;AZN
  527. ++AZ=AZN
  528. + # BAHAMAS
  529. + BS=BSD
  530. + # BAHRAIN
  531. +@@ -378,7 +378,7 @@
  532. + # MOROCCO
  533. + MA=MAD
  534. + # MOZAMBIQUE
  535. +-MZ=MZM;2006-06-30-22-00-00;MZN
  536. ++MZ=MZN
  537. + # MYANMAR
  538. + MM=MMK
  539. + # NAMIBIA
  540. +@@ -440,7 +440,7 @@
  541. + # REUNION
  542. + RE=EUR
  543. + # ROMANIA
  544. +-RO=ROL;2005-06-30-21-00-00;RON
  545. ++RO=RON
  546. + # RUSSIAN FEDERATION
  547. + RU=RUB
  548. + # RWANDA
  549. +@@ -463,6 +463,8 @@
  550. + WS=WST
  551. + # SAN MARINO
  552. + SM=EUR
  553. ++# SOUTH SUDAN
  554. ++SS=SSP
  555. + # SAO TOME AND PRINCIPE
  556. + ST=STD
  557. + # SAUDI ARABIA
  558. +@@ -532,7 +534,7 @@
  559. + # TUNISIA
  560. + TN=TND
  561. + # TURKEY
  562. +-TR=TRL;2004-12-31-22-00-00;TRY
  563. ++TR=TRY
  564. + # TURKMENISTAN
  565. + TM=TMT
  566. + # TURKS AND CAICOS ISLANDS
  567. +@@ -558,7 +560,7 @@
  568. + # VANUATU
  569. + VU=VUV
  570. + # VENEZUELA
  571. +-VE=VEB;2008-01-01-04-00-00;VEF
  572. ++VE=VEF
  573. + # VIET NAM
  574. + VN=VND
  575. + # VIRGIN ISLANDS, BRITISH
  576. +@@ -572,7 +574,7 @@
  577. + # YEMEN
  578. + YE=YER
  579. + # ZAMBIA
  580. +-ZM=ZMK
  581. ++ZM=ZMW
  582. + # ZIMBABWE
  583. + ZW=ZWL
  584. +
  585. +@@ -583,7 +585,7 @@
  586. + minor0=\
  587. + ADP-BEF-BIF-BYB-BYR-CLF-CLP-DJF-ESP-GNF-\
  588. + GRD-ISK-ITL-JPY-KMF-KRW-LUF-MGF-PYG-PTE-RWF-\
  589. +- TPE-TRL-VUV-XAF-XOF-XPF
  590. ++ TPE-TRL-UGX-VND-VUV-XAF-XOF-XPF
  591. + minor1=
  592. + minor3=\
  593. + BHD-IQD-JOD-KWD-LYD-OMR-TND
  594. +diff -Nur openjdk.orig/jdk/src/share/classes/java/util/LocaleISOData.java openjdk/jdk/src/share/classes/java/util/LocaleISOData.java
  595. +--- openjdk.orig/jdk/src/share/classes/java/util/LocaleISOData.java 2014-10-01 21:17:19.000000000 -0500
  596. ++++ openjdk/jdk/src/share/classes/java/util/LocaleISOData.java 2015-01-17 21:09:30.541544290 -0600
  597. +@@ -1,5 +1,5 @@
  598. + /*
  599. +- * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
  600. ++ * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
  601. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  602. + *
  603. + * This code is free software; you can redistribute it and/or modify it
  604. +@@ -433,6 +433,7 @@
  605. + + "SN" + "SEN" // Senegal, Republic of
  606. + + "SO" + "SOM" // Somalia, Somali Republic
  607. + + "SR" + "SUR" // Suriname, Republic of
  608. ++ + "SS" + "SSD" // South Sudan
  609. + + "ST" + "STP" // Sao Tome and Principe, Democratic Republic of
  610. + + "SV" + "SLV" // El Salvador, Republic of
  611. + + "SX" + "SXM" // Sint Maarten (Dutch part)
  612. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java
  613. +--- openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2014-10-01 21:17:19.000000000 -0500
  614. ++++ openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2015-01-17 21:09:09.657544482 -0600
  615. +@@ -76,6 +76,6 @@
  616. +
  617. + static {
  618. + AccessController.doPrivileged(
  619. +- new sun.security.action.LoadLibraryAction("net"));
  620. ++ new sun.security.action.LoadLibraryAction("javanet"));
  621. + }
  622. + }
  623. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java
  624. +--- openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2014-10-01 21:17:19.000000000 -0500
  625. ++++ openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2015-01-17 21:09:09.657544482 -0600
  626. +@@ -95,7 +95,7 @@
  627. + }});
  628. + if (b != null && b.booleanValue()) {
  629. + java.security.AccessController.doPrivileged(
  630. +- new sun.security.action.LoadLibraryAction("net"));
  631. ++ new sun.security.action.LoadLibraryAction("javanet"));
  632. + hasSystemProxies = init();
  633. + }
  634. + }
  635. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java openjdk/jdk/src/share/classes/sun/nio/ch/Util.java
  636. +--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java 2014-10-01 21:17:19.000000000 -0500
  637. ++++ openjdk/jdk/src/share/classes/sun/nio/ch/Util.java 2015-01-17 21:09:09.657544482 -0600
  638. +@@ -483,7 +483,7 @@
  639. + return;
  640. + loaded = true;
  641. + java.security.AccessController
  642. +- .doPrivileged(new sun.security.action.LoadLibraryAction("net"));
  643. ++ .doPrivileged(new sun.security.action.LoadLibraryAction("javanet"));
  644. + java.security.AccessController
  645. + .doPrivileged(new sun.security.action.LoadLibraryAction("nio"));
  646. + // IOUtil must be initialized; Its native methods are called from
  647. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties
  648. +--- openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties 2014-10-01 21:17:19.000000000 -0500
  649. ++++ openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties 2015-01-17 21:09:30.541544290 -0600
  650. +@@ -35,4 +35,4 @@
  651. + # This notice and attribution to Taligent may not be removed.
  652. + # Taligent is a registered trademark of Taligent, Inc.
  653. +
  654. +-PEN=S/
  655. ++PEN=S/.
  656. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties
  657. +--- openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties 2014-10-01 21:17:19.000000000 -0500
  658. ++++ openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties 2015-01-17 21:09:30.541544290 -0600
  659. +@@ -35,4 +35,5 @@
  660. + # This notice and attribution to Taligent may not be removed.
  661. + # Taligent is a registered trademark of Taligent, Inc.
  662. +
  663. ++EUR=\u20AC
  664. + LTL=Lt
  665. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties
  666. +--- openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties 2014-10-01 21:17:19.000000000 -0500
  667. ++++ openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties 2015-01-17 21:09:30.541544290 -0600
  668. +@@ -35,4 +35,5 @@
  669. + # This notice and attribution to Taligent may not be removed.
  670. + # Taligent is a registered trademark of Taligent, Inc.
  671. +
  672. ++EUR=\u20AC
  673. + LVL=Ls
  674. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties
  675. +--- openjdk.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties 2014-10-01 21:17:19.000000000 -0500
  676. ++++ openjdk/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties 2015-01-17 21:09:30.541544290 -0600
  677. +@@ -1,5 +1,5 @@
  678. + #
  679. +-# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
  680. ++# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
  681. + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  682. + #
  683. + # This code is free software; you can redistribute it and/or modify it
  684. +@@ -26,7 +26,7 @@
  685. + #
  686. + # COPYRIGHT AND PERMISSION NOTICE
  687. + #
  688. +-# Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
  689. ++# Copyright (C) 1991-2012 Unicode, Inc. All rights reserved.
  690. + # Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
  691. + #
  692. + # Permission is hereby granted, free of charge, to any person obtaining
  693. +@@ -226,6 +226,7 @@
  694. + SOS=SOS
  695. + SRD=SRD
  696. + SRG=SRG
  697. ++SSP=SSP
  698. + STD=STD
  699. + SVC=SVC
  700. + SYP=SYP
  701. +@@ -277,6 +278,7 @@
  702. + YUM=YUM
  703. + ZAR=ZAR
  704. + ZMK=ZMK
  705. ++ZMW=ZMW
  706. + ZWD=ZWD
  707. + ZWL=ZWL
  708. + ZWN=ZWN
  709. +@@ -443,6 +445,7 @@
  710. + sos=Somali Shilling
  711. + srd=Surinamese Dollar
  712. + srg=Surinamese Guilder
  713. ++ssp=South Sudanese Pound
  714. + std=S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra
  715. + svc=Salvadoran Col\u00f3n
  716. + syp=Syrian Pound
  717. +@@ -486,7 +489,9 @@
  718. + xpd=Palladium
  719. + xpf=CFP Franc
  720. + xpt=Platinum
  721. ++xsu=Sucre
  722. + xts=Testing Currency Code
  723. ++xua=ADB Unit of Account
  724. + xxx=Unknown Currency
  725. + yer=Yemeni Rial
  726. + yum=Yugoslavian New Dinar (1994-2002)
  727. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/util/resources/LocaleNames.properties openjdk/jdk/src/share/classes/sun/util/resources/LocaleNames.properties
  728. +--- openjdk.orig/jdk/src/share/classes/sun/util/resources/LocaleNames.properties 2014-10-01 21:17:19.000000000 -0500
  729. ++++ openjdk/jdk/src/share/classes/sun/util/resources/LocaleNames.properties 2015-01-17 21:09:30.541544290 -0600
  730. +@@ -1077,6 +1077,7 @@
  731. + SN=Senegal
  732. + SO=Somalia
  733. + SR=Suriname
  734. ++SS=South Sudan
  735. + ST=Sao Tome And Principe
  736. + SV=El Salvador
  737. + SX=Sint Maarten (Dutch part)
  738. +diff -Nur openjdk.orig/jdk/src/solaris/bin/mipsel/jvm.cfg openjdk/jdk/src/solaris/bin/mipsel/jvm.cfg
  739. +--- openjdk.orig/jdk/src/solaris/bin/mipsel/jvm.cfg 1969-12-31 18:00:00.000000000 -0600
  740. ++++ openjdk/jdk/src/solaris/bin/mipsel/jvm.cfg 2015-01-17 21:09:09.661544482 -0600
  741. +@@ -0,0 +1,38 @@
  742. ++# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
  743. ++# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  744. ++#
  745. ++# This code is free software; you can redistribute it and/or modify it
  746. ++# under the terms of the GNU General Public License version 2 only, as
  747. ++# published by the Free Software Foundation. Oracle designates this
  748. ++# particular file as subject to the "Classpath" exception as provided
  749. ++# by Oracle in the LICENSE file that accompanied this code.
  750. ++#
  751. ++# This code is distributed in the hope that it will be useful, but WITHOUT
  752. ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  753. ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  754. ++# version 2 for more details (a copy is included in the LICENSE file that
  755. ++# accompanied this code).
  756. ++#
  757. ++# You should have received a copy of the GNU General Public License version
  758. ++# 2 along with this work; if not, write to the Free Software Foundation,
  759. ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  760. ++#
  761. ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  762. ++# or visit www.oracle.com if you need additional information or have any
  763. ++# questions.
  764. ++#
  765. ++# List of JVMs that can be used as an option to java, javac, etc.
  766. ++# Order is important -- first in this list is the default JVM.
  767. ++# NOTE that this both this file and its format are UNSUPPORTED and
  768. ++# WILL GO AWAY in a future release.
  769. ++#
  770. ++# You may also select a JVM in an arbitrary location with the
  771. ++# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
  772. ++# and may not be available in a future release.
  773. ++#
  774. ++-client KNOWN
  775. ++-server KNOWN
  776. ++-hotspot ERROR
  777. ++-classic WARN
  778. ++-native ERROR
  779. ++-green ERROR
  780. +diff -Nur openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java
  781. +--- openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-10-01 21:17:19.000000000 -0500
  782. ++++ openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2015-01-17 21:09:09.661544482 -0600
  783. +@@ -247,7 +247,7 @@
  784. +
  785. + static {
  786. + java.security.AccessController.doPrivileged(
  787. +- new sun.security.action.LoadLibraryAction("net"));
  788. ++ new sun.security.action.LoadLibraryAction("javanet"));
  789. + }
  790. +
  791. + }
  792. +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c
  793. +--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-10-01 21:17:19.000000000 -0500
  794. ++++ openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2015-01-17 21:09:09.661544482 -0600
  795. +@@ -246,7 +246,8 @@
  796. + if (wcs == NULL)
  797. + return NULL;
  798. +
  799. +- n = len*MB_CUR_MAX + 1;
  800. ++ //evil hack for uclibc
  801. ++ n = len*1 + 1;
  802. +
  803. + mbs = (char *) malloc(n * sizeof(char));
  804. + if (mbs == NULL) {
  805. +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c
  806. +--- openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2014-10-01 21:17:19.000000000 -0500
  807. ++++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2015-01-17 21:09:09.669544482 -0600
  808. +@@ -27,9 +27,6 @@
  809. + #include <X11/Xutil.h>
  810. + #include <X11/Xos.h>
  811. + #include <X11/Xatom.h>
  812. +-#ifdef __linux__
  813. +-#include <execinfo.h>
  814. +-#endif
  815. +
  816. + #include <jvm.h>
  817. + #include <jni.h>
  818. +@@ -785,25 +782,6 @@
  819. + return ret;
  820. + }
  821. +
  822. +-#ifdef __linux__
  823. +-void print_stack(void)
  824. +-{
  825. +- void *array[10];
  826. +- size_t size;
  827. +- char **strings;
  828. +- size_t i;
  829. +-
  830. +- size = backtrace (array, 10);
  831. +- strings = backtrace_symbols (array, size);
  832. +-
  833. +- fprintf (stderr, "Obtained %zd stack frames.\n", size);
  834. +-
  835. +- for (i = 0; i < size; i++)
  836. +- fprintf (stderr, "%s\n", strings[i]);
  837. +-
  838. +- free (strings);
  839. +-}
  840. +-#endif
  841. +
  842. + Window get_xawt_root_shell(JNIEnv *env) {
  843. + static jclass classXRootWindow = NULL;
  844. +diff -Nur openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java
  845. +--- openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-10-01 21:17:19.000000000 -0500
  846. ++++ openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2015-01-17 21:09:09.669544482 -0600
  847. +@@ -159,7 +159,7 @@
  848. +
  849. + static {
  850. + java.security.AccessController.doPrivileged(
  851. +- new sun.security.action.LoadLibraryAction("net"));
  852. ++ new sun.security.action.LoadLibraryAction("javanet"));
  853. + init0();
  854. +
  855. + // start the address listener thread
  856. +diff -Nur openjdk.orig/jdk/test/java/util/Currency/tablea1.txt openjdk/jdk/test/java/util/Currency/tablea1.txt
  857. +--- openjdk.orig/jdk/test/java/util/Currency/tablea1.txt 2014-10-01 21:17:19.000000000 -0500
  858. ++++ openjdk/jdk/test/java/util/Currency/tablea1.txt 2015-01-17 21:09:30.541544290 -0600
  859. +@@ -1,12 +1,12 @@
  860. + #
  861. + #
  862. +-# Based on BSi's ISO4217 data - "TABLE A1.doc" + amendments up until MA151.doc
  863. +-# (As of 7 April 2011)
  864. ++# Amendments up until ISO 4217 AMENDMENT NUMBER 159
  865. ++# (As of 15 August 2014)
  866. + #
  867. +
  868. + # Version
  869. + FILEVERSION=1
  870. +-DATAVERSION=151
  871. ++DATAVERSION=159
  872. +
  873. + # ISO 4217 currency data
  874. + AF AFN 971 2
  875. +@@ -23,7 +23,7 @@
  876. + AU AUD 36 2
  877. + AT EUR 978 2
  878. + # MA 129
  879. +-AZ AZM 31 2 2005-12-31-20-00-00 AZN 944 2
  880. ++AZ AZN 944 2
  881. + BS BSD 44 2
  882. + BH BHD 48 3
  883. + BD BDT 50 2
  884. +@@ -96,7 +96,7 @@
  885. + GM GMD 270 2
  886. + GE GEL 981 2
  887. + DE EUR 978 2
  888. +-GH GHC 288 2 2007-07-01-00-00-00 GHS 936 2
  889. ++GH GHS 936 2
  890. + GI GIP 292 2
  891. + GR EUR 978 2
  892. + GL DKK 208 2
  893. +@@ -135,14 +135,14 @@
  894. + KW KWD 414 3
  895. + KG KGS 417 2
  896. + LA LAK 418 2
  897. +-LV LVL 428 2
  898. ++LV LVL 428 2 2013-12-31-22-00-00 EUR 978 2
  899. + LB LBP 422 2
  900. + #LS ZAR 710 2
  901. + LS LSL 426 2
  902. + LR LRD 430 2
  903. + LY LYD 434 3
  904. + LI CHF 756 2
  905. +-LT LTL 440 2
  906. ++LT LTL 440 2 2014-12-31-22-00-00 EUR 978 2
  907. + LU EUR 978 2
  908. + MO MOP 446 2
  909. + MK MKD 807 2
  910. +@@ -166,7 +166,7 @@
  911. + MS XCD 951 2
  912. + MA MAD 504 2
  913. + # MA 130
  914. +-MZ MZM 508 2 2006-06-30-22-00-00 MZN 943 2
  915. ++MZ MZN 943 2
  916. + MM MMK 104 2
  917. + # MA 134
  918. + ME EUR 978 2
  919. +@@ -200,7 +200,7 @@
  920. + PR USD 840 2
  921. + QA QAR 634 2
  922. + RE EUR 978 2
  923. +-RO ROL 946 2 2005-06-30-21-00-00 RON 946 2
  924. ++RO RON 946 2
  925. + RU RUB 643 2
  926. + RW RWF 646 0
  927. + SH SHP 654 2
  928. +@@ -227,6 +227,7 @@
  929. + SB SBD 90 2
  930. + SO SOS 706 2
  931. + ZA ZAR 710 2
  932. ++SS SSP 728 2
  933. + ES EUR 978 2
  934. + LK LKR 144 2
  935. + SD SDG 938 2
  936. +@@ -255,7 +256,7 @@
  937. + TM TMT 934 2
  938. + TC USD 840 2
  939. + TV AUD 36 2
  940. +-UG UGX 800 2
  941. ++UG UGX 800 0
  942. + UA UAH 980 2
  943. + AE AED 784 2
  944. + GB GBP 826 2
  945. +@@ -266,14 +267,14 @@
  946. + UY UYU 858 2
  947. + UZ UZS 860 2
  948. + VU VUV 548 0
  949. +-VE VEB 862 2 2008-01-01-04-00-00 VEF 937 2
  950. +-VN VND 704 2
  951. ++VE VEF 937 2
  952. ++VN VND 704 0
  953. + VG USD 840 2
  954. + VI USD 840 2
  955. + WF XPF 953 0
  956. + EH MAD 504 2
  957. + YE YER 886 2
  958. +-ZM ZMK 894 2
  959. ++ZM ZMW 967 2
  960. + ZW ZWL 932 2
  961. + #XAU XAU 959
  962. + #XBA XBA 955
  963. +diff -Nur openjdk.orig/jdk/test/java/util/Currency/ValidateISO4217.java openjdk/jdk/test/java/util/Currency/ValidateISO4217.java
  964. +--- openjdk.orig/jdk/test/java/util/Currency/ValidateISO4217.java 2014-10-01 21:17:19.000000000 -0500
  965. ++++ openjdk/jdk/test/java/util/Currency/ValidateISO4217.java 2015-01-17 21:09:30.541544290 -0600
  966. +@@ -1,5 +1,5 @@
  967. + /*
  968. +- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
  969. ++ * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
  970. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  971. + *
  972. + * This code is free software; you can redistribute it and/or modify it
  973. +@@ -22,7 +22,7 @@
  974. + */
  975. + /*
  976. + * @test
  977. +- * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203
  978. ++ * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
  979. + * @summary Validate ISO 4217 data for Currency class.
  980. + */
  981. +
  982. +@@ -92,7 +92,7 @@
  983. +
  984. + /* Codes that are obsolete, do not have related country */
  985. + static final String otherCodes =
  986. +- "ADP-AFA-ATS-AYM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-NLG-PTE-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZWD-ZWN-ZWR";
  987. ++ "ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZMK-ZWD-ZWN-ZWR";
  988. +
  989. + static boolean err = false;
  990. +
  991. +diff -Nur openjdk.orig/jdk/test/sun/text/resources/LocaleData openjdk/jdk/test/sun/text/resources/LocaleData
  992. +--- openjdk.orig/jdk/test/sun/text/resources/LocaleData 2014-10-01 21:17:19.000000000 -0500
  993. ++++ openjdk/jdk/test/sun/text/resources/LocaleData 2015-01-17 21:09:30.541544290 -0600
  994. +@@ -574,7 +574,6 @@
  995. + FormatData/es_PA/NumberElements/0=.
  996. + FormatData/es_PA/NumberElements/1=,
  997. + FormatData/es_PA/NumberElements/2=;
  998. +-CurrencyNames/es_PE/PEN=S/
  999. + FormatData/es_PE/NumberPatterns/0=#,##0.###;-#,##0.###
  1000. + # FormatData/es_PE/NumberPatterns/1=S/#,##0.00;S/-#,##0.00 # Changed; see bug 4122840
  1001. + FormatData/es_PE/NumberPatterns/2=#,##0%
  1002. +@@ -7012,3 +7011,19 @@
  1003. + FormatData/sl/DateTimePatterns/4=EEEE, dd. MMMM y
  1004. + FormatData/sl/DateTimePatterns/5=dd. MMMM y
  1005. +
  1006. ++# bug 7085757
  1007. ++CurrencyNames//SSP=SSP
  1008. ++CurrencyNames//ssp=South Sudanese Pound
  1009. ++CurrencyNames//xsu=Sucre
  1010. ++CurrencyNames//xua=ADB Unit of Account
  1011. ++LocaleNames//SS=South Sudan
  1012. ++LocaleNames/en/SS=South Sudan
  1013. ++
  1014. ++# bug 7028073
  1015. ++CurrencyNames/es_PE/PEN=S/.
  1016. ++
  1017. ++# bug 7195759
  1018. ++CurrencyNames//ZMW=ZMW
  1019. ++
  1020. ++# bug 8021121
  1021. ++CurrencyNames/lv_LV/EUR=\u20AC
  1022. +diff -Nur openjdk-boot.orig/corba/make/common/shared/Defs-utils.gmk openjdk-boot/corba/make/common/shared/Defs-utils.gmk
  1023. +--- openjdk-boot.orig/corba/make/common/shared/Defs-utils.gmk 2014-08-18 12:20:52.000000000 -0500
  1024. ++++ openjdk-boot/corba/make/common/shared/Defs-utils.gmk 2015-01-17 04:48:06.742083397 -0600
  1025. +@@ -136,12 +136,12 @@
  1026. + TRUE = $(UTILS_COMMAND_PATH)true
  1027. + UNAME = $(UTILS_COMMAND_PATH)uname
  1028. + UNIQ = $(UTILS_USR_BIN_PATH)uniq
  1029. +-UNZIP = $(UTILS_USR_BIN_PATH)unzip
  1030. +-UNZIPSFX = $(UTILS_DEVTOOL_PATH)unzipsfx
  1031. ++UNZIP = unzip
  1032. ++UNZIPSFX = unzipsfx
  1033. + WC = $(UTILS_USR_BIN_PATH)wc
  1034. + WHICH = $(UTILS_USR_BIN_PATH)which
  1035. + YACC = $(UTILS_CCS_BIN_PATH)yacc
  1036. +-ZIPEXE = $(UTILS_DEVTOOL_PATH)zip
  1037. ++ZIPEXE = zip
  1038. +
  1039. + # Special cases
  1040. + #RM is defined by GNU Make as 'rm -f'
  1041. +diff -Nur openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make openjdk-boot/hotspot/make/linux/makefiles/zero.make
  1042. +--- openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make 2014-05-20 21:50:38.000000000 -0500
  1043. ++++ openjdk-boot/hotspot/make/linux/makefiles/zero.make 2015-01-17 04:48:06.782083396 -0600
  1044. +@@ -33,4 +33,4 @@
  1045. +
  1046. + # Make sure libffi is included
  1047. + CFLAGS += $(LIBFFI_CFLAGS)
  1048. +-LIBS_VM += $(LIBFFI_LIBS)
  1049. ++LIBS_VM += $(FFI_LDFLAGS) -Wl,-Bstatic $(LIBFFI_LIBS) -Wl,-Bdynamic
  1050. +diff -Nur openjdk-boot.orig/jdk/make/common/shared/Defs-utils.gmk openjdk-boot/jdk/make/common/shared/Defs-utils.gmk
  1051. +--- openjdk-boot.orig/jdk/make/common/shared/Defs-utils.gmk 2014-10-01 21:17:19.000000000 -0500
  1052. ++++ openjdk-boot/jdk/make/common/shared/Defs-utils.gmk 2015-01-17 04:48:06.794083396 -0600
  1053. +@@ -157,13 +157,13 @@
  1054. + TRUE = $(UTILS_COMMAND_PATH)true
  1055. + UNAME = $(UTILS_COMMAND_PATH)uname
  1056. + UNIQ = $(UTILS_USR_BIN_PATH)uniq
  1057. +-UNZIP = $(UTILS_USR_BIN_PATH)unzip
  1058. +-UNZIPSFX = $(UTILS_DEVTOOL_PATH)unzipsfx
  1059. ++UNZIP = unzip
  1060. ++UNZIPSFX = unzipsfx
  1061. + XARGS = $(UTILS_USR_BIN_PATH)xargs
  1062. + WC = $(UTILS_USR_BIN_PATH)wc
  1063. + WHICH = $(UTILS_USR_BIN_PATH)which
  1064. + YACC = $(UTILS_CCS_BIN_PATH)yacc
  1065. +-ZIPEXE = $(UTILS_DEVTOOL_PATH)zip
  1066. ++ZIPEXE = zip
  1067. +
  1068. + # Special cases
  1069. + #RM is defined by GNU Make as 'rm -f'
  1070. +diff -Nur openjdk-boot.orig/jdk/make/javax/sound/jsoundalsa/Makefile openjdk-boot/jdk/make/javax/sound/jsoundalsa/Makefile
  1071. +--- openjdk-boot.orig/jdk/make/javax/sound/jsoundalsa/Makefile 2014-10-01 21:17:19.000000000 -0500
  1072. ++++ openjdk-boot/jdk/make/javax/sound/jsoundalsa/Makefile 2015-01-17 04:48:06.814083396 -0600
  1073. +@@ -72,6 +72,7 @@
  1074. + -DUSE_PORTS=TRUE \
  1075. + -DUSE_PLATFORM_MIDI_OUT=TRUE \
  1076. + -DUSE_PLATFORM_MIDI_IN=TRUE \
  1077. ++ $(ALSA_CPPFLAGS) \
  1078. + -I$(SHARE_SRC)/native/com/sun/media/sound
  1079. +
  1080. + #
  1081. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/java/util/CurrencyData.properties openjdk-boot/jdk/src/share/classes/java/util/CurrencyData.properties
  1082. +--- openjdk-boot.orig/jdk/src/share/classes/java/util/CurrencyData.properties 2014-10-01 21:17:19.000000000 -0500
  1083. ++++ openjdk-boot/jdk/src/share/classes/java/util/CurrencyData.properties 2015-01-17 04:49:18.150082743 -0600
  1084. +@@ -1,5 +1,5 @@
  1085. + #
  1086. +-# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
  1087. ++# Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  1088. + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  1089. + #
  1090. + # This code is free software; you can redistribute it and/or modify it
  1091. +@@ -26,10 +26,9 @@
  1092. + formatVersion=1
  1093. +
  1094. + # Version of the currency code information in this class.
  1095. +-# It is a serial number that accompanies with each amendment, such as
  1096. +-# 'MAxxx.doc'
  1097. ++# It is a serial number that accompanies with each amendment.
  1098. +
  1099. +-dataVersion=151
  1100. ++dataVersion=159
  1101. +
  1102. + # List of all valid ISO 4217 currency codes.
  1103. + # To ensure compatibility, do not remove codes.
  1104. +@@ -49,11 +48,12 @@
  1105. + NIO558-NLG528-NOK578-NPR524-NZD554-OMR512-PAB590-PEN604-PGK598-PHP608-\
  1106. + PKR586-PLN985-PTE620-PYG600-QAR634-ROL946-RON946-RSD941-RUB643-RUR810-RWF646-SAR682-\
  1107. + SBD090-SCR690-SDD736-SDG938-SEK752-SGD702-SHP654-SIT705-SKK703-SLL694-SOS706-\
  1108. +- SRD968-SRG740-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
  1109. ++ SRD968-SRG740-SSP728-STD678-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
  1110. + TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-\
  1111. + UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
  1112. + XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-\
  1113. +- XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWL932-ZWN942-ZWR935
  1114. ++ XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZMW967-ZWD716-ZWL932-\
  1115. ++ ZWN942-ZWR935
  1116. +
  1117. +
  1118. + # Mappings from ISO 3166 country codes to ISO 4217 currency codes.
  1119. +@@ -71,7 +71,7 @@
  1120. + #
  1121. + # The table is based on the following web sites:
  1122. + # http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/db_en.html
  1123. +-# http://www.bsi-global.com/iso4217currency
  1124. ++# http://www.currency-iso.org/iso_index/iso_tables.htm
  1125. + # http://www.cia.gov/cia/publications/factbook/indexgeo.html
  1126. +
  1127. + # AFGHANISTAN
  1128. +@@ -105,7 +105,7 @@
  1129. + # AUSTRIA
  1130. + AT=EUR
  1131. + # AZERBAIJAN
  1132. +-AZ=AZM;2005-12-31-20-00-00;AZN
  1133. ++AZ=AZN
  1134. + # BAHAMAS
  1135. + BS=BSD
  1136. + # BAHRAIN
  1137. +@@ -378,7 +378,7 @@
  1138. + # MOROCCO
  1139. + MA=MAD
  1140. + # MOZAMBIQUE
  1141. +-MZ=MZM;2006-06-30-22-00-00;MZN
  1142. ++MZ=MZN
  1143. + # MYANMAR
  1144. + MM=MMK
  1145. + # NAMIBIA
  1146. +@@ -440,7 +440,7 @@
  1147. + # REUNION
  1148. + RE=EUR
  1149. + # ROMANIA
  1150. +-RO=ROL;2005-06-30-21-00-00;RON
  1151. ++RO=RON
  1152. + # RUSSIAN FEDERATION
  1153. + RU=RUB
  1154. + # RWANDA
  1155. +@@ -463,6 +463,8 @@
  1156. + WS=WST
  1157. + # SAN MARINO
  1158. + SM=EUR
  1159. ++# SOUTH SUDAN
  1160. ++SS=SSP
  1161. + # SAO TOME AND PRINCIPE
  1162. + ST=STD
  1163. + # SAUDI ARABIA
  1164. +@@ -532,7 +534,7 @@
  1165. + # TUNISIA
  1166. + TN=TND
  1167. + # TURKEY
  1168. +-TR=TRL;2004-12-31-22-00-00;TRY
  1169. ++TR=TRY
  1170. + # TURKMENISTAN
  1171. + TM=TMT
  1172. + # TURKS AND CAICOS ISLANDS
  1173. +@@ -558,7 +560,7 @@
  1174. + # VANUATU
  1175. + VU=VUV
  1176. + # VENEZUELA
  1177. +-VE=VEB;2008-01-01-04-00-00;VEF
  1178. ++VE=VEF
  1179. + # VIET NAM
  1180. + VN=VND
  1181. + # VIRGIN ISLANDS, BRITISH
  1182. +@@ -572,7 +574,7 @@
  1183. + # YEMEN
  1184. + YE=YER
  1185. + # ZAMBIA
  1186. +-ZM=ZMK
  1187. ++ZM=ZMW
  1188. + # ZIMBABWE
  1189. + ZW=ZWL
  1190. +
  1191. +@@ -583,7 +585,7 @@
  1192. + minor0=\
  1193. + ADP-BEF-BIF-BYB-BYR-CLF-CLP-DJF-ESP-GNF-\
  1194. + GRD-ISK-ITL-JPY-KMF-KRW-LUF-MGF-PYG-PTE-RWF-\
  1195. +- TPE-TRL-VUV-XAF-XOF-XPF
  1196. ++ TPE-TRL-UGX-VND-VUV-XAF-XOF-XPF
  1197. + minor1=
  1198. + minor3=\
  1199. + BHD-IQD-JOD-KWD-LYD-OMR-TND
  1200. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/java/util/LocaleISOData.java openjdk-boot/jdk/src/share/classes/java/util/LocaleISOData.java
  1201. +--- openjdk-boot.orig/jdk/src/share/classes/java/util/LocaleISOData.java 2014-10-01 21:17:19.000000000 -0500
  1202. ++++ openjdk-boot/jdk/src/share/classes/java/util/LocaleISOData.java 2015-01-17 04:48:06.858083395 -0600
  1203. +@@ -1,5 +1,5 @@
  1204. + /*
  1205. +- * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
  1206. ++ * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
  1207. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  1208. + *
  1209. + * This code is free software; you can redistribute it and/or modify it
  1210. +@@ -433,6 +433,7 @@
  1211. + + "SN" + "SEN" // Senegal, Republic of
  1212. + + "SO" + "SOM" // Somalia, Somali Republic
  1213. + + "SR" + "SUR" // Suriname, Republic of
  1214. ++ + "SS" + "SSD" // South Sudan
  1215. + + "ST" + "STP" // Sao Tome and Principe, Democratic Republic of
  1216. + + "SV" + "SLV" // El Salvador, Republic of
  1217. + + "SX" + "SXM" // Sint Maarten (Dutch part)
  1218. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties
  1219. +--- openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties 2014-10-01 21:17:19.000000000 -0500
  1220. ++++ openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_es_PE.properties 2015-01-17 04:48:06.866083395 -0600
  1221. +@@ -35,4 +35,4 @@
  1222. + # This notice and attribution to Taligent may not be removed.
  1223. + # Taligent is a registered trademark of Taligent, Inc.
  1224. +
  1225. +-PEN=S/
  1226. ++PEN=S/.
  1227. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties
  1228. +--- openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties 2014-10-01 21:17:19.000000000 -0500
  1229. ++++ openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_lt_LT.properties 2015-01-17 04:48:06.874083395 -0600
  1230. +@@ -35,4 +35,5 @@
  1231. + # This notice and attribution to Taligent may not be removed.
  1232. + # Taligent is a registered trademark of Taligent, Inc.
  1233. +
  1234. ++EUR=\u20AC
  1235. + LTL=Lt
  1236. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties
  1237. +--- openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties 2014-10-01 21:17:19.000000000 -0500
  1238. ++++ openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames_lv_LV.properties 2015-01-17 04:48:06.874083395 -0600
  1239. +@@ -35,4 +35,5 @@
  1240. + # This notice and attribution to Taligent may not be removed.
  1241. + # Taligent is a registered trademark of Taligent, Inc.
  1242. +
  1243. ++EUR=\u20AC
  1244. + LVL=Ls
  1245. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties
  1246. +--- openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties 2014-10-01 21:17:19.000000000 -0500
  1247. ++++ openjdk-boot/jdk/src/share/classes/sun/util/resources/CurrencyNames.properties 2015-01-17 04:48:06.878083395 -0600
  1248. +@@ -1,5 +1,5 @@
  1249. + #
  1250. +-# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
  1251. ++# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
  1252. + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  1253. + #
  1254. + # This code is free software; you can redistribute it and/or modify it
  1255. +@@ -26,7 +26,7 @@
  1256. + #
  1257. + # COPYRIGHT AND PERMISSION NOTICE
  1258. + #
  1259. +-# Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
  1260. ++# Copyright (C) 1991-2012 Unicode, Inc. All rights reserved.
  1261. + # Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
  1262. + #
  1263. + # Permission is hereby granted, free of charge, to any person obtaining
  1264. +@@ -226,6 +226,7 @@
  1265. + SOS=SOS
  1266. + SRD=SRD
  1267. + SRG=SRG
  1268. ++SSP=SSP
  1269. + STD=STD
  1270. + SVC=SVC
  1271. + SYP=SYP
  1272. +@@ -277,6 +278,7 @@
  1273. + YUM=YUM
  1274. + ZAR=ZAR
  1275. + ZMK=ZMK
  1276. ++ZMW=ZMW
  1277. + ZWD=ZWD
  1278. + ZWL=ZWL
  1279. + ZWN=ZWN
  1280. +@@ -443,6 +445,7 @@
  1281. + sos=Somali Shilling
  1282. + srd=Surinamese Dollar
  1283. + srg=Surinamese Guilder
  1284. ++ssp=South Sudanese Pound
  1285. + std=S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra
  1286. + svc=Salvadoran Col\u00f3n
  1287. + syp=Syrian Pound
  1288. +@@ -486,7 +489,9 @@
  1289. + xpd=Palladium
  1290. + xpf=CFP Franc
  1291. + xpt=Platinum
  1292. ++xsu=Sucre
  1293. + xts=Testing Currency Code
  1294. ++xua=ADB Unit of Account
  1295. + xxx=Unknown Currency
  1296. + yer=Yemeni Rial
  1297. + yum=Yugoslavian New Dinar (1994-2002)
  1298. +diff -Nur openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/LocaleNames.properties openjdk-boot/jdk/src/share/classes/sun/util/resources/LocaleNames.properties
  1299. +--- openjdk-boot.orig/jdk/src/share/classes/sun/util/resources/LocaleNames.properties 2014-10-01 21:17:19.000000000 -0500
  1300. ++++ openjdk-boot/jdk/src/share/classes/sun/util/resources/LocaleNames.properties 2015-01-17 04:48:06.878083395 -0600
  1301. +@@ -1077,6 +1077,7 @@
  1302. + SN=Senegal
  1303. + SO=Somalia
  1304. + SR=Suriname
  1305. ++SS=South Sudan
  1306. + ST=Sao Tome And Principe
  1307. + SV=El Salvador
  1308. + SX=Sint Maarten (Dutch part)
  1309. +diff -Nur openjdk-boot.orig/jdk/test/java/util/Currency/tablea1.txt openjdk-boot/jdk/test/java/util/Currency/tablea1.txt
  1310. +--- openjdk-boot.orig/jdk/test/java/util/Currency/tablea1.txt 2014-10-01 21:17:19.000000000 -0500
  1311. ++++ openjdk-boot/jdk/test/java/util/Currency/tablea1.txt 2015-01-17 04:48:06.898083395 -0600
  1312. +@@ -1,12 +1,12 @@
  1313. + #
  1314. + #
  1315. +-# Based on BSi's ISO4217 data - "TABLE A1.doc" + amendments up until MA151.doc
  1316. +-# (As of 7 April 2011)
  1317. ++# Amendments up until ISO 4217 AMENDMENT NUMBER 159
  1318. ++# (As of 15 August 2014)
  1319. + #
  1320. +
  1321. + # Version
  1322. + FILEVERSION=1
  1323. +-DATAVERSION=151
  1324. ++DATAVERSION=159
  1325. +
  1326. + # ISO 4217 currency data
  1327. + AF AFN 971 2
  1328. +@@ -23,7 +23,7 @@
  1329. + AU AUD 36 2
  1330. + AT EUR 978 2
  1331. + # MA 129
  1332. +-AZ AZM 31 2 2005-12-31-20-00-00 AZN 944 2
  1333. ++AZ AZN 944 2
  1334. + BS BSD 44 2
  1335. + BH BHD 48 3
  1336. + BD BDT 50 2
  1337. +@@ -96,7 +96,7 @@
  1338. + GM GMD 270 2
  1339. + GE GEL 981 2
  1340. + DE EUR 978 2
  1341. +-GH GHC 288 2 2007-07-01-00-00-00 GHS 936 2
  1342. ++GH GHS 936 2
  1343. + GI GIP 292 2
  1344. + GR EUR 978 2
  1345. + GL DKK 208 2
  1346. +@@ -135,14 +135,14 @@
  1347. + KW KWD 414 3
  1348. + KG KGS 417 2
  1349. + LA LAK 418 2
  1350. +-LV LVL 428 2
  1351. ++LV LVL 428 2 2013-12-31-22-00-00 EUR 978 2
  1352. + LB LBP 422 2
  1353. + #LS ZAR 710 2
  1354. + LS LSL 426 2
  1355. + LR LRD 430 2
  1356. + LY LYD 434 3
  1357. + LI CHF 756 2
  1358. +-LT LTL 440 2
  1359. ++LT LTL 440 2 2014-12-31-22-00-00 EUR 978 2
  1360. + LU EUR 978 2
  1361. + MO MOP 446 2
  1362. + MK MKD 807 2
  1363. +@@ -166,7 +166,7 @@
  1364. + MS XCD 951 2
  1365. + MA MAD 504 2
  1366. + # MA 130
  1367. +-MZ MZM 508 2 2006-06-30-22-00-00 MZN 943 2
  1368. ++MZ MZN 943 2
  1369. + MM MMK 104 2
  1370. + # MA 134
  1371. + ME EUR 978 2
  1372. +@@ -200,7 +200,7 @@
  1373. + PR USD 840 2
  1374. + QA QAR 634 2
  1375. + RE EUR 978 2
  1376. +-RO ROL 946 2 2005-06-30-21-00-00 RON 946 2
  1377. ++RO RON 946 2
  1378. + RU RUB 643 2
  1379. + RW RWF 646 0
  1380. + SH SHP 654 2
  1381. +@@ -227,6 +227,7 @@
  1382. + SB SBD 90 2
  1383. + SO SOS 706 2
  1384. + ZA ZAR 710 2
  1385. ++SS SSP 728 2
  1386. + ES EUR 978 2
  1387. + LK LKR 144 2
  1388. + SD SDG 938 2
  1389. +@@ -255,7 +256,7 @@
  1390. + TM TMT 934 2
  1391. + TC USD 840 2
  1392. + TV AUD 36 2
  1393. +-UG UGX 800 2
  1394. ++UG UGX 800 0
  1395. + UA UAH 980 2
  1396. + AE AED 784 2
  1397. + GB GBP 826 2
  1398. +@@ -266,14 +267,14 @@
  1399. + UY UYU 858 2
  1400. + UZ UZS 860 2
  1401. + VU VUV 548 0
  1402. +-VE VEB 862 2 2008-01-01-04-00-00 VEF 937 2
  1403. +-VN VND 704 2
  1404. ++VE VEF 937 2
  1405. ++VN VND 704 0
  1406. + VG USD 840 2
  1407. + VI USD 840 2
  1408. + WF XPF 953 0
  1409. + EH MAD 504 2
  1410. + YE YER 886 2
  1411. +-ZM ZMK 894 2
  1412. ++ZM ZMW 967 2
  1413. + ZW ZWL 932 2
  1414. + #XAU XAU 959
  1415. + #XBA XBA 955
  1416. +diff -Nur openjdk-boot.orig/jdk/test/java/util/Currency/ValidateISO4217.java openjdk-boot/jdk/test/java/util/Currency/ValidateISO4217.java
  1417. +--- openjdk-boot.orig/jdk/test/java/util/Currency/ValidateISO4217.java 2014-10-01 21:17:19.000000000 -0500
  1418. ++++ openjdk-boot/jdk/test/java/util/Currency/ValidateISO4217.java 2015-01-17 04:48:06.898083395 -0600
  1419. +@@ -1,5 +1,5 @@
  1420. + /*
  1421. +- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
  1422. ++ * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
  1423. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  1424. + *
  1425. + * This code is free software; you can redistribute it and/or modify it
  1426. +@@ -22,7 +22,7 @@
  1427. + */
  1428. + /*
  1429. + * @test
  1430. +- * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203
  1431. ++ * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
  1432. + * @summary Validate ISO 4217 data for Currency class.
  1433. + */
  1434. +
  1435. +@@ -92,7 +92,7 @@
  1436. +
  1437. + /* Codes that are obsolete, do not have related country */
  1438. + static final String otherCodes =
  1439. +- "ADP-AFA-ATS-AYM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-NLG-PTE-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZWD-ZWN-ZWR";
  1440. ++ "ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZMK-ZWD-ZWN-ZWR";
  1441. +
  1442. + static boolean err = false;
  1443. +
  1444. +diff -Nur openjdk-boot.orig/jdk/test/sun/text/resources/LocaleData openjdk-boot/jdk/test/sun/text/resources/LocaleData
  1445. +--- openjdk-boot.orig/jdk/test/sun/text/resources/LocaleData 2014-10-01 21:17:19.000000000 -0500
  1446. ++++ openjdk-boot/jdk/test/sun/text/resources/LocaleData 2015-01-17 04:48:06.934083395 -0600
  1447. +@@ -574,7 +574,6 @@
  1448. + FormatData/es_PA/NumberElements/0=.
  1449. + FormatData/es_PA/NumberElements/1=,
  1450. + FormatData/es_PA/NumberElements/2=;
  1451. +-CurrencyNames/es_PE/PEN=S/
  1452. + FormatData/es_PE/NumberPatterns/0=#,##0.###;-#,##0.###
  1453. + # FormatData/es_PE/NumberPatterns/1=S/#,##0.00;S/-#,##0.00 # Changed; see bug 4122840
  1454. + FormatData/es_PE/NumberPatterns/2=#,##0%
  1455. +@@ -7012,3 +7011,19 @@
  1456. + FormatData/sl/DateTimePatterns/4=EEEE, dd. MMMM y
  1457. + FormatData/sl/DateTimePatterns/5=dd. MMMM y
  1458. +
  1459. ++# bug 7085757
  1460. ++CurrencyNames//SSP=SSP
  1461. ++CurrencyNames//ssp=South Sudanese Pound
  1462. ++CurrencyNames//xsu=Sucre
  1463. ++CurrencyNames//xua=ADB Unit of Account
  1464. ++LocaleNames//SS=South Sudan
  1465. ++LocaleNames/en/SS=South Sudan
  1466. ++
  1467. ++# bug 7028073
  1468. ++CurrencyNames/es_PE/PEN=S/.
  1469. ++
  1470. ++# bug 7195759
  1471. ++CurrencyNames//ZMW=ZMW
  1472. ++
  1473. ++# bug 8021121
  1474. ++CurrencyNames/lv_LV/EUR=\u20AC