Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343099

Summary: Access restriction: The type OutputFormat is not accessible due to restriction on required library
Product: [Eclipse Project] PDE Reporter: navaneeth <nms010185>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public, Michael_Rennie, nms010185
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description navaneeth CLA 2011-04-18 04:11:24 EDT
Build Identifier: 20100218-1602

I am not able to include a library in my plug in code for rhapsody plug in developement environment.
If I include "com.sun.org.apache.xml.internal.serialize.OutputFormat;" this library, it shows  me the below error,
 "Access restriction: The type OutputFormat is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar"
What may be the reason behind this particular error?

 

Reproducible: Always
Comment 1 Curtis Windatt CLA 2011-04-18 12:49:45 EDT
OutputFormat is an internal class in the JRE.  It is not intended to be used by java applications.