-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta3
-
generic, sparc
-
solaris_7, solaris_8
-
Verified
Regression test java/lang/ClassLoader/findSystemClass/Loader.java fails.
Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
java/lang/ClassLoader/findSystemClass/Loader.java: In 1.2beta4-I ClassLoader loaded classes can not link against
application classes.
#Test Results (version 2)
#Tue Jul 10 10:08:48 PDT 2001
#checksum:7f977e17bbc0932f
#-----testdescription-----
$file=/net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
$root=/net/frog/gafter/gjc-work/j2se/test
keywords=bug4147599
run=ASSUMED_ACTION main Loader\n
source=Loader.java
title=In 1.2beta4-I ClassLoader loaded classes can not link against application classes.
#-----environment-----
#-----testresult-----
description=file:///net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
end=Tue Jul 10 10:08:48 PDT 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
javatestOS=SunOS 5.8 (sparc)
javatestVersion=2.1.4
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Tue Jul 10 10:08:45 PDT 2001
status=Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
test=java/lang/ClassLoader/findSystemClass/Loader.java
work=/net/frog/gafter/gjc-work/j2se/JTwork/java/lang/ClassLoader/findSystemClass
#section:script_messages
----------messages:(1/129)----------
JDK under test: java full version "1.4.0-internal-gafter_09_Jul_2001_14_09" (/net/frog/gafter/gjc-work/j2se/build/solaris-sparc)
#section:build
----------messages:(3/92)----------
command: build Loader
reason: Named class compiled on demand
elapsed time (seconds): 1.755
result: Passed. Compilation successful
#section:compile
----------messages:(3/184)----------
command: compile /net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.754
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/111)----------
command: main Loader
reason: Assumed action based on file name: run main Loader
elapsed time (seconds): 0.804
----------System.out:(1/52)----------
Testing java.lang.ClassLoader.findSystemClass() ...
----------System.err:(22/1194)----------
java.lang.LinkageError: duplicate class definition: Loadee
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
at java.lang.ClassLoader.defineClass(ClassLoader.java:433)
at Loader.loadClass(Loader.java:51)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:260)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:263)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at Loader.main(Loader.java:90)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:579)
JavaTest Message: Test threw exception: java.lang.LinkageError: duplicate class definition: Loadee
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
result: Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
test result: Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
///////////////////////
al.smith@eng 2001-07-11
Found this bug in build 70 during regression testing also.
Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
java/lang/ClassLoader/findSystemClass/Loader.java: In 1.2beta4-I ClassLoader loaded classes can not link against
application classes.
#Test Results (version 2)
#Tue Jul 10 10:08:48 PDT 2001
#checksum:7f977e17bbc0932f
#-----testdescription-----
$file=/net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
$root=/net/frog/gafter/gjc-work/j2se/test
keywords=bug4147599
run=ASSUMED_ACTION main Loader\n
source=Loader.java
title=In 1.2beta4-I ClassLoader loaded classes can not link against application classes.
#-----environment-----
#-----testresult-----
description=file:///net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
end=Tue Jul 10 10:08:48 PDT 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
javatestOS=SunOS 5.8 (sparc)
javatestVersion=2.1.4
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Tue Jul 10 10:08:45 PDT 2001
status=Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
test=java/lang/ClassLoader/findSystemClass/Loader.java
work=/net/frog/gafter/gjc-work/j2se/JTwork/java/lang/ClassLoader/findSystemClass
#section:script_messages
----------messages:(1/129)----------
JDK under test: java full version "1.4.0-internal-gafter_09_Jul_2001_14_09" (/net/frog/gafter/gjc-work/j2se/build/solaris-sparc)
#section:build
----------messages:(3/92)----------
command: build Loader
reason: Named class compiled on demand
elapsed time (seconds): 1.755
result: Passed. Compilation successful
#section:compile
----------messages:(3/184)----------
command: compile /net/frog/gafter/gjc-work/j2se/test/java/lang/ClassLoader/findSystemClass/Loader.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.754
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/111)----------
command: main Loader
reason: Assumed action based on file name: run main Loader
elapsed time (seconds): 0.804
----------System.out:(1/52)----------
Testing java.lang.ClassLoader.findSystemClass() ...
----------System.err:(22/1194)----------
java.lang.LinkageError: duplicate class definition: Loadee
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
at java.lang.ClassLoader.defineClass(ClassLoader.java:433)
at Loader.loadClass(Loader.java:51)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:260)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:263)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at Loader.main(Loader.java:90)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:579)
JavaTest Message: Test threw exception: java.lang.LinkageError: duplicate class definition: Loadee
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
result: Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
test result: Failed. Execution failed: `main' threw exception: java.lang.LinkageError: duplicate class definition: Loadee
///////////////////////
al.smith@eng 2001-07-11
Found this bug in build 70 during regression testing also.
- relates to
-
CODETOOLS-4488762 set CLASSPATH for 1.1 only
-
- Closed
-