/
githubmirror
/
jdk17u-dev
ОбзорДокументацияВойти
/
githubmirror
/
jdk17u-dev
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
jdk17u-dev/
.../URLClassLoader/closetest/
..
serverRoot

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
test1

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
test2

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
CloseTest.java

8225430: Replace wildcard address with loopback or local host in tests - part 14

7 лет назад
Common.java

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
GetResourceAsStream.java

8211171: move JarUtils to top-level testlibrary

8 лет назад
README

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
README
test1 and test2 contain two different implementations of the same
classes. They are compiled and placed into two different target directories
and two jar files test1.jar and test2.jar.
 
The same class is in both jars/directories, but returns a different result
from the TestClass.getValue() method. The test does the following
 
1. copy test1.jar to a working directory and call it test.jar
 
2. load class and invoke method (checking result)
 
3. close the loader
 
4. delete test.jar (check delete succeeds)
 
5. copy test2.jar to same dir and repeat the test
 
6. The two tests are then repeated by copying the directories
test1 and test2.
 
The loader also includes a http:// URL in its search path and a http
server is used to serve the required class.
 
serverRoot is used as the root directory for the http server.