Open eclipse-qvt-oml-bot opened 1 week ago
Feb 24, 2022 13:01
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191198
Feb 24, 2022 13:01
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191199
Feb 28, 2022 15:53
Gerrit change https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191199 was merged to [master].\ Commit: http://git.eclipse.org/c/mmt/org.eclipse.qvto.git/commit/?id=2e8d197a143cb906ae86e0d0bce9b71e2a75b604
Feb 28, 2022 15:53
Gerrit change https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191198 was merged to [master].\ Commit: http://git.eclipse.org/c/mmt/org.eclipse.qvto.git/commit/?id=3fed96dc710014a4b5e4f3a655af2cccc696e0a6
| --- | --- | | Bugzilla Link | 578955 | | Status | NEW | | Importance | P3 minor | | Reported | Feb 24, 2022 12:42 EDT | | Modified | Feb 28, 2022 15:53 EDT | | See also | Gerrit change 191198, Gerrit change 191199, Git commit 2e8d197a, Git commit 3fed96dc | | Reporter | Christopher Gerking |
Description
A Java blackbox resolved in the workspace through JDT cannot be imported by access or extends, like it is possible with ordinary modules.
import org.eclipse.m2m.tests.qvt.oml.BBoxLibrary;
transformation t() access BBoxLibrary;
In the above snippet, there will be a parser error on the 'BBoxLibrary' token after the access.
The reason is rather trivial: the JDT blackbox provider fails to properly extract the simple name for the blackbox module from the (fully qualified) name of the compilation unit.