zheludkovm / LinuxJavaFixes

LinuxJavaFixes
Other
434 stars 32 forks source link

Doesn't work with PHPStorm 2019.2 EAP (build #PS-192.4205.18) #18

Open zhukovra opened 5 years ago

zhukovra commented 5 years ago

I think that problem is with new JRE/JVM.

Working with PhpStorm 2019.1:

2019-05-28 12:30:00,973 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2019-05-28 12:30:01,016 [     43]   INFO -        #com.intellij.idea.Main - IDE: PhpStorm (build #PS-191.7141.52, 08 May 2019 14:26) 
2019-05-28 12:30:01,016 [     43]   INFO -        #com.intellij.idea.Main - OS: Linux (4.15.0-50-generic, amd64) 
2019-05-28 12:30:01,016 [     43]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_202-release-1483-b49 (JetBrains s.r.o) 
2019-05-28 12:30:01,016 [     43]   INFO -        #com.intellij.idea.Main - JVM: 25.202-b49 (OpenJDK 64-Bit Server VM) 
2019-05-28 12:30:01,017 [     44]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dide.no.platform.update=true -javaagent:/opt/LinuxJavaFixes/build/LinuxJavaFixes-1.0.0-SNAPSHOT.jar -XX:ErrorFile=/home/rmn/java_error_in_PHPSTORM_%p.log -XX:HeapDumpPath=/home/rmn/java_error_in_PHPSTORM.hprof -Didea.paths.selector=PhpStorm2019.1 -Djb.vmOptionsFile=/home/rmn/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/191.7141.52.vmoptions -Didea.platform.prefix=PhpStorm -Didea.jre.check=true

In new PhpStorm JRE and JVM version completely changed to 11.0.3+12-b262.1:

2019-05-28 12:24:42,082 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2019-05-28 12:24:42,100 [     18]   INFO -        #com.intellij.idea.Main - IDE: PhpStorm (build #PS-192.4205.18, 22 May 2019 13:13) 
2019-05-28 12:24:42,100 [     18]   INFO -        #com.intellij.idea.Main - OS: Linux (4.15.0-50-generic, amd64) 
2019-05-28 12:24:42,100 [     18]   INFO -        #com.intellij.idea.Main - JRE: 11.0.3+12-b262.1 (JetBrains s.r.o) 
2019-05-28 12:24:42,100 [     18]   INFO -        #com.intellij.idea.Main - JVM: 11.0.3+12-b262.1 (OpenJDK 64-Bit Server VM) 
2019-05-28 12:24:42,101 [     19]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dide.no.platform.update=true -javaagent:/opt/LinuxJavaFixes/build/LinuxJavaFixes-1.0.0-SNAPSHOT.jar -Dsun.io.useCanonPrefixCache=false -Dsun.tools.attach.tmp.only=true -XX:ErrorFile=/home/rmn/java_error_in_PHPSTORM_%p.log -XX:HeapDumpPath=/home/rmn/java_error_in_PHPSTORM.hprof -Didea.paths.selector=PhpStorm2019.2 -Djb.vmOptionsFile=/home/rmn/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/192.4205.18.vmoptions -Didea.platform.prefix=PhpStorm 

Tested on Ubuntu 16.04

zlodes commented 5 years ago

Same

Paullo612 commented 5 years ago

Fixed this here. SWT (eclipse) support is possibly broken by javassist update, so, no pull request.

zhukovra commented 5 years ago

@Paullo612 thank you! It's works.

hriad commented 5 years ago

@Paullo612 Thank you!