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 29719 - CompatibilityTest.testSystemActionGetSetIcon fails under JDK 1.4.1
Summary: CompatibilityTest.testSystemActionGetSetIcon fails under JDK 1.4.1
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://www.netbeans.org/download/xtes...
Keywords: JDK_SPECIFIC, T9Y, TEST
Depends on:
Blocks:
 
Reported: 2002-12-25 18:07 UTC by Jesse Glick
Modified: 2008-12-23 10:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JAR to demo JDK variance (1.68 KB, application/octet-stream)
2002-12-25 18:08 UTC, Jesse Glick
Details
Results of running JAR under JDK 1.3.1, 1.4.0, 1.4.1, and Mantis b10 (4.06 KB, text/plain)
2002-12-25 18:08 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-12-25 18:07:44 UTC
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.
Comment 1 Jesse Glick 2002-12-25 18:08:13 UTC
Created attachment 8398 [details]
JAR to demo JDK variance
Comment 2 Jesse Glick 2002-12-25 18:08:41 UTC
Created attachment 8399 [details]
Results of running JAR under JDK 1.3.1, 1.4.0, 1.4.1, and Mantis b10
Comment 3 Jesse Glick 2002-12-25 18:09:54 UTC
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.
Comment 4 Marian Mirilovic 2003-01-06 16:11:20 UTC
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
Comment 5 Jesse Glick 2003-01-06 21:36:23 UTC
committed     Up-To-Date  1.7        
openide/compat/test/unit/src/org/openide/CompatibilityTest.java
Comment 6 Marian Mirilovic 2005-07-13 13:20:07 UTC
closed