0

我是源分析器的新手。这些是警告

sourceanalyzer -b opmbuild -Xmx2G -cp '/vx/vom/BUILD/nightly/sfm/tot/02_16/06_00_14/linux/opm/jars/*.jar' '/vx/vom/BUILD/nightly/sfm/tot/
02_16/06_00_14/linux/opm/src/**/*.java'    
[warning]: Assuming Java source level to be 1.4 as it was not specified. Note that the default value may change in future versions.  
[warning]: Unexpected exception while parsing file DMPSolutionDao.java    
[warning]: Unexpected exception while parsing file DMPWaitingOperations.java    
[warning]: Unexpected exception while parsing file DmpOperations.java   
[warning]: Unexpected exception while parsing file EsxDmpJob.java   
[warning]: Unexpected exception while parsing file MyAppsController.java  
[warning]: Multiple definitions found for class VOMBackup (/vx/vom/BUILD/nightly/sfm/tot/02_16/06_00_14/linux/opm/src/pkg/unix/linux/stage/opt/VRTSsfmcs/config/adm/VOMBackup.java:20:1 and /vx/vom/BUILD/nightly/sfm/tot/02_16/06_00_14/linux/opm/src/db/config/common/VOMBackup.java
:20:1). 
4

1 回答 1

0

您需要做的第一件事是使用-version. 这可能会解决您收到的警告,因为您可能正在使用在 Java 1.4 中无效的构造。这些警告很重要,您需要调查原因。要找到问题的根源,请使用-debug-verbose -logfile opmbuild_translate.log. 日志条目应该为您诊断问题提供更多帮助。如果您认为存在 Fortify 未正确解析的有效构造,则应联系 Fortify 支持并提供示例。

于 2015-02-18T14:27:37.077 回答