Commit 2cbf98bb by ibaker Committed by Oliver Woodman

Suppress 'unused' warning on largeBuffer local in ExoPlayerTest

PiperOrigin-RevId: 302474924
parent 0c20462b
......@@ -6184,6 +6184,7 @@ public final class ExoPlayerTest {
new Loader.Loadable() {
@Override
public void load() throws IOException {
@SuppressWarnings("unused") // This test needs the allocation to cause an OOM.
byte[] largeBuffer = new byte[Integer.MAX_VALUE];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment