Skip to content

Compilation doesn't work for jdk17 #6

@tobiascapin

Description

@tobiascapin

Dear Adrian,
I'm trying to update my project from jdk8 to jdk17, I read your post about Java9/10 and multistring then I checkout the java10 branch and compiled using maven the v.0.3.0. The compilation has been completed successfully.

I switched the dependency from v.0.1.2 to 0.3.0 in my pom.xml and I compiled my app with maven.

In the very first part of my program I have this simple test to check the multistring compilation:

	@Multiline
	private String multiStringTest=null;
        if(StringUtils.isBlank(multiStringTest))
	     throw new SystemException("Compilazion Error - MultiString annotation not compiled");

My app fails because multiStringTest is not initialized.

I have tried to compile the multiline-string-usage project, I could start it but the output is "null".

The only strange thing I found is that eclipse doesnt like the imports of com.sun.tools:

immagine

But these errors don't prevend the maven compilation.

Do you have any suggestion?
Many thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions