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

Combination of characters(0xc0 & digit) can't be used in identifier definition.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • other-libs
    • x86
    • windows_nt



      Name: clC74495 Date: 09/01/99


      When a sequence of characters(8bit unicode:0xc0 and digit) is used in identifier definition, IDL-Compiler aborted due to syntax error.
      But when a sequence of characters is 8bit unicode(0xc0) and 7bit unicode(0x41),IDL-Compiler normally finished.

      An identifier is an arbitrarily long sequence of alphabetic, digit,and underscore ("_")characters.The first character must be an alphabetic character.
      (Refer to CORBA 2.2 Update Sheet 3.2.3 Identifiers)
      And unicode 0xc0(Upper-case A with grave accent) is are alphabetic characters.
      (Refer to Table3-2 The 114 Alphabetic Characters)

      But in following IDL definition, IDL-Compiler outputs an error message.
      The following are the IDL definition and the error message.


      <<SOURCE CODE>>

      module m {
      interface A0 {};
      };

      <<ERROR MESSAGE>>

      A004A09.idl:2: syntax error
      idltojava: aborted due to earlier errors
      @@@ A004A09.idl:ERROR
      (Review ID: 94701)
      ======================================================================

            Unassigned Unassigned
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: