[ 
https://issues.apache.org/jira/browse/RIVER-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429638#comment-15429638
 ] 

Peter Firmstone edited comment on RIVER-446 at 8/21/16 8:25 AM:
----------------------------------------------------------------

Issues:

CORBA classes have been removed from default classpath, requires either a 
command line argument, or modular build with dependency.

see: http://openjdk.java.net/projects/jigsaw/spec/

sun.* namespace is no longer available, such that rmi implementation and the 
sun policy provider are no longer available.  While command line arguments can 
allow these components to be used, doing so adds complexity.

Affected components:
net.jini.security.policy.PolicyFileProvider
org.apache.river.phoenix.SunJrmpExporter
org.apache.river.phoenix.ActivatorSunJrmpExporter
org.apache.river.phoenix.RegistrySunExporter

PolicyFileProvider is only an issue in tests as ConcurrentPolicyFile, while a 
suitable replacement for the jvm's PolicyFile, has some optimisations to avoid 
blocking on non privileged PermissionCollection instances in ProtectionDomain, 
that result in test failures in PolicyFile Provider tests.  Reccommend updating 
tests to reflect ConcurrentPolicyFile behaviour.

All Phoenix JRMP based exporters can be safely deprecated, the internal 
Registry implementation in Phoenix can be replaced with the jvm's built in 
Registry implementation by default.

Ant rmic task needs to be replaced with an exec task, to call rmic, to compile 
IIOP stubs, and the Phoenix internal Registry implementation jrmp v1.1 skeleton 
and stub.  All other stubs are redundant and no longer required.


was (Author: pfirmst):
Issues:

CORBA classes have been removed from default classpath, requires either a 
command line argument, or modular build with dependency.

see: http://openjdk.java.net/projects/jigsaw/spec/

sun.* namespace is no longer available, such that rmi implementation and the 
sun policy provider are no longer available.  While command line arguments can 
allow these components to be used, doing so adds complexity.

Affected components:
net.jini.security.policy.PolicyFileProvider
org.apache.river.phoenix.SunJrmpExporter
org.apache.river.phoenix.ActivatorSunJrmpExporter
org.apache.river.phoenix.RegistrySunExporter

All Phoenix JRMP based exporters can be safely deprecated, the internal 
Registry implementation in Phoenix can be replaced with the jvm's built in 
Registry implementation by default.

Ant rmic task needs to be replaced with an exec task, to call rmic, to compile 
IIOP stubs, and the Phoenix internal Registry implementation jrmp v1.1 skeleton 
and stub.  All other stubs are redundant and no longer required.

> Java 9 ready
> ------------
>
>                 Key: RIVER-446
>                 URL: https://issues.apache.org/jira/browse/RIVER-446
>             Project: River
>          Issue Type: Task
>            Reporter: Peter Firmstone
>            Priority: Minor
>   Original Estimate: 40m
>  Remaining Estimate: 40m
>
> Build, test and support Java 9



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to