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

com.sun.xml.internal.ws.streaming does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 6
    • tools
    • x86
    • windows_xp

      The attched simple sample can not compile with javac. There is no problems with eclipse, and in the rt.jar and the file XMLStreamReaderFactory.class is on the correct place.

      Command line: %JAVA_HOME6%\bin\javac CompilerSample.java
      OS: Windows 2000 and Windows XP
      Version:
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b100)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b100, mixed mode, sharing)
       
      Compiler Output:
      =================
      CompilerSample.java:1: package com.sun.xml.internal.ws.streaming does not exist
      import com.sun.xml.internal.ws.streaming.XMLStreamReaderFactory;
                                              ^
      CompilerSample.java:8: cannot find symbol
      symbol : variable XMLStreamReaderFactory
      location: class CompilerSample
                      XMLStreamReaderFactory.createXMLStreamReader(new StringReader(""), false);
                      ^
      2 errors
       
       
       
      Source:
      =======

      import com.sun.xml.internal.ws.streaming.*;
      import java.io.StringReader;

      public class CompilerSample{

          void test(){
              XMLStreamReaderFactory.createXMLStreamReader(new StringReader(""), false);
          }

      }

            ahe Peter Ahe
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: