RFR(XXS): 8141146: Add Error hierarchy to test library
christian.tornqvist at oracle.com
Mon Nov 2 18:20:48 UTC 2015
I'm still doubting how useful this would be, can you give some examples of where these different exceptions would be used and what the benefit would be? How would this be used with the current Assert class?
From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of Kirill Zhaldybin
Sent: Monday, November 2, 2015 12:56 PM
To: hotspot-dev <hotspot-dev at openjdk.java.net>
Subject: RFR(XXS): 8141146: Add Error hierarchy to test library
Could somebody please review this change?
It adds EnvironmentIssue and TestBug classes for environment issue and test bug correspondingly to the test library.
It is the first part of JDK-8065651: Enhance Asserts to throw different exceptions for different types of assertions.
More information about the hotspot-dev