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.
compile-one-dir: [javac] Compiling 54 source files [test-compiler] /space/xtest/cvs_nbdev/nb_all/core/test/unit/src/org/netbeans/core/NbKeymapTest.java:145: addActionForKeyStrokeMap(java.util.HashMap) in org.netbeans.core.NbKeymap cannot be applied to (java.util.Map) [test-compiler] km.addActionForKeyStrokeMap(m); [test-compiler] ^ [test-compiler] /space/xtest/cvs_nbdev/nb_all/core/test/unit/src/org/netbeans/core/NbKeymapTest.java:155: addActionForKeyStrokeMap(java.util.HashMap) in org.netbeans.core.NbKeymap cannot be applied to (java.util.Map) [test-compiler] km.addActionForKeyStrokeMap(m); [test-compiler] ^ [test-compiler] Note: Some input files use or override a deprecated API. [test-compiler] Note: Recompile with -deprecation for details. [test-compiler] 2 errors BUILD FAILED
pzavadsky, jglick: isn't this caused by the recent changes you made in actions and keymaps?
You have not synch NbKeymapTest and NbKeymap sources. The problem is the tests are not running on updated core sources, the method addActionForKeyStrokeMap was changed (NbKeymap revision 1.21) to accept Map instead just HashMap. The change was commited at same time like the test was introduced.
Right, please always run on up-to-date sources...
Tests are checked out with the same timestamp as build so that must be some ghost in CVS :-)