Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upJBIDE-18267 - ensure agent does not attach to newly detected jvms until ... #309
Conversation
|
I checked this PR locally and it seems ok. The error with EAP 5.2 is gone and connection to both EAP 5.2 and EAP 6.x still works ok. |
| * @return The active JVM | ||
| * @throws JvmCoreException | ||
| */ | ||
| IActiveJvm addLocalActiveJvm(int pid, String mainClass, |
This comment has been minimized.
This comment has been minimized.
maxandersen
Dec 3, 2014
Member
is this supposed to be default scoped ? and does it not change api that fuse uses ?
This comment has been minimized.
This comment has been minimized.
maxandersen
Dec 3, 2014
Member
never mind - pubic is default ;) ...anyway, same question applies - does this not change api?
This comment has been minimized.
This comment has been minimized.
robstryker
Dec 3, 2014
Author
Member
The interface doesn't say it, but it's really not for external implementation (as far as I can tell). A grep on fuseide's source tree shows they import the interface, and use it, but no class in fuseide implements it.
Technically, yes, this is an API break. But I saw no other solution other than adding an interface method... I tried three other workarounds, but short of having jvmmonitor cast to internal IHost implementations (which is a bad idea), nothing else would have worked.
|
this seem to look like its changing public api in backwards incompatible way or am I reading this wrong ? |
|
@mmalina can you reproduce the eap 5.2 error when this patch is not there ? |
|
Martin indicated to me he was able to replicate it 5 minutes before installing the locally-built units. mmalina: yes! |
|
@maxandersen yes, I could reproduce the error before I applied this patch. And then when I installed it, the problem disappeared. |
cb81e54
to
5a96d23
…il user connects to it in jmx view JBIDE-18267 mark interface as not to be implemented by clients
robstryker commentedDec 2, 2014
...user connects to it in jmx view