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 70616 - Tests do not compile on jdk1.4.2
Summary: Tests do not compile on jdk1.4.2
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://test4u.czech.sun.com/test4u-us...
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-12-20 08:35 UTC by Jaroslav Tulach
Modified: 2005-12-21 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (705 bytes, patch)
2005-12-20 13:29 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-12-20 08:35:02 UTC
[mkdir] Created 
dir: /space/test4u2/cvswork/nb_all/autoupdate/build/test/unit/classes 
    [javac] Compiling 4 source files 
to /space/test4u2/cvswork/nb_all/autoupdate/build/test/unit/classes 
    
[xtest] /space/test4u2/cvswork/nb_all/autoupdate/test/unit/src/org/netbeans/modules/autoupdate/AbstractTestHid.java:157: 
package org.netbeans.updater does not exist 
    [xtest]             org.netbeans.updater.UpdaterFrame.runFromIDE(nbms, 
listener, NbBundle.getBranding ()); 
    [xtest]                                 ^ 
    
[xtest] /space/test4u2/cvswork/nb_all/autoupdate/test/unit/src/org/netbeans/modules/autoupdate/NbmsTest.java:290: 
package org.netbeans.updater does not exist 
    [xtest]         org.netbeans.updater.UpdateTracking ut; 
    [xtest]                             ^ 
    
[xtest] /space/test4u2/cvswork/nb_all/autoupdate/test/unit/src/org/netbeans/modules/autoupdate/NbmsTest.java:291: 
package org.netbeans.updater does not exist 
    [xtest]         ut = org.netbeans.updater.UpdateTracking.getTracking 
(platformDir, false); 
    [xtest]                                  ^ 
    [xtest] 3 errors
Comment 1 Jiri Rechtacek 2005-12-20 13:23:32 UTC
Needs to add updater.jar in cp.extra attribute to make the test be compilable on
jdk1.4.2


Checking in autoupdate/nbproject/project.properties;
/shared/data/ccvs/repository/autoupdate/nbproject/project.properties,v  <-- 
project.properties
new revision: 1.12; previous revision: 1.11
done
Comment 2 Jiri Rechtacek 2005-12-20 13:29:40 UTC
Created attachment 27971 [details]
proposed patch
Comment 3 Jaroslav Tulach 2005-12-20 13:32:46 UTC
Good, this seems to fix my problem on 1.4.2 
Comment 4 Jiri Rechtacek 2005-12-21 11:38:24 UTC
Integrated into release50 branch.

Checking in project.properties;
/shared/data/ccvs/repository/autoupdate/nbproject/project.properties,v  <-- 
project.properties
new revision: 1.11.10.1; previous revision: 1.11
done