From 3c0adb26bac6d756fb97e4bcc6d4e5b2cefa5eeb Mon Sep 17 00:00:00 2001 From: Janak Ramakrishnan Date: Mon, 15 Aug 2016 21:54:55 +0000 Subject: Allow Skyframe graph lookups and value retrievals to throw InterruptedException. The only place we now don't handle InterruptedException is in the action graph created after analysis, since I'm not sure that will be around for that much longer. -- MOS_MIGRATED_REVID=130327770 --- .../com/google/devtools/build/lib/runtime/commands/InfoItem.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/runtime/commands/InfoItem.java') diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoItem.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoItem.java index 4677b4a509..52c9991369 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoItem.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoItem.java @@ -94,10 +94,12 @@ public abstract class InfoItem { /** * Returns the value of the info key. The return value is directly printed to stdout. + * * @param env TODO(lpino): */ - public abstract byte[] get(Supplier configurationSupplier, - CommandEnvironment env) throws AbruptExitException; + public abstract byte[] get( + Supplier configurationSupplier, CommandEnvironment env) + throws AbruptExitException, InterruptedException; private static byte[] print(Object value) { if (value instanceof byte[]) { @@ -626,4 +628,4 @@ public abstract class InfoItem { return print(description); } } -} \ No newline at end of file +} -- cgit v1.2.3