Java:在哪里可以找到WindowsAccessbridge的源代码? [英] Java: Where do I find sourcecode of WindowsAccessbridge?
问题描述
我从 https://jdk7.java.net/source.html下载了Java JDK 7源代码。
这是一个包含几乎所有源代码的100 MB软件包 - 除了我感兴趣的部分。
Java访问桥主要是在不同进程中运行并执行进程间通信的 WindowsAccessBridge.dll
和 JavaAccessBridge.dll
。 / p>
在源代码包中存在以下文件夹和文件:
jdk \make\bridge\JavaAccessBridge\Files_cpp.gmk
jdk\make\bridge\JavaAccessBridge\Makefile
和
jdk\make\bridge\WindowsAccessBridge\Files_cpp.gmk
jdk\make\bridge\WindowsAccessBridge\Makefile
但所有cpp
文件Files_cpp.gmk说:
FILES_cpp = \
AccessBridgeJavaVMInstance.cpp \
AccessBridgeMessageQueue.cpp \
AccessBridgeMessages.cpp \
AccessBridgeWindowsEntryPoints.cpp \
WinAccessBridge.cpp \
AccessBridgeDebug.cpp \
AccessBridgeEventHandler.cpp
这些CPP文件都不存在
并且Makefile说:
VERSIONINFO_RESOURCE = $(CLOSED_PLATFORM_SRC)/native/sun/bridge/AccessBridgeStatusWindow.rc
什么是 CLOSED_PLATFORM_SRC
?
所以,现在你会告诉我:忘记!这些文件不是公开的。
但在本文中:不接收来自Java Access Bridge的回调 Darren Ford写道他已经编译了WindowsAccessBridge的Debug版本,这是2009年。所以有些年
有没有人这个代码,并可以发布给我?(我不在乎,如果它是从旧的JDK。)还是它是
在JDK 7之前,Accessbridge没有找到它,但是没有找到它(我搜索整整一天没有任何成功)<部分JDK,这是一个单独的下载,必须手动安装。请参阅 http://docs.oracle.com/javase/accessbridge/2.0.2/setup.htm
感谢
这个帖子有点晚了,但希望这将帮助别人。
您需要下载JDK 8 源。您可以在下找到Windows Access Bridge代码
I downloaded the Java JDK 7 source code from https://jdk7.java.net/source.html. This is a 100 MB package containing nearly all the source code - except the part that I'm interested in.
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.
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.
The file Files_cpp.gmk says:
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.
And the Makefile says:
VERSIONINFO_RESOURCE = $(CLOSED_PLATFORM_SRC)/native/sun/bridge/AccessBridgeStatusWindow.rc
What is 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. This was in 2009. So some years ago the code was available.
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 ? (I searched an entire day without any success)
NOTE: Before JDK 7 the Accessbridge was not part of the JDK. It was a separate download that had to be installed manually. See http://docs.oracle.com/javase/accessbridge/2.0.2/setup.htm
Thanks
This post is coming a little late, but hope this will help others. You will need to download the JDK 8 source. You can find the Windows Access Bridge code under
这篇关于Java:在哪里可以找到WindowsAccessbridge的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!