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.
I found a bug in Class.getMethods in 1.4.1_01 - which does not exist in 1.3.1_03, 1.4.0_01, nor Mantis b10! It does not list bytecode-patched methods even though they are public. testSystemActionGetSetIcon was failing spuriously for this reason; will patch test to use getDeclaredMethods, which does work. Attaching a JAR to demo the JDK bug and sample results.
Created attachment 8398 [details] JAR to demo JDK variance
Created attachment 8399 [details] Results of running JAR under JDK 1.3.1, 1.4.0, 1.4.1, and Mantis b10
Already have patch ready. Once I noticed the SystemAction test was failing but the very similar AbstractFileSystem.r3fr3shR00t test was not (it used getDeclaredMethods), it was easy to fix.
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
committed Up-To-Date 1.7 openide/compat/test/unit/src/org/openide/CompatibilityTest.java
closed