aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java
diff options
context:
space:
mode:
authorGravatar Tobias Werth <twerth@google.com>2018-08-14 07:16:52 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-14 07:18:02 -0700
commita05e6ccdba85f5e827245aa581accd2867e40851 (patch)
treeb139618c7293d9aeebbb23562952adc7137e60f1 /src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java
parent30f04a1f9c98ad2536df338bdcb1b67a168c4190 (diff)
Explicitly cast ByteBuffer in clear() call to Buffer.
This works around the following error: java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; at com.google.devtools.build.lib.profiler.Profiler$BinaryFormatWriter.run(Profiler.java:949) at java.lang.Thread.run(Thread.java:748) JDK 9 introduced an overloaded methods with covariant return type. Closes #5886. PiperOrigin-RevId: 208642556
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/profiler/ProfilerChartTest.java')
0 files changed, 0 insertions, 0 deletions