|
Quick Lists
|
|
Bug ID:
|
6574852
|
|
Votes
|
0
|
|
Synopsis
|
(repo) "Cannot access JAM file" error if no trailing / in URL
|
|
Category
|
java:module
|
|
Reported Against
|
|
|
Release Fixed
|
7(b99)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
28-JUN-2007
|
|
Description
|
When a URL repository is constructed with a URL without a trailing '/' , the repository_metadata.xml is downloaded correctly but the JAM files are not:
java -repository http://openjdk.java.net/projects/modules/samplerepo -module dep
Exception in thread "main" java.lang.RuntimeException: Failed to download dep-1.0
at sun.module.repository.URLModuleDefinitionContent.getJamContent(URLModuleDefinitionContent.java:285)
at sun.module.repository.URLModuleDefinitionContent.hasEntry(URLModuleDefinitionContent.java:167)
at sun.module.core.ModuleLoader.findClass(ModuleLoader.java:129)
at sun.module.core.ModuleLoader.loadClass(ModuleLoader.java:115)
at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
at sun.module.ModuleLauncher.loadModuleClass(ModuleLauncher.java:100)
Caused by: java.io.IOException: URLModuleDefinitionContent: Cannot access JAM file for dep-1.0 at http://openjdk.java.net/projects/modules/samplerepo/
at sun.module.repository.URLModuleDefinitionContent.getJamContent(URLModuleDefinitionContent.java:242)
... 5 more
Posted Date : 2007-06-28 00:53:13.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Need to ensure that '/' is used when necessary.
Posted Date : 2007-06-28 18:25:49.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |