Skip to content

Commit f178185

Browse files
committed
8275249: Suppress warnings on non-serializable array component types in jdk.jlink
Reviewed-by: iris
1 parent ee64ce9 commit f178185

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/TaskHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -81,6 +81,7 @@ public BadArgs showUsage(boolean b) {
8181
return this;
8282
}
8383
public final String key;
84+
@SuppressWarnings("serial") // Array component type is not Serializable
8485
public final Object[] args;
8586
public boolean showUsage;
8687
}

0 commit comments

Comments
 (0)