| Summary: | Investigate validation for Java 10 and beyond in LaunchValidationOperation | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Vikas Chandra <Vikas.Chandra> |
| Component: | UI | Assignee: | Vikas Chandra <Vikas.Chandra> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, julian.honnen, Lars.Vogel |
| Version: | 4.10 | ||
| Target Milestone: | 4.11 M3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/132898 https://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=0a0e44733a94e46826345c7d6be8f75afd4b871a |
||
| Whiteboard: | |||
|
Description
Vikas Chandra
Julian, could you provide a fix for the try-with-resources part? New Gerrit change created: https://git.eclipse.org/r/132898 Gerrit change https://git.eclipse.org/r/132898 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=0a0e44733a94e46826345c7d6be8f75afd4b871a (In reply to Vikas Chandra from comment #0) > It must be investigated why this validation is done and if we can just do > away with this going forward. Who is doing this investigation? (In reply to Lars Vogel from comment #4) > (In reply to Vikas Chandra from comment #0) > > > It must be investigated why this validation is done and if we can just do > > away with this going forward. > > Who is doing this investigation? Alex, could you have a look at this before the old problem slips our mind? Alternatively we can also mark this bug as fixed with the try-with-resource change. Putting this in M3 milestone so that it gets more attention. I looked at multiple comments and now I recall the issue. Post java 10, we have a different way to retrieve system packages from JRE. I think the current workaround should work fine for java 12 and later too and no further modification of code is required. BundleValidationOperation set platform properties to the OSGI state. I think this should be continued. fState.setPlatformProperties(fProperties); I am not sure what things would be affected if this is removed ( for later java 12 or later). Can bug reporter or bug assignee please verify this defect for 4.11M3? (In reply to Vikas Chandra from comment #9) > Can bug reporter or bug assignee please verify this defect for 4.11M3? Bug assignee is you. :-) >>Bug assignee is you. :-)
I wrote a common comment for all unverified bugs. We have time till next week tuesday :)
|