mirror of
https://github.com/java-decompiler/jd-gui.git
synced 2024-11-23 04:29:51 +00:00
Merge pull request #274 from lhaeger/jdk11-compat
Add OpenJDK11 compatibility
This commit is contained in:
commit
b92538364f
@ -105,6 +105,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: 'jar') {
|
||||
injars jar.archivePath
|
||||
outjars 'build/libs/' + project.name + '-' + project.version + '-min.jar'
|
||||
libraryjars System.getProperty('java.home') + '/lib/rt.jar'
|
||||
libraryjars System.getProperty('java.home') + '/jmods/'
|
||||
}
|
||||
|
||||
// Java executable wrapper for Windows //
|
||||
|
@ -1,7 +1,7 @@
|
||||
apply plugin: 'java'
|
||||
|
||||
dependencies {
|
||||
compile 'com.fifesoft:rsyntaxtextarea:2.5.6'
|
||||
compile 'com.fifesoft:rsyntaxtextarea:3.0.4'
|
||||
compile 'org.ow2.asm:asm:7.1'
|
||||
compile 'org.jd:jd-core:' + parent.jdCoreVersion
|
||||
compile project(':api')
|
||||
|
@ -27,7 +27,7 @@ public class TextPage extends AbstractTextPage implements ContentCopyable, Conte
|
||||
if (textArea.getSelectionStart() == textArea.getSelectionEnd()) {
|
||||
getToolkit().getSystemClipboard().setContents(new StringSelection(""), null);
|
||||
} else {
|
||||
textArea.copyAsRtf();
|
||||
textArea.copyAsStyledText();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user