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

URLEncoder.encode returns incorrect value when input is >= 128.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic


      Hostname: jtgbp62e
      Hostid: 2be09290
      Release: 5.8
      Kernel architecture: i86pc
      Application architecture: i386
      Hardware provider:
      Domain: sunsoft.eng.sun.com
      Kernel version: SunOS 5.8 Generic February 2000

      jtgbp62e>psrinfo -v
      Status of processor 0 as of: 07/20/00 11:13:18
        Processor has been on-line since 07/06/00 15:39:45.
        The i386 processor operates at 600 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 07/20/00 11:13:18
        Processor has been on-line since 07/06/00 15:39:49.
        The i386 processor operates at 600 MHz,
              and has an i387 compatible floating point processor.

      jtgbp62e>cat /etc/release
                                 Solaris 8 s28_38shwp2 INTEL
                 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 21 January 2000


      To reproduce, run the attached script "index_Encode.ksh".

      Runtime ouptut:
      ===============
      jtgbp62e>./index_Encode.ksh
      Compiling ...

      Note: EncodeTests.java uses or overrides a deprecated API.
      Note: Recompile with -deprecation for details.

      Running ...

      URLEncoder0003: Failed. Encoding failed : 128 %EF%BF%BD %3F
      STATUS:Failed. tests: 1; failed: 1; first test case failure: URLEncoder0003
      97


      takwing.cheung@Eng 2000-07-20

            mupadhyasunw Mayank Upadhyay (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: