355 const char* line, |
355 const char* line, |
356 short* classesNum, short* classesMax, char*** classes, bool** allMethods, |
356 short* classesNum, short* classesMax, char*** classes, bool** allMethods, |
357 short* methodsNum, short* methodsMax, char*** methods, bool** allClasses |
357 short* methodsNum, short* methodsMax, char*** methods, bool** allClasses |
358 ); |
358 ); |
359 |
359 |
360 // Returns true if the string s is in the list of |
360 // Returns true if the string s is in the list of flags that have recently |
361 // flags made obsolete in 1.5.0. |
361 // been made obsolete. If we detect one of these flags on the command |
362 static bool made_obsolete_in_1_5_0(const char* s); |
362 // line, instead of failing we print a warning message and ignore the |
|
363 // flag. This gives the user a release or so to stop using the flag. |
|
364 static bool is_newly_obsolete(const char* s, JDK_Version* buffer); |
363 |
365 |
364 static short CompileOnlyClassesNum; |
366 static short CompileOnlyClassesNum; |
365 static short CompileOnlyClassesMax; |
367 static short CompileOnlyClassesMax; |
366 static char** CompileOnlyClasses; |
368 static char** CompileOnlyClasses; |
367 static bool* CompileOnlyAllMethods; |
369 static bool* CompileOnlyAllMethods; |