Posts

Barlaston

Image
Barlaston Barlaston Hall Barlaston Location within Staffordshire Population 2,858 (2011) [1] OS grid reference SJ894387 District Stafford Shire county Staffordshire Region West Midlands Country England Sovereign state United Kingdom Post town Stoke-on-Trent Postcode district ST12 Dialling code 01782 Police Staffordshire Fire Staffordshire Ambulance West Midlands EU Parliament West Midlands UK Parliament Stone List of places UK England Staffordshire 52°56′45″N 2°09′30″W  /  52.9457°N 2.1583°W  / 52.9457; -2.1583 Coordinates: 52°56′45″N 2°09′30″W  /  52.9457°N 2.1583°W  / 52.9457; -2.1583 Barlaston is a village and civil parish in the borough of Stafford in the county of Staffordshire, England. It is roughly halfway between the city of Stoke-on-Trent and the small town of Stone. According to the 2001 census the population of the parish was 2,659, rising at the 2011 Census to 2,858. Co...

Is it possible to compile Java11 code to Java8 bytecode and run on 8?

Image
7 I'm playing with some dependencies and compilation to older releases using java 11. I migrated one dependency to Java 11 and works fine, but we still have to run it Tomcat 7 or 8 on Java8. Is it possible to use the --release flag to compile code which uses var , stream().dropwhile(...) or Map.of(...) and run on 8? Release flag suggest that it should be possible: --release release Compiles against the public, supported and documented API for a specific VM version. Supported release targets are 6, 7, 8, and 9. This project is a dependency, stand-alone works fine with SprinBoot2.1 and Java11, but needs to be run in Java8. My maven plugin compiler settings: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId...