mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8210721: Replace legacy serial exception field with Throwable::cause
Reviewed-by: dfuchs, lancea
This commit is contained in:
parent
b27f471bdd
commit
b72ab42e49
9 changed files with 486 additions and 108 deletions
|
@ -2201,6 +2201,9 @@ public final class System {
|
|||
return StringCoding.getBytesUTF8NoRepl(s);
|
||||
}
|
||||
|
||||
public void setCause(Throwable t, Throwable cause) {
|
||||
t.setCause(cause);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue