Mantis - Resin
Viewing Issue Advanced Details
6170 minor always 07-10-18 17:42 08-16-18 14:28
wileysaw  
ferg  
normal  
closed 4.0.58  
fixed  
none    
none 4.0.58  
0006170: ByteCodeClassScanner fails for packages with JDK9 module-info.class files
    failed scanning class module-info.class
                           java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
                           java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
                            at com.caucho.bytecode.ByteCodeClassScanner.error(ByteCodeClassScanner.java:575)
                            at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:296)
                            at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:100)
                            at com.caucho.loader.enhancer.ScanManager.scanForJarClasses(ScanManager.java:207)
                            at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:116)
                            at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:77)
                            at com.caucho.loader.EnvironmentClassLoader.scan(EnvironmentClassLoader.java:903)
                            at com.caucho.loader.DynamicClassLoader.sendAddLoaderEvent(DynamicClassLoader.java:928)
                            at com.caucho.loader.DynamicClassLoader.updateScan(DynamicClassLoader.java:915)
                            at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:479)
                            at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:60)
                            at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:699)
                            at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:643)
                            at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:143)
                            at com.caucho.env.deploy.DeployController.request(DeployController.java:606)
    ...


And also:

    [18-07-10 15:19:42.523] {resin-port-8080-78} EJB scanning 'jar:(/e:/java/resin-pro-4.0.56/webapps/oddzbox/WEB-INF/lib/log4j-api-2.10.0.jar)/'
    [18-07-10 15:19:42.524] {resin-port-8080-78} e:\java\resin-pro-4.0.56\webapps\oddzbox\WEB-INF\lib\log4j-api-2.10.0.jar time is modified.
    [18-07-10 15:19:42.529] {resin-port-8080-78} failed scanning class module-info.class
                           java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
                           java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
                            at com.caucho.bytecode.ByteCodeClassScanner.error(ByteCodeClassScanner.java:575)
                            at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:296)
                            at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:100)
                            at com.caucho.loader.enhancer.ScanManager.scanForJarClasses(ScanManager.java:207)
                            at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:116)
                            at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:77)
                            at com.caucho.loader.EnvironmentClassLoader.scan(EnvironmentClassLoader.java:903)
                            at com.caucho.loader.DynamicClassLoader.sendAddLoaderEvent(DynamicClassLoader.java:928)
                            at com.caucho.loader.DynamicClassLoader.updateScan(DynamicClassLoader.java:915)
                            at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:479)
                            at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:60)
                            at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:699)
                            at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:643)
                            at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:143)
                            at com.caucho.env.deploy.DeployController.request(DeployController.java:606)

There are no notes attached to this issue.