1 /* |
1 /* |
2 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
359 const char* line, |
359 const char* line, |
360 short* classesNum, short* classesMax, char*** classes, bool** allMethods, |
360 short* classesNum, short* classesMax, char*** classes, bool** allMethods, |
361 short* methodsNum, short* methodsMax, char*** methods, bool** allClasses |
361 short* methodsNum, short* methodsMax, char*** methods, bool** allClasses |
362 ); |
362 ); |
363 |
363 |
364 // Returns true if the string s is in the list of |
364 // Returns true if the string s is in the list of flags that have recently |
365 // flags made obsolete in 1.5.0. |
365 // been made obsolete. If we detect one of these flags on the command |
366 static bool made_obsolete_in_1_5_0(const char* s); |
366 // line, instead of failing we print a warning message and ignore the |
|
367 // flag. This gives the user a release or so to stop using the flag. |
|
368 static bool is_newly_obsolete(const char* s, JDK_Version* buffer); |
367 |
369 |
368 static short CompileOnlyClassesNum; |
370 static short CompileOnlyClassesNum; |
369 static short CompileOnlyClassesMax; |
371 static short CompileOnlyClassesMax; |
370 static char** CompileOnlyClasses; |
372 static char** CompileOnlyClasses; |
371 static bool* CompileOnlyAllMethods; |
373 static bool* CompileOnlyAllMethods; |