Automatically add add-opens if Java version >= 9

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad committed 2022-12-15 15:28:24 +00:00
1 parent 8a6776731a
commit 87bcefd08a
4 files changed
+13 -12

No files matched your search

+5 -5
View File
@@ -50,11 +50,11 @@ QString JavaVersion::toString()
bool JavaVersion::requiresPermGen()
{
if(m_parseable)
{
return m_major < 8;
}
return true;
return !m_parseable || m_major < 8;
}
bool JavaVersion::isModular() {
return m_parseable && m_major >= 9;
}
bool JavaVersion::operator<(const JavaVersion &rhs)