[Bug 2039295] [NEW] java man page - incorrect delimeter between multiple classpath entries

Pierre C. Dussault 2039295 at bugs.launchpad.net
Fri Oct 13 16:22:02 UTC 2023


Public bug reported:

In the man page, the -cp or --classpath option specifies the use of
semi-colons (;) as separator for multiple enteries for the class path.
This is incorrect for Linux and Unix platforms which use the colon (:)
as a delimeter for class path entries.

Oddly, the man page description later gives an example that correctly uses the colon (and not the semi-colon)
...

For example, if the directory mydir contains
              a.jar and b.JAR, then the class path element mydir/* is  expanded  to  A.jar:b.JAR

...

The initial description should accurately describe the separator as a
colon (:) and not a semi-colon (;)

** Affects: openjdk-17 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- java man page - incorrect delimeter between multiple entries
+ java man page - incorrect delimeter between multiple classpath entries

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-17 in Ubuntu.
https://bugs.launchpad.net/bugs/2039295

Title:
  java man page - incorrect delimeter between multiple classpath entries

Status in openjdk-17 package in Ubuntu:
  New

Bug description:
  In the man page, the -cp or --classpath option specifies the use of
  semi-colons (;) as separator for multiple enteries for the class path.
  This is incorrect for Linux and Unix platforms which use the colon (:)
  as a delimeter for class path entries.

  Oddly, the man page description later gives an example that correctly uses the colon (and not the semi-colon)
  ...

  For example, if the directory mydir contains
                a.jar and b.JAR, then the class path element mydir/* is  expanded  to  A.jar:b.JAR

  ...

  The initial description should accurately describe the separator as a
  colon (:) and not a semi-colon (;)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2039295/+subscriptions




More information about the foundations-bugs mailing list