mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8283668: Update IllegalFormatException to use sealed classes
Reviewed-by: iris, jpai
This commit is contained in:
parent
5ca8b91898
commit
f520b4f891
13 changed files with 38 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, 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
|
||||
|
@ -34,7 +34,7 @@ package java.util;
|
|||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public class IllegalFormatPrecisionException extends IllegalFormatException {
|
||||
public non-sealed class IllegalFormatPrecisionException extends IllegalFormatException {
|
||||
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = 18711008L;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue