Blame SOURCES/rebase-02.patch
|
|
57eb5a |
diff --git a/rebase-02.patch b/rebase-02.patch
|
|
|
57eb5a |
new file mode 100644
|
|
|
57eb5a |
index 0000000..0f57125
|
|
|
57eb5a |
--- /dev/null
|
|
|
57eb5a |
+++ b/rebase-02.patch
|
|
|
57eb5a |
@@ -0,0 +1,36 @@
|
|
|
57eb5a |
+--- sun/tools/javazic/Mappings.java.orig 2015-04-13 12:40:26.000000000 -0400
|
|
|
57eb5a |
++++ sun/tools/javazic/Mappings.java 2015-04-13 12:42:11.000000000 -0400
|
|
|
57eb5a |
+@@ -75,8 +75,10 @@
|
|
|
57eb5a |
+ Zone zone = zones.get(zoneName);
|
|
|
57eb5a |
+ String zonename = zone.getName();
|
|
|
57eb5a |
+ int rawOffset = zone.get(zone.size()-1).getGmtOffset();
|
|
|
57eb5a |
++
|
|
|
57eb5a |
+ // If the GMT offset of this Zone will change in some
|
|
|
57eb5a |
+ // future time, this Zone is added to the exclude list.
|
|
|
57eb5a |
++ boolean isExcluded = false;
|
|
|
57eb5a |
+ if (zone.size() > 1) {
|
|
|
57eb5a |
+ ZoneRec zrec = zone.get(zone.size()-2);
|
|
|
57eb5a |
+ if ((zrec.getGmtOffset() != rawOffset)
|
|
|
57eb5a |
+@@ -85,7 +87,7 @@
|
|
|
57eb5a |
+ excludeList = new ArrayList<String>();
|
|
|
57eb5a |
+ }
|
|
|
57eb5a |
+ excludeList.add(zone.getName());
|
|
|
57eb5a |
+- continue;
|
|
|
57eb5a |
++ isExcluded = true;
|
|
|
57eb5a |
+ }
|
|
|
57eb5a |
+ }
|
|
|
57eb5a |
+
|
|
|
57eb5a |
+@@ -101,9 +103,11 @@
|
|
|
57eb5a |
+ rawOffsetsIndex.add(i, rawOffset);
|
|
|
57eb5a |
+
|
|
|
57eb5a |
+ Set<String> perRawOffset = new TreeSet<String>();
|
|
|
57eb5a |
+- perRawOffset.add(zonename);
|
|
|
57eb5a |
++ if (!isExcluded) {
|
|
|
57eb5a |
++ perRawOffset.add(zonename);
|
|
|
57eb5a |
++ }
|
|
|
57eb5a |
+ rawOffsetsIndexTable.add(i, perRawOffset);
|
|
|
57eb5a |
+- } else {
|
|
|
57eb5a |
++ } else if (!isExcluded) {
|
|
|
57eb5a |
+ int i = rawOffsetsIndex.indexOf(new Integer(rawOffset));
|
|
|
57eb5a |
+ Set<String> perRawOffset = rawOffsetsIndexTable.get(i);
|
|
|
57eb5a |
+ perRawOffset.add(zonename);
|