-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9.0.1
-
x86
-
windows_10
FULL PRODUCT VERSION :
JRE 9.0.1+11
ADDITIONAL OS VERSION INFORMATION :
Windows 10 Creators Update / Fall Creators Update
A DESCRIPTION OF THE PROBLEM :
Running Java 9 desktop application on Windows 10 deployed as APPX package via Desktop Bridge is currently severely limited. DnD does not work. JFileChooser freezes the EDT, etc.
This is a duplicate ofJDK-8189938 which has been set to "resolved" incorrectly and not actually been resolved. The issue can be reproduce always on any Windows 10 machine by following the instructions on the attached GitHub example project.
REGRESSION. Last worked in version 8u152
ADDITIONAL REGRESSION INFORMATION:
I have a Java 8 based Java Swing / JavaFX application on the Windows Store right now and it works fine. I'd like to update to Java 9 for HiDPI support though.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I have created a sample project that builds and installs an APPX package:
https://github.com/rednoah/JDK-8189938
Please run the following commands in PowerShell to reproduce the issue:
# Clone code
git clone https://github.com/rednoah/JDK-8189938.git
cdJDK-8189938
# Build and install
ant clean appx install
# Run
JDK8189938
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Deploying Java Swing / JavaFX applications with Java 9 on the Windows Store should be possible.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "Swing-Shell" java.lang.InternalError: Could not initialize COM: HRESULT=0x80010106
at java.desktop/sun.awt.shell.Win32ShellFolderManager2.initializeCom(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
https://github.com/rednoah/JDK-8189938
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
There is no workaround other than using Java 8 but then we loose HiDPI support which is kind of important for modern desktop applications.
SUPPORT :
YES
JRE 9.0.1+11
ADDITIONAL OS VERSION INFORMATION :
Windows 10 Creators Update / Fall Creators Update
A DESCRIPTION OF THE PROBLEM :
Running Java 9 desktop application on Windows 10 deployed as APPX package via Desktop Bridge is currently severely limited. DnD does not work. JFileChooser freezes the EDT, etc.
This is a duplicate of
REGRESSION. Last worked in version 8u152
ADDITIONAL REGRESSION INFORMATION:
I have a Java 8 based Java Swing / JavaFX application on the Windows Store right now and it works fine. I'd like to update to Java 9 for HiDPI support though.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I have created a sample project that builds and installs an APPX package:
https://github.com/rednoah/JDK-8189938
Please run the following commands in PowerShell to reproduce the issue:
# Clone code
git clone https://github.com/rednoah/JDK-8189938.git
cd
# Build and install
ant clean appx install
# Run
JDK8189938
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Deploying Java Swing / JavaFX applications with Java 9 on the Windows Store should be possible.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "Swing-Shell" java.lang.InternalError: Could not initialize COM: HRESULT=0x80010106
at java.desktop/sun.awt.shell.Win32ShellFolderManager2.initializeCom(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
https://github.com/rednoah/JDK-8189938
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
There is no workaround other than using Java 8 but then we loose HiDPI support which is kind of important for modern desktop applications.
SUPPORT :
YES
- duplicates
-
JDK-8189938 Exception in thread "Swing-Shell" java.lang.InternalError: Could not initialize COM: HRESULT=0x80010106
- Closed