Coder Social home page Coder Social logo

jetbrains / jdk8u_jdk Goto Github PK

View Code? Open in Web Editor NEW
210.0 26.0 154.0 316.13 MB

License: GNU General Public License v2.0

Makefile 0.02% Java 83.54% C 10.37% Shell 0.52% Objective-C 0.85% HTML 0.70% C++ 3.50% Perl 0.01% Ruby 0.01% Haskell 0.01% JavaScript 0.09% CSS 0.01% Batchfile 0.01% C# 0.01% Awk 0.01% Assembly 0.01% DTrace 0.03% SourcePawn 0.01% XSLT 0.26% Python 0.07%

jdk8u_jdk's Introduction

official JetBrains project

jdk8u_jdk's People

Contributors

artemm-bochkarev avatar avu avatar bell-sw avatar bourgesl avatar bulenkov avatar denis-fokin avatar esayapina avatar forantar avatar gorrus avatar jb-dmitry avatar kirilltim avatar pavelfatin avatar radomirm-g avatar slavam2605 avatar vprovodin avatar yeswolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jdk8u_jdk's Issues

Upgrade Marlin renderer

JDK9 forrest has 0.7.4, JDK10 has 0.7.5... until my coming upgrade patch for 0.8.2 gets pushed.

Please use 0.7.4 at least.

Laurent Bourges
Author of the Marlin renderer

Push release builds to Bintray

Could you guys please push out the release builds to bintray? The 64-bit equivalents of the 32bits builds available with the EAPs are not pushed to bintray.

Thanks

Process automatically exiting after starting in Process builder

I am trying to have the multiprocessing functionality . When I try to run a browser or any exe-based command, that process automatically exits whereas my java jar is running and only exits when I close them. Below is my sample code using

process = processbuilder.start(launchCommand); CompletableFuture<Process> onProcessExit = process.onExit(); onProcessExit.then(ph -> functiontocallAfterClose();

windows/native/sun/windows/awt.h uses wrong calling convention for EnableNonClientDpiScaling

EnableNonClientDpiScalingFunc is declared in awt.h as follows:

  • typedef BOOL(EnableNonClientDpiScalingFunc)(HWND);

The correct declaration should be:

  • typedef BOOL(WINAPI EnableNonClientDpiScalingFunc)(HWND);

Without the WINAPI qualifier, the code gets compiled assuming EnableNonClientDpiScaling is a cdecl function when it's actually stdcall. This corrupts the stack pointer when the function is called, causing a crash when running x86 version of IntelliJ on Windows.

Commit eae4401 attempted to fix this by skipping the EnableNonClientDpiScaling call if running under WOW64. However, this code still crashes when running under x86 emulation on ARM64 Windows (and I imagine would also crash on native x86).

The right fix is to explicitly declare EnableNonClientDpiScalingFunc as WINAPI, and remove the IsWow64Process call, which is only masking the problem.

The AreDpiAwarenessContextsEqual declaration (that was removed by the above commit) had the same problem by the way.

The fallback font is not activated in Terminal and behavior is different from Editor.

IDEA version:

IntelliJ IDEA 2019.2.1 (Community Edition)
Build #IC-192.6262.58, built on August 20, 2019
Runtime version: 1.8.0_212-release-1586-b12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1947M
Cores: 8

Main Font : Consolas (With no Chinese characters.)
Fallback Font: Sarasa Mono Sc (with Chinese characters)
The problem is whatever the fallback font is, in Terminal window, the font rendering is strange, it fails to determine what font to use. On the contrary the font in code Editor works fine.

I have tested the problem also exists in Runtime version: 11.0.3+12-b304.39 amd64
And when I choose IDEA 2019.1.2 bundled JBSDK jbrsdk-8u202-windows-x64-b1483.49 the problem is gone. It seems like the bug exists since version 2019.1.2.

The steps to reproduce:

Step1 In Settings:
Font

  1. Console Font is not changed to instead of this setting.
  2. Font rendering of Chinese characters in Settings window is fine.

Step 2 Open Terminal And type some words in Editor and Settings window.
Font2
That's obvious to see what the problem is.

If you want to Switch Boot JDK, please restart twice.(At least on my laptop after the first restart, the font is prefect. But twice, the problem appears.)

As far as I am concerned, the link below may be useful. But my description above is different from this. I'm not sure they are the same bug.
https://youtrack.jetbrains.com/issue/JBR-1555

Thanks.

JavaFX application crashed (MacOS) after being left inactive for a while

The final entry in the application's log file was:

2017-07-14T12:44:16,277 [ERROR] ErrorHandler - Uncaught error
java.lang.NullPointerException: null
	at sun.swing.JLightweightFrame.updateClientCursor(JLightweightFrame.java:473) ~[?:1.8.0_152-release]
	at sun.swing.JLightweightFrame.access$000(JLightweightFrame.java:79) ~[?:1.8.0_152-release]
	at sun.swing.JLightweightFrame$1.updateCursor(JLightweightFrame.java:112) ~[?:1.8.0_152-release]
	at sun.lwawt.LWLightweightFramePeer.updateCursorImmediately(LWLightweightFramePeer.java:117) ~[?:1.8.0_152-release]
	at java.awt.Component.updateCursorImmediately(Component.java:3156) ~[?:1.8.0_152-release]
	at java.awt.Container.validate(Container.java:1643) ~[?:1.8.0_152-release]
	at java.awt.Window.dispatchEventImpl(Window.java:2744) ~[?:1.8.0_152-release]
	at java.awt.Component.dispatchEvent(Component.java:4719) ~[?:1.8.0_152-release]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) ~[?:1.8.0_152-release]
	at java.awt.EventQueue.access$500(EventQueue.java:98) ~[?:1.8.0_152-release]
	at java.awt.EventQueue$3.run(EventQueue.java:715) ~[?:1.8.0_152-release]
	at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_152-release]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_152-release]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[?:1.8.0_152-release]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) ~[?:1.8.0_152-release]
	at java.awt.EventQueue$4.run(EventQueue.java:737) ~[?:1.8.0_152-release]
	at java.awt.EventQueue$4.run(EventQueue.java:735) ~[?:1.8.0_152-release]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_152-release]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[?:1.8.0_152-release]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) ~[?:1.8.0_152-release]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_152-release]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_152-release]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_152-release]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_152-release]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_152-release]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_152-release]

So it looks like the JavaFX application thread has crashed while trying to update the cursor.

Clone of JDK#8; not sure where it was best to raise this.

Unable to unzip Zip64 format

We are getting the below error when trying to unzip a zip64 file:

invalid CEN header (bad signature)
java.util.zip.ZipException: 
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at java.util.zip.ZipFile.<init>(ZipFile.java:126)

Steps to reproduce the issue

ZipFile zipFile = new ZipFile("{file_path}");
Enumeration<? extends ZipEntry> entries = zipFile.entries();

I have attached the input file.
zipfile.zip

Is zip64 decompression not supported?

Create native implementation of file watching on OSX

I develop a commercial plugin for IntelliJ. A while ago I asked on the plugin development forums here about file watching, but unfortunately it seems that the JDK doesn't support native file watching on OSX. There are a couple of third party solutions, but they don't seem well supported. It would be really great to have a native implementation in the JetBrains JDK since this could be used for a lot of different IDE functionality - is this feasible?

IME Composition Window is displayed at incorrect location

Hello, I found a problem with the latest IDEA IC 2018.1.1。

The problem is :
I'm using Chinese IME called Mircosoft Pinyin,Windows 10 bundled.
When I typing, the IME Composition Window is displayed at incorrect location.
The normal IME Composition window will follow the cursor, but it does not follow.
abnormal

When I switch IDEA boot JDK to Oracle JDK 1.8_8u151,the problem is solved.
normal

My IDEA version:

IntelliJ IDEA 2018.1.1 (Community Edition)
Build #IC-181.4445.78, built on April 10, 2018
JRE: 1.8.0_152-release-1136-b27 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

winver:
Windows 10 1709 (16299.371)

I think these links may be helpful.
https://bugs.openjdk.java.net/browse/JDK-8147842
https://bugs.openjdk.java.net/browse/JDK-8178933
https://youtrack.jetbrains.com/issue/WI-32868#u=1471247366618

There is an easy way to reproduce the problem noticed in the first link:

package test; 

import javax.swing.JEditorPane; 
import javax.swing.JFrame; 

public class IMETest { 

public static void main(String[] args) { 
    JFrame myFrame = new JFrame("IME Test"); 
    myFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
    myFrame.setSize(300,200); 

    JEditorPane myPane = new JEditorPane(); 

    myFrame.setContentPane(myPane); 
    myFrame.setVisible(true); 
    }
}

Then using Mircosoft Pinyin IME,run it by JB JRE 1.8.0_152-release-1136-b27 amd64。

There are many duplicate issues related to this problem on jetbrains youtrack,some questions may be not clear.

Could you please fix the problem? Or the problem has been already fixed, but I don't know.

Document branching strategy

Hi!

I've noticed a (admittedly obscure) problem with modal dialogs in IntelliJ IDEA (raboof/notion#62) that exists when using this shipped OpenJDK but not when using debian/ubuntu's OpenJDK.

To provide a more useful bug report, however, I'd like to dig into the code a bit first. It's not quite clear to me how the different branches relate though, is that documented somewhere?

Contributing to OpenJDK

I noticed jetbrains have done such wonderful job in fixing font rendering in Linux (which was awful) and I personally really appreciate it.

But since Swing apps font rendering with OpenJDK/Oracle is miserable ,

  1. Do you think it is possible to contribute your patch to upstream OpenJDK?
  2. Is it in your plan ?
  3. Or your only plan in fixing it for Jetbran/jdk only ?
  4. Will Oracle/OpenJDK engineers accept font rendering fix patch ?

So many people have problem with Java font rendering in Linux and your fix would be really improve java desktop apps overall quality in Free Software Community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.