I have an emf model with a bunch of entities. I've manually added a couple of default
methods to one of the generated interfaces. Now I can't regenerate model code for this entity. Error says "default method are allowed only at source level 1.8 or above". I have specified Bundle-RequiredExecutionEnvironment: JavaSE-1.8 in the manifest for the plugin with the model. I have specified Compliance level: 8 in the properties of the .genmodel
root. Project properties -> java compiler
is set to use compliance with 1.8. Java build path uses JRE 1.8. But still I keep getting this error. Did I miss something? I use Mars.1 Release (4.5.1)
Asked
Active
Viewed 280 times
3

user861594
- 5,733
- 3
- 29
- 45

QNA
- 1,047
- 2
- 14
- 26