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