Gao, Liming [mailto:[email protected]] wrote:
]Sent: Wednesday, August 26, 2015 04:51 AM ]To: Scott Duplichan <[email protected]>; [email protected] <[email protected]> ]Cc: Tian, Feng <[email protected]> ]Subject: Re: [edk2] [PATCH 4/10] MdeModulePkg: Support format string argument checking ] ]Scott: ] I find this change will impact the check result of ECC tool. This tool is in BaseTools directory that is used to ]check the coding style in source file. ] ] I think we need to investigate how to enhance ECC to support EFIFORMAT. ] ]Thanks ]Liming Hello Liming, I tried to take a look, but I cannot even rebuild the ecc application. The problem is when java is used to build CParser.py from C.g: java.exe org.antlr.Tool C.g Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: antlr/TokenStreamException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.launcher.LauncherHelper.validateMainClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: antlr.TokenStreamException at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) This is using antlr-3.0.1. Switching to antlr-3.1.3 avoids this problem, but leads to python problems. Thanks, Scott _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

