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 28162 - Not able to set core class loader for test
Summary: Not able to set core class loader for test
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 28097
  Show dependency tree
 
Reported: 2002-10-22 12:48 UTC by mslama
Modified: 2003-12-11 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
cfg (5.30 KB, text/plain)
2002-10-22 12:49 UTC, mslama
Details
build (10.96 KB, text/plain)
2002-10-22 12:52 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2002-10-22 12:48:07 UTC
I need to set core class loader for loading one
winsys test. I found that my core class is loaded
using org.netbeans.JarClassLoader. I attach
modified test configuration files. I run testbag_22.
Comment 1 mslama 2002-10-22 12:49:41 UTC
Created attachment 7734 [details]
cfg
Comment 2 mslama 2002-10-22 12:52:14 UTC
Created attachment 7735 [details]
build
Comment 3 Martin Brehovsky 2002-10-31 09:46:02 UTC
Possible solutions:

1: change netbeans.classpath property

2: create jar with test distribution and copy it to ${netbeans.home}/lib


Comment 4 mslama 2003-05-15 18:04:10 UTC
It becomes more annoying now when I write teste for new window system.
I must make all tested classes and called methods public to make it
work with xtest. (These classes and methods should be package private.)
Comment 5 Martin Brehovsky 2003-09-15 14:00:32 UTC
I believe this is already fixed for some time now. Use
-Dtests.use.openide.classloader=true property to use the core classloader.