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

JAXB conformance tests fail when running JCK-devtools-8 suite against RI in EBCDIC emulation mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 8
    • xml
    • None
    • b132
    • 8

      When running JCK-devtools-8 suite against JDK-8 in EBCDIC emulation mode following tests fail:

      xml_schema/sunData/ElemDecl/typeDef/typeDef00802m/jaxb/typedef00802m1.html#typedef00802m1
      xml_schema/sunData/ElemDecl/typeDef/typeDef00802m/jaxb/typedef00802m1.html#typedef00802m1_n
      xml_schema/sunData/ElemDecl/typeDef/typeDef00802m/jaxb/typedef00802m1.html#typedef00802m1_p
      xml_schema/sunData/ElemDecl/typeDef/typeDef00802m/jaxb/typedef00802m2.html#typedef00802m2

      The minimized testcase is attached; instructions to reproduce the issue:
      1. Copy attached test3.zip file to Solaris machine.
      2. Unzip test3.zip.
      3. In the unzipped test3 directory modify run.sh by setting JDK_HOME environment variable to proper value.
      4. Change current directory to unzipped test3 directory.
      5. Run run.sh script from unzipped test3 directory.

      The minimized testcase compiles schema by shcemagen tool resulting in following files (they are placed to "work" directory within unzipped "test3" dir):

      - javasoft/sqe/tests/elemdecl/typedef/typedef00802m/typedef00802m2/ObjectFactory.java
      - javasoft/sqe/tests/elemdecl/typedef/typedef00802m/typedef00802m2/Root.java
      - javasoft/sqe/tests/elemdecl/typedef/typedef00802m/typedef00802m2/package-info.java
      - javasoft/sqe/tests/elemdecl/typedef/typedef00802m/typedef00802m2/runtime/ZeroOneBooleanAdapter.java

      Among these files:
      - ObjectFactory.java, Root.java, package-info.java are in EBCDIC encoding;
      - ZeroOneBooleanAdapter.java is in ASCII/UTF-8;

      The fact that ZeroOneBooleanAdapter.java happens to be in unexpected encoding (not system one) causes JCK tests to fail. I believe that this file should be in system encoding as others are.

            aefimov Aleksej Efimov
            grakov Georgiy Rakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: