Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364077 - [Xbase] StaticMethodsFeatureForTypeProvider should not depend on JDT
Summary: [Xbase] StaticMethodsFeatureForTypeProvider should not depend on JDT
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 14:32 EST by Kai Kreuzer CLA
Modified: 2017-09-19 17:43 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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