We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cbe372 commit f278212Copy full SHA for f278212
api/src/main/java/jakarta/json/spi/JsonProvider.java
@@ -158,10 +158,10 @@ private static JsonProvider newInstance(String className) {
158
return clazz.getConstructor().newInstance();
159
} catch (ClassNotFoundException x) {
160
throw new JsonException(
161
- "Provider " + DEFAULT_PROVIDER + " not found", x);
+ "Provider " + className + " not found", x);
162
} catch (Exception x) {
163
164
- "Provider " + DEFAULT_PROVIDER + " could not be instantiated: " + x,
+ "Provider " + className + " could not be instantiated: " + x,
165
x);
166
}
167
0 commit comments