57700f8c95
- Added patch: * apache-ant-old-gcj-build.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=57
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
diff -urN apache-ant-1.9.4.old/src/main/org/apache/tools/ant/util/VectorSet.java apache-ant-1.9.4/src/main/org/apache/tools/ant/util/VectorSet.java
|
|
--- apache-ant-1.9.4.old/src/main/org/apache/tools/ant/util/VectorSet.java 2014-07-04 14:36:26.370041107 +0200
|
|
+++ apache-ant-1.9.4/src/main/org/apache/tools/ant/util/VectorSet.java 2014-07-04 14:44:12.888084246 +0200
|
|
@@ -122,7 +122,7 @@
|
|
count - index);
|
|
}
|
|
for (Object o : toAdd) {
|
|
- elementData[index++] = o;
|
|
+ elementData[index++] = (E) o;
|
|
}
|
|
elementCount += toAdd.size();
|
|
return true;
|
|
diff -urN apache-ant-1.9.4.old/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java apache-ant-1.9.4/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java
|
|
--- apache-ant-1.9.4.old/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java 2014-07-04 14:36:26.372041107 +0200
|
|
+++ apache-ant-1.9.4/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java 2014-07-04 14:42:23.841074163 +0200
|
|
@@ -101,7 +101,7 @@
|
|
* stored as an array of 128 chars.
|
|
*/
|
|
public Simple8BitZipEncoding(char[] highChars) {
|
|
- this.highChars = highChars.clone();
|
|
+ this.highChars = (char[]) highChars.clone();
|
|
List<Simple8BitChar> temp =
|
|
new ArrayList<Simple8BitChar>(this.highChars.length);
|
|
|