mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6396503: javac should not require assertions enabled
Reviewed-by: mcimadamore
This commit is contained in:
parent
43e78a8d44
commit
e2ed68fb2f
35 changed files with 346 additions and 243 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue