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

'Warning: Could not get charToByteConverterClass!' printed to stderr when running XSLT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • xml

      In some recent Mustang build, the message 'Warning: Could not get charToByteConverterClass!' (which seems to have been present for a long time in rt.jar!/com/sun/org/apache/xml/internal/serializer/Encodings.class) has begun to be printed to standard error, for no discernible reason, it seems while performing XSLT transformations.

      Visible sometimes in log files of NetBeans IDE development builds. I can also reproduce by running the following on NB source code:

      JAVA_HOME=/space/jdk1.6.0-b31 ant -f ant/project/build.xml test

      All unit tests pass, but I also get the warning in several places, e.g.

      ---%<--- [portion of test output]
      Warning: Could not get charToByteConverterClass!
      Testsuite: org.netbeans.spi.project.support.ant.ProjectGeneratorTest
      Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.414 sec

      ------------- Standard Error -----------------
      Warning: Could not get charToByteConverterClass!
      ------------- ---------------- ---------------
      ---%<---

      The same tests run in b26 just show:

      ---%<---
      Testsuite: org.netbeans.spi.project.support.ant.ProjectGeneratorTest
      Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.38 sec
      ---%<---

      By the way, I run Fedora Core 3 (all updates applied) in UTF-8 locale.
      ###@###.### 2005-04-12 21:10:43 GMT

            joehw Joe Wang
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: