1.1 --- a/src/share/classes/com/sun/tools/javac/util/Context.java Mon Jan 10 14:57:59 2011 -0800 1.2 +++ b/src/share/classes/com/sun/tools/javac/util/Context.java Mon Jan 10 15:08:31 2011 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -145,7 +145,7 @@ 1.11 o = fac.make(); 1.12 if (o instanceof Factory<?>) 1.13 throw new AssertionError("T extends Context.Factory"); 1.14 - assert ht.get(key) == o; 1.15 + Assert.check(ht.get(key) == o); 1.16 } 1.17 1.18 /* The following cast can't fail unless there was