8064319: Need to enable -XX:+TraceExceptions in release builds

"-XX:+TraceExceptions" is now supported in product builds.

Reviewed-by: sla, ccheung, coleenp
This commit is contained in:
Max Ockner 2014-12-16 19:00:24 -05:00 committed by Coleen Phillimore
parent ccc800dedb
commit 51bda75a8f
2 changed files with 1 additions and 6 deletions

View File

@ -1341,7 +1341,7 @@ class CommandLineFlags {
develop(bool, TraceClassInitialization, false, \
"Trace class initialization") \
\
develop(bool, TraceExceptions, false, \
product(bool, TraceExceptions, false, \
"Trace exceptions") \
\
develop(bool, TraceICs, false, \

View File

@ -33,11 +33,6 @@ import com.oracle.java.testlibrary.*;
public class TraceExceptionsTest {
public static void main(String[] args) throws Exception {
if (!Platform.isDebugBuild()) {
System.out.println("Skip the test on product builds since XX:+TraceExceptions is not available on product builds");
return;
}
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-XX:+TraceExceptions", "NoClassFound");
OutputAnalyzer output = new OutputAnalyzer(pb.start());