Skip to content

open keyword compiler error #1326

@trackme518

Description

@trackme518

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.4.10

Operating system

Windows 11

Bug description

The keyword someclass.open() triggers compiler error inside PDE Syntax Error - Error on parameter or method declaration near desktop.open(?. Syntax Error - Missing ';'?

There is no error in the code - this is a PDE somehow banning the use of function named open().

Steps to reproduce this

  1. Create some class

  2. Add function open()

  3. Call the function from draw - get the compiler error

snippet

// Paste your code below :)
import java.awt.Desktop;

Desktop desktop = Desktop.getDesktop();
desktop.open(folder);

Additional context

No response

Would you like to work on the issue?

No, I’m just reporting the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions