maskit opened a new issue #1435: Build fails with JDK10 due to Lombok
URL: https://github.com/apache/incubator-pulsar/issues/1435
 
 
   #### Expected behavior
   
   Build succeeds with JDK10.
   
   #### Actual behavior
   
   Build fails.
   ```
   [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
pulsar-common ---
   [INFO] Changes detected - recompiling the module!
   [INFO] Compiling 100 source files to 
/Users/masakazu/git/pulsar/pulsar-common/target/classes
   WARNING: An illegal reflective access operation has occurred
   WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to 
field com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
   WARNING: Please consider reporting this to the maintainers of 
lombok.javac.apt.LombokProcessor
   WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
   WARNING: All illegal access operations will be denied in a future release
   ```
   
   #### Steps to reproduce
   
   Run `mvn install -DskiptTests=1` with JDK10
   
   #### System configuration
   **Pulsar version**: master (561d954763d0e5cebfaef99c9ac5ca3f55d125a0)
   
   ```
   $ java --version
   java 10 2018-03-20
   Java(TM) SE Runtime Environment 18.3 (build 10+46)
   Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to