Sorry picture didn’t come through…

“switch expressions are a preview feature and are disabled by defulat.  (use 
–enable-preview to enable switch expressions)”

I am using a gradle project with the new gradle support.  I have set up my 
gradle build so that it does build successfully. But I can’t figure out the 
error message.

Mike

From: Mike Billman <mikebill...@qcsoftware.com>
Sent: Wednesday, April 3, 2019 2:07 PM
To: dev@netbeans.incubator.apache.org
Subject: RE: jdk12 question - NB 11.0


[cid:image001.png@01D4EA26.7803F890]





And from my about…



Product Version: Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)

Updates: Updates available<about:blankcheck-for-updates>

Java: 12; OpenJDK 64-Bit Server VM 12+33

Runtime: OpenJDK Runtime Environment 12+33

System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

User directory: C:\Users\mdb\AppData\Roaming\NetBeans\11.0

Cache directory: C:\Users\mdb\AppData\Local\NetBeans\Cache\11.0





Mike





-----Original Message-----
From: Geertjan Wielenga 
<geertjan.wiele...@googlemail.com.INVALID<mailto:geertjan.wiele...@googlemail.com.INVALID>>
Sent: Wednesday, April 3, 2019 1:55 PM
To: dev 
<dev@netbeans.incubator.apache.org<mailto:dev@netbeans.incubator.apache.org>>
Subject: Re: jdk12 question - NB 11.0



Well, what specifically do you mean by "the error related to the new switch 
statements"?



What, very specifically, does that error say?



Gj



On Wed, Apr 3, 2019 at 7:19 PM Mike Billman 
<mikebill...@qcsoftware.com<mailto:mikebill...@qcsoftware.com>>

wrote:



> I tried that and still am getting the error.  Currently running VC4.

>

> Mike

>

> -----Original Message-----

> From: Geertjan Wielenga 
> <geertjan.wiele...@googlemail.com.INVALID<mailto:geertjan.wiele...@googlemail.com.INVALID>>

> Sent: Monday, April 1, 2019 8:47 AM

> To: dev 
> <dev@netbeans.incubator.apache.org<mailto:dev@netbeans.incubator.apache.org>>

> Subject: Re: jdk12 question - NB 11.0

>

> Look in the Options window, in the Editor | Hints tab, look for the

> 'Convert switch to rule switch' item and uncheck it.

>

> Gj

>

> On Mon, Apr 1, 2019 at 2:40 PM Mike Billman

> <mikebill...@qcsoftware.com<mailto:mikebill...@qcsoftware.com>>

> wrote:

>

> > Just a quick question about jdk12…I am running my project as a

> > gradle project and was wondering how to get netbeans to suppress the

> > error related to the new switch statements.

> >

> >

> >

> > Thanks!

> >

> >

> >

> > Mike Billman

> >

> > Senior Software Engineer

> >

> > CPTE

> >

> >

> >

> > [image: qclogo]

> >

> >

> >

> > 11800 Conrey Rd

> >

> > Suite 150

> >

> > Cincinnati, OH 45249

> >

> >

> >

> > T +1 513 469 1424

> >

> > E mikebill...@qcsoftware.com<mailto:mikebill...@qcsoftware.com>

> >

> > F +1 513 469 1425

> >

> >

> >

>

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: 
> dev-unsubscr...@netbeans.incubator.apache.org<mailto:dev-unsubscr...@netbeans.incubator.apache.org>

> For additional commands, e-mail:

> dev-h...@netbeans.incubator.apache.org<mailto:dev-h...@netbeans.incubator.apache.org>

>

> For further information about the NetBeans mailing lists, visit:

> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

>

>

>

Reply via email to