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

Bug 345264

Summary: ISerializer is not accessible due to restriction on required library
Product: [Modeling] TMF Reporter: Hendrik Eeckhaut <hendrik>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: moritz.eysholdt, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: RC1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Hendrik Eeckhaut CLA 2011-05-10 09:08:42 EDT
Build Identifier: 20110218-0911

Since updating to Xtext 2.0 M7 I get a warning message when using ISerializer.

Discouraged access: The type ISerializer is not accessible due to restriction on required library ...M7/plugins/org.eclipse.xtext_2.0.0.v201105030849.jar

Both the current and new Serializer implement this interface, so I suppose this  access restriction should be removed.

Reproducible: Always
Comment 1 Moritz Eysholdt CLA 2011-05-16 08:35:39 EDT
fixed; pushed to master;

The package org.eclipse.xtext.serializer is now public. ISerializer is its only direct child (besides other packages). Other interfces/classes have been moved to internal packages.