diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-13 18:33:40 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-13 18:35:23 -0500 |
commit | bce950b70a310ff4614807aa2f0904a826b6b30a (patch) | |
tree | 7a1de65fc24935b8f0acaf8ffa3a2ab6f39168df /java | |
parent | 2dc6529ecdb83afe58b6520427623a848de41d71 (diff) | |
download | tigervnc-bce950b70a310ff4614807aa2f0904a826b6b30a.tar.gz tigervnc-bce950b70a310ff4614807aa2f0904a826b6b30a.zip |
Raise minimum supported Java version to 7
Changes to keyboard handling require methods from the KeyEvent
class that were not introduced until Java 7.
Diffstat (limited to 'java')
-rw-r--r-- | java/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index ecf86b07..80e0dd26 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -9,7 +9,7 @@ find_package(Java) set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share") -set(DEFAULT_JAVACFLAGS "-source 1.6 -target 1.6 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes") +set(DEFAULT_JAVACFLAGS "-source 7 -target 7 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes") set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING "Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})") message(STATUS "Java compiler flags = ${JAVACFLAGS}") |