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
rename Java8 package from vm8 to v8 for consistency #562
Conversation
+1 |
just two questions: |
I asked John to change the Java8 plugin package for consistency. We had used v5, v6, v7, and then vm8 (but so far only in 2.5.0-beta-1). I think 'vm8' is actually slightly more descriptive than 'v8' but doesn't match the convention now in many releases. Since all tests containing vm8 in the core module were plugin related it seems okay to rename them too. There are actually a few other spots in test names/packages using the string 'vm8' which we could also change to v8 but that can be done separately I think. |
After some more thought I wonder if this (2.5+) would be the time to start a If there's interest in that I'll redo the PR, otherwise will merge this as is. |
I think it would be confusing to have the plugins for different vm versions across different packages but I like your idea of doing a bit of a clean up. We are talking about a bunch of what should be internal classes, so I think we have some liberty to change but we'd probably want to do so with minimum disruption for anyone that might be sneaking in and using those "internal" classes. I'd be inclined to leave the We'd need to double check that didn't alter anything but I believe should be what we want for 2.5+. The tests can all stay in the |
In the end it does not matter all that much to me if we use v8 or vm8, just that it is only one of them ;) Should we go with org.apache.groovy.internal.vmplugin? We can do that. Frankly, some of the functionality in the plugins should probably move out of them again, since for example generics are really really part of all deployments of Groovy. But that is for a later PR. |
PR #563 includes what I would think are "reasonably" compatible changes while moving to a new package and deprecating the old plugins. |
No description provided.