-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use reflection to access attach API internal APIs #2962
Conversation
Jenkins test all plinux all |
Jenkins test sanity xlinux jdk11 |
This needs more work:
|
Fixed and re-tested. @llxia would you kindly run sanity and extended builds on whichever platform is convenient? |
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to check in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I included that by accident and have removed it.
Could we add .settings
and other auto-generated files to the .gitignore
file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I think we can.
Remove unnecessary compiler options related to exposing the APIs. Signed-off-by: Peter Bain <peter_bain@ca.ibm.com>
Jenkins test all plinux all |
Jenkins test sanity win jdk11 |
windows failure is a known issue: #2955 |
Add methods to check for attach API initialization, get process ID, and get virtual machine ID. Use reflection to avoid compile-time dependency in test code on OpenJ9 internal classes Replace some existing references to AttachHandler in favour of the new methods. This is further to "Use reflection to access attach API internal APIs" eclipse-openj9#2962. This allows tests to remove references to attach API implementation classes and compile without requiring `--add-exports java.base/com.ibm.tools.attach.target`. This is preparation for tests of new features in eclipse-openj9#4655. [ci skip] Signed-off-by: Peter Bain <peter_bain@ca.ibm.com>
Remove unnecessary compiler options related to exposing the APIs.
Fixes
#2938.
@llxia I ran a personal build with sanity tests on Java 10. Would you kindly start builds to cover extended and Java 8. Thank you.
Signed-off-by: Peter Bain peter_bain@ca.ibm.com