JDK-4505631 : NoClassDefFound Exception thrown in Windows Platforms for the Test Cases listed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2001-09-21
  • Updated: 2001-09-21
  • Resolved: 2001-09-21
Related Reports
Duplicate :  
Relates :  
Description
In Windows for b80, it is required to set the path for net.dll to execute GlobalSuite(a jtreg based Test Suite).

Even after setting the above path of  jdk/jre/bin for the net.dll,

Following Test Cases viz.

test/nio/Channels/NewCSWriter.java
test/unicode/surrogate/FilestreamArgSurrogateTest.java &
test/unicode/surrogate/FilestreamSurrogateTest.java

when executed threw NoClassDefFound Exception(Error File Attached), when executed through GlobalSuite(and not when executed individually, explicitly giving the path)

To replicate the above bug untar the enclosed GS_b80.tar and execute the above  Test Cases individually e.g.

sh run_gs.sh -jdk:JDK_HOME test/nio/Channels/NewCSWriter.java on b80 and verify the Test Results under JTwork/test/nio/Channels/TestCase name(NewCSWriter).jtr