Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No meaningful check for Java 8 support in query compiler #121

Open
eclipse-viatra-bot opened this issue Mar 12, 2024 · 1 comment
Open
Labels
bugzilla Issues migrated from Eclipse bugzilla. Query Issues related to the query component of VIATRA, including runtime or pattern language issues.

Comments

@eclipse-viatra-bot
Copy link

| --- | --- |
| Bugzilla Link | 562879 |
| Status | NEW |
| Importance | P3 normal |
| Reported | May 06, 2020 07:09 EDT |
| Modified | May 06, 2020 07:23 EDT |
| Version | 2.3.2 |

@eclipse-viatra-bot eclipse-viatra-bot added bugzilla Issues migrated from Eclipse bugzilla. legacy Query Issues related to the query component of VIATRA, including runtime or pattern language issues. labels Mar 12, 2024
@eclipse-viatra-bot
Copy link
Author

By Tamas Borbas on May 06, 2020 07:23

I had a Viatra query project with Java 7 and the compiler generates
rawStreamAllValuesOf methods in the following way:

protected Stream<SomeType> rawStreamAllValuesOfsomeType(final Object[] parameters) {\
  return rawStreamAllValues(POSITION_SOMETYPE, parameters).map(SomeType.class::cast);\
}\

with this error for the SomeType.class::cast part:
Method references are allowed only at source level 1.8 or above

@ujhelyiz ujhelyiz removed the legacy label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from Eclipse bugzilla. Query Issues related to the query component of VIATRA, including runtime or pattern language issues.
Projects
None yet
Development

No branches or pull requests

2 participants