6396503: javac should not require assertions enabled

Reviewed-by: mcimadamore
This commit is contained in:
Jonathan Gibbons 2011-01-10 15:08:31 -08:00
parent 43e78a8d44
commit e2ed68fb2f
35 changed files with 346 additions and 243 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -43,12 +43,6 @@ import java.lang.reflect.*;
*/
public class Main {
static {
ClassLoader loader = Main.class.getClassLoader();
if (loader != null)
loader.setPackageAssertionStatus("com.sun.tools.javac", true);
}
/** Unsupported command line interface.
* @param args The command line parameters.
*/