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