[英]Java: Where do I find sourcecode of WindowsAccessbridge?
I downloaded the Java JDK 7 source code from https://jdk7.java.net/source.html . 我从https://jdk7.java.net/source.html下载了Java JDK 7源代码。 This is a 100 MB package containing nearly all the source code - except the part that I'm interested in.
这是一个100 MB的程序包,其中包含几乎所有的源代码-我感兴趣的部分除外。
The Java Access Bridge (JAB) consists mainly of WindowsAccessBridge.dll
and JavaAccessBridge.dll
which are running in different processes and doing the inter-process communication. Java Access Bridge(JAB)主要由
WindowsAccessBridge.dll
和JavaAccessBridge.dll
,它们在不同的进程中运行并进行进程间通信。
In the source code package exist these folders and files: 在源代码包中,存在以下文件夹和文件:
jdk\make\bridge\JavaAccessBridge\Files_cpp.gmk
jdk\make\bridge\JavaAccessBridge\Makefile
and 和
jdk\make\bridge\WindowsAccessBridge\Files_cpp.gmk
jdk\make\bridge\WindowsAccessBridge\Makefile
but all the cpp files are missing. 但是所有的cpp文件都丢失了。
The file Files_cpp.gmk says: 文件Files_cpp.gmk说:
FILES_cpp = \
AccessBridgeJavaVMInstance.cpp \
AccessBridgeMessageQueue.cpp \
AccessBridgeMessages.cpp \
AccessBridgeWindowsEntryPoints.cpp \
WinAccessBridge.cpp \
AccessBridgeDebug.cpp \
AccessBridgeEventHandler.cpp
None of these CPP files exist in the ZIP package. ZIP程序包中不存在这些CPP文件。
And the Makefile says: Makefile说:
VERSIONINFO_RESOURCE = $(CLOSED_PLATFORM_SRC)/native/sun/bridge/AccessBridgeStatusWindow.rc
What is CLOSED_PLATFORM_SRC
? 什么是
CLOSED_PLATFORM_SRC
?
So, now you will tell me: " Forget it! These files are not public. " 因此,现在您将告诉我:“ 算了!这些文件不是公开的。 ”
BUT, in this article: Not receiving callbacks from the Java Access Bridge Darren Ford writes that he has compiled a Debug version of the WindowsAccessBridge. 但是,本文中: 未从Java Access Bridge接收回调达伦·福特(Darren Ford)写道,他已编译WindowsAccessBridge的调试版本。 This was in 2009. So some years ago the code was available.
那是在2009年。所以几年前代码可用。
Has anybody this code and can publish it for me? 有人有此代码,可以为我发布吗? (I don't care if it is from an older JDK.) Or is it still available and I did not find it?
(我不在乎它是否来自较旧的JDK。)还是仍然可用,但我没有找到它?
NOTE: Before JDK 7 the Accessbridge was not part of the JDK. 注意:在JDK 7之前,Accessbridge不属于JDK。 It was a separate download that had to be installed manually.
这是一个单独的下载,必须手动安装。 See http://docs.oracle.com/javase/accessbridge/2.0.2/setup.htm
参见http://docs.oracle.com/javase/accessbridge/2.0.2/setup.htm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.