mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d039f539ae
commit
7dd2b2ad65
|
@ -299,6 +299,8 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
|||
// Call compress
|
||||
//
|
||||
byte[] fileBuffer = bo.toByteArray();
|
||||
|
||||
synchronized (CompressSection.semaphore) {
|
||||
Compress myCompress = new Compress(fileBuffer, fileBuffer.length);
|
||||
|
||||
//
|
||||
|
@ -350,6 +352,7 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
|||
buffer.writeByte(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e){
|
||||
throw new BuildException("compress.toBuffer failed!\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue