Skip to content
Permalink
Browse files
8275249: Suppress warnings on non-serializable array component types …
…in jdk.jlink

Reviewed-by: iris
  • Loading branch information
jddarcy committed Oct 15, 2021
1 parent ee64ce9 commit f17818516cf80e6e208309200c98b23919c3cddb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/jdk.jlink/share/classes/jdk/tools/jlink/internal/TaskHelper.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -81,6 +81,7 @@ public BadArgs showUsage(boolean b) {
return this;
}
public final String key;
@SuppressWarnings("serial") // Array component type is not Serializable
public final Object[] args;
public boolean showUsage;
}

1 comment on commit f178185

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on f178185 Oct 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.