Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
ecj
eclipse-gcj-nodummysymbol.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eclipse-gcj-nodummysymbol.patch of Package ecj
diff -u -r org/eclipse/jdt/internal/compiler/batch/GCCMain.java org/eclipse/jdt/internal/compiler/batch/GCCMain.java --- a/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2012-10-29 21:12:37.244254740 -0400 +++ b/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2012-10-29 21:13:55.661107108 -0400 @@ -101,16 +101,6 @@ } zipStream = new ZipOutputStream(new BufferedOutputStream(os)); zipStream.setMethod(ZipOutputStream.STORED); - // Sun/OpenJDK require at least one entry in the zip file. - ZipEntry entry = new ZipEntry(".dummy"); - byte[] contents = new byte[0]; - CRC32 crc = new CRC32(); - crc.update(contents); - entry.setSize(contents.length); - entry.setCrc(crc.getValue()); - zipStream.putNextEntry(entry); - zipStream.write(contents); - zipStream.closeEntry(); } return zipStream; } @@ -120,16 +110,6 @@ OutputStream os = new FileOutputStream(zipDependencyDestination); zipDependencyStream = new ZipOutputStream(new BufferedOutputStream(os)); zipDependencyStream.setMethod(ZipOutputStream.STORED); - // Sun/OpenJDK require at least one entry in the zip file. - ZipEntry entry = new ZipEntry(".dummy"); - byte[] contents = new byte[0]; - CRC32 crc = new CRC32(); - crc.update(contents); - entry.setSize(contents.length); - entry.setCrc(crc.getValue()); - zipDependencyStream.putNextEntry(entry); - zipDependencyStream.write(contents); - zipDependencyStream.closeEntry(); } return zipDependencyStream; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor