	void testPointWithException() {
		JsonParser.Defaults.classMetadataName = "__class";
		JsonSerializer.Defaults.classMetadataName = "__class";

		JsonParsers.forEachParser(jsonParser -> {
			jsonParser.allowClass("notAllowed");
			final String json = new JsonSerializer().serialize(new Point2D.Float(1.0f, 2.0f));
			assertThrows(JsonException.class, () -> {
				jsonParser.parse(json);
			});
			jsonParser.allowAllClasses();
		});
	}
The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.