mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 01:47:52 +00:00
8242241: add assert to ClassUnloadEventImpl::className
Add assert Reviewed-by: cjplummer, dcubed
This commit is contained in:
parent
7a608f40fc
commit
68e0e49bc8
@ -425,6 +425,7 @@ public class EventSetImpl extends ArrayList<Event> implements EventSet {
|
||||
}
|
||||
|
||||
public String className() {
|
||||
assert classSignature.startsWith("L") && classSignature.endsWith(";");
|
||||
return classSignature.substring(1, classSignature.length()-1)
|
||||
.replace('/', '.');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user