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

William Lieurance commented on TAMAYA-391:
------------------------------------------

Turns out openjdk 12 has changed the default value of "sun.os.patch.level".  In 
java 11 and below, a missing value was replaced with the string "unknown".  As 
of java 12, a missing value is null.  There was a notice released for the 
equivalent change for "user.timezone" but not for "sun.os.patch.level".  
[https://bugs.openjdk.java.net/browse/JDK-8213629]

The change is visible here 
http://hg.openjdk.java.net/jdk/jdk/rev/b915bd68d907#l7.8

 

 

> Sandbox module not running with JDK12
> -------------------------------------
>
>                 Key: TAMAYA-391
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-391
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Sandbox
>    Affects Versions: 0.4-incubating
>            Reporter: Philipp Ottlinger
>            Priority: Major
>
> Trying to build with JDK12 yields test errors:
> * https://travis-ci.org/apache/incubator-tamaya-sandbox/jobs/526972809
> * https://travis-ci.org/apache/incubator-tamaya-sandbox/jobs/526972157
> {{org.apache.tamaya.management.internal.ManagedConfigTest
> [ERROR] 
> testGetTransitiveAreas(org.apache.tamaya.management.internal.ManagedConfigTest)
>   Time elapsed: 0.026 s  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[tru]e> but was:<[fals]e>
>       at 
> org.apache.tamaya.management.internal.ManagedConfigTest.testGetTransitiveAreas(ManagedConfigTest.java:85)
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Failures: 
> [ERROR]   ManagedConfigTest.testGetTransitiveAreas:85 expected:<[tru]e> but 
> was:<[fals]e>}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to