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

Bug 364077

Summary: [Xbase] StaticMethodsFeatureForTypeProvider should not depend on JDT
Product: [Modeling] TMF Reporter: Kai Kreuzer <kai>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: juno+
Target Milestone: M4   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Kai Kreuzer CLA 2011-11-17 14:32:36 EST
Build Identifier: Xtext 2.1.1

It should be possible to use Xbase during runtime without JDT.
Unfortunately, the class StaticMethodsFeatureForTypeProvider uses the class org.eclipse.jdt.core.Flags at one place, which prevents this use case as it results in a NoClassDefFoundError.

The use of the Flags class should hence be avoided here.

Reproducible: Always
Comment 1 Sebastian Zarnekow CLA 2011-11-17 14:44:17 EST
Pushed to master.
Comment 2 Kai Kreuzer CLA 2011-11-17 14:50:12 EST
Wow, that was quick! Thanks a lot :-)
Comment 3 Karsten Thoms CLA 2017-09-19 17:32:29 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:43:40 EDT
Closing all bugs that were set to RESOLVED before Neon.0