[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/36097] New: java.net.URI allows invalid characters
From: |
gnu_andrew at member dot fsf dot org |
Subject: |
[Bug classpath/36097] New: java.net.URI allows invalid characters |
Date: |
1 May 2008 07:53:09 -0000 |
I'm working on adopting of jpackage project to openSUSE and got a problem with
build of maven. The jpackage's folks have a script build-jar-repository,
which symlinks the jar files in /usr/share/java to defined dir.
My problem is, that the script produces a links in this
form - /foo/bar/[ant].jar which later causes an IllegalArgumentException,
because a java.net.URI.create dissallows ``[]'' in URI. The response from
jpackage is, that java.net.URI.create has a bug, because symbol ``['' is
valid in a Unix path.
I'm testing several JRE implementations, but only gcj allows the ``[]'' in
URI, other ones not.
What do you think about? Is this really a bug in handling of unix filenames?
--
Summary: java.net.URI allows invalid characters
Product: classpath
Version: 0.97
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gnu_andrew at member dot fsf dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36097
- [Bug classpath/36097] New: java.net.URI allows invalid characters,
gnu_andrew at member dot fsf dot org <=