Skip to content

Commit 59468ba

Browse files
committed
8349039: Adjust exception No type named <ThreadType> in database
Backport-of: 669f8c0c07b57fa00ac84b8a90c4a1a1459443e3
1 parent 00c53b7 commit 59468ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/types/basic/BasicTypeDataBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, 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
@@ -83,7 +83,7 @@ public Type lookupType(String cTypeName) {
8383
public Type lookupType(String cTypeName, boolean throwException) {
8484
Type type = (Type) nameToTypeMap.get(cTypeName);
8585
if (type == null && throwException) {
86-
throw new RuntimeException("No type named \"" + cTypeName + "\" in database");
86+
throw new RuntimeException("No type named \"" + cTypeName + "\" present in type database");
8787
}
8888
return type;
8989
}

0 commit comments

Comments
 (0)