-
Notifications
You must be signed in to change notification settings - Fork 41
Package structured reworked for sealed packages #3473
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
Conversation
0b3f5bd to
29e5cce
Compare
7200b6a to
87c7a64
Compare
4cad585 to
a2b1d9a
Compare
WolframPfeifer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I think it is a good idea to have disjoint packages for our (Gradle) submodules (i.e. key.core, key.ui, ...), even if we do not really use the module system at the moment.
Disabling the Ctrl+C signal handling is also fine, it was an experiment and apparently only worked correctly on some machines.
However, unfortunately there are the following blockers:
- Gradle task for GUI is not working, since build.gradle was not updated.
- Proof caching is completely disabled (?)
For a refactoring like this, I think you should have checked that everything works (at least a sanity check, i.e. running the KeY GUI once and see if the extensions are still there). In my opinion, this is not the task of the reviewer.
Minor remarks and open questions:
- Can you please update/complete the PR description? Otherwise, it is difficult to understand what this PR does exactly without looking into the code. Might also be relevant for the changelog ...
- I think the package name
de.uka.ilkd.key.ui.coredoes not really make sense. Also, the separation between this,de.uka.ilkd.key.ui, andde.uka.ilkd.key.guiis not clear. If we are at restructuring, we should think of this as well. - Is there any check/guarantee that the packages are actually disjoint now? It is really not obvious ...
- Can we prevent people from destroying disjointness accidentally in the future (for example, by adding a file in
key.uito packagede.uka.ilkd.key.core)?
Thanks for the refactoring! If these points are resolved, it can be merged in my opinion.
| de.uka.ilkd.key.gui.nodeviews.ShowHashcodesExtension | ||
| de.uka.ilkd.key.gui.LogView | ||
| de.uka.ilkd.key.gui.plugins.javac.JavacExtension | ||
| de.uka.ilkd.key.gui.plugins.caching.CachingExtension |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The caching extension is not available in the GUI any more. I think this is the reason ...
|
Btw.: What do you mean by the label |
Breaks API indicates that a PR influences KeY's API and ABI. Hence, every downstream library, e.g., KeY4Eclipse, needs to be adopted---in this case, by changing the imports. |
d598004 to
39eed3f
Compare
Pull request was closed
This brings some clean-ups of the #3451 branch to main, without adding
module-info.javafiles.Features
Will break binary and source compatibility.
Future:
module-info.javais currently not possible due tostringtemplate4.