Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8028359

asterisk in classpath does not work as expected on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u9
    • tools

      FULL PRODUCT VERSION :
      java version " 1.7.0_09 "
      Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
      Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Pro SP3

      A DESCRIPTION OF THE PROBLEM :
       " java -cp lib/* some.Main " does not work, because java does load any jars from the lib directory as expected. An additional ; fixes the problem: " java -cp lib/*; some.Main " works as expected. This looks like a command line parsing problem for me. If not, please document this behaviour.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            ksrini Kumar Srinivasan
            mbankal Mala Bankal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: