diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 02:02:11 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 02:02:11 +0000 |
commit | affa5a128c1a10424bb2fa9b7dd3d2b3f6091f33 (patch) | |
tree | 769f0a119c1c90005f9e57dfda83cf09c1fbdd9c | |
parent | d7f709c16ac60a0e39168fcd261953dedac49ef6 (diff) | |
download | edk2-affa5a128c1a10424bb2fa9b7dd3d2b3f6091f33.zip edk2-affa5a128c1a10424bb2fa9b7dd3d2b3f6091f33.tar.gz edk2-affa5a128c1a10424bb2fa9b7dd3d2b3f6091f33.tar.bz2 |
Removed the workaround code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java index 8fb1be5..4cf8c3c 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java @@ -226,15 +226,11 @@ public class AutogenLibOrder { if (libInstanceConsumedBy.get(libInstanceList[i]).size() > 0 && libInstanceList[i].hasConstructor()) {
EdkLog.log(EdkLog.EDK_ERROR, libInstanceList[i].getName()
+ " with constructor has a circular dependency!");
- // throw new AutoGenException("Circular dependency in library instances is found!");
+ throw new AutoGenException("Circular dependency in library instances is found!");
}
if (!orderList.contains(libInstanceList[i])) {
- if (libInstanceList[i].getName().equals("UefiBootServicesTableLib")) {
- orderList.addFirst(libInstanceList[i]);
- } else {
- orderList.add(libInstanceList[i]);
- }
+ orderList.add(libInstanceList[i]);
}
}
return orderList;
|