-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[WIP] First attempt for JDK11 compilation - #Java11 #3421
Merged
Changes from 12 commits
Commits
Show all changes
132 commits
Select commit
Hold shift + click to select a range
f634394
First attempt at jdk9 compilation
Siedlerchr 9f71a0b
Add open office dependencies
lenhard aaf6275
set java to 9 instead of 1.9
Siedlerchr 7227a23
remove jgoodies, update controlsfx to 9
Siedlerchr 111a407
JDK 9 Runnable
florian-beetz 4a8f9c8
ResourceBundle.Control is no longer supported in Java 9
florian-beetz 1d78d6e
Fixed the JSR305 problem
florian-beetz a44be12
Upgraded arch unit to new SNAPSHOT
florian-beetz f27d312
Upgraded Application Insights to 1.0.10
florian-beetz 102e614
Fix jabref module
florian-beetz dc7411d
Cleanup after rebase on maintable-beta
florian-beetz 3aaae4d
Merge remote-tracking branch 'upstream/maintable-beta' into jdk9
Siedlerchr 6608b2b
Remove usage of transitive dependency on Apache Commons
florian-beetz 1db6336
Add button-icon for union/intersection in the groups side panel (#3954)
Siedlerchr 164bb30
Reimplement tooltips for file and identifier columns (#4011)
florian-beetz 1c8d38a
Add afterburner.fx injector to module descriptor
florian-beetz bcfde56
Identify illegal reflective access
florian-beetz 9980c74
Merge remote-tracking branch 'upstream/maintable-beta' into jdk9
Siedlerchr cc63a74
Update CI to JDK 9
florian-beetz cb1a977
Update module.info to new Postgres driver
florian-beetz f85d3da
Downgrade ApplicationInsights to 1.0.10 for JDK 9 compatibility
florian-beetz 0920af4
Merge branch 'maintable-beta' into jdk9
florian-beetz 1cbe9ac
Add JPMS hacks to build script
florian-beetz f003970
Merge remote-tracking branch 'upstream/master' into jdk9
florian-beetz 0cd8908
Merge remote-tracking branch 'upstream/master' into jdk9
florian-beetz 88751da
Merge remote-tracking branch 'upstream/jdk9' into jdk9
florian-beetz 85f9685
Cleanup after merge
florian-beetz 0a54822
Merge remote-tracking branch 'upstream/master' into jdk9
Siedlerchr 633c10c
uncomment errorprone
Siedlerchr 61f6194
fix merge issues
florian-beetz 6582436
add Gradle task to rebundle LibreOffice
florian-beetz 30797c3
fix merge error in EditorTextArea
florian-beetz e82ebba
Merge remote-tracking branch 'upstream/master' into jdk9
Siedlerchr 68b4585
Merge remote-tracking branch 'origin/master' into jdk9
tobiasdiez 3c06ac4
remove jgoodies forms
Siedlerchr 2802447
Make it work with Java 11
tobiasdiez 3e43856
Merge remote-tracking branch 'origin/jdk9' into jdk9
tobiasdiez d804504
Code cleanup
tobiasdiez e6ac156
Switch to Java 11 on travis
tobiasdiez a7c7832
Make test compile
tobiasdiez 2889d2e
Fix some of the tests
tobiasdiez ce15151
Update jacoco to Java 11 support
tobiasdiez f204a0c
Update bytebuddy to increase Java 11 support
tobiasdiez 2585972
Fix more tests
tobiasdiez 42dc592
pdate circle ci and jensd lib to 11
Siedlerchr 983f1c8
Merge branch 'master' into jdk9
Siedlerchr 3e9d717
Fix glyph module name
Siedlerchr b3a1056
Fix materialdesign icons
Siedlerchr 5c5f2b8
Fix typo
Siedlerchr 68086c4
Update materialdesingfont
Siedlerchr af1de3a
Try to fix logging
tobiasdiez 84cd5fb
Merge remote-tracking branch 'origin/jdk9' into jdk9
tobiasdiez 1eaa334
Fix some language tests
tobiasdiez dbf0c2a
Fix language tests
tobiasdiez ee7910e
Fix export tests
tobiasdiez e659dd3
Fix month parser
tobiasdiez 35c783f
Include latex2unicode
tobiasdiez 81acb91
Code style
tobiasdiez d54d6ff
Update latex2unicode
tobiasdiez 64b12fe
Merge branch 'master' of https://github.com/JabRef/jabref into jdk9
tobiasdiez 91dd89a
Fix gitignore
tobiasdiez 41a4e4f
Fix export tests
tobiasdiez d007570
Disable test relying on reflection due to a bug in a library that we use
tobiasdiez b8834aa
Disable citation style test that fails for some unknown reason
tobiasdiez d2c4ba0
Disable citation style tests which fail for some unknown reason
tobiasdiez 0e55458
Fix export tests...hopefully
tobiasdiez fc7111a
Disable other citation style tests which fail for some unknown reason
tobiasdiez 4a4f7bf
Reenable checkstyle
tobiasdiez a4b7c6f
Fix modernizer errors
tobiasdiez 4376f84
Fix checkstyle
tobiasdiez 7018b14
Update dependencies
tobiasdiez cc75153
Downgrade errorprone
tobiasdiez eb12a5a
Disable modernizer
tobiasdiez 16b307a
Disable modernizer also in travis
tobiasdiez 8c3751e
First try with jlink
tobiasdiez 3d92017
fix jlink task (#5032)
siordache 3b663c2
Add jpackage
tobiasdiez da79fba
Add a bit of description
tobiasdiez 11039d8
update eclipse gradle to add dependencies to module path
Siedlerchr 666f1f3
Merge remote-tracking branch 'upstream/master' into jdk9
Siedlerchr 2669150
uncomment deps
Siedlerchr 4d20032
Try to fix build
tobiasdiez 5c414f2
Merge remote-tracking branch 'origin/master' into jdk9
koppor 24edd57
Fix .gitignore
koppor 8a71667
Set version to JDK 11 (and remove white trailing white spaces and dou…
koppor 328563e
Update gradle from 5.3.1 to 5.5.1
koppor 086036a
Add Java 11 to README.md
koppor f9187f7
Update install4j from 7 to 8
koppor 920a130
Merge remote-tracking branch 'origin/master' into jdk9
koppor 8933771
include all modules
koppor 655a775
add file association to MacOSX
koppor ec855f4
JabRef is dpiAware (with JavaFX)
koppor d172987
update Install4J from 8.0 to 8.0.1
koppor 6174c73
update install4j config to 8.0.1
koppor bac9895
try to enumarate modules
koppor 1431d78
Merge remote-tracking branch 'origin/master' into jdk9
koppor 4361451
Remove apache commons exception
Siedlerchr 610765f
remove parser exception
Siedlerchr 1b415ba
Remove old junit 4
tobiasdiez f2f2ad0
revert exception removal
Siedlerchr 9d09ec7
Try to fix test build
tobiasdiez 8d287ae
Fix build by keep using junit 5.4.2
tobiasdiez c82340f
Upgrade to junit 5.5
tobiasdiez c2f5e91
Remove workaround
tobiasdiez 66b70a4
Reenable archunit tests
tobiasdiez 7932dce
Disable archunit tests again
tobiasdiez ba60cbe
Fix mainClassName in build.gradle
davidemdot e26c7ed
Reenable modernizer in build.gradle
davidemdot 8bb437e
Merge download-install4j and extract-install4j into prepare-install4j
koppor 221c3dc
Merge remote-tracking branch 'origin/master' into jdk9
koppor 7ca3728
Fix comment
koppor e2a35b2
Update org.berryx.jlink from 2.10.4 to 2.14.1
koppor b8a130e
Reformat whole file using IntelliJ
koppor 7c2a405
Merge remote-tracking branch 'origin/master' into jdk9
koppor b696ef3
Merge remote-tracking branch 'origin/master' into jdk9
koppor 70948d2
Fix module-info.test
koppor 6a95adf
Merge remote-tracking branch 'origin/master' into jdk9
koppor 67cef6f
Try to fix module-info.test
koppor 4829c7f
Update gradle from 5.5.1 to 5.6
koppor 5201112
Update javafxplugin from 0.0.7 to 0.0.8
koppor afc4ea4
Merge remote-tracking branch 'origin/master' into jdk9
koppor 53dcc48
Try to fix module-info.test again
koppor 4cf951c
Fix junit5 package
davidemdot a9526ad
Merge branch 'master' into jdk9
koppor 598a439
Group togehter --add-modules and --add-reads
koppor 5f7f08f
Reenable modernizer
tobiasdiez 012d9b0
Pin TestFX to 4.0.15-alpha (4.0.16-alpha causes issues)
koppor 7f970bc
Remove Globals at SaveDatabaseAction
koppor 2ace3dd
Follow variable convention of MSBibExportFormatTestfiles at ModsExpor…
koppor 941208d
Fix MSBibExportFormatTestFiles by ignoring the order of XML elements
koppor 0132d44
Merge remote-tracking branch 'origin/master' into jdk9
koppor 4b9cd1a
Allow gui tests to fail using TravisCI's functionalities
koppor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
open module org.jabref { | ||
exports org.jabref; | ||
|
||
exports org.jabref.gui; | ||
exports org.jabref.gui.logging; | ||
exports org.jabref.gui.maintable; | ||
exports org.jabref.gui.specialfields; | ||
|
||
exports org.jabref.model.database; | ||
|
||
exports org.jabref.logic; | ||
exports org.jabref.logic.citationstyle; | ||
exports org.jabref.logic.search; | ||
|
||
// opens org.jabref.gui to com.google.common; | ||
// opens org.jabref.model.database to com.google.common; | ||
// opens org.jabref.logic.citationstyle to com.google.common; | ||
|
||
// Swing | ||
requires java.desktop; | ||
|
||
// SQL | ||
requires java.sql; | ||
requires pgjdbc.ng; | ||
|
||
// JavaFX | ||
requires javafx.graphics; | ||
requires javafx.swing; | ||
requires javafx.controls; | ||
requires javafx.web; | ||
requires javafx.fxml; | ||
requires afterburner.fx; | ||
// requires de.jensd.fx.glyphs.commons; | ||
// requires de.jensd.fx.glyphs.materialdesignicons; | ||
|
||
provides com.airhacks.afterburner.views.ResourceLocator | ||
with org.jabref.gui.util.JabRefResourceLocator; | ||
|
||
// Logging | ||
requires org.slf4j; | ||
requires org.apache.logging.log4j; | ||
|
||
// Preferences and XML | ||
requires java.prefs; | ||
requires java.xml.bind; // Deprecated! | ||
requires jdk.xml.dom; | ||
|
||
// Annotations (@PostConstruct) | ||
requires java.annotation; | ||
|
||
// Microsoft application insights | ||
requires applicationinsights.core; | ||
|
||
requires glazedlists.java15; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this one of the dependencies we hopefully can remove soon. Old swing stuff. |
||
requires jgoodies.forms; | ||
requires commons.logging; | ||
requires com.google.common; | ||
requires spin; | ||
requires easybind; | ||
requires de.jensd.fx.glyphs.commons; | ||
|
||
// Libre Office | ||
/*requires ridl; | ||
requires unoil; | ||
requires juh;*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Dnd TabPane has been introduced offically with java 10:
https://bugs.openjdk.java.net/browse/JDK-8190717
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.
Good to know! Java 9 removed some (internal) classes this library uses.
I don't think we'll be able to have the D'n'd feature in a Java 9 release unless someone patches the library. But as Java 9 is already superseded, I guess this is not really high priority.
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.
Agree with you. As soon we have it running with java 9, we can focus on the migration to java 10 ;)