Skip to content

Commit f816a7d

Browse files
committed
style fixes
1 parent ce5b158 commit f816a7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/core/test/ReportHotMetricsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static int snippet01(int limit1) {
5454
return result;
5555
}
5656

57+
@SuppressWarnings("try")
5758
@Test
5859
public void testAbsNegate() {
5960
ByteArrayOutputStream bos = new ByteArrayOutputStream();

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/phases/BasePhase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ protected ApplyScope applyScope(StructuredGraph graph, C context) {
392392
return null;
393393
}
394394

395-
@SuppressWarnings("try")
395+
@SuppressWarnings({"try", "unchecked", "rawtypes"})
396396
public final void apply(final StructuredGraph graph, final C context, final boolean dumpGraph) {
397397
DebugContext debug = graph.getDebug();
398398
OptionValues options = graph.getOptions();

0 commit comments

Comments
 (0)