This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 143678

Summary: incompatible API changes in NativeExecutor
Product: cnd Reporter: Thomas Preisler <thp>
Component: -- Other --Assignee: Egor Ushakov <gorrus>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Thomas Preisler 2008-08-12 22:14:24 UTC
ATD no longer compiles due to incompatible API changes in NativeExecutor. Please fix ASAP. 

   [javac] Compiling 15 source files to /export/home/thp/ceres/atd/sunstudio/perfan/build/classes
    [javac] /export/home/thp/ceres/atd/sunstudio/perfan/src/com/sun/tools/swdev/advtools/actions/performanceanalyzeractions/PACustomAction.java:530: 
cannot find symbol
    [javac] symbol  : constructor NativeExecutor(java.lang.String,java.lang.String,java.lang.String,java.lang.String[],java.lang.String,java.lang.String,boolean,boolean)
    [javac] location: class org.netbeans.modules.cnd.api.execution.NativeExecutor
    [javac]             NativeExecutor ne = new NativeExecutor(

528         // Execute the collect
529         try {
530             NativeExecutor ne = new NativeExecutor(
531                     work_dir,
532                     exec_cmd.substring(0, space),
533                     exec_cmd.substring(space+1),
534                     env_vars,
535                     getMessage("PA_CollectMessage_CollectLabel", getProjectName(properties)),
536                     "Run", // NOI18N
537                     false,
538                     true);
539             
540             ne.addExecutionListener(this);
541             ne.execute();
Comment 1 Thomas Preisler 2008-08-12 22:45:35 UTC
Made an attempt to revive old API. Is false correct default? Please verify.

changeset 435f3cf2e741 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=435f3cf2e741
description:
	143678 incompatible API changes in NativeExecutor
Comment 2 Egor Ushakov 2008-08-13 10:14:00 UTC
yes false is the default