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.
Summary: | CLIHandlerTest compilation error | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | -- Other -- | Assignee: | Jaroslav Tulach <jtulach> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION, TEST |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2004-07-23 23:59:54 UTC
Removing core/test/unit/src/org/netbeans/CLIHandlerTest.java; /cvs/core/test/unit/src/org/netbeans/CLIHandlerTest.java,v <-- CLIHandlerTest.java new revision: delete; previous revision: 1.7 done cvs ci -m "#46515: I have modified the CLIHandlerTest by adding new test and then I decided that the test is more or less independent and I renamed the fiel to MainCLITest.java and checked it in. As a result the necessary changes in CLIHandlerTest were not commited and Jesse had to temporarily remove the test. I am resuscitating the original version with the three line change necessary for it to compile with new version of CLIHandler" CLIHandlerTest.java,v <-- CLIHandlerTest.java new revision: 1.9 cvs diff -r 1.7 -r 1.9 unit/src/org/netbeans/CLIHandlerTest.java Index: unit/src/org/netbeans/CLIHandlerTest.java =================================================================== RCS file: /cvs/core/test/unit/src/org/netbeans/CLIHandlerTest.java,v retrieving revision 1.7 retrieving revision 1.9 diff -u -r1.7 -r1.9 --- unit/src/org/netbeans/CLIHandlerTest.java 21 Jul 2004 09:46:00 -0000 1.7 +++ unit/src/org/netbeans/CLIHandlerTest.java 24 Jul 2004 10:19:49 -0000 1.9 @@ -120,7 +120,7 @@ CLIHandler.Status res = CLIHandler.initialize( new CLIHandler.Args(new String[0], nullInput, nullOutput, ""), - null, Collections.EMPTY_LIST, false, false + null, Collections.EMPTY_LIST, false, false, null ); assertEquals ("Cannot connect", CLIHandler.Status.CANNOT_CONNECT, res.getExitCode()); @@ -475,7 +475,7 @@ return cliInitialize (args, coll, is, os, lock, System.getProperty ("user.dir")); } private static CLIHandler.Status cliInitialize(String[] args, List coll, InputStream is, OutputStream os, Integer lock, String currentDir) { - return CLIHandler.initialize(new CLIHandler.Args(args, is, os, currentDir), lock, coll, false, true); + return CLIHandler.initialize(new CLIHandler.Args(args, is, os, currentDir), lock, coll, false, true, null); } private static final class InitializeRunner extends Object implements Runnable { @@ -509,7 +509,9 @@ block, handler == null ? java.util.Collections.EMPTY_LIST : java.util.Collections.nCopies(1, handler), false, - true); + true, + null + ); // we are finished, wake up guys in next() if any block.notifyAll(); } closing. |