-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
mantis
-
x86
-
windows_98, windows_2000, windows_xp
-
Verified
Name: asR10013 Date: 09/24/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b02
Testbase : RegTest-test
Platform[s] : Windows
Falling test[s]:
java/awt/dnd/DelayedClassLoadingTest/DelayedClassLoadingTest.sh
Regtest-test test java/awt/dnd/DelayedClassLoadingTest/DelayedClassLoadingTest.sh
fails with JDK1.4.2-b02. The test used to pass with JDK1.4.1.
It worth to note that the test was written in response to bugid 4429868 which
asked not to load drag&drop classes just for the sake of optimization and for
other platforms (Solaris/Linux).
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/mantis/b02/regtest/win32/winXP_HE__linux-21/workDir/test/java/awt/dnd/DelayedClassLoadingTest/DelayedClassLoadingTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
PS=';'
JAVA_BASE=h:/java
export TESTJAVA=$JAVA_BASE/jdk1.4.2/win32
TEST_BASE=$JAVA_BASE/regtest
JT=$JAVA_BASE/jct/lib/javatest.jar
JTREG=$JAVA_BASE/jct/lib/jtreg.jar
TEST_BASE_ROOT=$TEST_BASE/test
TEST_PACKAGE=java/awt/dnd/DelayedClassLoadingTest
TEST_SHORT_NAME=DelayedClassLoadingTest
TEST_NAME=$TEST_PACKAGE/$TEST_SHORT_NAME
export TESTSRC=$TEST_BASE_ROOT/$TEST_PACKAGE
export CLASSPATH=".${PS}${JDK}${PS}${JDK}/lib/tools.jar${PS}${TEST_BASE}${PS}${TESTSRC}${PS}${JT}${PS}${JTREG}"
$TESTJAVA/bin/javac -g -classpath "$CLASSPATH" -d . $TEST_BASE_ROOT/${TEST_NAME}.java
$TEST_BASE_ROOT/${TEST_NAME}.sh
--- script end ---
Test output:
============
JDK under test is: h:/java/jdk1.4.2/win32
cp: /*.class: The system cannot find the file specified.
cp: "h:/java/regtest/test/java/awt/dnd/DelayedClassLoadingTest/SCCS" is a directory (not copied)
[Loaded java.awt.dnd.peer.DragSourceContextPeer from H:\JAVA\JDK1.4.2\WIN32\JRE\lib\rt.jar]
[Loaded sun.awt.dnd.SunDragSourceContextPeer from H:\JAVA\JDK1.4.2\WIN32\JRE\lib\rt.jar]
The test failed :-(
Some datatransfer classes were loaded on startup
exit status was 1
======================================================================
- relates to
-
JDK-4613903 Selection changes after a selection is dragged
-
- Closed
-